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

Zhenxiao Luo commented on HIVE-3275:
------------------------------------

After adding the following to autolocal1.q to initialize MR2 yarn framework:

[~/Code/hive]git diff ql/src/test/queries/clientnegative/autolocal1.q
diff --git a/ql/src/test/queries/clientnegative/autolocal1.q 
b/ql/src/test/queries/clientnegative/autolocal1.q
index 6bee177..8623eb5 100644
--- a/ql/src/test/queries/clientnegative/autolocal1.q
+++ b/ql/src/test/queries/clientnegative/autolocal1.q
@@ -1,3 +1,4 @@
+set mapreduce.framework.name=yarn;
 set mapred.job.tracker=abracadabra;
 set hive.exec.mode.local.auto.inputbytes.max=1;
 set hive.exec.mode.local.auto=true;

Still getting the following diffs:

diff -a 
/home/cloudera/Code/hive/build/ql/test/logs/clientnegative/autolocal1.q.out 
/home/cloudera/Code/hive/ql/src/test/results/clientnegative/autolocal1.q.out
[junit] 5c5
[junit] < Job Submission failed with exception 
'java.lang.reflect.UndeclaredThrowableException(null)'
[junit] —
[junit] > Job Submission failed with exception 
'java.lang.IllegalArgumentException(Does not contain a valid host:port 
authority: abracadabra)'
                
> 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
>
> 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


Reply via email to