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-21304) Make bucketing version usage more robust
Date Mon, 04 May 2020 06:54:00 GMT

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

Hive QA commented on HIVE-21304:
--------------------------------



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

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

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

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'
2020-05-04 06:52:47.830
+ [[ -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-22110/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'
2020-05-04 06:52:47.833
+ cd apache-github-source-source
+ git fetch origin
>From https://github.com/apache/hive
   b283bbd..87fc754  master     -> origin/master
+ git reset --hard HEAD
HEAD is now at b283bbd HIVE-23321 : Tolerate in tests that metastore is not removing rows
from the skewed_string_list_values table (Zoltan Haindrich via Ashutosh Chauhan)
+ git clean -f -d
Removing standalone-metastore/metastore-server/src/gen/
+ 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 87fc754 HIVE-23298 : Disable RS deduplication step in Optimizer if it is run
in TezCompiler (Jesus Camacho Rodriguez via Ashutosh Chauhan)
+ git merge --ff-only origin/master
Already up-to-date.
+ date '+%Y-%m-%d %T.%3N'
2020-05-04 06:52:49.203
+ rm -rf ../yetus_PreCommit-HIVE-Build-22110
+ mkdir ../yetus_PreCommit-HIVE-Build-22110
+ git gc
+ cp -R . ../yetus_PreCommit-HIVE-Build-22110
+ mkdir /data/hiveptest/logs/PreCommit-HIVE-Build-22110/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
Trying to apply the patch with -p0
error: patch failed: ql/src/java/org/apache/hadoop/hive/ql/optimizer/Optimizer.java:191
Falling back to three-way merge...
Applied patch to 'ql/src/java/org/apache/hadoop/hive/ql/optimizer/Optimizer.java' with conflicts.
error: patch failed: ql/src/test/results/clientpositive/llap/bucket2.q.out:164
Falling back to three-way merge...
Applied patch to 'ql/src/test/results/clientpositive/llap/bucket2.q.out' with conflicts.
error: patch failed: ql/src/test/results/clientpositive/llap/bucket4.q.out:165
Falling back to three-way merge...
Applied patch to 'ql/src/test/results/clientpositive/llap/bucket4.q.out' with conflicts.
error: patch failed: ql/src/test/results/clientpositive/llap/bucket_num_reducers2.q.out:162
Falling back to three-way merge...
Applied patch to 'ql/src/test/results/clientpositive/llap/bucket_num_reducers2.q.out' with
conflicts.
error: patch failed: ql/src/test/results/clientpositive/llap/correlationoptimizer14.q.out:1239
Falling back to three-way merge...
Applied patch to 'ql/src/test/results/clientpositive/llap/correlationoptimizer14.q.out' with
conflicts.
error: patch failed: ql/src/test/results/clientpositive/llap/disable_merge_for_bucketing.q.out:164
Falling back to three-way merge...
Applied patch to 'ql/src/test/results/clientpositive/llap/disable_merge_for_bucketing.q.out'
with conflicts.
error: patch failed: ql/src/test/results/clientpositive/llap/reduce_deduplicate.q.out:165
Falling back to three-way merge...
Applied patch to 'ql/src/test/results/clientpositive/llap/reduce_deduplicate.q.out' with conflicts.
Going to apply patch with: git apply -p0
/data/hiveptest/working/scratch/build.patch:7812: trailing whitespace.
	totalSize           	1347                
/data/hiveptest/working/scratch/build.patch:8018: trailing whitespace.
          
/data/hiveptest/working/scratch/build.patch:8067: trailing whitespace.
          
/data/hiveptest/working/scratch/build.patch:8169: trailing whitespace.
          
/data/hiveptest/working/scratch/build.patch:8257: trailing whitespace.
          
error: patch failed: ql/src/java/org/apache/hadoop/hive/ql/optimizer/Optimizer.java:191
Falling back to three-way merge...
Applied patch to 'ql/src/java/org/apache/hadoop/hive/ql/optimizer/Optimizer.java' with conflicts.
error: patch failed: ql/src/test/results/clientpositive/llap/bucket2.q.out:164
Falling back to three-way merge...
Applied patch to 'ql/src/test/results/clientpositive/llap/bucket2.q.out' with conflicts.
error: patch failed: ql/src/test/results/clientpositive/llap/bucket4.q.out:165
Falling back to three-way merge...
Applied patch to 'ql/src/test/results/clientpositive/llap/bucket4.q.out' with conflicts.
error: patch failed: ql/src/test/results/clientpositive/llap/bucket_num_reducers2.q.out:162
Falling back to three-way merge...
Applied patch to 'ql/src/test/results/clientpositive/llap/bucket_num_reducers2.q.out' with
conflicts.
error: patch failed: ql/src/test/results/clientpositive/llap/correlationoptimizer14.q.out:1239
Falling back to three-way merge...
Applied patch to 'ql/src/test/results/clientpositive/llap/correlationoptimizer14.q.out' with
conflicts.
error: patch failed: ql/src/test/results/clientpositive/llap/disable_merge_for_bucketing.q.out:164
Falling back to three-way merge...
Applied patch to 'ql/src/test/results/clientpositive/llap/disable_merge_for_bucketing.q.out'
with conflicts.
error: patch failed: ql/src/test/results/clientpositive/llap/reduce_deduplicate.q.out:165
Falling back to three-way merge...
Applied patch to 'ql/src/test/results/clientpositive/llap/reduce_deduplicate.q.out' with conflicts.
U ql/src/java/org/apache/hadoop/hive/ql/optimizer/Optimizer.java
U ql/src/test/results/clientpositive/llap/bucket2.q.out
U ql/src/test/results/clientpositive/llap/bucket4.q.out
U ql/src/test/results/clientpositive/llap/bucket_num_reducers2.q.out
U ql/src/test/results/clientpositive/llap/correlationoptimizer14.q.out
U ql/src/test/results/clientpositive/llap/disable_merge_for_bucketing.q.out
U ql/src/test/results/clientpositive/llap/reduce_deduplicate.q.out
warning: squelched 48 whitespace errors
warning: 53 lines add whitespace errors.
+ result=1
+ '[' 1 -ne 0 ']'
+ rm -rf yetus_PreCommit-HIVE-Build-22110
+ exit 1
'
{noformat}

This message is automatically generated.

ATTACHMENT ID: 13001962 - PreCommit-HIVE-Build

> Make bucketing version usage more robust
> ----------------------------------------
>
>                 Key: HIVE-21304
>                 URL: https://issues.apache.org/jira/browse/HIVE-21304
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Deepak Jaiswal
>            Assignee: Zoltan Haindrich
>            Priority: Major
>         Attachments: HIVE-21304.01.patch, HIVE-21304.02.patch, HIVE-21304.03.patch, HIVE-21304.04.patch,
HIVE-21304.05.patch, HIVE-21304.06.patch, HIVE-21304.07.patch, HIVE-21304.08.patch, HIVE-21304.09.patch,
HIVE-21304.10.patch, HIVE-21304.11.patch, HIVE-21304.12.patch, HIVE-21304.13.patch, HIVE-21304.14.patch,
HIVE-21304.15.patch, HIVE-21304.16.patch, HIVE-21304.17.patch, HIVE-21304.18.patch, HIVE-21304.19.patch,
HIVE-21304.20.patch, HIVE-21304.21.patch, HIVE-21304.22.patch, HIVE-21304.23.patch, HIVE-21304.24.patch,
HIVE-21304.25.patch, HIVE-21304.26.patch, HIVE-21304.27.patch, HIVE-21304.28.patch, HIVE-21304.29.patch,
HIVE-21304.30.patch, HIVE-21304.31.patch, HIVE-21304.32.patch, HIVE-21304.33.patch, HIVE-21304.33.patch,
HIVE-21304.33.patch, HIVE-21304.34.patch, HIVE-21304.34.patch, HIVE-21304.35.patch, HIVE-21304.35.patch,
HIVE-21304.36.patch, HIVE-21304.37.patch, HIVE-21304.38.patch, HIVE-21304.38.patch, HIVE-21304.38.patch,
HIVE-21304.39.patch
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> * Show Bucketing version for ReduceSinkOp in explain extended plan - this helps identify
what hashing algorithm is being used by by ReduceSinkOp.
> * move the actually selected version to the "conf" so that it doesn't get lost
> * replace trait related logic with a separate optimizer rule
> * do version selection based on a group of operator - this is more reliable
> * skip bucketingversion selection for tables with 1 buckets
> * prefer to use version 2 if possible
> * fix operator creations which didn't set a new conf



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Mime
View raw message