第一个spark程序----WordCount

和hadoop一样,学习spark从WordCount开始。 启动Spark Shell spark-shell是Spark自带的交互式Shell程序,方便用户进行交互式编程,用户可以在该命令行下用scala编写spark程序。 执行命令 bin/spark-shell 启动hdfs 上传一个文档到hdfs 编写WordCount 在Spark shell中用scala语言编写spark程序 sc
相关文章
相关标签/搜索