Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-6588 Unit test failures with hadoop-2
  3. HIVE-6514

TestExecDriver/HCat Pig tests fails with -Phadoop-2

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.13.0
    • Fix Version/s: 0.13.0
    • Component/s: Tests
    • Labels:
      None

      Description

      Running TestExecDriver with -Phadoop-2 results in the error below. Looks like the test isn't able to access LocalClientProtocolProvider.

      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
      

        Attachments

        1. HIVE-6514.3.patch
          1 kB
          Jason Dere
        2. HIVE-6514.2.patch
          1 kB
          Jason Dere
        3. HIVE-6514.1.patch
          0.5 kB
          Jason Dere

          Issue Links

            Activity

              People

              • Assignee:
                jdere Jason Dere
                Reporter:
                jdere Jason Dere
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: