[jira] [Commented] (HIVE-16471) Add metrics for "waiting compilation time"

2017-04-19 Thread Lefty Leverenz (JIRA)

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

Lefty Leverenz commented on HIVE-16471:
---

Doc note:  The new waitCompile metric needs to be documented in the wiki for 
release 3.0.0.

* [Hive Metrics | https://cwiki.apache.org/confluence/display/Hive/Hive+Metrics]

Added a TODOC3.0 label.

> Add metrics for "waiting compilation time"
> --
>
> Key: HIVE-16471
> URL: https://issues.apache.org/jira/browse/HIVE-16471
> Project: Hive
>  Issue Type: Bug
>Reporter: Chao Sun
>Assignee: Chao Sun
>  Labels: TODOC3.0, metrics
> Fix For: 3.0.0
>
> Attachments: HIVE-16471.1.patch, wait_compile.png
>
>
> When parallel compilation is off, there could be multiple queries waiting on 
> the compilation lock. Currently we have metrics for the # of waiting queries, 
> but it's good to also track the average/min/max waiting time, etc.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (HIVE-16471) Add metrics for "waiting compilation time"

2017-04-19 Thread Xuefu Zhang (JIRA)

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

Xuefu Zhang commented on HIVE-16471:


+1

> Add metrics for "waiting compilation time"
> --
>
> Key: HIVE-16471
> URL: https://issues.apache.org/jira/browse/HIVE-16471
> Project: Hive
>  Issue Type: Bug
>Reporter: Chao Sun
>Assignee: Chao Sun
> Attachments: HIVE-16471.1.patch, wait_compile.png
>
>
> When parallel compilation is off, there could be multiple queries waiting on 
> the compilation lock. Currently we have metrics for the # of waiting queries, 
> but it's good to also track the average/min/max waiting time, etc.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (HIVE-16471) Add metrics for "waiting compilation time"

2017-04-19 Thread Hive QA (JIRA)

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

Hive QA commented on HIVE-16471:




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

{color:red}ERROR:{color} -1 due to no test(s) being added or modified.

{color:red}ERROR:{color} -1 due to 4 failed/errored test(s), 10568 tests 
executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestBeeLineDriver.testCliDriver[smb_mapjoin_10] 
(batchId=234)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[parquet_ppd_decimal] 
(batchId=9)
org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[vector_if_expr]
 (batchId=143)
org.apache.hadoop.hive.cli.TestSparkCliDriver.org.apache.hadoop.hive.cli.TestSparkCliDriver
 (batchId=99)
{noformat}

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

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.TestCheckPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
Tests exited with: TestsFailedException: 4 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12864042 - PreCommit-HIVE-Build

> Add metrics for "waiting compilation time"
> --
>
> Key: HIVE-16471
> URL: https://issues.apache.org/jira/browse/HIVE-16471
> Project: Hive
>  Issue Type: Bug
>Reporter: Chao Sun
>Assignee: Chao Sun
> Attachments: HIVE-16471.1.patch, wait_compile.png
>
>
> When parallel compilation is off, there could be multiple queries waiting on 
> the compilation lock. Currently we have metrics for the # of waiting queries, 
> but it's good to also track the average/min/max waiting time, etc.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)


[jira] [Commented] (HIVE-16471) Add metrics for "waiting compilation time"

2017-04-18 Thread Hive QA (JIRA)

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

Hive QA commented on HIVE-16471:




Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12863876/wait_compile.png

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

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

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-04-18 21:13:48.148
+ [[ -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-4740/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-04-18 21:13:48.151
+ cd apache-github-source-source
+ git fetch origin
+ git reset --hard HEAD
HEAD is now at 2509e2f HIVE-16146: If possible find a better way to filter the 
TestBeeLineDriver output(Peter Vary via Zoltan Haindrich, reviewed by Vihang 
Karajgaonkar)
+ git clean -f -d
Removing 
ql/src/java/org/apache/hadoop/hive/ql/optimizer/physical/LlapClusterStateForCompile.java
+ git checkout master
Already on 'master'
Your branch is up-to-date with 'origin/master'.
+ git reset --hard origin/master
HEAD is now at 2509e2f HIVE-16146: If possible find a better way to filter the 
TestBeeLineDriver output(Peter Vary via Zoltan Haindrich, reviewed by Vihang 
Karajgaonkar)
+ git merge --ff-only origin/master
Already up-to-date.
+ date '+%Y-%m-%d %T.%3N'
2017-04-18 21:13:49.345
+ 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
patch:  Only garbage was found in the patch input.
patch:  Only garbage was found in the patch input.
patch:  Only garbage was found in the patch input.
fatal: unrecognized input
The patch does not appear to apply with p0, p1, or p2
+ exit 1
'
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12863876 - PreCommit-HIVE-Build

> Add metrics for "waiting compilation time"
> --
>
> Key: HIVE-16471
> URL: https://issues.apache.org/jira/browse/HIVE-16471
> Project: Hive
>  Issue Type: Bug
>Reporter: Chao Sun
>Assignee: Chao Sun
> Attachments: HIVE-16471.1.patch, wait_compile.png
>
>
> When parallel compilation is off, there could be multiple queries waiting on 
> the compilation lock. Currently we have metrics for the # of waiting queries, 
> but it's good to also track the average/min/max waiting time, etc.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)