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-16295) Add support for using Hadoop's S3A OutputCommitter
Date Fri, 03 Jan 2020 17:12:00 GMT

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

Hive QA commented on HIVE-16295:
--------------------------------



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

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

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

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-01-03 17:10:42.346
+ [[ -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-20068/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-01-03 17:10:42.349
+ cd apache-github-source-source
+ git fetch origin
+ git reset --hard HEAD
HEAD is now at 01faca2 HIVE-22615: Replace Base64 in hive-common Package (David Mollitor,
reviewed by Ashutosh Chauhan)
+ 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 01faca2 HIVE-22615: Replace Base64 in hive-common Package (David Mollitor,
reviewed by Ashutosh Chauhan)
+ git merge --ff-only origin/master
Already up-to-date.
+ date '+%Y-%m-%d %T.%3N'
2020-01-03 17:10:43.127
+ rm -rf ../yetus_PreCommit-HIVE-Build-20068
+ mkdir ../yetus_PreCommit-HIVE-Build-20068
+ git gc
+ cp -R . ../yetus_PreCommit-HIVE-Build-20068
+ mkdir /data/hiveptest/logs/PreCommit-HIVE-Build-20068/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: a/common/src/java/org/apache/hadoop/hive/conf/HiveConf.java: does not exist in index
error: a/itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/history/TestHiveHistory.java:
does not exist in index
error: a/ql/pom.xml: does not exist in index
error: a/ql/src/java/org/apache/hadoop/hive/ql/exec/FileSinkOperator.java: does not exist
in index
error: a/ql/src/java/org/apache/hadoop/hive/ql/exec/MapredContext.java: does not exist in
index
error: a/ql/src/java/org/apache/hadoop/hive/ql/exec/MoveTask.java: does not exist in index
error: a/ql/src/java/org/apache/hadoop/hive/ql/exec/TaskFactory.java: does not exist in index
error: a/ql/src/java/org/apache/hadoop/hive/ql/exec/mr/ExecMapper.java: does not exist in
index
error: a/ql/src/java/org/apache/hadoop/hive/ql/exec/mr/ExecReducer.java: does not exist in
index
error: a/ql/src/java/org/apache/hadoop/hive/ql/exec/spark/SparkMapRecordHandler.java: does
not exist in index
error: a/ql/src/java/org/apache/hadoop/hive/ql/exec/spark/SparkReduceRecordHandler.java: does
not exist in index
error: a/ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java: does not exist in index
error: a/ql/src/java/org/apache/hadoop/hive/ql/optimizer/physical/PhysicalOptimizer.java:
does not exist in index
error: a/ql/src/java/org/apache/hadoop/hive/ql/parse/spark/SparkCompiler.java: does not exist
in index
error: a/ql/src/java/org/apache/hadoop/hive/ql/plan/FileSinkDesc.java: does not exist in index
error: a/ql/src/java/org/apache/hadoop/hive/ql/plan/MoveWork.java: does not exist in index
error: a/ql/src/test/org/apache/hadoop/hive/ql/exec/TestExecDriver.java: does not exist in
index
error: a/ql/src/test/org/apache/hadoop/hive/ql/metadata/TestHiveCopyFiles.java: does not exist
in index
Trying to apply the patch with -p1
error: patch failed: common/src/java/org/apache/hadoop/hive/conf/HiveConf.java:4469
Falling back to three-way merge...
Applied patch to 'common/src/java/org/apache/hadoop/hive/conf/HiveConf.java' with conflicts.
error: patch failed: ql/src/java/org/apache/hadoop/hive/ql/exec/FileSinkOperator.java:1603
Falling back to three-way merge...
Applied patch to 'ql/src/java/org/apache/hadoop/hive/ql/exec/FileSinkOperator.java' with conflicts.
error: patch failed: ql/src/java/org/apache/hadoop/hive/ql/exec/MoveTask.java:384
Falling back to three-way merge...
Applied patch to 'ql/src/java/org/apache/hadoop/hive/ql/exec/MoveTask.java' with conflicts.
error: patch failed: ql/src/java/org/apache/hadoop/hive/ql/exec/TaskFactory.java:36
Falling back to three-way merge...
Applied patch to 'ql/src/java/org/apache/hadoop/hive/ql/exec/TaskFactory.java' with conflicts.
error: patch failed: ql/src/java/org/apache/hadoop/hive/ql/exec/mr/ExecMapper.java:24
Falling back to three-way merge...
Applied patch to 'ql/src/java/org/apache/hadoop/hive/ql/exec/mr/ExecMapper.java' with conflicts.
error: patch failed: ql/src/java/org/apache/hadoop/hive/ql/exec/mr/ExecReducer.java:27
Falling back to three-way merge...
Applied patch to 'ql/src/java/org/apache/hadoop/hive/ql/exec/mr/ExecReducer.java' with conflicts.
error: patch failed: ql/src/java/org/apache/hadoop/hive/ql/exec/spark/SparkMapRecordHandler.java:22
Falling back to three-way merge...
Applied patch to 'ql/src/java/org/apache/hadoop/hive/ql/exec/spark/SparkMapRecordHandler.java'
with conflicts.
error: patch failed: ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java:165
Falling back to three-way merge...
Applied patch to 'ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java' with conflicts.
error: patch failed: ql/src/java/org/apache/hadoop/hive/ql/plan/FileSinkDesc.java:18
Falling back to three-way merge...
Applied patch to 'ql/src/java/org/apache/hadoop/hive/ql/plan/FileSinkDesc.java' with conflicts.
error: patch failed: ql/src/java/org/apache/hadoop/hive/ql/plan/MoveWork.java:164
Falling back to three-way merge...
Applied patch to 'ql/src/java/org/apache/hadoop/hive/ql/plan/MoveWork.java' with conflicts.
error: patch failed: ql/src/test/org/apache/hadoop/hive/ql/exec/TestExecDriver.java:142
Falling back to three-way merge...
Applied patch to 'ql/src/test/org/apache/hadoop/hive/ql/exec/TestExecDriver.java' with conflicts.
Going to apply patch with: git apply -p1
error: patch failed: common/src/java/org/apache/hadoop/hive/conf/HiveConf.java:4469
Falling back to three-way merge...
Applied patch to 'common/src/java/org/apache/hadoop/hive/conf/HiveConf.java' with conflicts.
error: patch failed: ql/src/java/org/apache/hadoop/hive/ql/exec/FileSinkOperator.java:1603
Falling back to three-way merge...
Applied patch to 'ql/src/java/org/apache/hadoop/hive/ql/exec/FileSinkOperator.java' with conflicts.
error: patch failed: ql/src/java/org/apache/hadoop/hive/ql/exec/MoveTask.java:384
Falling back to three-way merge...
Applied patch to 'ql/src/java/org/apache/hadoop/hive/ql/exec/MoveTask.java' with conflicts.
error: patch failed: ql/src/java/org/apache/hadoop/hive/ql/exec/TaskFactory.java:36
Falling back to three-way merge...
Applied patch to 'ql/src/java/org/apache/hadoop/hive/ql/exec/TaskFactory.java' with conflicts.
error: patch failed: ql/src/java/org/apache/hadoop/hive/ql/exec/mr/ExecMapper.java:24
Falling back to three-way merge...
Applied patch to 'ql/src/java/org/apache/hadoop/hive/ql/exec/mr/ExecMapper.java' with conflicts.
error: patch failed: ql/src/java/org/apache/hadoop/hive/ql/exec/mr/ExecReducer.java:27
Falling back to three-way merge...
Applied patch to 'ql/src/java/org/apache/hadoop/hive/ql/exec/mr/ExecReducer.java' with conflicts.
error: patch failed: ql/src/java/org/apache/hadoop/hive/ql/exec/spark/SparkMapRecordHandler.java:22
Falling back to three-way merge...
Applied patch to 'ql/src/java/org/apache/hadoop/hive/ql/exec/spark/SparkMapRecordHandler.java'
with conflicts.
error: patch failed: ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java:165
Falling back to three-way merge...
Applied patch to 'ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java' with conflicts.
error: patch failed: ql/src/java/org/apache/hadoop/hive/ql/plan/FileSinkDesc.java:18
Falling back to three-way merge...
Applied patch to 'ql/src/java/org/apache/hadoop/hive/ql/plan/FileSinkDesc.java' with conflicts.
error: patch failed: ql/src/java/org/apache/hadoop/hive/ql/plan/MoveWork.java:164
Falling back to three-way merge...
Applied patch to 'ql/src/java/org/apache/hadoop/hive/ql/plan/MoveWork.java' with conflicts.
error: patch failed: ql/src/test/org/apache/hadoop/hive/ql/exec/TestExecDriver.java:142
Falling back to three-way merge...
Applied patch to 'ql/src/test/org/apache/hadoop/hive/ql/exec/TestExecDriver.java' with conflicts.
U common/src/java/org/apache/hadoop/hive/conf/HiveConf.java
U ql/src/java/org/apache/hadoop/hive/ql/exec/FileSinkOperator.java
U ql/src/java/org/apache/hadoop/hive/ql/exec/MoveTask.java
U ql/src/java/org/apache/hadoop/hive/ql/exec/TaskFactory.java
U ql/src/java/org/apache/hadoop/hive/ql/exec/mr/ExecMapper.java
U ql/src/java/org/apache/hadoop/hive/ql/exec/mr/ExecReducer.java
U ql/src/java/org/apache/hadoop/hive/ql/exec/spark/SparkMapRecordHandler.java
U ql/src/java/org/apache/hadoop/hive/ql/metadata/Hive.java
U ql/src/java/org/apache/hadoop/hive/ql/plan/FileSinkDesc.java
U ql/src/java/org/apache/hadoop/hive/ql/plan/MoveWork.java
U ql/src/test/org/apache/hadoop/hive/ql/exec/TestExecDriver.java
+ result=1
+ '[' 1 -ne 0 ']'
+ rm -rf yetus_PreCommit-HIVE-Build-20068
+ exit 1
'
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12932929 - PreCommit-HIVE-Build

> Add support for using Hadoop's S3A OutputCommitter
> --------------------------------------------------
>
>                 Key: HIVE-16295
>                 URL: https://issues.apache.org/jira/browse/HIVE-16295
>             Project: Hive
>          Issue Type: Sub-task
>            Reporter: Sahil Takiar
>            Priority: Major
>         Attachments: HIVE-16295.1.WIP.patch, HIVE-16295.2.WIP.patch, HIVE-16295.3.WIP.patch,
HIVE-16295.4.patch, HIVE-16295.5.patch, HIVE-16295.6.patch, HIVE-16295.7.patch, HIVE-16295.8.patch,
HIVE-16295.9.patch
>
>
> Hive doesn't have integration with Hadoop's {{OutputCommitter}}, it uses a {{NullOutputCommitter}}
and uses its own commit logic spread across {{FileSinkOperator}}, {{MoveTask}}, and {{Hive}}.
> The Hadoop community is building an {{OutputCommitter}} that integrates with S3Guard
and does a safe, coordinate commit of data on S3 inside individual tasks (HADOOP-13786). If
Hive can integrate with this new {{OutputCommitter}} there would be a lot of benefits to Hive-on-S3:
> * Data is only written once; directly committing data at a task level means no renames
are necessary
> * The commit is done safely, in a coordinated manner; duplicate tasks (from task retries
or speculative execution) should not step on each other



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

Mime
View raw message