[
https://issues.apache.org/jira/browse/HIVE-17751?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16515338#comment-16515338
]
Hive QA commented on HIVE-17751:
--------------------------------
Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12907567/HIVE-17751.06-standalone-metastore.patch
{color:red}ERROR:{color} -1 due to build exiting with an error
Test results:
https://builds.apache.org/job/PreCommit-HIVE-Build/11877/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/11877/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-11877/
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'
2018-06-18 04:24:50.913
+ [[ -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-11877/source-prep.txt
+ [[ false == \t\r\u\e ]]
+ mkdir -p maven ivy
+ [[ git = \s\v\n ]]
+ [[ git = \g\i\t ]]
+ [[ -z standalone-metastore ]]
+ [[ -d apache-github-standalone-metastore-source ]]
+ [[ ! -d apache-github-standalone-metastore-source/.git ]]
+ [[ ! -d apache-github-standalone-metastore-source ]]
+ date '+%Y-%m-%d %T.%3N'
2018-06-18 04:24:50.974
+ cd apache-github-standalone-metastore-source
+ git fetch origin
>From https://github.com/apache/hive
41afa4e..f83d765 master -> origin/master
* [new branch] HIVE-19429 -> origin/HIVE-19429
cbcd846..342757b branch-2 -> origin/branch-2
5fee159..1846c5a branch-2.2 -> origin/branch-2.2
f80a38a..2fe5186 branch-2.3 -> origin/branch-2.3
* [new branch] branch-3 -> origin/branch-3
* [new branch] branch-3.0 -> origin/branch-3.0
* [new branch] master-txnstats -> origin/master-txnstats
c4d2285..40ee74e standalone-metastore -> origin/standalone-metastore
* [new branch] storage-branch-2.5 -> origin/storage-branch-2.5
* [new branch] storage-branch-2.6 -> origin/storage-branch-2.6
* [new tag] rel/storage-release-2.6.1 -> rel/storage-release-2.6.1
* [new tag] rel/release-3.0.0 -> rel/release-3.0.0
* [new tag] rel/standalone-metastore-release-3.0.0 ->
rel/standalone-metastore-release-3.0.0
* [new tag] rel/storage-release-2.5.0 -> rel/storage-release-2.5.0
* [new tag] rel/storage-release-2.6.0 -> rel/storage-release-2.6.0
+ git reset --hard HEAD
HEAD is now at c4d2285 HIVE-18588 Add categories to unit tests to divide them
into unit and checkin tests.
+ git clean -f -d
+ git checkout standalone-metastore
+ git reset --hard origin/standalone-metastore
HEAD is now at 40ee74e HIVE-17580 : Remove dependency of
get_fields_with_environment_context API to serde (Vihang Karajgaonkar, reviewed
by Alan Gates)
+ git merge --ff-only origin/standalone-metastore
Already up-to-date.
+ date '+%Y-%m-%d %T.%3N'
2018-06-18 04:25:10.311
+ rm -rf ../yetus_PreCommit-HIVE-Build-11877
+ mkdir ../yetus_PreCommit-HIVE-Build-11877
+ git gc
+ cp -R . ../yetus_PreCommit-HIVE-Build-11877
+ mkdir /data/hiveptest/logs/PreCommit-HIVE-Build-11877/yetus
+ 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
fatal: git apply: bad git-diff - inconsistent old filename on line 1662
error: patch failed:
standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java:46
error: repository lacks the necessary blob to fall back on 3-way merge.
error:
standalone-metastore/src/main/java/org/apache/hadoop/hive/metastore/HiveMetaStoreClient.java:
patch does not apply
error:
standalone-metastore/src/gen/thrift/gen-javabean/org/apache/hadoop/hive/metastore/api/TxnsSnapshot.java:
does not exist in index
fatal: git diff header lacks filename information when removing 2 leading
pathname components (line 605)
The patch does not appear to apply with p0, p1, or p2
+ result=1
+ '[' 1 -ne 0 ']'
+ rm -rf yetus_PreCommit-HIVE-Build-11877
+ exit 1
'
{noformat}
This message is automatically generated.
ATTACHMENT ID: 12907567 - PreCommit-HIVE-Build
> Separate HMS Client and HMS server into separate sub-modules
> ------------------------------------------------------------
>
> Key: HIVE-17751
> URL: https://issues.apache.org/jira/browse/HIVE-17751
> Project: Hive
> Issue Type: Sub-task
> Components: Standalone Metastore
> Reporter: Vihang Karajgaonkar
> Assignee: Alexander Kolbasov
> Priority: Major
> Attachments: HIVE-17751.06-standalone-metastore.patch
>
>
> external applications which are interfacing with HMS should ideally only
> include HMSClient library instead of one big library containing server as
> well. We should ideally have a thin client library so that cross version
> support for external applications is easier. We should sub-divide the
> standalone module into possibly 3 modules (one for common classes, one for
> client classes and one for server) or 2 sub-modules (one for client and one
> for server) so that we can generate separate jars for HMS client and server.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)