[jira] [Commented] (HIVE-21134) Hive Build Version as UDF

2019-01-26 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on HIVE-21134:
---

Github user rmsmani closed the pull request at:

https://github.com/apache/hive/pull/521


> Hive Build Version as UDF
> -
>
> Key: HIVE-21134
> URL: https://issues.apache.org/jira/browse/HIVE-21134
> Project: Hive
>  Issue Type: Improvement
>Affects Versions: 4.0.0
>Reporter: Mani M
>Assignee: Mani M
>Priority: Minor
>  Labels: UDF, pull-request-available, todoc4.0
> Fix For: 4.0.0
>
> Attachments: HIVE.21134.02.PATCH, HIVE.21134.03.PATCH, 
> HIVE.21134.04.PATCH, HIVE.21134.05.PATCH, HIVE.21134.06.PATCH, 
> HIVE.21134.07.PATCH, HIVE.21134.PATCH
>
>
> This Jira is to get the Hive Build Version as UDF.



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


[jira] [Commented] (HIVE-21134) Hive Build Version as UDF

2019-01-25 Thread Mani M (JIRA)


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

Mani M commented on HIVE-21134:
---

HI [~pvary]

Thanks for the accepting.

I wasn't aware of the 1 day waiting period and will surely update the docs.

> Hive Build Version as UDF
> -
>
> Key: HIVE-21134
> URL: https://issues.apache.org/jira/browse/HIVE-21134
> Project: Hive
>  Issue Type: Improvement
>Affects Versions: 4.0.0
>Reporter: Mani M
>Assignee: Mani M
>Priority: Minor
>  Labels: UDF, pull-request-available, todoc4.0
> Fix For: 4.0.0
>
> Attachments: HIVE.21134.02.PATCH, HIVE.21134.03.PATCH, 
> HIVE.21134.04.PATCH, HIVE.21134.05.PATCH, HIVE.21134.06.PATCH, 
> HIVE.21134.07.PATCH, HIVE.21134.PATCH
>
>
> This Jira is to get the Hive Build Version as UDF.



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


[jira] [Commented] (HIVE-21134) Hive Build Version as UDF

2019-01-25 Thread Peter Vary (JIRA)


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

Peter Vary commented on HIVE-21134:
---

[~rmsm...@gmail.com]: Please document the new function on Apache wiki: 
https://cwiki.apache.org/confluence/display/Hive/LanguageManual+UDF#LanguageManualUDF-Built-inFunctions

> Hive Build Version as UDF
> -
>
> Key: HIVE-21134
> URL: https://issues.apache.org/jira/browse/HIVE-21134
> Project: Hive
>  Issue Type: Improvement
>Affects Versions: 4.0.0
>Reporter: Mani M
>Assignee: Mani M
>Priority: Minor
>  Labels: UDF, pull-request-available
> Fix For: 4.0.0
>
> Attachments: HIVE.21134.02.PATCH, HIVE.21134.03.PATCH, 
> HIVE.21134.04.PATCH, HIVE.21134.05.PATCH, HIVE.21134.06.PATCH, 
> HIVE.21134.07.PATCH, HIVE.21134.PATCH
>
>
> This Jira is to get the Hive Build Version as UDF.



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


[jira] [Commented] (HIVE-21134) Hive Build Version as UDF

2019-01-24 Thread Mani M (JIRA)


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

Mani M commented on HIVE-21134:
---

Hi [~pvary]

Thanks for +1.

Can you accept the pull request.

> Hive Build Version as UDF
> -
>
> Key: HIVE-21134
> URL: https://issues.apache.org/jira/browse/HIVE-21134
> Project: Hive
>  Issue Type: Improvement
>Affects Versions: 4.0.0
>Reporter: Mani M
>Assignee: Mani M
>Priority: Minor
>  Labels: UDF, pull-request-available
> Attachments: HIVE.21134.02.PATCH, HIVE.21134.03.PATCH, 
> HIVE.21134.04.PATCH, HIVE.21134.05.PATCH, HIVE.21134.06.PATCH, 
> HIVE.21134.07.PATCH, HIVE.21134.PATCH
>
>
> This Jira is to get the Hive Build Version as UDF.



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


[jira] [Commented] (HIVE-21134) Hive Build Version as UDF

2019-01-24 Thread Peter Vary (JIRA)


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

Peter Vary commented on HIVE-21134:
---

+1

> Hive Build Version as UDF
> -
>
> Key: HIVE-21134
> URL: https://issues.apache.org/jira/browse/HIVE-21134
> Project: Hive
>  Issue Type: Improvement
>Affects Versions: 4.0.0
>Reporter: Mani M
>Assignee: Mani M
>Priority: Minor
>  Labels: UDF, pull-request-available
> Attachments: HIVE.21134.02.PATCH, HIVE.21134.03.PATCH, 
> HIVE.21134.04.PATCH, HIVE.21134.05.PATCH, HIVE.21134.06.PATCH, 
> HIVE.21134.07.PATCH, HIVE.21134.PATCH
>
>
> This Jira is to get the Hive Build Version as UDF.



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


[jira] [Commented] (HIVE-21134) Hive Build Version as UDF

2019-01-24 Thread Mani M (JIRA)


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

Mani M commented on HIVE-21134:
---

HI [~pvary]

Pull request is available in the below url

 

Kindly review and accept it

[https://github.com/apache/hive/pull/521]

 

> Hive Build Version as UDF
> -
>
> Key: HIVE-21134
> URL: https://issues.apache.org/jira/browse/HIVE-21134
> Project: Hive
>  Issue Type: Improvement
>Affects Versions: 4.0.0
>Reporter: Mani M
>Assignee: Mani M
>Priority: Minor
>  Labels: UDF, pull-request-available
> Attachments: HIVE.21134.02.PATCH, HIVE.21134.03.PATCH, 
> HIVE.21134.04.PATCH, HIVE.21134.05.PATCH, HIVE.21134.06.PATCH, 
> HIVE.21134.07.PATCH, HIVE.21134.PATCH
>
>
> This Jira is to get the Hive Build Version as UDF.



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


[jira] [Commented] (HIVE-21134) Hive Build Version as UDF

2019-01-23 Thread ASF GitHub Bot (JIRA)


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

ASF GitHub Bot commented on HIVE-21134:
---

GitHub user rmsmani opened a pull request:

https://github.com/apache/hive/pull/521

Hive 21134

HIVE-21134 UDFBuildVersion source & test case

You can merge this pull request into a Git repository by running:

$ git pull https://github.com/rmsmani/hive HIVE-21134

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/hive/pull/521.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #521


commit c8ab66b17f32a6f70d379e3db3ebe9f402aa5a0e
Author: Mani M 
Date:   2019-01-23T11:04:08Z

HIVE-21134 UDFBuildVersion source

commit d36bbf0c4a477f8cbea3a0418e2d01fa59a1deba
Author: Mani M 
Date:   2019-01-23T11:05:02Z

HIVE-21134 UDFBuildVersion TestCase




> Hive Build Version as UDF
> -
>
> Key: HIVE-21134
> URL: https://issues.apache.org/jira/browse/HIVE-21134
> Project: Hive
>  Issue Type: Improvement
>Affects Versions: 4.0.0
>Reporter: Mani M
>Assignee: Mani M
>Priority: Minor
>  Labels: UDF, pull-request-available
> Attachments: HIVE.21134.02.PATCH, HIVE.21134.03.PATCH, 
> HIVE.21134.04.PATCH, HIVE.21134.05.PATCH, HIVE.21134.06.PATCH, 
> HIVE.21134.07.PATCH, HIVE.21134.PATCH
>
>
> This Jira is to get the Hive Build Version as UDF.



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


[jira] [Commented] (HIVE-21134) Hive Build Version as UDF

2019-01-22 Thread Hive QA (JIRA)


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

Hive QA commented on HIVE-21134:




Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12955768/HIVE.21134.07.PATCH

{color:green}SUCCESS:{color} +1 due to 1 test(s) being added or modified.

{color:red}ERROR:{color} -1 due to 1 failed/errored test(s), 15698 tests 
executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestMiniDruidKafkaCliDriver.testCliDriver[druidkafkamini_delimited]
 (batchId=275)
{noformat}

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

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

This message is automatically generated.

ATTACHMENT ID: 12955768 - PreCommit-HIVE-Build

> Hive Build Version as UDF
> -
>
> Key: HIVE-21134
> URL: https://issues.apache.org/jira/browse/HIVE-21134
> Project: Hive
>  Issue Type: Improvement
>Affects Versions: 4.0.0
>Reporter: Mani M
>Assignee: Mani M
>Priority: Minor
>  Labels: UDF
> Attachments: HIVE.21134.02.PATCH, HIVE.21134.03.PATCH, 
> HIVE.21134.04.PATCH, HIVE.21134.05.PATCH, HIVE.21134.06.PATCH, 
> HIVE.21134.07.PATCH, HIVE.21134.PATCH
>
>
> This Jira is to get the Hive Build Version as UDF.



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


[jira] [Commented] (HIVE-21134) Hive Build Version as UDF

2019-01-22 Thread Hive QA (JIRA)


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

Hive QA commented on HIVE-21134:


| (/) *{color:green}+1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
|| || || || {color:brown} Prechecks {color} ||
| {color:green}+1{color} | {color:green} @author {color} | {color:green}  0m  
0s{color} | {color:green} The patch does not contain any @author tags. {color} |
|| || || || {color:brown} master Compile Tests {color} ||
| {color:green}+1{color} | {color:green} mvninstall {color} | {color:green}  7m 
27s{color} | {color:green} master passed {color} |
| {color:green}+1{color} | {color:green} compile {color} | {color:green}  0m 
57s{color} | {color:green} master passed {color} |
| {color:green}+1{color} | {color:green} checkstyle {color} | {color:green}  0m 
36s{color} | {color:green} master passed {color} |
| {color:blue}0{color} | {color:blue} findbugs {color} | {color:blue}  3m 
35s{color} | {color:blue} ql in master has 2310 extant Findbugs warnings. 
{color} |
| {color:green}+1{color} | {color:green} javadoc {color} | {color:green}  0m 
51s{color} | {color:green} master passed {color} |
|| || || || {color:brown} Patch Compile Tests {color} ||
| {color:green}+1{color} | {color:green} mvninstall {color} | {color:green}  1m 
19s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} compile {color} | {color:green}  0m 
59s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} javac {color} | {color:green}  0m 
59s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} checkstyle {color} | {color:green}  0m 
35s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} whitespace {color} | {color:green}  0m 
 0s{color} | {color:green} The patch has no whitespace issues. {color} |
| {color:green}+1{color} | {color:green} findbugs {color} | {color:green}  3m 
48s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} javadoc {color} | {color:green}  0m 
50s{color} | {color:green} the patch passed {color} |
|| || || || {color:brown} Other Tests {color} ||
| {color:green}+1{color} | {color:green} asflicense {color} | {color:green}  0m 
12s{color} | {color:green} The patch does not generate ASF License warnings. 
{color} |
| {color:black}{color} | {color:black} {color} | {color:black} 21m 32s{color} | 
{color:black} {color} |
\\
\\
|| Subsystem || Report/Notes ||
| Optional Tests |  asflicense  javac  javadoc  findbugs  checkstyle  compile  |
| uname | Linux hiveptest-server-upstream 3.16.0-4-amd64 #1 SMP Debian 
3.16.36-1+deb8u1 (2016-09-03) x86_64 GNU/Linux |
| Build tool | maven |
| Personality | 
/data/hiveptest/working/yetus_PreCommit-HIVE-Build-15731/dev-support/hive-personality.sh
 |
| git revision | master / cb74a68 |
| Default Java | 1.8.0_111 |
| findbugs | v3.0.0 |
| modules | C: ql U: ql |
| Console output | 
http://104.198.109.242/logs//PreCommit-HIVE-Build-15731/yetus.txt |
| Powered by | Apache Yetushttp://yetus.apache.org |


This message was automatically generated.



> Hive Build Version as UDF
> -
>
> Key: HIVE-21134
> URL: https://issues.apache.org/jira/browse/HIVE-21134
> Project: Hive
>  Issue Type: Improvement
>Affects Versions: 4.0.0
>Reporter: Mani M
>Assignee: Mani M
>Priority: Minor
>  Labels: UDF
> Attachments: HIVE.21134.02.PATCH, HIVE.21134.03.PATCH, 
> HIVE.21134.04.PATCH, HIVE.21134.05.PATCH, HIVE.21134.06.PATCH, 
> HIVE.21134.07.PATCH, HIVE.21134.PATCH
>
>
> This Jira is to get the Hive Build Version as UDF.



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


[jira] [Commented] (HIVE-21134) Hive Build Version as UDF

2019-01-21 Thread Hive QA (JIRA)


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

Hive QA commented on HIVE-21134:




Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12955639/HIVE.21134.06.PATCH

{color:green}SUCCESS:{color} +1 due to 1 test(s) being added or modified.

{color:red}ERROR:{color} -1 due to 8 failed/errored test(s), 15697 tests 
executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[show_functions] 
(batchId=79)
org.apache.hive.jdbc.TestTriggersTezSessionPoolManager.testTriggerCustomCreatedDynamicPartitions
 (batchId=264)
org.apache.hive.jdbc.TestTriggersTezSessionPoolManager.testTriggerCustomCreatedDynamicPartitionsUnionAll
 (batchId=264)
org.apache.hive.jdbc.TestTriggersTezSessionPoolManager.testTriggerCustomNonExistent
 (batchId=264)
org.apache.hive.jdbc.TestTriggersTezSessionPoolManager.testTriggerHighBytesRead 
(batchId=264)
org.apache.hive.jdbc.TestTriggersTezSessionPoolManager.testTriggerHighShuffleBytes
 (batchId=264)
org.apache.hive.jdbc.TestTriggersTezSessionPoolManager.testTriggerSlowQueryElapsedTime
 (batchId=264)
org.apache.hive.jdbc.TestTriggersTezSessionPoolManager.testTriggerSlowQueryExecutionTime
 (batchId=264)
{noformat}

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

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

This message is automatically generated.

ATTACHMENT ID: 12955639 - PreCommit-HIVE-Build

> Hive Build Version as UDF
> -
>
> Key: HIVE-21134
> URL: https://issues.apache.org/jira/browse/HIVE-21134
> Project: Hive
>  Issue Type: Improvement
>Affects Versions: 4.0.0
>Reporter: Mani M
>Assignee: Mani M
>Priority: Minor
>  Labels: UDF
> Attachments: HIVE.21134.02.PATCH, HIVE.21134.03.PATCH, 
> HIVE.21134.04.PATCH, HIVE.21134.05.PATCH, HIVE.21134.06.PATCH, 
> HIVE.21134.PATCH
>
>
> This Jira is to get the Hive Build Version as UDF.



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


[jira] [Commented] (HIVE-21134) Hive Build Version as UDF

2019-01-21 Thread Hive QA (JIRA)


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

Hive QA commented on HIVE-21134:


