1. download spark from spark.apache.org
  2. download hadoop from hadoop.apache.org
  3. download hadoop.dll and winutils.exe for hadoop 2.6 from github, link is here: https://github.com/sdravida/hadoop2.6_Win_x64, copy these files into hadoop/bin
  4. add env SPARK_HOME & HADOOP_HOME
  5. now you could run the example:

d:\spark\bin\run-example.cmd SparkPi 10

相关文章:

  • 2021-05-25
  • 2021-08-06
  • 2021-06-21
  • 2021-08-19
  • 2021-07-08
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-06-28
  • 2022-12-23
  • 2021-07-28
  • 2022-12-23
  • 2021-12-03
  • 2021-10-22
相关资源
相似解决方案