[
https://issues.apache.org/jira/browse/HIVE-15920?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15893925#comment-15893925
]
Hive QA commented on HIVE-15920:
--------------------------------
Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12855703/HIVE-15920.01.patch
{color:red}ERROR:{color} -1 due to build exiting with an error
Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/3908/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/3908/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-3908/
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'
2017-03-03 08:44:58.415
+ [[ -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-3908/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'
2017-03-03 08:44:58.417
+ cd apache-github-source-source
+ git fetch origin
+ git reset --hard HEAD
fatal: Could not write new index file.
+ git checkout master
fatal: unable to write new index file
+ git checkout -b master origin/master
fatal: A branch named 'master' already exists.
+ exit 1
'
{noformat}
This message is automatically generated.
ATTACHMENT ID: 12855703 - PreCommit-HIVE-Build
> Implement a blocking version of a command to compact
> ----------------------------------------------------
>
> Key: HIVE-15920
> URL: https://issues.apache.org/jira/browse/HIVE-15920
> Project: Hive
> Issue Type: Improvement
> Components: Transactions
> Reporter: Eugene Koifman
> Assignee: Eugene Koifman
> Attachments: HIVE-15920.01.patch
>
>
> currently
> {noformat}
> alter table AcidTable compact 'major'
> {noformat}
> is supported which enqueues a msg to compact.
> Would be nice for testing and script building to support
> {noformat}
> alter table AcidTable compact 'major' blocking
> {noformat}
> perhaps another variation is to block until either compaction is done or
> until cleaning is finished.
> DDLTask.compact() gets a request id back so it can then just block and wait
> for it using some new API
> may also be useful to let users compact all partitions but only if a
> separate queue has been set up for compaction jobs.
> The later is because with a 1M partition table, this may create very many
> jobs and saturate the cluster.
> This probably requires HIVE-12376 to make sure the compaction queue does the
> throttling, not the number of worker threads
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)