摘要: 1.启动命令 [root@cdh1 ~]# spark-shell 22/05/24 20:24:56 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builti 阅读全文
posted @ 2022-05-25 22:56 不吃酸豆角 阅读(53) 评论(0) 推荐(0)
摘要: Spark SQL 以编程方式指定模式 scala> val sqlcontext = new org.apache.spark.sql.SQLContext(sc) warning: there was one deprecation warning (since 2.0.0); for deta 阅读全文
posted @ 2022-05-25 22:56 不吃酸豆角 阅读(84) 评论(0) 推荐(0)