Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-17949

itests compile is busted on branch-1.2

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.2.3
    • 1.2.3
    • Test
    • None

    Description

      commit 18ddf46e0a8f092358725fc102235cbe6ba3e24d on branch-1.2 was for Preparing for 1.2.3 development. This should have also included corresponding changes to all the pom-files under itests. As it stands now, the build fails with the following:

      [ERROR]   location: class org.apache.hadoop.hive.metastore.api.Role
      [ERROR] /Users/mithunr/workspace/dev/hive/apache/branch-1.2/itests/hive-unit/src/test/java/org/apache/hadoop/hive/metastore/TestHiveMetaStore.java:[512,19] no suitable method found for updatePartitionStatsFast(org.apache.hadoop.hive.metastore.api.Partition,org.apache.hadoop.hive.metastore.Warehouse)
      [ERROR]     method org.apache.hadoop.hive.metastore.MetaStoreUtils.updatePartitionStatsFast(org.apache.hadoop.hive.metastore.api.Partition,org.apache.hadoop.hive.metastore.Warehouse,org.apache.hadoop.hive.metastore.api.EnvironmentContext) is not applicable
      [ERROR]       (actual and formal argument lists differ in length)
      [ERROR]     method org.apache.hadoop.hive.metastore.MetaStoreUtils.updatePartitionStatsFast(org.apache.hadoop.hive.metastore.api.Partition,org.apache.hadoop.hive.metastore.Warehouse,boolean,org.apache.hadoop.hive.metastore.api.EnvironmentContext) is not applicable
      [ERROR]       (actual and formal argument lists differ in length)
      [ERROR]     method org.apache.hadoop.hive.metastore.MetaStoreUtils.updatePartitionStatsFast(org.apache.hadoop.hive.metastore.api.Partition,org.apache.hadoop.hive.metastore.Warehouse,boolean,boolean,org.apache.hadoop.hive.metastore.api.EnvironmentContext) is not applicable
      [ERROR]       (actual and formal argument lists differ in length)
      [ERROR]     method org.apache.hadoop.hive.metastore.MetaStoreUtils.updatePartitionStatsFast(org.apache.hadoop.hive.metastore.partition.spec.PartitionSpecProxy.PartitionIterator,org.apache.hadoop.hive.metastore.Warehouse,boolean,boolean,org.apache.hadoop.hive.metastore.api.EnvironmentContext) is not applicable
      [ERROR]       (actual and formal argument lists differ in length)
      [ERROR] /Users/mithunr/workspace/dev/hive/apache/branch-1.2/itests/hive-unit/src/test/java/org/apache/hadoop/hive/metastore/TestHiveMetaStoreWithEnvironmentContext.java:[181,45] incompatible types: org.apache.hadoop.hive.metastore.api.EnvironmentContext cannot be converted to boolean
      [ERROR] /Users/mithunr/workspace/dev/hive/apache/branch-1.2/itests/hive-unit/src/test/java/org/apache/hadoop/hive/metastore/TestHiveMetaStoreWithEnvironmentContext.java:[190,45] incompatible types: org.apache.hadoop.hive.metastore.api.EnvironmentContext cannot be converted to boolean
      [ERROR] /Users/mithunr/workspace/dev/hive/apache/branch-1.2/itests/hive-unit/src/test/java/org/apache/hadoop/hive/thrift/TestZooKeeperTokenStore.java:[53,26] cannot find symbol
      [ERROR]   symbol:   class MiniZooKeeperCluster
      [ERROR]   location: class org.apache.hadoop.hive.thrift.TestZooKeeperTokenStore
      [ERROR] -> [Help 1]
      [ERROR]
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR]
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
      [ERROR]
      [ERROR] After correcting the problems, you can resume the build with the command
      [ERROR]   mvn <goals> -rf :hive-it-unit
      

      Attachments

        1. HIVE-17949.01-branch-1.2.patch
          5 kB
          Mithun Radhakrishnan

        Issue Links

          Activity

            People

              mithun Mithun Radhakrishnan
              mithun Mithun Radhakrishnan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: