You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Hive QA (JIRA)" <ji...@apache.org> on 2019/08/02 13:49:00 UTC

[jira] [Commented] (HIVE-21828) Tez: Use a pre-parsed TezConfiguration from DagUtils

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

Hive QA commented on HIVE-21828:
--------------------------------



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

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

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

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'
2019-08-02 13:48:09.038
+ [[ -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-18240/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'
2019-08-02 13:48:09.041
+ cd apache-github-source-source
+ git fetch origin
+ git reset --hard HEAD
HEAD is now at d7475aa HIVE-22008: LIKE Operator should match multi-line input (Gopal V, reviewed by Jesus Camacho Rodriguez)
+ git clean -f -d
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 d7475aa HIVE-22008: LIKE Operator should match multi-line input (Gopal V, reviewed by Jesus Camacho Rodriguez)
+ git merge --ff-only origin/master
Already up-to-date.
+ date '+%Y-%m-%d %T.%3N'
2019-08-02 13:48:09.642
+ rm -rf ../yetus_PreCommit-HIVE-Build-18240
+ mkdir ../yetus_PreCommit-HIVE-Build-18240
+ git gc
+ cp -R . ../yetus_PreCommit-HIVE-Build-18240
+ mkdir /data/hiveptest/logs/PreCommit-HIVE-Build-18240/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: a/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java: does not exist in index
error: a/ql/src/java/org/apache/hadoop/hive/ql/exec/tez/DagUtils.java: does not exist in index
error: a/ql/src/java/org/apache/hadoop/hive/ql/exec/tez/TezTask.java: does not exist in index
error: a/ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDFRegExp.java: does not exist in index
error: a/ql/src/test/org/apache/hadoop/hive/ql/exec/tez/TestTezTask.java: does not exist in index
error: a/ql/src/test/org/apache/hive/testutils/HiveTestEnvSetup.java: does not exist in index
error: a/ql/src/test/queries/clientpositive/mm_loaddata.q: does not exist in index
error: a/ql/src/test/results/clientpositive/llap/tez_fixed_bucket_pruning.q.out: does not exist in index
error: patch failed: common/src/java/org/apache/hadoop/hive/conf/HiveConf.java:5432
Falling back to three-way merge...
Applied patch to 'common/src/java/org/apache/hadoop/hive/conf/HiveConf.java' cleanly.
error: patch failed: ql/src/java/org/apache/hadoop/hive/ql/exec/tez/DagUtils.java:44
Falling back to three-way merge...
Applied patch to 'ql/src/java/org/apache/hadoop/hive/ql/exec/tez/DagUtils.java' cleanly.
Falling back to three-way merge...
Applied patch to 'ql/src/java/org/apache/hadoop/hive/ql/exec/tez/TezConfigurationFactory.java' cleanly.
error: patch failed: ql/src/java/org/apache/hadoop/hive/ql/exec/tez/TezTask.java:174
Falling back to three-way merge...
Applied patch to 'ql/src/java/org/apache/hadoop/hive/ql/exec/tez/TezTask.java' with conflicts.
error: patch failed: ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDFRegExp.java:64
Falling back to three-way merge...
Applied patch to 'ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDFRegExp.java' cleanly.
error: patch failed: ql/src/test/org/apache/hadoop/hive/ql/exec/tez/TestTezTask.java:28
Falling back to three-way merge...
Applied patch to 'ql/src/test/org/apache/hadoop/hive/ql/exec/tez/TestTezTask.java' cleanly.
error: patch failed: ql/src/test/org/apache/hive/testutils/HiveTestEnvSetup.java:64
Falling back to three-way merge...
Applied patch to 'ql/src/test/org/apache/hive/testutils/HiveTestEnvSetup.java' cleanly.
error: patch failed: ql/src/test/queries/clientpositive/mm_loaddata.q:6
Falling back to three-way merge...
Applied patch to 'ql/src/test/queries/clientpositive/mm_loaddata.q' cleanly.
error: patch failed: ql/src/test/results/clientpositive/llap/tez_fixed_bucket_pruning.q.out:738
Falling back to three-way merge...
Applied patch to 'ql/src/test/results/clientpositive/llap/tez_fixed_bucket_pruning.q.out' cleanly.
Going to apply patch with: git apply -p1
/data/hiveptest/working/scratch/build.patch:56: trailing whitespace.
   * @param skipAMConf Skip the configs where are already set across all DAGs 
error: patch failed: common/src/java/org/apache/hadoop/hive/conf/HiveConf.java:5432
Falling back to three-way merge...
Applied patch to 'common/src/java/org/apache/hadoop/hive/conf/HiveConf.java' cleanly.
error: patch failed: ql/src/java/org/apache/hadoop/hive/ql/exec/tez/DagUtils.java:44
Falling back to three-way merge...
Applied patch to 'ql/src/java/org/apache/hadoop/hive/ql/exec/tez/DagUtils.java' cleanly.
Falling back to three-way merge...
Applied patch to 'ql/src/java/org/apache/hadoop/hive/ql/exec/tez/TezConfigurationFactory.java' cleanly.
error: patch failed: ql/src/java/org/apache/hadoop/hive/ql/exec/tez/TezTask.java:174
Falling back to three-way merge...
Applied patch to 'ql/src/java/org/apache/hadoop/hive/ql/exec/tez/TezTask.java' with conflicts.
error: patch failed: ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDFRegExp.java:64
Falling back to three-way merge...
Applied patch to 'ql/src/java/org/apache/hadoop/hive/ql/udf/generic/GenericUDFRegExp.java' cleanly.
error: patch failed: ql/src/test/org/apache/hadoop/hive/ql/exec/tez/TestTezTask.java:28
Falling back to three-way merge...
Applied patch to 'ql/src/test/org/apache/hadoop/hive/ql/exec/tez/TestTezTask.java' cleanly.
error: patch failed: ql/src/test/org/apache/hive/testutils/HiveTestEnvSetup.java:64
Falling back to three-way merge...
Applied patch to 'ql/src/test/org/apache/hive/testutils/HiveTestEnvSetup.java' cleanly.
error: patch failed: ql/src/test/queries/clientpositive/mm_loaddata.q:6
Falling back to three-way merge...
Applied patch to 'ql/src/test/queries/clientpositive/mm_loaddata.q' cleanly.
error: patch failed: ql/src/test/results/clientpositive/llap/tez_fixed_bucket_pruning.q.out:738
Falling back to three-way merge...
Applied patch to 'ql/src/test/results/clientpositive/llap/tez_fixed_bucket_pruning.q.out' cleanly.
U ql/src/java/org/apache/hadoop/hive/ql/exec/tez/TezTask.java
warning: 1 line adds whitespace errors.
+ result=1
+ '[' 1 -ne 0 ']'
+ rm -rf yetus_PreCommit-HIVE-Build-18240
+ exit 1
'
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12976504 - PreCommit-HIVE-Build

> Tez: Use a pre-parsed TezConfiguration from DagUtils
> ----------------------------------------------------
>
>                 Key: HIVE-21828
>                 URL: https://issues.apache.org/jira/browse/HIVE-21828
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Gopal V
>            Assignee: Attila Magyar
>            Priority: Major
>             Fix For: 4.0.0
>
>         Attachments: HIVE-21828.1.patch, HIVE-21828.2.patch, HIVE-21828.5.patch, HIVE-21828.6.patch, HIVE-21828.7.patch
>
>
> The HS2 tez-site.xml does not change dynamically - the XML parsed components of the config can be obtained statically and kept across sessions.
> This allows for the replacing of "new TezConfiguration()" with a HS2 local version instead.
> The configuration object however has to reference the right resource file (i.e location of tez-site.xml) without reparsing it for each query.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)