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/06/18 02:50:00 UTC

[jira] [Commented] (HIVE-21391) LLAP: Pool of column vector buffers can cause memory pressure

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

Hive QA commented on HIVE-21391:
--------------------------------



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

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

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

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-06-18 02:48:27.008
+ [[ -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-17618/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-06-18 02:48:27.012
+ cd apache-github-source-source
+ git fetch origin
+ git reset --hard HEAD
HEAD is now at fcadd38 HIVE-21833: Ranger Authorization in Hive based on object ownership (Sam An, reviewed by Daniel Dai)
+ 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 fcadd38 HIVE-21833: Ranger Authorization in Hive based on object ownership (Sam An, reviewed by Daniel Dai)
+ git merge --ff-only origin/master
Already up-to-date.
+ date '+%Y-%m-%d %T.%3N'
2019-06-18 02:48:28.202
+ rm -rf ../yetus_PreCommit-HIVE-Build-17618
+ mkdir ../yetus_PreCommit-HIVE-Build-17618
+ git gc
+ cp -R . ../yetus_PreCommit-HIVE-Build-17618
+ mkdir /data/hiveptest/logs/PreCommit-HIVE-Build-17618/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/llap-server/src/java/org/apache/hadoop/hive/llap/io/decode/EncodedDataConsumer.java: does not exist in index
error: a/llap-server/src/java/org/apache/hadoop/hive/llap/io/decode/OrcEncodedDataConsumer.java: does not exist in index
error: patch failed: llap-server/src/java/org/apache/hadoop/hive/llap/io/decode/EncodedDataConsumer.java:31
Falling back to three-way merge...
Applied patch to 'llap-server/src/java/org/apache/hadoop/hive/llap/io/decode/EncodedDataConsumer.java' with conflicts.
Going to apply patch with: git apply -p1
error: patch failed: llap-server/src/java/org/apache/hadoop/hive/llap/io/decode/EncodedDataConsumer.java:31
Falling back to three-way merge...
Applied patch to 'llap-server/src/java/org/apache/hadoop/hive/llap/io/decode/EncodedDataConsumer.java' with conflicts.
U llap-server/src/java/org/apache/hadoop/hive/llap/io/decode/EncodedDataConsumer.java
+ result=1
+ '[' 1 -ne 0 ']'
+ rm -rf yetus_PreCommit-HIVE-Build-17618
+ exit 1
'
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12961360 - PreCommit-HIVE-Build

> LLAP: Pool of column vector buffers can cause memory pressure
> -------------------------------------------------------------
>
>                 Key: HIVE-21391
>                 URL: https://issues.apache.org/jira/browse/HIVE-21391
>             Project: Hive
>          Issue Type: Bug
>          Components: llap
>    Affects Versions: 4.0.0, 3.2.0
>            Reporter: Prasanth Jayachandran
>            Assignee: Prasanth Jayachandran
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: HIVE-21391.1.patch
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Where there are too many columns (in the order of 100s), with decimal, string types the column vector pool of buffers created here [https://github.com/apache/hive/blob/master/llap-server/src/java/org/apache/hadoop/hive/llap/io/decode/EncodedDataConsumer.java#L59] can cause memory pressure. 
> Example:
> 128 (poolSize) * 300 (numCols) * 1024 (batchSize) * 80 (decimalSize) ~= 3GB
> The pool size keeps increasing when there is slow consumer but fast llap io (SSDs) leading to GC pressure when all LLAP io threads read splits from same table. 



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