hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-17954) Implement pool, user, group and trigger to pool management API's.
Date Tue, 07 Nov 2017 15:56:00 GMT

    [ https://issues.apache.org/jira/browse/HIVE-17954?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16242246#comment-16242246
] 

Hive QA commented on HIVE-17954:
--------------------------------



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

{color:red}ERROR:{color} -1 due to build exiting with an error

Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/7684/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/7684/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-7684/

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.TestCheckPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Tests exited with: NonZeroExitCodeException
Command 'bash /data/hiveptest/working/scratch/source-prep.sh' failed with exit status 1 and
output '+ date '+%Y-%m-%d %T.%3N'
2017-11-07 15:55:26.407
+ [[ -n /usr/lib/jvm/java-8-openjdk-amd64 ]]
+ export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
+ JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
+ export PATH=/usr/lib/jvm/java-8-openjdk-amd64/bin/:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
+ PATH=/usr/lib/jvm/java-8-openjdk-amd64/bin/:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
+ export 'ANT_OPTS=-Xmx1g -XX:MaxPermSize=256m '
+ ANT_OPTS='-Xmx1g -XX:MaxPermSize=256m '
+ export 'MAVEN_OPTS=-Xmx1g '
+ MAVEN_OPTS='-Xmx1g '
+ cd /data/hiveptest/working/
+ tee /data/hiveptest/logs/PreCommit-HIVE-Build-7684/source-prep.txt
+ [[ false == \t\r\u\e ]]
+ mkdir -p maven ivy
+ [[ git = \s\v\n ]]
+ [[ git = \g\i\t ]]
+ [[ -z master ]]
+ [[ -d apache-github-source-source ]]
+ [[ ! -d apache-github-source-source/.git ]]
+ [[ ! -d apache-github-source-source ]]
+ date '+%Y-%m-%d %T.%3N'
2017-11-07 15:55:26.411
+ cd apache-github-source-source
+ git fetch origin
>From https://github.com/apache/hive
   aee0eaa..7ea12e7  master     -> origin/master
+ git reset --hard HEAD
HEAD is now at aee0eaa HIVE-17767 Rewrite correlated EXISTS/IN subqueries into LEFT SEMI JOIN
(Vineet Garg, reviewed by Ashutosh Chauhan)
+ git clean -f -d
+ git checkout master
Already on 'master'
Your branch is behind 'origin/master' by 1 commit, and can be fast-forwarded.
  (use "git pull" to update your local branch)
+ git reset --hard origin/master
HEAD is now at 7ea12e7 HIVE-17229 : HiveMetastore HMSHandler locks during initialization,
even though its static variable threadPool is not null (Zac Zhou via Rajesh Balamohan)
+ git merge --ff-only origin/master
Already up-to-date.
+ date '+%Y-%m-%d %T.%3N'
2017-11-07 15:55:31.880
+ patchCommandPath=/data/hiveptest/working/scratch/smart-apply-patch.sh
+ patchFilePath=/data/hiveptest/working/scratch/build.patch
+ [[ -f /data/hiveptest/working/scratch/build.patch ]]
+ chmod +x /data/hiveptest/working/scratch/smart-apply-patch.sh
+ /data/hiveptest/working/scratch/smart-apply-patch.sh /data/hiveptest/working/scratch/build.patch
error: patch failed: itests/hcatalog-unit/src/test/java/org/apache/hive/hcatalog/listener/DummyRawStoreFailEvent.java:74
error: itests/hcatalog-unit/src/test/java/org/apache/hive/hcatalog/listener/DummyRawStoreFailEvent.java:
patch does not apply
error: patch failed: itests/hive-unit/src/test/java/org/apache/hive/jdbc/TestTriggersWorkloadManager.java:85
error: itests/hive-unit/src/test/java/org/apache/hive/jdbc/TestTriggersWorkloadManager.java:
patch does not apply
error: patch failed: metastore/scripts/upgrade/derby/046-HIVE-17566.derby.sql:2
error: metastore/scripts/upgrade/derby/046-HIVE-17566.derby.sql: patch does not apply
error: patch failed: metastore/scripts/upgrade/derby/hive-schema-3.0.0.derby.sql:112
error: metastore/scripts/upgrade/derby/hive-schema-3.0.0.derby.sql: patch does not apply
error: patch failed: metastore/scripts/upgrade/hive/hive-schema-3.0.0.hive.sql:987
error: metastore/scripts/upgrade/hive/hive-schema-3.0.0.hive.sql: patch does not apply
error: patch failed: metastore/scripts/upgrade/mssql/031-HIVE-17566.mssql.sql:16
error: metastore/scripts/upgrade/mssql/031-HIVE-17566.mssql.sql: patch does not apply
error: patch failed: metastore/scripts/upgrade/mssql/hive-schema-3.0.0.mssql.sql:612
error: metastore/scripts/upgrade/mssql/hive-schema-3.0.0.mssql.sql: patch does not apply
error: patch failed: metastore/scripts/upgrade/mysql/046-HIVE-17566.mysql.sql:12
error: metastore/scripts/upgrade/mysql/046-HIVE-17566.mysql.sql: patch does not apply
error: patch failed: metastore/scripts/upgrade/mysql/hive-schema-3.0.0.mysql.sql:863
error: metastore/scripts/upgrade/mysql/hive-schema-3.0.0.mysql.sql: patch does not apply
error: patch failed: metastore/scripts/upgrade/oracle/046-HIVE-17566.oracle.sql:16
error: metastore/scripts/upgrade/oracle/046-HIVE-17566.oracle.sql: patch does not apply
error: patch failed: metastore/scripts/upgrade/oracle/hive-schema-3.0.0.oracle.sql:593
error: metastore/scripts/upgrade/oracle/hive-schema-3.0.0.oracle.sql: patch does not apply
error: patch failed: metastore/scripts/upgrade/postgres/045-HIVE-17566.postgres.sql:16
error: metastore/scripts/upgrade/postgres/045-HIVE-17566.postgres.sql: patch does not apply
error: patch failed: metastore/scripts/upgrade/postgres/hive-schema-3.0.0.postgres.sql:630
error: metastore/scripts/upgrade/postgres/hive-schema-3.0.0.postgres.sql: patch does not apply
error: patch failed: metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java:7500
error: metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java: patch does
not apply
error: patch failed: metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java:2724
error: metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java: patch
does not apply
error: patch failed: metastore/src/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java:107
error: metastore/src/java/org/apache/hadoop/hive/metastore/IMetaStoreClient.java: patch does
not apply
error: patch failed: metastore/src/test/org/apache/hadoop/hive/metastore/DummyRawStoreControlledCommit.java:70
error: metastore/src/test/org/apache/hadoop/hive/metastore/DummyRawStoreControlledCommit.java:
patch does not apply
error: patch failed: metastore/src/test/org/apache/hadoop/hive/metastore/DummyRawStoreForJdoConnection.java:30
error: metastore/src/test/org/apache/hadoop/hive/metastore/DummyRawStoreForJdoConnection.java:
patch does not apply
error: patch failed: ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java:109
error: ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java: patch does not apply
error: patch failed: ql/src/java/org/apache/hadoop/hive/ql/exec/tez/UserPoolMapping.java:50
error: ql/src/java/org/apache/hadoop/hive/ql/exec/tez/UserPoolMapping.java: patch does not
apply
error: patch failed: ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java:134
error: ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java: patch does not apply
error: patch failed: ql/src/java/org/apache/hadoop/hive/ql/parse/DDLSemanticAnalyzer.java:97
error: ql/src/java/org/apache/hadoop/hive/ql/parse/DDLSemanticAnalyzer.java: patch does not
apply
error: patch failed: ql/src/java/org/apache/hadoop/hive/ql/parse/HiveLexer.g:360
error: ql/src/java/org/apache/hadoop/hive/ql/parse/HiveLexer.g: patch does not apply
error: patch failed: ql/src/java/org/apache/hadoop/hive/ql/parse/HiveParser.g:417
error: ql/src/java/org/apache/hadoop/hive/ql/parse/HiveParser.g: patch does not apply
error: patch failed: ql/src/java/org/apache/hadoop/hive/ql/parse/IdentifiersParser.g:829
error: ql/src/java/org/apache/hadoop/hive/ql/parse/IdentifiersParser.g: patch does not apply
error: patch failed: ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzerFactory.java:141
error: ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzerFactory.java: patch does
not apply
error: ql/src/java/org/apache/hadoop/hive/ql/plan/CreateOrAlterWMMappingDesc.java: No such
file or directory
error: ql/src/java/org/apache/hadoop/hive/ql/plan/CreateOrAlterWMPoolDesc.java: No such file
or directory
error: ql/src/java/org/apache/hadoop/hive/ql/plan/CreateOrDropTriggerToPoolMappingDesc.java:
No such file or directory
error: patch failed: ql/src/java/org/apache/hadoop/hive/ql/plan/DDLWork.java:95
error: ql/src/java/org/apache/hadoop/hive/ql/plan/DDLWork.java: patch does not apply
error: ql/src/java/org/apache/hadoop/hive/ql/plan/DropWMMappingDesc.java: No such file or
directory
error: ql/src/java/org/apache/hadoop/hive/ql/plan/DropWMPoolDesc.java: No such file or directory
error: patch failed: ql/src/java/org/apache/hadoop/hive/ql/plan/HiveOperation.java:146
error: ql/src/java/org/apache/hadoop/hive/ql/plan/HiveOperation.java: patch does not apply
error: patch failed: ql/src/java/org/apache/hadoop/hive/ql/security/authorization/plugin/HiveOperationType.java:139
error: ql/src/java/org/apache/hadoop/hive/ql/security/authorization/plugin/HiveOperationType.java:
patch does not apply
error: patch failed: ql/src/java/org/apache/hadoop/hive/ql/security/authorization/plugin/sqlstd/Operation2Privilege.java:317
error: ql/src/java/org/apache/hadoop/hive/ql/security/authorization/plugin/sqlstd/Operation2Privilege.java:
patch does not apply
error: patch failed: ql/src/test/org/apache/hadoop/hive/ql/exec/tez/TestWorkloadManager.java:119
error: ql/src/test/org/apache/hadoop/hive/ql/exec/tez/TestWorkloadManager.java: patch does
not apply
error: patch failed: ql/src/test/queries/clientpositive/resourceplan.q:146
error: ql/src/test/queries/clientpositive/resourceplan.q: patch does not apply
error: patch failed: service/src/java/org/apache/hive/service/server/HiveServer2.java:303
error: service/src/java/org/apache/hive/service/server/HiveServer2.java: patch does not apply
error: patch failed: standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp:1240
error: standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.cpp: patch does not
apply
error: patch failed: standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h:195
error: standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore.h: patch does not apply
error: patch failed: standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp:887
error: standalone-metastore/src/gen/thrift/gen-cpp/ThriftHiveMetastore_server.skeleton.cpp:
patch does not apply
error: patch failed: standalone-metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp:21259
error: standalone-metastore/src/gen/thrift/gen-cpp/hive_metastore_types.cpp: patch does not
apply
error: patch failed: standalone-metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h:505
error: standalone-metastore/src/gen/thrift/gen-cpp/hive_metastore_types.h: patch does not
apply
error: patch failed: standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClientCapability.java:1
error: standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ClientCapability.java:
patch does not apply
error: patch failed: standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java:388
error: standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java:
patch does not apply
error: standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMCreateOrDropTriggerToPoolMappingRequest.java:
No such file or directory
error: standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMCreateOrDropTriggerToPoolMappingResponse.java:
No such file or directory
error: standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMCreateOrUpdateMappingRequest.java:
No such file or directory
error: standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMCreateOrUpdateMappingResponse.java:
No such file or directory
error: standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMCreateOrUpdatePoolRequest.java:
No such file or directory
error: standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMCreateOrUpdatePoolResponse.java:
No such file or directory
error: standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMDropMappingRequest.java:
No such file or directory
error: standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMDropMappingResponse.java:
No such file or directory
error: standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMDropPoolRequest.java:
No such file or directory
error: standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMDropPoolResponse.java:
No such file or directory
error: patch failed: standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMMapping.java:41
error: standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMMapping.java:
patch does not apply
error: patch failed: standalone-metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php:1329
error: standalone-metastore/src/gen/thrift/gen-php/metastore/ThriftHiveMetastore.php: patch
does not apply
error: patch failed: standalone-metastore/src/gen/thrift/gen-php/metastore/Types.php:20893
error: standalone-metastore/src/gen/thrift/gen-php/metastore/Types.php: patch does not apply
error: patch failed: standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote:197
error: standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore-remote:
patch does not apply
error: patch failed: standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py:1370
error: standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ThriftHiveMetastore.py: patch
does not apply
error: patch failed: standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py:14750
error: standalone-metastore/src/gen/thrift/gen-py/hive_metastore/ttypes.py: patch does not
apply
error: patch failed: standalone-metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb:3332
error: standalone-metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb: patch does not
apply
error: patch failed: standalone-metastore/src/gen/thrift/gen-rb/thrift_hive_metastore.rb:2885
error: standalone-metastore/src/gen/thrift/gen-rb/thrift_hive_metastore.rb: patch does not
apply
error: patch failed: standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/MetaStoreDirectSql.java:73
error: standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/MetaStoreDirectSql.java:
patch does not apply
error: patch failed: standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java:144
error: standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java:
patch does not apply
error: patch failed: standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/RawStore.java:72
error: standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/RawStore.java:
patch does not apply
error: patch failed: standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/cache/CachedStore.java:87
error: standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/cache/CachedStore.java:
patch does not apply
error: patch failed: standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/model/MWMPool.java:23
error: standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/model/MWMPool.java:
patch does not apply
error: patch failed: standalone-metastore/src/main/resources/package.jdo:1120
error: standalone-metastore/src/main/resources/package.jdo: patch does not apply
error: patch failed: standalone-metastore/src/main/thrift/hive_metastore.thrift:1064
error: standalone-metastore/src/main/thrift/hive_metastore.thrift: patch does not apply
The patch does not appear to apply with p0, p1, or p2
+ exit 1
'
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12896378 - PreCommit-HIVE-Build

> Implement pool, user, group and trigger to pool management API's.
> -----------------------------------------------------------------
>
>                 Key: HIVE-17954
>                 URL: https://issues.apache.org/jira/browse/HIVE-17954
>             Project: Hive
>          Issue Type: Sub-task
>            Reporter: Harish Jaiprakash
>            Assignee: Harish Jaiprakash
>         Attachments: HIVE-17954.01.patch, HIVE-17954.02.patch
>
>
> Implement the following commands:
> -- Pool management.
> CREATE POOL `resource_plan`.`pool_path` WITH
>   ALLOC_FRACTION `fraction`
>   QUERY_PARALLELISM `parallelism`
>   SCHEDULING_POLICY `policy`;
> ALTER POOL `resource_plan`.`pool_path` SET
>   PATH = `new_path`,
>   ALLOC_FRACTION = `fraction`,
>   QUERY_PARALLELISM = `parallelism`,
>   SCHEDULING_POLICY = `policy`;
> DROP POOL `resource_plan`.`pool_path`;
> -- Trigger to pool mappings.
> ALTER RESOURCE PLAN `resource_plan`
>   ADD TRIGGER `trigger_name` TO `pool_path`;
> ALTER RESOURCE PLAN `resource_plan`
>   DROP TRIGGER `trigger_name` TO `pool_path`;
> -- User/Group to pool mappings.
> CREATE USER|GROUP MAPPING `resource_plan`.`group_or_user_name`
>   TO `pool_path` WITH ORDERING `order_no`;
> DROP USER|GROUP MAPPING `resource_plan`.`group_or_user_name`;



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message