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 Mon, 06 Nov 2017 22:53:00 GMT

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

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



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

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

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

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-06 22:52:07.518
+ [[ -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-7666/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-06 22:52:07.521
+ cd apache-github-source-source
+ git fetch origin
>From https://github.com/apache/hive
   ddce801..d7d9665  master     -> origin/master
   e2d5d00..307f582  branch-2   -> origin/branch-2
   8af7b86..25bc3c6  standalone-metastore -> origin/standalone-metastore
+ git reset --hard HEAD
HEAD is now at ddce801 HIVE-17907 : enable and apply resource plan commands in HS2 (Sergey
Shelukhin, reviewed by Prasanth Jayachandran)
+ git clean -f -d
Removing standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/ObjectStore.java.orig
+ 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 d7d9665 HIVE-17953: Metrics should move to destination atomically (Alexander
Kolbasov, reviewed by Sahil Takiar, Barna Zsombor Klara)
+ git merge --ff-only origin/master
Already up-to-date.
+ date '+%Y-%m-%d %T.%3N'
2017-11-06 22:52:15.502
+ 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: 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/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: ql/src/java/org/apache/hadoop/hive/ql/exec/DDLTask.java:102
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/parse/DDLSemanticAnalyzer.java:917
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/HiveParser.g:1014
error: ql/src/java/org/apache/hadoop/hive/ql/parse/HiveParser.g: 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/hive_metastore_types.cpp:20917
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:8562
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/ThriftHiveMetastore.java:11416
error: standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/ThriftHiveMetastore.java:
patch does not apply
error: patch failed: standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMAlterResourcePlanRequest.java:35
error: standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMAlterResourcePlanRequest.java:
patch does not apply
error: patch failed: standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMAlterResourcePlanResponse.java:35
error: standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMAlterResourcePlanResponse.java:
patch does not apply
error: patch failed: standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMAlterTriggerRequest.java:35
error: standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMAlterTriggerRequest.java:
patch does not apply
error: patch failed: standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMAlterTriggerResponse.java:35
error: standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMAlterTriggerResponse.java:
patch does not apply
error: patch failed: standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMCreateResourcePlanRequest.java:35
error: standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMCreateResourcePlanRequest.java:
patch does not apply
error: patch failed: standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMCreateResourcePlanResponse.java:35
error: standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMCreateResourcePlanResponse.java:
patch does not apply
error: patch failed: standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMCreateTriggerRequest.java:35
error: standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMCreateTriggerRequest.java:
patch does not apply
error: patch failed: standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMCreateTriggerResponse.java:35
error: standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMCreateTriggerResponse.java:
patch does not apply
error: patch failed: standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMDropResourcePlanRequest.java:35
error: standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMDropResourcePlanRequest.java:
patch does not apply
error: patch failed: standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMDropResourcePlanResponse.java:35
error: standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMDropResourcePlanResponse.java:
patch does not apply
error: patch failed: standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMDropTriggerRequest.java:35
error: standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMDropTriggerRequest.java:
patch does not apply
error: patch failed: standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMDropTriggerResponse.java:35
error: standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMDropTriggerResponse.java:
patch does not apply
error: patch failed: standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetAllResourcePlanRequest.java:35
error: standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetAllResourcePlanRequest.java:
patch does not apply
error: patch failed: standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetAllResourcePlanResponse.java:35
error: standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetAllResourcePlanResponse.java:
patch does not apply
error: patch failed: standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetResourcePlanRequest.java:35
error: standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetResourcePlanRequest.java:
patch does not apply
error: patch failed: standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetResourcePlanResponse.java:35
error: standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetResourcePlanResponse.java:
patch does not apply
error: patch failed: standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetTriggersForResourePlanRequest.java:35
error: standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetTriggersForResourePlanRequest.java:
patch does not apply
error: patch failed: standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetTriggersForResourePlanResponse.java:35
error: standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMGetTriggersForResourePlanResponse.java:
patch does not apply
error: patch failed: standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMMapping.java:35
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-javabean/org/apache/hadoop/hive/metastore/api/WMPool.java:35
error: standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMPool.java:
patch does not apply
error: patch failed: standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMResourcePlan.java:35
error: standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMResourcePlan.java:
patch does not apply
error: patch failed: standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMTrigger.java:35
error: standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMTrigger.java:
patch does not apply
error: patch failed: standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMValidateResourcePlanRequest.java:35
error: standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMValidateResourcePlanRequest.java:
patch does not apply
error: patch failed: standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMValidateResourcePlanResponse.java:35
error: standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/WMValidateResourcePlanResponse.java:
patch does not apply
error: patch failed: standalone-metastore/src/gen/thrift/gen-php/metastore/Types.php:20574
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.py:35503
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:14519
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:3280
error: standalone-metastore/src/gen/thrift/gen-rb/hive_metastore_types.rb: 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:1047
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: 12896183 - 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
>
>
> 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