spark 相关使用

来源:互联网 发布:买吉他知乎 编辑:程序博客网 时间:2024/06/05 20:41

http://blog.csdn.net/yeruby/article/details/41043039

scala> var textFile = sc.textFile("hdfs://ns1/a.txt"); scala> textFile.count()

相对路径是hdfs://ns1/user/labadmin/

只有启动了服务,4040才会开启,如果4040被占用,会用4041端口

Spark history Server
https://docs.qingcloud.com/guide/spark.html
http://www.cnblogs.com/luogankun/p/3981645.html

0 0