[ https://issues.apache.org/jira/browse/HIVE-3275?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13417998#comment-13417998 ]
Zhenxiao Luo commented on HIVE-3275: ------------------------------------ In summary, In hadoop0.20, JobClient initialization would try to get JobTracker's address, which throws the expected exception. While, in hadoop0.23, JobClient Initialization would try which protocol to choose. If MR1, it would do the same as hadoop0.20. If MR2, it does not try to get JobTracker's address in JobClient initialization. No exception thrown at this time. This will be an exception when the jobClient submitJob. Since the expected exception on hadoop0.23 diffs for MR1 and MR2, and the execution path has changed for MR1 and MR2, My plan is only running this test on hadoop0.20. > Fix autolocal1.q testcase failure when building hive on hadoop0.23 MR2 > ---------------------------------------------------------------------- > > Key: HIVE-3275 > URL: https://issues.apache.org/jira/browse/HIVE-3275 > Project: Hive > Issue Type: Bug > Reporter: Zhenxiao Luo > Assignee: Zhenxiao Luo > Attachments: HIVE-3275.1.patch.txt > > > autolocal1.q is failing only on hadoop0.23 MR2, due to cluster initialization > problem: > Begin query: autolocal1.q > diff -a > /var/lib/jenkins/workspace/zhenxiao-CDH4-Hive-0.9.0/build/ql/test/logs/clientnegative/autolocal1.q.out > > /var/lib/jenkins/workspace/zhenxiao-CDH4-Hive-0.9.0/ql/src/test/results/clientnegative/autolocal1.q.out > 5c5 > < Job Submission failed with exception 'java.io.IOException(Cannot initialize > Cluster. Please check your configuration for mapreduce.framework.name and the > correspond server addresses.)' > — > > Job Submission failed with exception > > 'java.lang.IllegalArgumentException(Does not contain a valid host:port > > authority: abracadabra)' > Exception: Client execution results failed with error code = 1 > See build/ql/tmp/hive.log, or try "ant test ... -Dtest.silent=false" to get > more logs. > Failed query: autolocal1.q -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira