Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

COmpile java error #8

Open
humehta opened this issue Feb 28, 2019 · 0 comments
Open

COmpile java error #8

humehta opened this issue Feb 28, 2019 · 0 comments

Comments

@humehta
Copy link

humehta commented Feb 28, 2019

Command:

gradle clean dist -Pcdhversion=cdh4

Error:
Task :dga-giraph:compileJava FAILED
/home/hduser/distributed-graph-analytics/dga-giraph/src/main/java/com/soteradefense/dga/DGAYarnRunner.java:21: error: package org.apache.hadoop.yarn.conf does not exist
import org.apache.hadoop.yarn.conf.YarnConfiguration;
^
/home/hduser/distributed-graph-analytics/dga-giraph/src/main/java/com/soteradefense/dga/DGAYarnRunner.java:28: error: cannot find symbol
UserGroupInformation.createRemoteUser(YarnConfiguration.DEFAULT_NM_NONSECURE_MODE_LOCAL_USER).doAs(new PrivilegedAction() {
^
symbol: variable YarnConfiguration
location: class DGAYarnRunner
Note: /home/hduser/distributed-graph-analytics/dga-giraph/src/main/java/com/soteradefense/dga/io/formats/DGAVertexOutputFormat.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
2 errors

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':dga-giraph:compileJava'.

Please help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant