操作系统:windows 10

IDEA : IDEA 14.1.4

1:使用IDEA导入spark 1.5的源码,注意maven配置为自动导入

2:在maven窗口下的profiles中勾选hadoop, hive ,hive-thriftserver,yarn的选项。

3: 在maven窗口下勾选genertate sourec命令

 

 

使用IDEA编译spark 1.5并运行example的代码

 

4:把example该module的所有dependency修改为compile

先replace pom.xml,然后缺哪个修改哪个

 使用IDEA编译spark 1.5并运行example的代码

现在整个ok了

相关文章:

  • 2021-09-15
  • 2021-10-31
  • 2021-12-20
  • 2021-07-30
  • 2022-12-23
  • 2021-09-30
  • 2022-12-23
  • 2021-07-07
猜你喜欢
  • 2022-12-23
  • 2021-12-03
  • 2022-12-23
  • 2021-06-22
  • 2021-08-07
  • 2022-12-23
  • 2021-07-15
相关资源
相似解决方案