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

Thomas Graves commented on MAPREDUCE-3064:
------------------------------------------

Looks like this was introduced in MAPREDUCE-2970, code added:

+++ 
hadoop-mapreduce-project/src/java/org/apache/hadoop/mapred/JobTrackerClientProtocolProvider.java
@@ -43,20 +43,24 @@ public class JobTrackerClientProtocolProvider extends 
ClientProtocolProvider {
     String tracker = conf.get(JTConfig.JT_IPC_ADDRESS, "local");
     if (!"local".equals(tracker)) {
       return createRPCProxy(JobTracker.getAddress(conf), conf);
+    } else {
+      throw new IOException("Invalid \"" + JTConfig.JT_IPC_ADDRESS
+          + "\" configuration value for JobTracker: \""
+          + tracker + "\"");
     }
-    return null;
   }

> 27 unit test failures with  Invalid "mapreduce.jobtracker.address" 
> configuration value for JobTracker: "local"
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: MAPREDUCE-3064
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3064
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>    Affects Versions: 0.23.0
>            Reporter: Thomas Graves
>            Priority: Critical
>             Fix For: 0.23.0
>
>
> unit test failure here: 
> https://builds.apache.org/view/G-L/view/Hadoop/job/Hadoop-Mapreduce-trunk-Commit/946/
>       Test Result (27 failures / +27)
>     org.apache.hadoop.mapred.TestCollect.testCollect
>     org.apache.hadoop.mapred.TestComparators.testDefaultMRComparator
>     org.apache.hadoop.mapred.TestComparators.testUserMRComparator
>     org.apache.hadoop.mapred.TestComparators.testUserValueGroupingComparator
>     org.apache.hadoop.mapred.TestComparators.testAllUserComparators
>     org.apache.hadoop.mapred.TestFileOutputFormat.testCustomFile
>     org.apache.hadoop.mapred.TestJavaSerialization.testMapReduceJob
>     org.apache.hadoop.mapred.TestJavaSerialization.testWriteToSequencefile
>     org.apache.hadoop.mapred.TestMapOutputType.testKeyMismatch
>     org.apache.hadoop.mapred.TestMapOutputType.testValueMismatch
>     org.apache.hadoop.mapred.TestMapOutputType.testNoMismatch
>     org.apache.hadoop.mapred.TestMapRed.testMapred
>     org.apache.hadoop.mapred.TestMapRed.testNullKeys
>     org.apache.hadoop.mapred.TestMapRed.testCompression
>     org.apache.hadoop.mapred.TestMapRed.testSmallInput
>     org.apache.hadoop.mapred.TestMapRed.testBiggerInput
>     org.apache.hadoop.mapreduce.TestMapCollection.testValLastByte
>     org.apache.hadoop.mapreduce.TestMapCollection.testLargeRecords
>     org.apache.hadoop.mapreduce.TestMapCollection.testSpillPer2B
>     org.apache.hadoop.mapreduce.TestMapCollection.testZeroVal
>     org.apache.hadoop.mapreduce.TestMapCollection.testSingleRecord
>     org.apache.hadoop.mapreduce.TestMapCollection.testLowSpill
>     org.apache.hadoop.mapreduce.TestMapCollection.testSplitMetaSpill
>     org.apache.hadoop.mapreduce.TestMapCollection.testPostSpillMeta
>     org.apache.hadoop.mapreduce.TestMapCollection.testLargeRecConcurrent
>     org.apache.hadoop.mapreduce.TestMapCollection.testRandom
>     org.apache.hadoop.mapreduce.TestMapCollection.testRandomCompress
> All of them have similar stack traces of:
> java.io.IOException: Invalid "mapreduce.jobtracker.address" configuration 
> value for JobTracker: "local"
>       at 
> org.apache.hadoop.mapred.JobTrackerClientProtocolProvider.create(JobTrackerClientProtocolProvider.java:47)
>       at org.apache.hadoop.mapreduce.Cluster.<init>(Cluster.java:74)
>       at org.apache.hadoop.mapred.JobClient.init(JobClient.java:459)
>       at org.apache.hadoop.mapred.JobClient.<init>(JobClient.java:438)
>       at org.apache.hadoop.mapred.JobClient.runJob(JobClient.java:777)
>       at 
> org.apache.hadoop.mapred.TestCollect.testCollect(TestCollect.java:133)

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to