[ https://issues.apache.org/jira/browse/HIVE-6514?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13915250#comment-13915250 ]
Sushanth Sowmyan commented on HIVE-6514: ---------------------------------------- +1 Note that HIVE-6513 also does this, but only for hcatalog-pig-adapter. I've suggested resolving that as a duplicate of this if we can get this in. > TestExecDriver fails with -Phadoop-2 > ------------------------------------ > > Key: HIVE-6514 > URL: https://issues.apache.org/jira/browse/HIVE-6514 > Project: Hive > Issue Type: Bug > Components: Tests > Reporter: Jason Dere > Assignee: Jason Dere > Attachments: HIVE-6514.1.patch, HIVE-6514.2.patch > > > Running TestExecDriver with -Phadoop-2 results in the error below. Looks like > the test isn't able to access LocalClientProtocolProvider. > {noformat} > java.io.IOException: Cannot initialize Cluster. Please check your > configuration for mapreduce.framework.name and the correspond server > addresses. > at org.apache.hadoop.mapreduce.Cluster.initialize(Cluster.java:120) > at org.apache.hadoop.mapreduce.Cluster.<init>(Cluster.java:82) > at org.apache.hadoop.mapreduce.Cluster.<init>(Cluster.java:75) > at org.apache.hadoop.mapred.JobClient.init(JobClient.java:470) > at org.apache.hadoop.mapred.JobClient.<init>(JobClient.java:449) > at > org.apache.hadoop.hive.ql.exec.mr.ExecDriver.execute(ExecDriver.java:396) > at > org.apache.hadoop.hive.ql.exec.mr.ExecDriver.main(ExecDriver.java:739) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:597) > at org.apache.hadoop.util.RunJar.main(RunJar.java:212) > Job Submission failed with exception 'java.io.IOException(Cannot initialize > Cluster. Please check your configuration for mapreduce.framework.name and the > correspond server addresses.)' > Execution failed with exit status: 1 > {noformat} -- This message was sent by Atlassian JIRA (v6.1.5#6160)