skip to Main Content

I am new to Giraph and hadoop.I am trying to compile giraph using maven i tried using command mvn -Phadoop_2 -fae -DskipTests clean install on command prompt but i am getting error.Image i attached is from eclipse(i am geting similar error in cmd as well.

GIRAPH version- 1.2.0 RC1
HADOOP version- 2.2.0
MAVEN version- 3.5.3
JAVA version 1.8.0_121

Any help in solving this problem will help me a lot. THANK YOU

2

Answers


  1. There must be a file created by Apache Rat in the path giraph-gora/target/rat.txt (as this is the failed project). This file will contain details on the files in your projects that do not have a proper licence (as well as the ones that do but these are not of any interest to you).

    Most likely, the case is that the files produced by eclipse (.classpath, .project, org.eclipse.core.resources.prefs, org.eclipse.m2e.core.prefs,org.eclipse.jdt.core.prefs) are creating the problem. If you remove them you will be able to compile giraph properly.

    Login or Signup to reply.
  2. I found a workaround for this as I was facing a similar problem.

    mvn clean install -PallModules -Drat.numUnapprovedLicenses=200 -DskipTests

    -Drat.numUnapprovedLicenses=200 This helps to suppress the error.

    Thanks @leftjoin for the comment.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search