| (/) *{color:green}+1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
|| || || || {color:brown} Prechecks {color} ||
| {color:green}+1{color} | {color:green} @author {color} | {color:green}  0m  
0s{color} | {color:green} The patch does not contain any @author tags. {color} |
|| || || || {color:brown} master Compile Tests {color} ||
| {color:green}+1{color} | {color:green} mvninstall {color} | {color:green}  7m 
28s{color} | {color:green} master passed {color} |
| {color:green}+1{color} | {color:green} compile {color} | {color:green}  0m 
58s{color} | {color:green} master passed {color} |
| {color:green}+1{color} | {color:green} checkstyle {color} | {color:green}  0m 
35s{color} | {color:green} master passed {color} |
| {color:blue}0{color} | {color:blue} findbugs {color} | {color:blue}  3m 
33s{color} | {color:blue} ql in master has 2310 extant Findbugs warnings. 
{color} |
| {color:green}+1{color} | {color:green} javadoc {color} | {color:green}  0m 
53s{color} | {color:green} master passed {color} |
|| || || || {color:brown} Patch Compile Tests {color} ||
| {color:green}+1{color} | {color:green} mvninstall {color} | {color:green}  1m 
18s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} compile {color} | {color:green}  0m 
57s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} javac {color} | {color:green}  0m 
57s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} checkstyle {color} | {color:green}  0m 
34s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} whitespace {color} | {color:green}  0m 
 0s{color} | {color:green} The patch has no whitespace issues. {color} |
| {color:green}+1{color} | {color:green} findbugs {color} | {color:green}  3m 
41s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} javadoc {color} | {color:green}  0m 
52s{color} | {color:green} the patch passed {color} |
|| || || || {color:brown} Other Tests {color} ||
| {color:green}+1{color} | {color:green} asflicense {color} | {color:green}  0m 
12s{color} | {color:green} The patch does not generate ASF License warnings. 
{color} |
| {color:black}{color} | {color:black} {color} | {color:black} 21m 31s{color} | 
{color:black} {color} |
\\
\\
|| Subsystem || Report/Notes ||
| Optional Tests |  asflicense  javac  javadoc  findbugs  checkstyle  compile  |
| uname | Linux hiveptest-server-upstream 3.16.0-4-amd64 #1 SMP Debian 
3.16.36-1+deb8u1 (2016-09-03) x86_64 GNU/Linux |
| Build tool | maven |
| Personality | 
/data/hiveptest/working/yetus_PreCommit-HIVE-Build-15717/dev-support/hive-personality.sh
 |
| git revision | master / ccba23f |
| Default Java | 1.8.0_111 |
| findbugs | v3.0.0 |
| modules | C: ql U: ql |
| Console output | 
http://104.198.109.242/logs//PreCommit-HIVE-Build-15717/yetus.txt |
| Powered by | Apache Yetushttp://yetus.apache.org |


This message was automatically generated.



> Hive Build Version as UDF
> -
>
> Key: HIVE-21134
> URL: https://issues.apache.org/jira/browse/HIVE-21134
> Project: Hive
>  Issue Type: Improvement
>Affects Versions: 4.0.0
>Reporter: Mani M
>Assignee: Mani M
>Priority: Minor
>  Labels: UDF
> Attachments: HIVE.21134.02.PATCH, HIVE.21134.03.PATCH, 
> HIVE.21134.04.PATCH, HIVE.21134.05.PATCH, HIVE.21134.06.PATCH, 
> HIVE.21134.PATCH
>
>
> This Jira is to get the Hive Build Version as UDF.



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


[jira] [Commented] (HIVE-21134) Hive Build Version as UDF

2019-01-20 Thread Hive QA (JIRA)


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

Hive QA commented on HIVE-21134:




Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/1296/HIVE.21134.05.PATCH

{color:green}SUCCESS:{color} +1 due to 1 test(s) being added or modified.

{color:red}ERROR:{color} -1 due to 2 failed/errored test(s), 15695 tests 
executed
*Failed tests:*
{noformat}
TestReplicationScenariosIncrementalLoadAcidTables - did not produce a 
TEST-*.xml file (likely timed out) (batchId=251)
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[show_functions] 
(batchId=79)
{noformat}

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

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

This message is automatically generated.

ATTACHMENT ID: 1296 - PreCommit-HIVE-Build

> Hive Build Version as UDF
> -
>
> Key: HIVE-21134
> URL: https://issues.apache.org/jira/browse/HIVE-21134
> Project: Hive
>  Issue Type: Improvement
>Affects Versions: 4.0.0
>Reporter: Mani M
>Assignee: Mani M
>Priority: Minor
>  Labels: UDF
> Attachments: HIVE.21134.02.PATCH, HIVE.21134.03.PATCH, 
> HIVE.21134.04.PATCH, HIVE.21134.05.PATCH, HIVE.21134.PATCH
>
>
> This Jira is to get the Hive Build Version as UDF.



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


[jira] [Commented] (HIVE-21134) Hive Build Version as UDF

2019-01-20 Thread Hive QA (JIRA)


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

Hive QA commented on HIVE-21134:


| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
|| || || || {color:brown} Prechecks {color} ||
| {color:green}+1{color} | {color:green} @author {color} | {color:green}  0m  
0s{color} | {color:green} The patch does not contain any @author tags. {color} |
|| || || || {color:brown} master Compile Tests {color} ||
| {color:green}+1{color} | {color:green} mvninstall {color} | {color:green}  7m 
25s{color} | {color:green} master passed {color} |
| {color:green}+1{color} | {color:green} compile {color} | {color:green}  1m  
0s{color} | {color:green} master passed {color} |
| {color:green}+1{color} | {color:green} checkstyle {color} | {color:green}  0m 
35s{color} | {color:green} master passed {color} |
| {color:blue}0{color} | {color:blue} findbugs {color} | {color:blue}  3m 
31s{color} | {color:blue} ql in master has 2310 extant Findbugs warnings. 
{color} |
| {color:green}+1{color} | {color:green} javadoc {color} | {color:green}  0m 
50s{color} | {color:green} master passed {color} |
|| || || || {color:brown} Patch Compile Tests {color} ||
| {color:green}+1{color} | {color:green} mvninstall {color} | {color:green}  1m 
18s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} compile {color} | {color:green}  0m 
58s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} javac {color} | {color:green}  0m 
58s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} checkstyle {color} | {color:green}  0m 
38s{color} | {color:green} the patch passed {color} |
| {color:red}-1{color} | {color:red} whitespace {color} | {color:red}  0m  
0s{color} | {color:red} The patch has 2 line(s) that end in whitespace. Use git 
apply --whitespace=fix <>. Refer https://git-scm.com/docs/git-apply 
{color} |
| {color:green}+1{color} | {color:green} findbugs {color} | {color:green}  3m 
39s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} javadoc {color} | {color:green}  0m 
52s{color} | {color:green} the patch passed {color} |
|| || || || {color:brown} Other Tests {color} ||
| {color:green}+1{color} | {color:green} asflicense {color} | {color:green}  0m 
12s{color} | {color:green} The patch does not generate ASF License warnings. 
{color} |
| {color:black}{color} | {color:black} {color} | {color:black} 21m 19s{color} | 
{color:black} {color} |
\\
\\
|| Subsystem || Report/Notes ||
| Optional Tests |  asflicense  javac  javadoc  findbugs  checkstyle  compile  |
| uname | Linux hiveptest-server-upstream 3.16.0-4-amd64 #1 SMP Debian 
3.16.36-1+deb8u1 (2016-09-03) x86_64 GNU/Linux |
| Build tool | maven |
| Personality | 
/data/hiveptest/working/yetus_PreCommit-HIVE-Build-15708/dev-support/hive-personality.sh
 |
| git revision | master / a712978 |
| Default Java | 1.8.0_111 |
| findbugs | v3.0.0 |
| whitespace | 
http://104.198.109.242/logs//PreCommit-HIVE-Build-15708/yetus/whitespace-eol.txt
 |
| modules | C: ql U: ql |
| Console output | 
http://104.198.109.242/logs//PreCommit-HIVE-Build-15708/yetus.txt |
| Powered by | Apache Yetushttp://yetus.apache.org |


This message was automatically generated.



> Hive Build Version as UDF
> -
>
> Key: HIVE-21134
> URL: https://issues.apache.org/jira/browse/HIVE-21134
> Project: Hive
>  Issue Type: Improvement
>Affects Versions: 4.0.0
>Reporter: Mani M
>Assignee: Mani M
>Priority: Minor
>  Labels: UDF
> Attachments: HIVE.21134.02.PATCH, HIVE.21134.03.PATCH, 
> HIVE.21134.04.PATCH, HIVE.21134.05.PATCH, HIVE.21134.PATCH
>
>
> This Jira is to get the Hive Build Version as UDF.



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


[jira] [Commented] (HIVE-21134) Hive Build Version as UDF

2019-01-20 Thread Hive QA (JIRA)


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

Hive QA commented on HIVE-21134:




Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/1292/HIVE.21134.04.PATCH

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

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

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-01-20 10:13:39.269
+ [[ -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-15707/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-01-20 10:13:39.272
+ cd apache-github-source-source
+ git fetch origin
+ git reset --hard HEAD
HEAD is now at a712978 HIVE-21107: Cannot find field" error during dynamically 
partitioned hash join (Vineet Garg, reviewed by Gopal V)
+ git clean -f -d
Removing ${project.basedir}/
Removing itests/${project.basedir}/
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 a712978 HIVE-21107: Cannot find field" error during dynamically 
partitioned hash join (Vineet Garg, reviewed by Gopal V)
+ git merge --ff-only origin/master
Already up-to-date.
+ date '+%Y-%m-%d %T.%3N'
2019-01-20 10:13:40.453
+ rm -rf ../yetus_PreCommit-HIVE-Build-15707
+ mkdir ../yetus_PreCommit-HIVE-Build-15707
+ git gc
+ cp -R . ../yetus_PreCommit-HIVE-Build-15707
+ mkdir /data/hiveptest/logs/PreCommit-HIVE-Build-15707/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
Going to apply patch with: git apply -p0
/data/hiveptest/working/scratch/build.patch:55: trailing whitespace.
@Description(name = "buildversion", 
/data/hiveptest/working/scratch/build.patch:56: trailing whitespace.
value = "_FUNC_() - Returns the Hive build version string - includes base" 
+ 
/data/hiveptest/working/scratch/build.patch:99: trailing whitespace.
@Description(name = "Testbuildversion", 
/data/hiveptest/working/scratch/build.patch:100: trailing whitespace.
value = "_FUNC_() - Returns the Hive build version string - includes base" 
+ 
warning: 4 lines add whitespace errors.
+ [[ maven == \m\a\v\e\n ]]
+ rm -rf /data/hiveptest/working/maven/org/apache/hive
+ mvn -B clean install -DskipTests -T 4 -q 
-Dmaven.repo.local=/data/hiveptest/working/maven
protoc-jar: executing: [/tmp/protoc4939067079375916292.exe, --version]
libprotoc 2.5.0
protoc-jar: executing: [/tmp/protoc4939067079375916292.exe, 
-I/data/hiveptest/working/apache-github-source-source/standalone-metastore/metastore-common/src/main/protobuf/org/apache/hadoop/hive/metastore,
 
--java_out=/data/hiveptest/working/apache-github-source-source/standalone-metastore/metastore-common/target/generated-sources,
 
/data/hiveptest/working/apache-github-source-source/standalone-metastore/metastore-common/src/main/protobuf/org/apache/hadoop/hive/metastore/metastore.proto]
ANTLR Parser Generator  Version 3.5.2
protoc-jar: executing: [/tmp/protoc1836385112282578607.exe, --version]
libprotoc 2.5.0
ANTLR Parser Generator  Version 3.5.2
Output file 
/data/hiveptest/working/apache-github-source-source/standalone-metastore/metastore-server/target/generated-sources/org/apache/hadoop/hive/metastore/parser/FilterParser.java
 does not exist: must build 
/data/hiveptest/working/apache-github-source-source/standalone-metastore/metastore-server/src/main/ja

[jira] [Commented] (HIVE-21134) Hive Build Version as UDF

2019-01-19 Thread Hive QA (JIRA)


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

Hive QA commented on HIVE-21134:




Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12955541/HIVE.21134.03.PATCH

{color:green}SUCCESS:{color} +1 due to 1 test(s) being added or modified.

{color:red}ERROR:{color} -1 due to 2 failed/errored test(s), 15697 tests 
executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[show_functions] 
(batchId=79)
org.apache.hadoop.hive.cli.TestMiniDruidKafkaCliDriver.testCliDriver[druidkafkamini_delimited]
 (batchId=275)
{noformat}

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

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

This message is automatically generated.

ATTACHMENT ID: 12955541 - PreCommit-HIVE-Build

> Hive Build Version as UDF
> -
>
> Key: HIVE-21134
> URL: https://issues.apache.org/jira/browse/HIVE-21134
> Project: Hive
>  Issue Type: Improvement
>Affects Versions: 4.0.0
>Reporter: Mani M
>Assignee: Mani M
>Priority: Minor
>  Labels: UDF
> Attachments: HIVE.21134.02.PATCH, HIVE.21134.03.PATCH, 
> HIVE.21134.PATCH
>
>
> This Jira is to get the Hive Build Version as UDF.



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


[jira] [Commented] (HIVE-21134) Hive Build Version as UDF

2019-01-19 Thread Hive QA (JIRA)


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

Hive QA commented on HIVE-21134:


| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
|| || || || {color:brown} Prechecks {color} ||
| {color:green}+1{color} | {color:green} @author {color} | {color:green}  0m  
0s{color} | {color:green} The patch does not contain any @author tags. {color} |
|| || || || {color:brown} master Compile Tests {color} ||
| {color:green}+1{color} | {color:green} mvninstall {color} | {color:green}  7m 
30s{color} | {color:green} master passed {color} |
| {color:green}+1{color} | {color:green} compile {color} | {color:green}  0m 
57s{color} | {color:green} master passed {color} |
| {color:green}+1{color} | {color:green} checkstyle {color} | {color:green}  0m 
35s{color} | {color:green} master passed {color} |
| {color:blue}0{color} | {color:blue} findbugs {color} | {color:blue}  3m 
34s{color} | {color:blue} ql in master has 2310 extant Findbugs warnings. 
{color} |
| {color:green}+1{color} | {color:green} javadoc {color} | {color:green}  0m 
51s{color} | {color:green} master passed {color} |
|| || || || {color:brown} Patch Compile Tests {color} ||
| {color:green}+1{color} | {color:green} mvninstall {color} | {color:green}  1m 
19s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} compile {color} | {color:green}  0m 
59s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} javac {color} | {color:green}  0m 
59s{color} | {color:green} the patch passed {color} |
| {color:red}-1{color} | {color:red} checkstyle {color} | {color:red}  0m 
36s{color} | {color:red} ql: The patch generated 3 new + 83 unchanged - 0 fixed 
= 86 total (was 83) {color} |
| {color:green}+1{color} | {color:green} whitespace {color} | {color:green}  0m 
 0s{color} | {color:green} The patch has no whitespace issues. {color} |
| {color:green}+1{color} | {color:green} findbugs {color} | {color:green}  3m 
39s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} javadoc {color} | {color:green}  0m 
50s{color} | {color:green} the patch passed {color} |
|| || || || {color:brown} Other Tests {color} ||
| {color:green}+1{color} | {color:green} asflicense {color} | {color:green}  0m 
12s{color} | {color:green} The patch does not generate ASF License warnings. 
{color} |
| {color:black}{color} | {color:black} {color} | {color:black} 21m 23s{color} | 
{color:black} {color} |
\\
\\
|| Subsystem || Report/Notes ||
| Optional Tests |  asflicense  javac  javadoc  findbugs  checkstyle  compile  |
| uname | Linux hiveptest-server-upstream 3.16.0-4-amd64 #1 SMP Debian 
3.16.36-1+deb8u1 (2016-09-03) x86_64 GNU/Linux |
| Build tool | maven |
| Personality | 
/data/hiveptest/working/yetus_PreCommit-HIVE-Build-15706/dev-support/hive-personality.sh
 |
| git revision | master / a712978 |
| Default Java | 1.8.0_111 |
| findbugs | v3.0.0 |
| checkstyle | 
http://104.198.109.242/logs//PreCommit-HIVE-Build-15706/yetus/diff-checkstyle-ql.txt
 |
| modules | C: ql U: ql |
| Console output | 
http://104.198.109.242/logs//PreCommit-HIVE-Build-15706/yetus.txt |
| Powered by | Apache Yetushttp://yetus.apache.org |


This message was automatically generated.



> Hive Build Version as UDF
> -
>
> Key: HIVE-21134
> URL: https://issues.apache.org/jira/browse/HIVE-21134
> Project: Hive
>  Issue Type: Improvement
>Affects Versions: 4.0.0
>Reporter: Mani M
>Assignee: Mani M
>Priority: Minor
>  Labels: UDF
> Attachments: HIVE.21134.02.PATCH, HIVE.21134.03.PATCH, 
> HIVE.21134.PATCH
>
>
> This Jira is to get the Hive Build Version as UDF.



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


[jira] [Commented] (HIVE-21134) Hive Build Version as UDF

2019-01-19 Thread Hive QA (JIRA)


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

Hive QA commented on HIVE-21134:




Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12955508/HIVE.21134.02.PATCH

{color:green}SUCCESS:{color} +1 due to 1 test(s) being added or modified.

{color:red}ERROR:{color} -1 due to 1 failed/errored test(s), 15697 tests 
executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[show_functions] 
(batchId=79)
{noformat}

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

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

This message is automatically generated.

ATTACHMENT ID: 12955508 - PreCommit-HIVE-Build

> Hive Build Version as UDF
> -
>
> Key: HIVE-21134
> URL: https://issues.apache.org/jira/browse/HIVE-21134
> Project: Hive
>  Issue Type: Improvement
>Affects Versions: 4.0.0
>Reporter: Mani M
>Assignee: Mani M
>Priority: Minor
>  Labels: UDF
> Attachments: HIVE.21134.02.PATCH, HIVE.21134.PATCH
>
>
> This Jira is to get the Hive Build Version as UDF.



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


[jira] [Commented] (HIVE-21134) Hive Build Version as UDF

2019-01-19 Thread Hive QA (JIRA)


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

Hive QA commented on HIVE-21134:


| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
|| || || || {color:brown} Prechecks {color} ||
| {color:green}+1{color} | {color:green} @author {color} | {color:green}  0m  
0s{color} | {color:green} The patch does not contain any @author tags. {color} |
|| || || || {color:brown} master Compile Tests {color} ||
| {color:green}+1{color} | {color:green} mvninstall {color} | {color:green}  7m 
39s{color} | {color:green} master passed {color} |
| {color:green}+1{color} | {color:green} compile {color} | {color:green}  1m  
4s{color} | {color:green} master passed {color} |
| {color:green}+1{color} | {color:green} checkstyle {color} | {color:green}  0m 
37s{color} | {color:green} master passed {color} |
| {color:blue}0{color} | {color:blue} findbugs {color} | {color:blue}  3m 
33s{color} | {color:blue} ql in master has 2310 extant Findbugs warnings. 
{color} |
| {color:green}+1{color} | {color:green} javadoc {color} | {color:green}  0m 
53s{color} | {color:green} master passed {color} |
|| || || || {color:brown} Patch Compile Tests {color} ||
| {color:green}+1{color} | {color:green} mvninstall {color} | {color:green}  1m 
19s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} compile {color} | {color:green}  0m 
58s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} javac {color} | {color:green}  0m 
58s{color} | {color:green} the patch passed {color} |
| {color:red}-1{color} | {color:red} checkstyle {color} | {color:red}  0m 
35s{color} | {color:red} ql: The patch generated 9 new + 83 unchanged - 0 fixed 
= 92 total (was 83) {color} |
| {color:red}-1{color} | {color:red} whitespace {color} | {color:red}  0m  
0s{color} | {color:red} The patch has 1 line(s) that end in whitespace. Use git 
apply --whitespace=fix <>. Refer https://git-scm.com/docs/git-apply 
{color} |
| {color:red}-1{color} | {color:red} whitespace {color} | {color:red}  0m  
0s{color} | {color:red} The patch 3 line(s) with tabs. {color} |
| {color:green}+1{color} | {color:green} findbugs {color} | {color:green}  3m 
48s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} javadoc {color} | {color:green}  0m 
52s{color} | {color:green} the patch passed {color} |
|| || || || {color:brown} Other Tests {color} ||
| {color:green}+1{color} | {color:green} asflicense {color} | {color:green}  0m 
12s{color} | {color:green} The patch does not generate ASF License warnings. 
{color} |
| {color:black}{color} | {color:black} {color} | {color:black} 21m 53s{color} | 
{color:black} {color} |
\\
\\
|| Subsystem || Report/Notes ||
| Optional Tests |  asflicense  javac  javadoc  findbugs  checkstyle  compile  |
| uname | Linux hiveptest-server-upstream 3.16.0-4-amd64 #1 SMP Debian 
3.16.36-1+deb8u1 (2016-09-03) x86_64 GNU/Linux |
| Build tool | maven |
| Personality | 
/data/hiveptest/working/yetus_PreCommit-HIVE-Build-15704/dev-support/hive-personality.sh
 |
| git revision | master / a712978 |
| Default Java | 1.8.0_111 |
| findbugs | v3.0.0 |
| checkstyle | 
http://104.198.109.242/logs//PreCommit-HIVE-Build-15704/yetus/diff-checkstyle-ql.txt
 |
| whitespace | 
http://104.198.109.242/logs//PreCommit-HIVE-Build-15704/yetus/whitespace-eol.txt
 |
| whitespace | 
http://104.198.109.242/logs//PreCommit-HIVE-Build-15704/yetus/whitespace-tabs.txt
 |
| modules | C: ql U: ql |
| Console output | 
http://104.198.109.242/logs//PreCommit-HIVE-Build-15704/yetus.txt |
| Powered by | Apache Yetushttp://yetus.apache.org |


This message was automatically generated.



> Hive Build Version as UDF
> -
>
> Key: HIVE-21134
> URL: https://issues.apache.org/jira/browse/HIVE-21134
> Project: Hive
>  Issue Type: Improvement
>Affects Versions: 4.0.0
>Reporter: Mani M
>Assignee: Mani M
>Priority: Minor
>  Labels: UDF
> Attachments: HIVE.21134.02.PATCH, HIVE.21134.PATCH
>
>
> This Jira is to get the Hive Build Version as UDF.



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


[jira] [Commented] (HIVE-21134) Hive Build Version as UDF

2019-01-18 Thread Hive QA (JIRA)


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

Hive QA commented on HIVE-21134:




Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12955493/HIVE.21134.PATCH

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

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

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-01-19 05:36:05.068
+ [[ -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-15702/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-01-19 05:36:05.071
+ cd apache-github-source-source
+ git fetch origin
+ git reset --hard HEAD
HEAD is now at a712978 HIVE-21107: Cannot find field" error during dynamically 
partitioned hash join (Vineet Garg, reviewed by Gopal V)
+ git clean -f -d
+ git checkout master
Already on 'master'
Your branch is up-to-date with 'origin/master'.
+ git reset --hard origin/master
HEAD is now at a712978 HIVE-21107: Cannot find field" error during dynamically 
partitioned hash join (Vineet Garg, reviewed by Gopal V)
+ git merge --ff-only origin/master
Already up-to-date.
+ date '+%Y-%m-%d %T.%3N'
2019-01-19 05:36:05.598
+ rm -rf ../yetus_PreCommit-HIVE-Build-15702
+ mkdir ../yetus_PreCommit-HIVE-Build-15702
+ git gc
+ cp -R . ../yetus_PreCommit-HIVE-Build-15702
+ mkdir /data/hiveptest/logs/PreCommit-HIVE-Build-15702/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
Going to apply patch with: git apply -p0
/data/hiveptest/working/scratch/build.patch:102: trailing whitespace.
String expected = String.format("%s", 
warning: 1 line adds whitespace errors.
+ [[ maven == \m\a\v\e\n ]]
+ rm -rf /data/hiveptest/working/maven/org/apache/hive
+ mvn -B clean install -DskipTests -T 4 -q 
-Dmaven.repo.local=/data/hiveptest/working/maven
protoc-jar: executing: [/tmp/protoc7832373798122397237.exe, --version]
libprotoc 2.5.0
protoc-jar: executing: [/tmp/protoc7832373798122397237.exe, 
-I/data/hiveptest/working/apache-github-source-source/standalone-metastore/metastore-common/src/main/protobuf/org/apache/hadoop/hive/metastore,
 
--java_out=/data/hiveptest/working/apache-github-source-source/standalone-metastore/metastore-common/target/generated-sources,
 
/data/hiveptest/working/apache-github-source-source/standalone-metastore/metastore-common/src/main/protobuf/org/apache/hadoop/hive/metastore/metastore.proto]
ANTLR Parser Generator  Version 3.5.2
protoc-jar: executing: [/tmp/protoc8287963022974169432.exe, --version]
libprotoc 2.5.0
ANTLR Parser Generator  Version 3.5.2
Output file 
/data/hiveptest/working/apache-github-source-source/standalone-metastore/metastore-server/target/generated-sources/org/apache/hadoop/hive/metastore/parser/FilterParser.java
 does not exist: must build 
/data/hiveptest/working/apache-github-source-source/standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/parser/Filter.g
org/apache/hadoop/hive/metastore/parser/Filter.g
log4j:WARN No appenders could be found for logger (DataNucleus.Persistence).
log4j:WARN Please initialize the log4j system properly.
DataNucleus Enhancer (version 4.1.17) for API "JDO"
DataNucleus Enhancer completed with success for 41 classes.
ANTLR Parser Generator  Version 3.5.2
Output file 
/data/hiveptest/working/apache-github-source-source/ql/target/generated-sources/antlr3/org/apache/hadoop/hive/ql/parse/HiveLexer.java