我使用以下参考
克隆了mongo-hadoop连接器git存储库http://docs.mongodb.org/ecosystem/tutorial/getting-started-with-hadoop/
成功克隆后,我正在尝试使用$ ./gradlew jar构建jar,它显示以下异常,
hduser@mypc:/mongo-hadoop$ ./gradlew jar
:compileJava
FAILURE: Build failed with an exception.
* What went wrong:
Could not create service of type TaskArtifactStateCacheAccess using TaskExecutionServices.createCacheAccess().
> Failed to create parent directory '/mongo-hadoop/.gradle' when creating directory '/mongo-hadoop/.gradle/2.2.1/taskArtifacts'
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
建立失败
这可能是什么原因让任何人帮我解决这个问题。