[
https://issues.apache.org/jira/browse/HIVE-20203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16549845#comment-16549845
]
Hive QA commented on HIVE-20203:
--------------------------------
Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12932198/HIVE-20203.2.patch
{color:red}ERROR:{color} -1 due to build exiting with an error
Test results:
https://builds.apache.org/job/PreCommit-HIVE-Build/12705/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/12705/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-12705/
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-07-19 20:46:43.071
+ [[ -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-12705/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-07-19 20:46:43.073
+ cd apache-github-source-source
+ git fetch origin
>From https://github.com/apache/hive
6d15ce4..e867d1c master -> origin/master
+ git reset --hard HEAD
HEAD is now at 6d15ce4 HIVE-19360: CBO: Add an "optimizedSQL" to QueryPlan
object (Gopal V, reviewed by Jesus Camacho Rodriguez)
+ git clean -f -d
+ git checkout master
Already on 'master'
Your branch is behind 'origin/master' by 2 commits, and can be fast-forwarded.
(use "git pull" to update your local branch)
+ git reset --hard origin/master
HEAD is now at e867d1c HIVE-20149: TestHiveCli failing/timing out(Vineet Garg,
reviewed by Zoltan Haindrich)
+ git merge --ff-only origin/master
Already up-to-date.
+ date '+%Y-%m-%d %T.%3N'
2018-07-19 20:46:44.433
+ rm -rf ../yetus_PreCommit-HIVE-Build-12705
+ mkdir ../yetus_PreCommit-HIVE-Build-12705
+ git gc
+ cp -R . ../yetus_PreCommit-HIVE-Build-12705
+ mkdir /data/hiveptest/logs/PreCommit-HIVE-Build-12705/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/io/arrow/Serializer.java:96
Falling back to three-way merge...
error: patch failed:
ql/src/java/org/apache/hadoop/hive/ql/io/arrow/Serializer.java:96
error: ql/src/java/org/apache/hadoop/hive/ql/io/arrow/Serializer.java: patch
does not apply
error: src/java/org/apache/hadoop/hive/conf/HiveConf.java: does not exist in
index
error: src/java/org/apache/hadoop/hive/llap/LlapArrowRecordWriter.java: does
not exist in index
error: src/java/org/apache/hadoop/hive/ql/io/arrow/ArrowWrapperWritable.java:
does not exist in index
error: src/java/org/apache/hadoop/hive/ql/io/arrow/Serializer.java: does not
exist in index
error: java/org/apache/hadoop/hive/conf/HiveConf.java: does not exist in index
error: java/org/apache/hadoop/hive/llap/LlapArrowRecordWriter.java: does not
exist in index
error: java/org/apache/hadoop/hive/ql/io/arrow/ArrowWrapperWritable.java: does
not exist in index
error: java/org/apache/hadoop/hive/ql/io/arrow/Serializer.java: does not exist
in index
The patch does not appear to apply with p0, p1, or p2
+ result=1
+ '[' 1 -ne 0 ']'
+ rm -rf yetus_PreCommit-HIVE-Build-12705
+ exit 1
'
{noformat}
This message is automatically generated.
ATTACHMENT ID: 12932198 - PreCommit-HIVE-Build
> Arrow SerDe leaks a DirectByteBuffer
> ------------------------------------
>
> Key: HIVE-20203
> URL: https://issues.apache.org/jira/browse/HIVE-20203
> Project: Hive
> Issue Type: Bug
> Reporter: Eric Wohlstadter
> Assignee: Eric Wohlstadter
> Priority: Blocker
> Attachments: HIVE-20203.1.patch, HIVE-20203.2.patch
>
>
> ArrowColumnarBatchSerDe allocates an arrow NullableMapVector for each task
> that uses the serde.
> The vector is a DirectByteBuffer allocated from Arrow's off-heap buffer pool.
> This buffer is never closed and leaks about 1K of physical memory for each
> task.
> This patch does three things:
> # Ensure the buffer is closed when the RecordWriter for the task is closed.
> # Adds per-task memory accounting by assigning a ChildAllocator to each task
> from the RootAllocator.
> # Enforces that the ChildAllocator for a task has released all memory
> assigned to it, when the task is completed.
> The patch assumes that close() is always called on the RecordWriter when a
> task is finished (even if there is a failure during task execution).
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)