摘要:
def test4(): Unit = { val conf = new SparkConf().setAppName("WC").setMaster("local[2]") val sc = new SparkContext(conf) val arr = List(("Apache" -> "Spark"), ("Apache" -> "Kafka"), ("Orac... 阅读全文
posted @ 2017-08-11 21:47
牵牛花
阅读(275)
评论(0)
推荐(0)
摘要:
写在前面:hive的版本是1.2.1spark的版本是1.6.x http://spark.apache.org/docs/1.6.1/sql-programming-guide.html#hive-tables 查看hive和spark版本对应情况 SparkSQL操作Hive中的表数据spark 阅读全文
posted @ 2017-08-11 13:02
牵牛花
阅读(19640)
评论(0)
推荐(0)

浙公网安备 33010602011771号