Re: Problems building hadoop 2.2.0 from source

2014-02-07 Thread Christopher Thomas
Thanks, I built 2.3 yesterday (checked out from from link suggested in earlier post of this thread) without problems apart from VM running out of memory which was fixed with export MAVEN_OPTS=-Xmx2048m At least, I got a message saying successful build. Thanks for your help. On 8 February

Problems building hadoop 2.2.0 from source

2014-02-06 Thread Christopher Thomas
Hi, I am a complete beginner to Hadoop, trying to build 2.2.0 from source on a Macbook Pro running OS X Mavericks. I am following the 'instructions' at http://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-common/SingleCluster.html such as they are. I get the following test failure:

Re: Problems building hadoop 2.2.0 from source

2014-02-06 Thread Ted Yu
There isn't System.exit call in TestMRJobsWithHistoryService.java What did hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/target/surefire-reports/org.apache.hadoop.mapreduce.v2.TestMRJobsWithHistoryService.txt say ? Cheers On Thu, Feb 6, 2014 at 4:41 PM,

Re: Problems building hadoop 2.2.0 from source

2014-02-06 Thread Ted Yu
I checked out source code from http://svn.apache.org/repos/asf/hadoop/common/branches/branch-2.3 and it builds. From TestMRJobsWithHistoryService.txt, the test passed. What led to this test being singled out among the 454 tests ? Thanks On Thu, Feb 6, 2014 at 7:26 PM, Christopher Thomas

Re: Problems building hadoop 2.2.0 from source

2014-02-06 Thread Christopher Thomas
Yes well I tried 2.3, but I have found a number of problems building it. I had to resort to manually applying patches that I found in the bug tracking lists, which did not seem to have made it into all branches. So for the moment I am sticking with 2.2.0 which is advertised as being stable. I

Re: Problems building hadoop 2.2.0 from source

2014-02-06 Thread Ted Yu
The output was from hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/target/surefire-reports/org.apache.hadoop.mapreduce.v2.TestMRJobsWithHistoryService-output.txt Can you show us the contents of

Re: Problems building hadoop 2.2.0 from source

2014-02-06 Thread Christopher Thomas
I included the last part of hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client- jobclient/target/surefire-reports/org.apache.hadoop.mapreduce.v2. TestMRJobsWithHistoryService.txt in the second half of my initial posting, calling it the output from

Re: Problems building hadoop 2.2.0 from source

2014-02-06 Thread Christopher Thomas
I guess the ERROR lines in hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client- jobclient/target/surefire-reports/org.apache.hadoop.mapreduce.v2. TestMRJobsWithHistoryService-output.txt led me to believe that the problem was with TestMRJobsWithHistoryService. If that's not