【发布时间】:2016-05-24 20:14:04
【问题描述】:
我安装了 Hadoop (hadoop-2.7.2.tar.gz) 和 Spark (spark-1.6.0-bin-without-hadoop.tgz)。两者都已正确配置,可以一起工作。
我能够遵循 this 动手教程的 scala 版本,以便读取存储在 hdfs 上的文件并应用 ALS 算法给出建议。
但是现在当我尝试在 IntelliJ IDE 中做同样的事情时,我得到了这个错误:
Exception in thread "main" org.apache.hadoop.mapred.InvalidInputException: Input path does not exist: file:/data/movielens/medium
我想我在 IntelliJ 中缺少一些 VM 参数或其他配置,但我不知道它是什么。
谁能解释一下这种行为以及我应该如何解决它?
【问题讨论】:
标签: scala hadoop intellij-idea apache-spark