My input is HBase
table. first I am loading the data and function withCatalog
will return Dataframe
.
def withCatalog(cat: String): DataFrame = {
sqlContext
.read
.options(Map(HBaseTableCatalog.tableCatalog -> cat))
.format("org.apache.hadoop.hbase.spark")
.load()
}
val allrulesDF = withCatalog("personDb:employeeTable")
allrulesDF.show()
HBaseTableCatalog
line showing below error
Symbol
term <none>.yetus.audience
is missing from theclasspath.
This symbol is required by<none>
. Make sure that term audience is in your classpath and check for conflicting dependencies with-Ylog-classpath
. A full rebuild may help ifHBaseTableCatalog.class
was compiled against an incompatible version of<none>.yetus
.Symbol
term org.apache.yetus
is missing from the classpath. This symbol is required by<none>
. Make sure that term yetus is in your classpath and check for conflicting dependencies with-Ylog-classpath
. A full rebuild may help ifHBaseTableCatalog.class
was compiled against an incompatible version oforg.apache
.