[ 
https://issues.apache.org/jira/browse/MAPREDUCE-2179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12929999#action_12929999
 ] 

Nigel Daley commented on MAPREDUCE-2179:
----------------------------------------

FWIW, I got OOM errors running the tests.  Adding this fixed it:

{code}
===================================================================
--- src/contrib/raid/build.xml  (revision 1032497)
+++ src/contrib/raid/build.xml  (working copy)
@@ -35,7 +35,7 @@
 
   <target name="test-junit" depends="compile,compile-test" if="test.available">
     <junit showoutput="${test.output}" fork="yes" printsummary="yes" 
errorProperty="tests.failed" 
-           haltonfailure="no" failureProperty="tests.failed">
+           haltonfailure="no" failureProperty="tests.failed" maxmemory="1024m" 
>
 
         <classpath refid="test.classpath"/>
         <sysproperty key="test.build.data" value="${build.test}/data"/>
{code}

> RaidBlockSender.java compilation fails
> --------------------------------------
>
>                 Key: MAPREDUCE-2179
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2179
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: contrib/raid
>    Affects Versions: 0.22.0
>            Reporter: Giridharan Kesavan
>            Assignee: Ramkumar Vadali
>            Priority: Blocker
>         Attachments: MAPREDUCE-2179.patch
>
>
> https://hudson.apache.org/hudson/job/Hadoop-Mapreduce-trunk/490/consoleFull
> Mapreduce trunk compilation is broken with 
> compile:
>      [echo] contrib: raid
>     [javac] Compiling 27 source files to 
> /grid/0/hudson/hudson-slave/workspace/Hadoop-Mapreduce-trunk/trunk/build/contrib/raid/classes
>     [javac] 
> /grid/0/hudson/hudson-slave/workspace/Hadoop-Mapreduce-trunk/trunk/src/contrib/raid/src/java/org/apache/hadoop/hdfs/server/datanode/RaidBlockSender.java:71:
>  cannot find symbol
>     [javac] symbol  : class BlockTransferThrottler
>     [javac] location: class 
> org.apache.hadoop.hdfs.server.datanode.RaidBlockSender
>     [javac]   private BlockTransferThrottler throttler;
>     [javac]           ^
>     [javac] 
> /grid/0/hudson/hudson-slave/workspace/Hadoop-Mapreduce-trunk/trunk/src/contrib/raid/src/java/org/apache/hadoop/hdfs/server/datanode/RaidBlockSender.java:377:
>  cannot find symbol
>     [javac] symbol  : class BlockTransferThrottler
>     [javac] location: class 
> org.apache.hadoop.hdfs.server.datanode.RaidBlockSender
>     [javac]                  BlockTransferThrottler throttler) throws 
> IOException {
>     [javac]                  ^
>     [javac] Note: Some input files use or override a deprecated API.
>     [javac] Note: Recompile with -Xlint:deprecation for details.
>     [javac] Note: Some input files use unchecked or unsafe operations.
>     [javac] Note: Recompile with -Xlint:unchecked for details.
>     [javac] 2 errors

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to