graft icon indicating copy to clipboard operation
graft copied to clipboard

Cannot Compile!

Open TamerDev opened this issue 10 years ago • 4 comments

Hi! for some reason I get an error when I install graft. first, I have protocol buffers installed and giraph latest version from the trunk. First, when I do "mvn -DskipTests compile" from the giraph-debugger folder, I get error: "Non-resolvable parent POM: Could not find artifact org.apache.giraph:giraph-parent:pom:1.1.0-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 26, column 11 -> [Help 2]"

So I change the POM file to include the repo: central http://repo1.maven.org/maven2

and then I rerun the mvn command, It finds dependencies but it returns a different error:

[ERROR] /usr/local/giraph-debugger/src/main/java/org/apache/giraph/debugger/instrumenter/AbstractInterceptingComputation.java:[642,33] <A>getAggregatedValue(java.lang.String) in org.apache.giraph.debugger.instrumenter.AbstractInterceptingComputation cannot override <A>getAggregatedValue(java.lang.String) in org.apache.giraph.worker.WorkerAggregatorDelegator overridden method is final

is there a different repository or artifact version I should go after? the current giraph dependency I have is <groupId>org.apache.giraph</groupId> <artifactId>giraph-parent</artifactId> 1.1.0

I'm running on Centos 6.5

thanks!

TamerDev avatar Nov 25 '14 17:11 TamerDev

Hi,

So the problem is that we have this one-line change to Giraph main-code that changes a protected method to public. So once Graft is completely part of Giraph (it will be soon, the review is over, we're just waiting for a committer to commit the code), this bug will go away. If you have Giraph trunk pulled, you can edit this org.apache.giraph.worker.WorkerAggregatorDelegator class's getAggregatedValue method and make it public. Then do mvn install Giraph it to your local mvn repository (probably with mvn install -DskipTests --projects .,giraph-core) or something. Jaeho can correct me if I'm wrong.

And then you can build and run Graft and it should work.

Best,

semih

On Tue, Nov 25, 2014 at 9:58 AM, TamerDev [email protected] wrote:

Hi! for some reason I get an error when I install graft. first, I have protocol buffers installed and giraph latest version from the trunk. First, when I do "mvn -DskipTests compile" from the giraph-debugger folder, I get error: "Non-resolvable parent POM: Could not find artifact org.apache.giraph:giraph-parent:pom:1.1.0-SNAPSHOT and 'parent.relativePath' points at wrong local POM @ line 26, column 11 -> [Help 2]"

So I change the POM file to include the repo:

central http://repo1.maven.org/maven2

and then I rerun the mvn command, It finds dependencies but it returns a different error:

[ERROR] /usr/local/giraph-debugger/src/main/java/org/apache/giraph/debugger/instrumenter/AbstractInterceptingComputation.java:[642,33] getAggregatedValue(java.lang.String) in org.apache.giraph.debugger.instrumenter.AbstractInterceptingComputation cannot override getAggregatedValue(java.lang.String) in org.apache.giraph.worker.WorkerAggregatorDelegator overridden method is final

is there a different repository or artifact version I should go after? the current giraph dependency I have is

org.apache.giraph giraph-parent 1.1.0

I'm running on Centos 6.5

thanks!

— Reply to this email directly or view it on GitHub https://github.com/semihsalihoglu/graft/issues/110.

semihsalihoglu avatar Nov 25 '14 18:11 semihsalihoglu

Hi,

So the problem is that we have this one-line change to Giraph main-code that changes a protected method to public. So once Graft is completely part of Giraph (it will be soon, the review is over, we're just waiting for a committer to commit the code), this bug will go away. If you have Giraph trunk pulled, you can edit this org.apache.giraph.worker.WorkerAggregatorDelegator class's getAggregatedValue method and make it public. Then do mvn install Giraph it to your local mvn repository (probably with mvn install -DskipTests --projects .,giraph-core) or something. Jaeho can correct me if I'm wrong.

And then you can build and run Graft and it should work.

semihsalihoglu avatar Nov 25 '14 18:11 semihsalihoglu

I'm currently labeling this issue as wontfix. It should go away soon.

semihsalihoglu avatar Nov 25 '14 18:11 semihsalihoglu

great! thanks for the explanation ;)

TamerDev avatar Nov 25 '14 18:11 TamerDev