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

Hive QA commented on HIVE-20936:
--------------------------------



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

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

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

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-12-15 01:36:00.118
+ [[ -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-15335/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'
2018-12-15 01:36:00.121
+ cd apache-github-source-source
+ git fetch origin
+ git reset --hard HEAD
HEAD is now at 4e41560 HIVE-21030 : Add credential store env properties 
redaction in JobConf (Denys Kuzmenko reviewed by Vihang Karajgaonkar)
+ git clean -f -d
Removing ${project.basedir}/
Removing itests/${project.basedir}/
Removing standalone-metastore/metastore-server/src/gen/
+ git checkout master
Already on 'master'
Your branch is up-to-date with 'origin/master'.
+ git reset --hard origin/master
HEAD is now at 4e41560 HIVE-21030 : Add credential store env properties 
redaction in JobConf (Denys Kuzmenko reviewed by Vihang Karajgaonkar)
+ git merge --ff-only origin/master
Already up-to-date.
+ date '+%Y-%m-%d %T.%3N'
2018-12-15 01:36:00.760
+ rm -rf ../yetus_PreCommit-HIVE-Build-15335
+ mkdir ../yetus_PreCommit-HIVE-Build-15335
+ git gc
+ cp -R . ../yetus_PreCommit-HIVE-Build-15335
+ mkdir /data/hiveptest/logs/PreCommit-HIVE-Build-15335/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
error: patch failed: 
ql/src/java/org/apache/hadoop/hive/ql/txn/compactor/Worker.java:20
Falling back to three-way merge...
Applied patch to 
'ql/src/java/org/apache/hadoop/hive/ql/txn/compactor/Worker.java' with 
conflicts.
Going to apply patch with: git apply -p0
/data/hiveptest/working/scratch/build.patch:942: trailing whitespace.
     * 
/data/hiveptest/working/scratch/build.patch:1036: trailing whitespace.
    tmpMap.put(_Fields.ID, new org.apache.thrift.meta_data.FieldMetaData("id", 
org.apache.thrift.TFieldRequirementType.REQUIRED, 
/data/hiveptest/working/scratch/build.patch:1038: trailing whitespace.
    tmpMap.put(_Fields.DBNAME, new 
org.apache.thrift.meta_data.FieldMetaData("dbname", 
org.apache.thrift.TFieldRequirementType.REQUIRED, 
/data/hiveptest/working/scratch/build.patch:1040: trailing whitespace.
    tmpMap.put(_Fields.TABLENAME, new 
org.apache.thrift.meta_data.FieldMetaData("tablename", 
org.apache.thrift.TFieldRequirementType.REQUIRED, 
/data/hiveptest/working/scratch/build.patch:1042: trailing whitespace.
    tmpMap.put(_Fields.PARTITIONNAME, new 
org.apache.thrift.meta_data.FieldMetaData("partitionname", 
org.apache.thrift.TFieldRequirementType.OPTIONAL, 
error: patch failed: 
ql/src/java/org/apache/hadoop/hive/ql/txn/compactor/Worker.java:20
Falling back to three-way merge...
Applied patch to 
'ql/src/java/org/apache/hadoop/hive/ql/txn/compactor/Worker.java' with 
conflicts.
U ql/src/java/org/apache/hadoop/hive/ql/txn/compactor/Worker.java
warning: squelched 109 whitespace errors
warning: 114 lines add whitespace errors.
+ result=1
+ '[' 1 -ne 0 ']'
+ rm -rf yetus_PreCommit-HIVE-Build-15335
+ exit 1
'
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12951868 - PreCommit-HIVE-Build

> Allow the Worker thread in the metastore to run outside of it
> -------------------------------------------------------------
>
>                 Key: HIVE-20936
>                 URL: https://issues.apache.org/jira/browse/HIVE-20936
>             Project: Hive
>          Issue Type: Improvement
>          Components: Transactions
>            Reporter: Jaume M
>            Assignee: Jaume M
>            Priority: Major
>         Attachments: HIVE-20936.1.patch, HIVE-20936.10.patch, 
> HIVE-20936.2.patch, HIVE-20936.3.patch, HIVE-20936.4.patch, 
> HIVE-20936.5.patch, HIVE-20936.6.patch, HIVE-20936.7.patch, 
> HIVE-20936.8.patch, HIVE-20936.8.patch
>
>
> Currently the Worker thread in the metastore in bounded to the metastore, 
> mainly because of the TxnHandler that it has. This thread runs some map 
> reduce jobs which may not only be an option wherever the metastore is 
> running. A solution for this can be to run this thread in HS2 depending on a 
> flag.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to