# 使用SparkSQL编写wordCount的词频统计 ## word.txt```hello hello scala sparkjava sql html java hellojack jack tom tom you he he sql``` ## spark 代码:```object WordCount { def main(args: Array[String]): Unit = { val spark: SparkSession = SparkSession.builder() .a…
I am using eclipse to export the jar file of a map-reduce program. When i am run the jar using command hadoop jar hadoop-prog.jar WordCount /home/temp/input /home/temp/output it always shows the error : Exception in thread "main" java.lang.Class…