spark读取sqlserver数据BulkLoad到hbase
def load2hbase2(sc: SparkContext,tableName: String): Unit ={
val sqlContext = new SQLContext(sc)
val properties = new Properties()
properties.put("user","xxx")
properties.put("passwo...
原创
2018-08-13 10:29:21 ·
1171 阅读 ·
0 评论