[
https://issues.apache.org/jira/browse/HIVE-17307?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16137264#comment-16137264
]
Hive QA commented on HIVE-17307:
--------------------------------
Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12883159/HIVE-17307.patch
{color:red}ERROR:{color} -1 due to build exiting with an error
Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/6489/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/6489/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-6489/
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-08-22 19:36:16.621
+ [[ -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-6489/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-08-22 19:36:16.624
+ cd apache-github-source-source
+ git fetch origin
>From https://github.com/apache/hive
2dd9844..f0b0cc2 master -> origin/master
+ git reset --hard HEAD
HEAD is now at 2dd9844 HIVE-17364: Add unit test to "alter view" replication
(Tao Li, reviewed by Daniel Dai)
+ git clean -f -d
Removing ql/src/java/org/apache/hadoop/hive/ql/io/orc/OrcInputFormat.java.orig
Removing ql/src/test/queries/clientpositive/acid_load_data1.q
Removing ql/src/test/queries/clientpositive/acid_load_data2.q
Removing ql/src/test/results/clientpositive/acid_load_data1.q.out
Removing ql/src/test/results/clientpositive/acid_load_data2.q.out
+ git checkout master
Already on 'master'
Your branch is behind 'origin/master' by 2 commits, and can be fast-forwarded.
(use "git pull" to update your local branch)
+ git reset --hard origin/master
HEAD is now at f0b0cc2 HIVE-17352: HiveSever2 error with Illegal Operation
state transition from CLOSED to FINISHED (Deepak Jaiswal reviewed by Vaibhav
Gumashta)
+ git merge --ff-only origin/master
Already up-to-date.
+ date '+%Y-%m-%d %T.%3N'
2017-08-22 19:36:18.377
+ 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:
a/common/src/java/org/apache/hadoop/hive/common/metrics/common/MetricsConstant.java:
No such file or directory
error:
a/itests/hive-unit/src/test/java/org/apache/hadoop/hive/metastore/TestMetaStoreMetrics.java:
No such file or directory
error:
a/metastore/src/java/org/apache/hadoop/hive/metastore/HMSMetricsListener.java:
No such file or directory
error:
a/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java: No
such file or directory
error: a/metastore/src/java/org/apache/hadoop/hive/metastore/ObjectStore.java:
No such file or directory
error:
a/metastore/src/java/org/apache/hadoop/hive/metastore/txn/TxnHandler.java: No
such file or directory
error:
a/metastore/src/test/org/apache/hadoop/hive/metastore/TestObjectStore.java: No
such file or directory
error: a/standalone-metastore/pom.xml: No such file or directory
error:
a/metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java: No
such file or directory
error:
a/itests/hive-unit/src/test/java/org/apache/hadoop/hive/metastore/TestMetaStoreMetrics.java:
No such file or directory
error:
a/metastore/src/java/org/apache/hadoop/hive/metastore/RetryingHMSHandler.java:
No such file or directory
The patch does not appear to apply with p0, p1, or p2
+ exit 1
'
{noformat}
This message is automatically generated.
ATTACHMENT ID: 12883159 - PreCommit-HIVE-Build
> Change the metastore to not use the metrics code in hive/common
> ---------------------------------------------------------------
>
> Key: HIVE-17307
> URL: https://issues.apache.org/jira/browse/HIVE-17307
> Project: Hive
> Issue Type: Sub-task
> Components: Metastore
> Reporter: Alan Gates
> Assignee: Alan Gates
> Attachments: HIVE-17307.patch
>
>
> As we move code into the standalone metastore module, it cannot use the
> metrics in hive-common. We could copy the current Metrics interface or we
> could change the metastore code to directly use codahale metrics.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)