Closed axzhcode closed 3 years ago
when i use this:
sc.parallelize(data) .toDF() .write .mode(SaveMode.Overwrite) .options(Map(HBaseTableCatalog.tableCatalog -> Catalog.writeTest, HBaseTableCatalog.newTable -> "5")) .format("org.apache.spark.sql.execution.datasources.hbase") .save()
every time the zookeeper connection is created and closed?
Opening socket connection to server... Closing zookeeper sessionid...
Is there a caching method?
when i use this:
every time the zookeeper connection is created and closed?
Is there a caching method?