Hi Alessandro, I can confirm that after your addition I'm able to build Giraph for Hadoop 2.4.0, so this works:
mvn package -DskipTests -Dhadoop.version=2.4.0 -Phadoop_yarn clean install Do you know whether there are any plans to support Hadoop 2.5.x too? Thank you very much, Nicola Il 27/10/2014 15:38, Alessandro Negro ha scritto: > Hi Nicola, > it’s true I got the same error but also before changing the plugin > configuration. > I was able to compile only for version 2.4.0. I tested with 2.5.0 as well. > > I tested everything on the main trunk. > > Cheers, > Alessandro > > > > Il giorno 27/ott/2014, alle ore 15:00, Nicola Vitucci > <nicola.vitu...@gmail.com> ha scritto: > >> Hi Alessandro, >> >> thanks for the reply. In order to start fresh, before adding the line >> you suggested I re-cloned the repository and tried to compile from trunk >> using the same command: >> >> mvn package -DskipTests -Dhadoop.version=2.5.1 -Phadoop_yarn clean install >> >> I get an error (on the variable SASL_PROPS) that I could get rid of >> before by applying the patch GIRAPH-947, but now the patch is not >> applicable any longer, so I can't even get to the stage where the >> 'munged' directory was the problem. Can you tell me which branch have >> you used and what is the exact sequence of changes that you applied to >> get Giraph compiled? >> >> Thanks, >> >> Nicola >> >> Il 26/10/2014 23:34, Alessandro Negro ha scritto: >>> Hi Nicola, >>> I was able to fix this issue adding the following line into the munge maven >>> plugin: >>> >>> <mungedDirectory>${project.build.directory}/munged</mungedDirectory> >>> >>> Now it is: >>> >>> <plugin> >>> <groupId>org.sonatype.plugins</groupId> >>> <artifactId>munge-maven-plugin</artifactId> >>> <version>1.0</version> >>> <executions> >>> <execution> >>> <id>munge</id> >>> <phase>generate-sources</phase> >>> <goals> >>> <goal>munge</goal> >>> </goals> >>> <configuration> >>> >>> <mungedDirectory>${project.build.directory}/munged</mungedDirectory> >>> <symbols>${munge.symbols}</symbols> >>> </configuration> >>> </execution> >>> </executions> >>> </plugin> >>> >>> I hope that this will help you. >>> >>> Regards, >>> Alessandro >>> > >