在遵循他们提供的说明之后,我尝试运行这个项目:
直到我收到这样的信息:
Starting a Gradle Daemon, 1 incompatible Daemon could not be reused, use --status for details
> Task :scalaStyle
Found 0 warnings
Found 0 errors
BUILD SUCCESSFUL in 43s
8 actionable tasks: 6 executed, 2 up-to-date在那之后,我想试试他们的模型之一,就是这里:
https://docs.transmogrif.ai/en/stable/examples/Titanic-Binary-Classification.html
但是在运行过程中命令:
cd helloworld
./gradlew compileTestScala installDist
./gradlew -q sparkSubmit -Dmain=com.salesforce.hw.OpTitanicSimple -Dargs="\
`pwd`/src/main/resources/TitanicDataset/TitanicPassengersTrainData.csv"我得到了这个错误:
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':sparkSubmit'.
> A problem occurred starting process 'command 'null/bin/spark-submit''
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 2s我试着找出来,却不知道,我怎么解决这个问题呢?
发布于 2018-08-31 07:36:26
启动进程‘命令’空/bin/火花-提交‘时出现问题。
“null/bin/spark submit”中的"null“部分表示"SPARK_HOME”位置没有设置。您提到了在安装的第二步中设置环境变量。
那么,您能否检查SPARK_HOME环境变量的设置是否正确?
发布于 2018-10-26 16:34:24
确保正确设置SPARK_HOME,指向您解压火花的文件夹。例如export SPARK_HOME="~/spark-2.2.1-bin-hadoop2.7"
https://stackoverflow.com/questions/52110201
复制相似问题