spark-Streaming 存入多个HBase表
def handleLog(dstream:DStream[((String,String),(String,Long,String,util.HashMap[String,Any]))],kafkaManager: KafkaManager,jobConf:JobConf): Unit ={ dstream.foreachRDD(rdd=>{ if(!rdd.isEmpty()){...
原创
2019-01-10 15:01:48 ·
560 阅读 ·
0 评论