Hive
  1. Hive
  2. HIVE-3143

Following Test Cases fails in Hive-0.9 and Hadoop-0.23

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 0.9.1
    • Fix Version/s: None
    • Component/s: Tests
    • Labels:
      None
    • Environment:

      Hadoop-2.0.1

      Description

      When I run Hive-0.9.1 with hadoop-0.23, below test cases are consistently failed.

      TestHBaseMinimrCliDriver.testCliDriver_hbase_bulk
      TestCliDriver.testCliDriver_archive
      TestCliDriver.testCliDriver_archive_corrupt
      TestCliDriver.testCliDriver_archive_multi
      TestCliDriver.testCliDriver_join14
      TestCliDriver.testCliDriver_query_properties
      TestCliDriver.testCliDriver_sample_islocalmode_hook
      TestCliDriver.testCliDriver_split_sample
      TestNegativeCliDriver.testNegativeCliDriver_autolocal1
      TestNegativeCliDriver.testNegativeCliDriver_local_mapred_error_cache
      TestMinimrCliDriver
      TestNegativeMinimrCliDriver

        Issue Links

          Activity

          Hide
          Ashutosh Chauhan added a comment -

          java.io.IOException: Cannot initialize Cluster. Please check your configuration for mapreduce.framework.name and the correspond server addresses.

          This exception occurs because we are missing one of the dependent 0.23 jars, namely hadoop-mapreduce-client-common-0.23.1.jar once I add this in path, one of the test join14.q passed for me. I bet all the other tests will pass too.

          Show
          Ashutosh Chauhan added a comment - java.io.IOException: Cannot initialize Cluster. Please check your configuration for mapreduce.framework.name and the correspond server addresses. This exception occurs because we are missing one of the dependent 0.23 jars, namely hadoop-mapreduce-client-common-0.23.1.jar once I add this in path, one of the test join14.q passed for me. I bet all the other tests will pass too.
          Hide
          Carl Steinbach added a comment - - edited

          The failures in archive_corrupt.q, sample_islocalmode_hook.q, and split_sample.q were fixed in HIVE-2979.

          Show
          Carl Steinbach added a comment - - edited The failures in archive_corrupt.q, sample_islocalmode_hook.q, and split_sample.q were fixed in HIVE-2979 .
          Hide
          Rohith Sharma K S added a comment -

          org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_join14
          org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_sample_islocalmode_hook
          org.apache.hadoop.hive.cli.TestNegativeCliDriver.testNegativeCliDriver_autolocal1

          Above set of test cases throw following exception.

          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:121)                                                                          
              at org.apache.hadoop.mapreduce.Cluster.<init>(Cluster.java:83)                                                                               
              at org.apache.hadoop.mapreduce.Cluster.<init>(Cluster.java:76)                                                                               
              at org.apache.hadoop.mapred.JobClient.init(JobClient.java:487)                                                                               
              at org.apache.hadoop.mapred.JobClient.<init>(JobClient.java:466)                                                                             
              at org.apache.hadoop.hive.ql.exec.ExecDriver.execute(ExecDriver.java:418)                                                                    
              at org.apache.hadoop.hive.ql.exec.MapRedTask.execute(MapRedTask.java:137)                                                                    
              at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:135)                                                                            
              at org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:57)                                                               
              at org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:1329)                                                                             
          
          Show
          Rohith Sharma K S added a comment - org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_join14 org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver_sample_islocalmode_hook org.apache.hadoop.hive.cli.TestNegativeCliDriver.testNegativeCliDriver_autolocal1 Above set of test cases throw following exception. 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:121) at org.apache.hadoop.mapreduce.Cluster.<init>(Cluster.java:83) at org.apache.hadoop.mapreduce.Cluster.<init>(Cluster.java:76) at org.apache.hadoop.mapred.JobClient.init(JobClient.java:487) at org.apache.hadoop.mapred.JobClient.<init>(JobClient.java:466) at org.apache.hadoop.hive.ql.exec.ExecDriver.execute(ExecDriver.java:418) at org.apache.hadoop.hive.ql.exec.MapRedTask.execute(MapRedTask.java:137) at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:135) at org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:57) at org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:1329)

            People

            • Assignee:
              Unassigned
              Reporter:
              Rohith Sharma K S
            • Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:

                Development