简体   繁体   English

无法使用MAVEN构建Apache Spark

[英]CAN'T Build Apache spark with MAVEN

I have downloaded Apache spark and trying to build it with MAVEN as suggested here. 我已经下载了Apache spark,并尝试按照此处的建议使用MAVEN进行构建。 http://spark.apache.org/docs/1.0.0/building-with-maven.html http://spark.apache.org/docs/1.0.0/building-with-maven.html

But I am not able to resolve the error after running the command - build/mvn -DskipTests clean package run , the error is- build/mvn: No such file or directory . 但是运行命令-build / mvn -DskipTests clean package run后 ,我无法解决错误,错误是-build / mvn:没有这样的文件或目录。 I checked by running mvn -v and also JAVA_HOME is set to the JDK. 我通过运行mvn -v进行了检查,还将JAVA_HOME设置为JDK。 (screen shot attached ) . (附上屏幕截图) Please help to resolve the problem. 请帮助解决问题。 command promt output 命令提示输出

mvn -DskipTests clean package run

You don't need to use build/mvn. 您不需要使用build / mvn。 I am assuming you have mvn installed somewhere within the system. 我假设您在系统内的某处安装了mvn。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM