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

TestHadoop20SAuthBridge broken with hadoop-1

    XMLWordPrintableJSON

Details

    • Test
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.14.0
    • 0.14.0
    • Tests
    • None

    Description

      Looks like TestHadoop20SAuthBridge had new dependencies on hadoop-2 methods, with upgrade to hadoop2.5.

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:testCompile (default-testCompile) on project hive-it-unit: Compilation failure: Compilation failure:
      [ERROR] /data/hive-ptest/working/apache-svn-trunk-source/itests/hive-unit/src/test/java/org/apache/hadoop/hive/thrift/TestHadoop20SAuthBridge.java:[50,44] cannot find symbol
      [ERROR] symbol:   class DefaultImpersonationProvider
      [ERROR] location: package org.apache.hadoop.security.authorize
      [ERROR] /data/hive-ptest/working/apache-svn-trunk-source/itests/hive-unit/src/test/java/org/apache/hadoop/hive/thrift/TestHadoop20SAuthBridge.java:[133,21] cannot find symbol
      [ERROR] symbol:   variable DefaultImpersonationProvider
      [ERROR] location: class org.apache.hadoop.hive.thrift.TestHadoop20SAuthBridge
      [ERROR] /data/hive-ptest/working/apache-svn-trunk-source/itests/hive-unit/src/test/java/org/apache/hadoop/hive/thrift/TestHadoop20SAuthBridge.java:[296,7] cannot find symbol
      [ERROR] symbol:   variable DefaultImpersonationProvider
      [ERROR] location: class org.apache.hadoop.hive.thrift.TestHadoop20SAuthBridge
      

      Attachments

        1. HIVE-8420.patch
          35 kB
          Szehon Ho

        Issue Links

          Activity

            People

              szehon Szehon Ho
              szehon Szehon Ho
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: