How to put values into hbase table through happybase?
问题 My development environment is centos7, hbase 1.2.5, happybase 1.1.0, python 2.7, PyCharm, hadoop 2.7.3, spark 2.1 I am developing a big data software. I need put the values into HBase table. The values are from Spark RDD. The following are the codes: import happybase from pyspark import SparkContext, SparkConf connection = happybase.Connection('localhost') table = connection.table('tablename') conf = SparkConf().setAppName("myFirstSparkApp").setMaster("local") sc = SparkContext(conf=conf)