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

using authorization api for RESET, DFS, ADD, DELETE, COMPILE commands

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.14.0
    • Authorization
    • Hide
      This also changes behavior in SQL std auth -
      reset command is now allowed.
      dfs,add,delete,compile commands are now allowed for the admin user.
      Show
      This also changes behavior in SQL std auth - reset command is now allowed. dfs,add,delete,compile commands are now allowed for the admin user.

    Description

      The only way to disable the commands SET, RESET, DFS, ADD, DELETE and COMPILE that is available currently is to use the hive.security.command.whitelist parameter.

      Some of these commands are disabled using this configuration parameter for security reasons when SQL standard authorization is enabled. However, it gets disabled in all cases.

      If authorization api is used authorize the use of these commands, it will give authorization implementations the flexibility to allow/disallow these commands based on user privileges.

      Attachments

        1. HIVE-7361.1.patch
          61 kB
          Thejas Nair
        2. HIVE-7361.2.patch
          65 kB
          Thejas Nair
        3. HIVE-7361.3.patch
          76 kB
          Thejas Nair
        4. HIVE-7361.4.patch
          75 kB
          Thejas Nair
        5. HIVE-7361.5.patch
          74 kB
          Thejas Nair

        Issue Links

          Activity

            thejas Thejas Nair added a comment -

            Authorizing the SET command through the API needs more work as the tests are currently using the set commands to set the authorization settings! Removing SET command from the scope of this jira (updated the title).

            thejas Thejas Nair added a comment - Authorizing the SET command through the API needs more work as the tests are currently using the set commands to set the authorization settings! Removing SET command from the scope of this jira (updated the title).
            thejas Thejas Nair added a comment -

            HIVE-7361.1.patch - also changes the authorization test error message to include the operation type as well.

            thejas Thejas Nair added a comment - HIVE-7361 .1.patch - also changes the authorization test error message to include the operation type as well.
            hiveqa Hive QA added a comment -

            Overall: -1 at least one tests failed

            Here are the results of testing the latest attachment:
            https://issues.apache.org/jira/secure/attachment/12655327/HIVE-7361.1.patch

            ERROR: -1 due to 6 failed/errored test(s), 5721 tests executed
            Failed tests:

            org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_dynpart_sort_optimization
            org.apache.hadoop.hive.cli.TestNegativeCliDriver.testNegativeCliDriver_authorize_create_tbl
            org.apache.hadoop.hive.cli.TestNegativeCliDriver.testNegativeCliDriver_temp_table_authorize_create_tbl
            org.apache.hadoop.hive.ql.processors.TestCompileProcessor.testSyntax
            org.apache.hadoop.hive.ql.security.authorization.plugin.TestHiveOperationType.checkHiveOperationTypeMatch
            org.apache.hive.jdbc.authorization.TestJdbcWithSQLAuthorization.testAllowedCommands
            

            Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-Build/749/testReport
            Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-Build/749/console
            Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-Build-749/

            Messages:

            Executing org.apache.hive.ptest.execution.PrepPhase
            Executing org.apache.hive.ptest.execution.ExecutionPhase
            Executing org.apache.hive.ptest.execution.ReportingPhase
            Tests exited with: TestsFailedException: 6 tests failed
            

            This message is automatically generated.

            ATTACHMENT ID: 12655327

            hiveqa Hive QA added a comment - Overall : -1 at least one tests failed Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12655327/HIVE-7361.1.patch ERROR: -1 due to 6 failed/errored test(s), 5721 tests executed Failed tests: org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_dynpart_sort_optimization org.apache.hadoop.hive.cli.TestNegativeCliDriver.testNegativeCliDriver_authorize_create_tbl org.apache.hadoop.hive.cli.TestNegativeCliDriver.testNegativeCliDriver_temp_table_authorize_create_tbl org.apache.hadoop.hive.ql.processors.TestCompileProcessor.testSyntax org.apache.hadoop.hive.ql.security.authorization.plugin.TestHiveOperationType.checkHiveOperationTypeMatch org.apache.hive.jdbc.authorization.TestJdbcWithSQLAuthorization.testAllowedCommands Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-Build/749/testReport Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-Build/749/console Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-Build-749/ Messages: Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase Tests exited with: TestsFailedException: 6 tests failed This message is automatically generated. ATTACHMENT ID: 12655327
            thejas Thejas Nair added a comment -

            HIVE-7361.2.patch - fixes unit test failures

            thejas Thejas Nair added a comment - HIVE-7361 .2.patch - fixes unit test failures
            hiveqa Hive QA added a comment -

            Overall: -1 at least one tests failed

            Here are the results of testing the latest attachment:
            https://issues.apache.org/jira/secure/attachment/12655575/HIVE-7361.2.patch

            ERROR: -1 due to 5 failed/errored test(s), 5734 tests executed
            Failed tests:

            org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_dynpart_sort_optimization
            org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_temp_table
            org.apache.hadoop.hive.cli.TestMinimrCliDriver.testCliDriver_ql_rewrite_gbtoidx
            org.apache.hive.hcatalog.pig.TestOrcHCatLoader.testReadDataPrimitiveTypes
            org.apache.hive.jdbc.TestSSL.testSSLFetchHttp
            

            Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-Build/781/testReport
            Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-Build/781/console
            Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-Build-781/

            Messages:

            Executing org.apache.hive.ptest.execution.PrepPhase
            Executing org.apache.hive.ptest.execution.ExecutionPhase
            Executing org.apache.hive.ptest.execution.ReportingPhase
            Tests exited with: TestsFailedException: 5 tests failed
            

            This message is automatically generated.

            ATTACHMENT ID: 12655575

            hiveqa Hive QA added a comment - Overall : -1 at least one tests failed Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12655575/HIVE-7361.2.patch ERROR: -1 due to 5 failed/errored test(s), 5734 tests executed Failed tests: org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_dynpart_sort_optimization org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_temp_table org.apache.hadoop.hive.cli.TestMinimrCliDriver.testCliDriver_ql_rewrite_gbtoidx org.apache.hive.hcatalog.pig.TestOrcHCatLoader.testReadDataPrimitiveTypes org.apache.hive.jdbc.TestSSL.testSSLFetchHttp Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-Build/781/testReport Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-Build/781/console Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-Build-781/ Messages: Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase Tests exited with: TestsFailedException: 5 tests failed This message is automatically generated. ATTACHMENT ID: 12655575
            thejas Thejas Nair added a comment -

            Failures in latest run don't seem to be related. I ran TestSSL again and it passed.

            thejas Thejas Nair added a comment - Failures in latest run don't seem to be related. I ran TestSSL again and it passed.
            thejas Thejas Nair added a comment -

            HIVE-7361.3.patch- Addressing review comments. Fixed issue with user in admin role not being able to run dfs,add,delete,compile commands.

            thejas Thejas Nair added a comment - HIVE-7361 .3.patch- Addressing review comments. Fixed issue with user in admin role not being able to run dfs,add,delete,compile commands.
            hiveqa Hive QA added a comment -

            Overall: -1 at least one tests failed

            Here are the results of testing the latest attachment:
            https://issues.apache.org/jira/secure/attachment/12656158/HIVE-7361.3.patch

            ERROR: -1 due to 5 failed/errored test(s), 5726 tests executed
            Failed tests:

            org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_temp_table
            org.apache.hadoop.hive.cli.TestMinimrCliDriver.testCliDriver_ql_rewrite_gbtoidx
            org.apache.hive.hcatalog.pig.TestOrcHCatLoader.testReadDataPrimitiveTypes
            org.apache.hive.jdbc.authorization.TestJdbcWithSQLAuthorization.testAllowedCommands
            org.apache.hive.jdbc.miniHS2.TestHiveServer2.testConnection
            

            Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-Build/823/testReport
            Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-Build/823/console
            Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-Build-823/

            Messages:

            Executing org.apache.hive.ptest.execution.PrepPhase
            Executing org.apache.hive.ptest.execution.ExecutionPhase
            Executing org.apache.hive.ptest.execution.ReportingPhase
            Tests exited with: TestsFailedException: 5 tests failed
            

            This message is automatically generated.

            ATTACHMENT ID: 12656158

            hiveqa Hive QA added a comment - Overall : -1 at least one tests failed Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12656158/HIVE-7361.3.patch ERROR: -1 due to 5 failed/errored test(s), 5726 tests executed Failed tests: org.apache.hadoop.hive.cli.TestMiniTezCliDriver.testCliDriver_temp_table org.apache.hadoop.hive.cli.TestMinimrCliDriver.testCliDriver_ql_rewrite_gbtoidx org.apache.hive.hcatalog.pig.TestOrcHCatLoader.testReadDataPrimitiveTypes org.apache.hive.jdbc.authorization.TestJdbcWithSQLAuthorization.testAllowedCommands org.apache.hive.jdbc.miniHS2.TestHiveServer2.testConnection Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-Build/823/testReport Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-Build/823/console Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-Build-823/ Messages: Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase Tests exited with: TestsFailedException: 5 tests failed This message is automatically generated. ATTACHMENT ID: 12656158
            jdere Jason Dere added a comment -

            +1 if TestJdbcWithSQLAuthorization passes now.

            jdere Jason Dere added a comment - +1 if TestJdbcWithSQLAuthorization passes now.
            hiveqa Hive QA added a comment -

            Overall: -1 no tests executed

            Here are the results of testing the latest attachment:
            https://issues.apache.org/jira/secure/attachment/12656325/HIVE-7361.4.patch

            Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-Build/837/testReport
            Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-Build/837/console
            Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-Build-837/

            Messages:

            Executing org.apache.hive.ptest.execution.PrepPhase
            Tests exited with: NonZeroExitCodeException
            Command 'bash /data/hive-ptest/working/scratch/source-prep.sh' failed with exit status 1 and output '+ [[ -n /usr/java/jdk1.7.0_45-cloudera ]]
            + export JAVA_HOME=/usr/java/jdk1.7.0_45-cloudera
            + JAVA_HOME=/usr/java/jdk1.7.0_45-cloudera
            + export PATH=/usr/java/jdk1.7.0_45-cloudera/bin/:/usr/java/jdk1.6.0_34/bin:/usr/local/apache-maven-3.0.5/bin:/usr/local/apache-maven-3.0.5/bin:/usr/java/jdk1.6.0_34/bin:/usr/local/apache-ant-1.9.1/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/hiveptest/bin
            + PATH=/usr/java/jdk1.7.0_45-cloudera/bin/:/usr/java/jdk1.6.0_34/bin:/usr/local/apache-maven-3.0.5/bin:/usr/local/apache-maven-3.0.5/bin:/usr/java/jdk1.6.0_34/bin:/usr/local/apache-ant-1.9.1/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/hiveptest/bin
            + export 'ANT_OPTS=-Xmx1g -XX:MaxPermSize=256m '
            + ANT_OPTS='-Xmx1g -XX:MaxPermSize=256m '
            + export 'M2_OPTS=-Xmx1g -XX:MaxPermSize=256m -Dhttp.proxyHost=localhost -Dhttp.proxyPort=3128'
            + M2_OPTS='-Xmx1g -XX:MaxPermSize=256m -Dhttp.proxyHost=localhost -Dhttp.proxyPort=3128'
            + cd /data/hive-ptest/working/
            + tee /data/hive-ptest/logs/PreCommit-HIVE-Build-837/source-prep.txt
            + [[ false == \t\r\u\e ]]
            + mkdir -p maven ivy
            + [[ svn = \s\v\n ]]
            + [[ -n '' ]]
            + [[ -d apache-svn-trunk-source ]]
            + [[ ! -d apache-svn-trunk-source/.svn ]]
            + [[ ! -d apache-svn-trunk-source ]]
            + cd apache-svn-trunk-source
            + svn revert -R .
            Reverted 'conf/hive-default.xml.template'
            Reverted 'pom.xml'
            Reverted 'hbase-handler/src/test/results/positive/external_table_ppd.q.out'
            Reverted 'hbase-handler/src/test/results/positive/hbase_binary_storage_queries.q.out'
            Reverted 'hbase-handler/src/test/templates/TestHBaseCliDriver.vm'
            Reverted 'hbase-handler/src/java/org/apache/hadoop/hive/hbase/HiveHBaseTableInputFormat.java'
            Reverted 'hbase-handler/src/java/org/apache/hadoop/hive/hbase/HBaseStorageHandler.java'
            Reverted 'itests/util/src/main/java/org/apache/hadoop/hive/hbase/HBaseQTestUtil.java'
            Reverted 'itests/util/src/main/java/org/apache/hadoop/hive/hbase/HBaseTestSetup.java'
            Reverted 'itests/util/src/main/java/org/apache/hadoop/hive/ql/QTestUtil.java'
            Reverted 'common/src/java/org/apache/hadoop/hive/conf/HiveConf.java'
            Reverted 'ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java'
            ++ egrep -v '^X|^Performing status on external'
            ++ awk '{print $2}'
            ++ svn status --no-ignore
            + rm -rf target datanucleus.log ant/target shims/target shims/0.20/target shims/0.20S/target shims/0.23/target shims/aggregator/target shims/common/target shims/common-secure/target packaging/target conf/hive-default.xml.template.orig hbase-handler/target hbase-handler/src/test/results/positive/hbase_handler_snapshot.q.out hbase-handler/src/test/queries/positive/hbase_handler_snapshot.q hbase-handler/src/java/org/apache/hadoop/hive/hbase/HiveHBaseTableSnapshotInputFormat.java hbase-handler/src/java/org/apache/hadoop/hive/hbase/HiveHBaseInputFormatUtil.java testutils/target jdbc/target metastore/target itests/target itests/hcatalog-unit/target itests/test-serde/target itests/qtest/target itests/hive-unit-hadoop2/target itests/hive-minikdc/target itests/hive-unit/target itests/custom-serde/target itests/util/target hcatalog/target hcatalog/core/target hcatalog/streaming/target hcatalog/server-extensions/target hcatalog/webhcat/svr/target hcatalog/webhcat/java-client/target hcatalog/hcatalog-pig-adapter/target hwi/target common/target common/src/gen contrib/target service/target serde/target beeline/target odbc/target cli/target ql/dependency-reduced-pom.xml ql/target
            + svn update
            U    ql/src/test/results/clientpositive/tez/temp_table.q.out
            
            Fetching external item into 'hcatalog/src/test/e2e/harness'
            Updated external to revision 1611492.
            
            Updated to revision 1611492.
            + patchCommandPath=/data/hive-ptest/working/scratch/smart-apply-patch.sh
            + patchFilePath=/data/hive-ptest/working/scratch/build.patch
            + [[ -f /data/hive-ptest/working/scratch/build.patch ]]
            + chmod +x /data/hive-ptest/working/scratch/smart-apply-patch.sh
            + /data/hive-ptest/working/scratch/smart-apply-patch.sh /data/hive-ptest/working/scratch/build.patch
            The patch does not appear to apply with p0, p1, or p2
            + exit 1
            '
            

            This message is automatically generated.

            ATTACHMENT ID: 12656325

            hiveqa Hive QA added a comment - Overall : -1 no tests executed Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12656325/HIVE-7361.4.patch Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-Build/837/testReport Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-Build/837/console Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-Build-837/ Messages: Executing org.apache.hive.ptest.execution.PrepPhase Tests exited with: NonZeroExitCodeException Command 'bash /data/hive-ptest/working/scratch/source-prep.sh' failed with exit status 1 and output '+ [[ -n /usr/java/jdk1.7.0_45-cloudera ]] + export JAVA_HOME=/usr/java/jdk1.7.0_45-cloudera + JAVA_HOME=/usr/java/jdk1.7.0_45-cloudera + export PATH=/usr/java/jdk1.7.0_45-cloudera/bin/:/usr/java/jdk1.6.0_34/bin:/usr/local/apache-maven-3.0.5/bin:/usr/local/apache-maven-3.0.5/bin:/usr/java/jdk1.6.0_34/bin:/usr/local/apache-ant-1.9.1/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/hiveptest/bin + PATH=/usr/java/jdk1.7.0_45-cloudera/bin/:/usr/java/jdk1.6.0_34/bin:/usr/local/apache-maven-3.0.5/bin:/usr/local/apache-maven-3.0.5/bin:/usr/java/jdk1.6.0_34/bin:/usr/local/apache-ant-1.9.1/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/hiveptest/bin + export 'ANT_OPTS=-Xmx1g -XX:MaxPermSize=256m ' + ANT_OPTS='-Xmx1g -XX:MaxPermSize=256m ' + export 'M2_OPTS=-Xmx1g -XX:MaxPermSize=256m -Dhttp.proxyHost=localhost -Dhttp.proxyPort=3128' + M2_OPTS='-Xmx1g -XX:MaxPermSize=256m -Dhttp.proxyHost=localhost -Dhttp.proxyPort=3128' + cd /data/hive-ptest/working/ + tee /data/hive-ptest/logs/PreCommit-HIVE-Build-837/source-prep.txt + [[ false == \t\r\u\e ]] + mkdir -p maven ivy + [[ svn = \s\v\n ]] + [[ -n '' ]] + [[ -d apache-svn-trunk-source ]] + [[ ! -d apache-svn-trunk-source/.svn ]] + [[ ! -d apache-svn-trunk-source ]] + cd apache-svn-trunk-source + svn revert -R . Reverted 'conf/hive-default.xml.template' Reverted 'pom.xml' Reverted 'hbase-handler/src/test/results/positive/external_table_ppd.q.out' Reverted 'hbase-handler/src/test/results/positive/hbase_binary_storage_queries.q.out' Reverted 'hbase-handler/src/test/templates/TestHBaseCliDriver.vm' Reverted 'hbase-handler/src/java/org/apache/hadoop/hive/hbase/HiveHBaseTableInputFormat.java' Reverted 'hbase-handler/src/java/org/apache/hadoop/hive/hbase/HBaseStorageHandler.java' Reverted 'itests/util/src/main/java/org/apache/hadoop/hive/hbase/HBaseQTestUtil.java' Reverted 'itests/util/src/main/java/org/apache/hadoop/hive/hbase/HBaseTestSetup.java' Reverted 'itests/util/src/main/java/org/apache/hadoop/hive/ql/QTestUtil.java' Reverted 'common/src/java/org/apache/hadoop/hive/conf/HiveConf.java' Reverted 'ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java' ++ egrep -v '^X|^Performing status on external' ++ awk '{print $2}' ++ svn status --no-ignore + rm -rf target datanucleus.log ant/target shims/target shims/0.20/target shims/0.20S/target shims/0.23/target shims/aggregator/target shims/common/target shims/common-secure/target packaging/target conf/hive-default.xml.template.orig hbase-handler/target hbase-handler/src/test/results/positive/hbase_handler_snapshot.q.out hbase-handler/src/test/queries/positive/hbase_handler_snapshot.q hbase-handler/src/java/org/apache/hadoop/hive/hbase/HiveHBaseTableSnapshotInputFormat.java hbase-handler/src/java/org/apache/hadoop/hive/hbase/HiveHBaseInputFormatUtil.java testutils/target jdbc/target metastore/target itests/target itests/hcatalog-unit/target itests/test-serde/target itests/qtest/target itests/hive-unit-hadoop2/target itests/hive-minikdc/target itests/hive-unit/target itests/custom-serde/target itests/util/target hcatalog/target hcatalog/core/target hcatalog/streaming/target hcatalog/server-extensions/target hcatalog/webhcat/svr/target hcatalog/webhcat/java-client/target hcatalog/hcatalog-pig-adapter/target hwi/target common/target common/src/gen contrib/target service/target serde/target beeline/target odbc/target cli/target ql/dependency-reduced-pom.xml ql/target + svn update U ql/src/test/results/clientpositive/tez/temp_table.q.out Fetching external item into 'hcatalog/src/test/e2e/harness' Updated external to revision 1611492. Updated to revision 1611492. + patchCommandPath=/data/hive-ptest/working/scratch/smart-apply-patch.sh + patchFilePath=/data/hive-ptest/working/scratch/build.patch + [[ -f /data/hive-ptest/working/scratch/build.patch ]] + chmod +x /data/hive-ptest/working/scratch/smart-apply-patch.sh + /data/hive-ptest/working/scratch/smart-apply-patch.sh /data/hive-ptest/working/scratch/build.patch The patch does not appear to apply with p0, p1, or p2 + exit 1 ' This message is automatically generated. ATTACHMENT ID: 12656325
            thejas Thejas Nair added a comment -

            change in autogenerated hive-default.xml caused conflict.
            HIVE-7361.5.patch - rebased with trunk

            thejas Thejas Nair added a comment - change in autogenerated hive-default.xml caused conflict. HIVE-7361 .5.patch - rebased with trunk
            hiveqa Hive QA added a comment -

            Overall: -1 at least one tests failed

            Here are the results of testing the latest attachment:
            https://issues.apache.org/jira/secure/attachment/12656400/HIVE-7361.5.patch

            ERROR: -1 due to 2 failed/errored test(s), 5744 tests executed
            Failed tests:

            org.apache.hadoop.hive.cli.TestMinimrCliDriver.testCliDriver_ql_rewrite_gbtoidx
            org.apache.hive.hcatalog.pig.TestHCatLoader.testReadDataPrimitiveTypes
            

            Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-Build/842/testReport
            Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-Build/842/console
            Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-Build-842/

            Messages:

            Executing org.apache.hive.ptest.execution.PrepPhase
            Executing org.apache.hive.ptest.execution.ExecutionPhase
            Executing org.apache.hive.ptest.execution.ReportingPhase
            Tests exited with: TestsFailedException: 2 tests failed
            

            This message is automatically generated.

            ATTACHMENT ID: 12656400

            hiveqa Hive QA added a comment - Overall : -1 at least one tests failed Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12656400/HIVE-7361.5.patch ERROR: -1 due to 2 failed/errored test(s), 5744 tests executed Failed tests: org.apache.hadoop.hive.cli.TestMinimrCliDriver.testCliDriver_ql_rewrite_gbtoidx org.apache.hive.hcatalog.pig.TestHCatLoader.testReadDataPrimitiveTypes Test results: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-Build/842/testReport Console output: http://ec2-174-129-184-35.compute-1.amazonaws.com/jenkins/job/PreCommit-HIVE-Build/842/console Test logs: http://ec2-174-129-184-35.compute-1.amazonaws.com/logs/PreCommit-HIVE-Build-842/ Messages: Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase Tests exited with: TestsFailedException: 2 tests failed This message is automatically generated. ATTACHMENT ID: 12656400
            thejas Thejas Nair added a comment -

            Patch committed to trunk. Thanks for the review Jason!

            thejas Thejas Nair added a comment - Patch committed to trunk. Thanks for the review Jason!
            thejas Thejas Nair added a comment -

            This has been fixed in 0.14 release. Please open new jira if you see any issues.

            thejas Thejas Nair added a comment - This has been fixed in 0.14 release. Please open new jira if you see any issues.

            People

              thejas Thejas Nair
              thejas Thejas Nair
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: