[jira] [Updated] (HIVE-21001) Upgrade to calcite-1.18

2019-01-20 Thread Zoltan Haindrich (JIRA)


 [ 
https://issues.apache.org/jira/browse/HIVE-21001?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Zoltan Haindrich updated HIVE-21001:

Attachment: HIVE-21001.10.patch

> Upgrade to calcite-1.18
> ---
>
> Key: HIVE-21001
> URL: https://issues.apache.org/jira/browse/HIVE-21001
> Project: Hive
>  Issue Type: Improvement
>Reporter: Zoltan Haindrich
>Assignee: Zoltan Haindrich
>Priority: Major
> Attachments: HIVE-21001.01.patch, HIVE-21001.01.patch, 
> HIVE-21001.02.patch, HIVE-21001.03.patch, HIVE-21001.04.patch, 
> HIVE-21001.05.patch, HIVE-21001.06.patch, HIVE-21001.06.patch, 
> HIVE-21001.07.patch, HIVE-21001.08.patch, HIVE-21001.08.patch, 
> HIVE-21001.08.patch, HIVE-21001.09.patch, HIVE-21001.09.patch, 
> HIVE-21001.09.patch, HIVE-21001.10.patch
>
>
> CLEAR LIBRARY CACHE 



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


[jira] [Updated] (HIVE-21001) Upgrade to calcite-1.18

2019-01-20 Thread Zoltan Haindrich (JIRA)


 [ 
https://issues.apache.org/jira/browse/HIVE-21001?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Zoltan Haindrich updated HIVE-21001:

Description: CLEAR LIBRARY CACHE 

> Upgrade to calcite-1.18
> ---
>
> Key: HIVE-21001
> URL: https://issues.apache.org/jira/browse/HIVE-21001
> Project: Hive
>  Issue Type: Improvement
>Reporter: Zoltan Haindrich
>Assignee: Zoltan Haindrich
>Priority: Major
> Attachments: HIVE-21001.01.patch, HIVE-21001.01.patch, 
> HIVE-21001.02.patch, HIVE-21001.03.patch, HIVE-21001.04.patch, 
> HIVE-21001.05.patch, HIVE-21001.06.patch, HIVE-21001.06.patch, 
> HIVE-21001.07.patch, HIVE-21001.08.patch, HIVE-21001.08.patch, 
> HIVE-21001.08.patch, HIVE-21001.09.patch, HIVE-21001.09.patch, 
> HIVE-21001.09.patch
>
>
> CLEAR LIBRARY CACHE 



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


[jira] [Commented] (HIVE-21091) Arrow serializer sets null at wrong index

2019-01-20 Thread Hive QA (JIRA)


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

Hive QA commented on HIVE-21091:


| (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:blue}0{color} | {color:blue} mvndep {color} | {color:blue}  1m 
38s{color} | {color:blue} Maven dependency ordering for branch {color} |
| {color:green}+1{color} | {color:green} mvninstall {color} | {color:green}  6m 
50s{color} | {color:green} master passed {color} |
| {color:green}+1{color} | {color:green} compile {color} | {color:green}  1m 
36s{color} | {color:green} master passed {color} |
| {color:green}+1{color} | {color:green} checkstyle {color} | {color:green}  0m 
51s{color} | {color:green} master passed {color} |
| {color:blue}0{color} | {color:blue} findbugs {color} | {color:blue}  3m 
48s{color} | {color:blue} ql in master has 2310 extant Findbugs warnings. 
{color} |
| {color:blue}0{color} | {color:blue} findbugs {color} | {color:blue}  0m 
40s{color} | {color:blue} itests/hive-unit in master has 2 extant Findbugs 
warnings. {color} |
| {color:green}+1{color} | {color:green} javadoc {color} | {color:green}  1m 
17s{color} | {color:green} master passed {color} |
|| || || || {color:brown} Patch Compile Tests {color} ||
| {color:blue}0{color} | {color:blue} mvndep {color} | {color:blue}  0m 
25s{color} | {color:blue} Maven dependency ordering for patch {color} |
| {color:green}+1{color} | {color:green} mvninstall {color} | {color:green}  1m 
59s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} compile {color} | {color:green}  1m 
35s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} javac {color} | {color:green}  1m 
35s{color} | {color:green} the patch passed {color} |
| {color:red}-1{color} | {color:red} checkstyle {color} | {color:red}  0m 
38s{color} | {color:red} ql: The patch generated 38 new + 69 unchanged - 142 
fixed = 107 total (was 211) {color} |
| {color:red}-1{color} | {color:red} checkstyle {color} | {color:red}  0m 
13s{color} | {color:red} itests/hive-unit: The patch generated 4 new + 1 
unchanged - 3 fixed = 5 total (was 4) {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}  4m 
27s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} javadoc {color} | {color:green}  1m 
23s{color} | {color:green} the patch passed {color} |
|| || || || {color:brown} Other Tests {color} ||
| {color:green}+1{color} | {color:green} asflicense {color} | {color:green}  0m 
13s{color} | {color:green} The patch does not generate ASF License warnings. 
{color} |
| {color:black}{color} | {color:black} {color} | {color:black} 28m 18s{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-15711/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-15711/yetus/diff-checkstyle-ql.txt
 |
| checkstyle | 
http://104.198.109.242/logs//PreCommit-HIVE-Build-15711/yetus/diff-checkstyle-itests_hive-unit.txt
 |
| modules | C: ql itests/hive-unit U: . |
| Console output | 
http://104.198.109.242/logs//PreCommit-HIVE-Build-15711/yetus.txt |
| Powered by | Apache Yetushttp://yetus.apache.org |


This message was automatically generated.



> Arrow serializer sets null at wrong index
> -
>
> Key: HIVE-21091
> URL: https://issues.apache.org/jira/browse/HIVE-21091
> Project: Hive
>  Issue Type: Bug
>Reporter: Teddy Choi
>Assignee: Teddy Choi
>Priority: Major
>  Labels: pull-request-available
> Attachments: HIVE-21091.1.patch, HIVE-21091.2.patch, 
> HIVE-21091.3.patch
>
>
> Arrow serializer sets null at wrong index



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


[jira] [Commented] (HIVE-21091) Arrow serializer sets null at wrong index

2019-01-20 Thread Teddy Choi (JIRA)


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

Teddy Choi commented on HIVE-21091:
---

After adding unit tests, I found that there's still a bug in null handling for 
lists. I fixed it, too. Thanks [~bslim] for advising for UT.

> Arrow serializer sets null at wrong index
> -
>
> Key: HIVE-21091
> URL: https://issues.apache.org/jira/browse/HIVE-21091
> Project: Hive
>  Issue Type: Bug
>Reporter: Teddy Choi
>Assignee: Teddy Choi
>Priority: Major
>  Labels: pull-request-available
> Attachments: HIVE-21091.1.patch, HIVE-21091.2.patch, 
> HIVE-21091.3.patch
>
>
> Arrow serializer sets null at wrong index



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


[jira] [Updated] (HIVE-21091) Arrow serializer sets null at wrong index

2019-01-20 Thread Teddy Choi (JIRA)


 [ 
https://issues.apache.org/jira/browse/HIVE-21091?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Teddy Choi updated HIVE-21091:
--
Attachment: HIVE-21091.3.patch

> Arrow serializer sets null at wrong index
> -
>
> Key: HIVE-21091
> URL: https://issues.apache.org/jira/browse/HIVE-21091
> Project: Hive
>  Issue Type: Bug
>Reporter: Teddy Choi
>Assignee: Teddy Choi
>Priority: Major
>  Labels: pull-request-available
> Attachments: HIVE-21091.1.patch, HIVE-21091.2.patch, 
> HIVE-21091.3.patch
>
>
> Arrow serializer sets null at wrong index



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


[jira] [Commented] (HIVE-21091) Arrow serializer sets null at wrong index

2019-01-20 Thread Hive QA (JIRA)


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

Hive QA commented on HIVE-21091:




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

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

{color:red}ERROR:{color} -1 due to 21 failed/errored test(s), 15699 tests 
executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestCliDriver.testCliDriver[vector_groupby_reduce] 
(batchId=61)
org.apache.hadoop.hive.cli.TestMiniDruidKafkaCliDriver.testCliDriver[druidkafkamini_delimited]
 (batchId=275)
org.apache.hadoop.hive.metastore.TestObjectStore.catalogs (batchId=230)
org.apache.hadoop.hive.metastore.TestObjectStore.testDatabaseOps (batchId=230)
org.apache.hadoop.hive.metastore.TestObjectStore.testDeprecatedConfigIsOverwritten
 (batchId=230)
org.apache.hadoop.hive.metastore.TestObjectStore.testDirectSQLDropParitionsCleanup
 (batchId=230)
org.apache.hadoop.hive.metastore.TestObjectStore.testDirectSQLDropPartitionsCacheCrossSession
 (batchId=230)
org.apache.hadoop.hive.metastore.TestObjectStore.testDirectSqlErrorMetrics 
(batchId=230)
org.apache.hadoop.hive.metastore.TestObjectStore.testMasterKeyOps (batchId=230)
org.apache.hadoop.hive.metastore.TestObjectStore.testMaxEventResponse 
(batchId=230)
org.apache.hadoop.hive.metastore.TestObjectStore.testPartitionOps (batchId=230)
org.apache.hadoop.hive.metastore.TestObjectStore.testQueryCloseOnError 
(batchId=230)
org.apache.hadoop.hive.metastore.TestObjectStore.testRoleOps (batchId=230)
org.apache.hadoop.hive.metastore.TestObjectStore.testTableOps (batchId=230)
org.apache.hadoop.hive.metastore.TestObjectStore.testUseSSLProperty 
(batchId=230)
org.apache.hive.hcatalog.mapreduce.TestHCatPartitioned.testHCatPartitionedTable[1]
 (batchId=209)
org.apache.hive.hcatalog.mapreduce.TestHCatPartitioned.testHCatPartitionedTable[2]
 (batchId=209)
org.apache.hive.jdbc.TestTriggersTezSessionPoolManager.testTriggerCustomCreatedDynamicPartitions
 (batchId=264)
org.apache.hive.jdbc.TestTriggersTezSessionPoolManager.testTriggerCustomCreatedDynamicPartitionsUnionAll
 (batchId=264)
org.apache.hive.jdbc.TestTriggersTezSessionPoolManager.testTriggerHighShuffleBytes
 (batchId=264)
org.apache.hive.jdbc.TestTriggersTezSessionPoolManager.testTriggerSlowQueryExecutionTime
 (batchId=264)
{noformat}

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

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: 21 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12955592 - PreCommit-HIVE-Build

> Arrow serializer sets null at wrong index
> -
>
> Key: HIVE-21091
> URL: https://issues.apache.org/jira/browse/HIVE-21091
> Project: Hive
>  Issue Type: Bug
>Reporter: Teddy Choi
>Assignee: Teddy Choi
>Priority: Major
>  Labels: pull-request-available
> Attachments: HIVE-21091.1.patch, HIVE-21091.2.patch, 
> HIVE-21091.3.patch
>
>
> Arrow serializer sets null at wrong index



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


[jira] [Commented] (HIVE-21091) Arrow serializer sets null at wrong index

2019-01-20 Thread Hive QA (JIRA)


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

Hive QA commented on HIVE-21091:


| (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:blue}0{color} | {color:blue} mvndep {color} | {color:blue}  0m 
59s{color} | {color:blue} Maven dependency ordering for branch {color} |
| {color:green}+1{color} | {color:green} mvninstall {color} | {color:green}  6m 
58s{color} | {color:green} master passed {color} |
| {color:green}+1{color} | {color:green} compile {color} | {color:green}  1m 
39s{color} | {color:green} master passed {color} |
| {color:green}+1{color} | {color:green} checkstyle {color} | {color:green}  0m 
51s{color} | {color:green} master passed {color} |
| {color:blue}0{color} | {color:blue} findbugs {color} | {color:blue}  3m 
30s{color} | {color:blue} ql in master has 2310 extant Findbugs warnings. 
{color} |
| {color:blue}0{color} | {color:blue} findbugs {color} | {color:blue}  0m 
40s{color} | {color:blue} itests/hive-unit in master has 2 extant Findbugs 
warnings. {color} |
| {color:green}+1{color} | {color:green} javadoc {color} | {color:green}  1m 
13s{color} | {color:green} master passed {color} |
|| || || || {color:brown} Patch Compile Tests {color} ||
| {color:blue}0{color} | {color:blue} mvndep {color} | {color:blue}  0m 
26s{color} | {color:blue} Maven dependency ordering for patch {color} |
| {color:green}+1{color} | {color:green} mvninstall {color} | {color:green}  1m 
55s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} compile {color} | {color:green}  1m 
36s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} javac {color} | {color:green}  1m 
36s{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 38 new + 70 unchanged - 141 
fixed = 108 total (was 211) {color} |
| {color:red}-1{color} | {color:red} checkstyle {color} | {color:red}  0m 
14s{color} | {color:red} itests/hive-unit: The patch generated 4 new + 1 
unchanged - 3 fixed = 5 total (was 4) {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}  4m 
33s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} javadoc {color} | {color:green}  1m 
14s{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} 27m  9s{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-15710/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-15710/yetus/diff-checkstyle-ql.txt
 |
| checkstyle | 
http://104.198.109.242/logs//PreCommit-HIVE-Build-15710/yetus/diff-checkstyle-itests_hive-unit.txt
 |
| modules | C: ql itests/hive-unit U: . |
| Console output | 
http://104.198.109.242/logs//PreCommit-HIVE-Build-15710/yetus.txt |
| Powered by | Apache Yetushttp://yetus.apache.org |


This message was automatically generated.



> Arrow serializer sets null at wrong index
> -
>
> Key: HIVE-21091
> URL: https://issues.apache.org/jira/browse/HIVE-21091
> Project: Hive
>  Issue Type: Bug
>Reporter: Teddy Choi
>Assignee: Teddy Choi
>Priority: Major
>  Labels: pull-request-available
> Attachments: HIVE-21091.1.patch, HIVE-21091.2.patch
>
>
> Arrow serializer sets null at wrong index



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


[jira] [Updated] (HIVE-21091) Arrow serializer sets null at wrong index

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


 [ 
https://issues.apache.org/jira/browse/HIVE-21091?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated HIVE-21091:
--
Labels: pull-request-available  (was: )

> Arrow serializer sets null at wrong index
> -
>
> Key: HIVE-21091
> URL: https://issues.apache.org/jira/browse/HIVE-21091
> Project: Hive
>  Issue Type: Bug
>Reporter: Teddy Choi
>Assignee: Teddy Choi
>Priority: Major
>  Labels: pull-request-available
> Attachments: HIVE-21091.1.patch, HIVE-21091.2.patch
>
>
> Arrow serializer sets null at wrong index



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


[jira] [Commented] (HIVE-21091) Arrow serializer sets null at wrong index

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


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

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

GitHub user pudidic opened a pull request:

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

HIVE-21091: Arrow serializer sets null at wrong index



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

$ git pull https://github.com/pudidic/hive HIVE-21091

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

https://github.com/apache/hive/pull/517.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 #517


commit 0a365f5cd56acd85bc66c41398c0503793585680
Author: Teddy Choi 
Date:   2019-01-18T06:19:42Z

arrow serde list fix

commit 2cdc73b6d06ad442a5ead3a065e748158bf39bc2
Author: Teddy Choi 
Date:   2019-01-18T06:23:08Z

Merge remote-tracking branch 'apache/master' into arrow-serde-list-fix

commit cc026de3a2614c935821cb5290a1913308af159d
Author: Teddy Choi 
Date:   2019-01-18T08:16:48Z

Clean code

commit e6a7e431e602b0688b77aa8c2367eb725c660524
Author: Teddy Choi 
Date:   2019-01-18T08:28:12Z

Clean code

commit 6bc06eeeb9146e43c00cc87432a69cb896d2580d
Author: Teddy Choi 
Date:   2019-01-21T04:54:44Z

Merge branch 'master' into HIVE-21091




> Arrow serializer sets null at wrong index
> -
>
> Key: HIVE-21091
> URL: https://issues.apache.org/jira/browse/HIVE-21091
> Project: Hive
>  Issue Type: Bug
>Reporter: Teddy Choi
>Assignee: Teddy Choi
>Priority: Major
>  Labels: pull-request-available
> Attachments: HIVE-21091.1.patch, HIVE-21091.2.patch
>
>
> Arrow serializer sets null at wrong index



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


[jira] [Updated] (HIVE-21091) Arrow serializer sets null at wrong index

2019-01-20 Thread Teddy Choi (JIRA)


 [ 
https://issues.apache.org/jira/browse/HIVE-21091?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Teddy Choi updated HIVE-21091:
--
Attachment: HIVE-21091.2.patch

> Arrow serializer sets null at wrong index
> -
>
> Key: HIVE-21091
> URL: https://issues.apache.org/jira/browse/HIVE-21091
> Project: Hive
>  Issue Type: Bug
>Reporter: Teddy Choi
>Assignee: Teddy Choi
>Priority: Major
> Attachments: HIVE-21091.1.patch, HIVE-21091.2.patch
>
>
> Arrow serializer sets null at wrong index



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


[jira] [Commented] (HIVE-21138) Fix some of the alerts raised by lgtm.com

2019-01-20 Thread Hive QA (JIRA)


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

Hive QA commented on HIVE-21138:




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

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

{color:green}SUCCESS:{color} +1 due to 15696 tests passed

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

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
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12955567 - PreCommit-HIVE-Build

> Fix some of the alerts raised by lgtm.com
> -
>
> Key: HIVE-21138
> URL: https://issues.apache.org/jira/browse/HIVE-21138
> Project: Hive
>  Issue Type: Improvement
>Reporter: Malcolm Taylor
>Assignee: Malcolm Taylor
>Priority: Major
> Attachments: HIVE-21138.patch
>
>
> lgtm.com has identified a number of issues with the hive code base 
> ([https://lgtm.com/projects/g/apache/hive/alerts/?mode=tree).] This issue is 
> to address some of the more straightforward ones. Specifically,
>  * Array index out of bounds inOpProcFactory
>  * Dereferenced variable is always null in ObjectStore
>  * Self assignment in CheckConstraint and Vectorizer
>  * several cases of Contradictory type checks
>  * several cases of Missing format argument



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


[jira] [Commented] (HIVE-21138) Fix some of the alerts raised by lgtm.com

2019-01-20 Thread Hive QA (JIRA)


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

Hive QA commented on HIVE-21138:


| (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:blue}0{color} | {color:blue} mvndep {color} | {color:blue}  0m 
57s{color} | {color:blue} Maven dependency ordering for branch {color} |
| {color:green}+1{color} | {color:green} mvninstall {color} | {color:green}  6m 
51s{color} | {color:green} master passed {color} |
| {color:green}+1{color} | {color:green} compile {color} | {color:green}  2m  
4s{color} | {color:green} master passed {color} |
| {color:green}+1{color} | {color:green} checkstyle {color} | {color:green}  1m 
 4s{color} | {color:green} master passed {color} |
| {color:blue}0{color} | {color:blue} findbugs {color} | {color:blue}  2m  
9s{color} | {color:blue} standalone-metastore/metastore-common in master has 29 
extant Findbugs warnings. {color} |
| {color:blue}0{color} | {color:blue} findbugs {color} | {color:blue}  1m  
2s{color} | {color:blue} standalone-metastore/metastore-server in master has 
188 extant Findbugs warnings. {color} |
| {color:blue}0{color} | {color:blue} findbugs {color} | {color:blue}  3m 
32s{color} | {color:blue} ql in master has 2310 extant Findbugs warnings. 
{color} |
| {color:blue}0{color} | {color:blue} findbugs {color} | {color:blue}  0m 
38s{color} | {color:blue} llap-server in master has 81 extant Findbugs 
warnings. {color} |
| {color:green}+1{color} | {color:green} javadoc {color} | {color:green}  2m  
6s{color} | {color:green} master passed {color} |
|| || || || {color:brown} Patch Compile Tests {color} ||
| {color:blue}0{color} | {color:blue} mvndep {color} | {color:blue}  0m 
25s{color} | {color:blue} Maven dependency ordering for patch {color} |
| {color:green}+1{color} | {color:green} mvninstall {color} | {color:green}  2m 
34s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} compile {color} | {color:green}  2m  
3s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} javac {color} | {color:green}  2m  
3s{color} | {color:green} the patch passed {color} |
| {color:red}-1{color} | {color:red} checkstyle {color} | {color:red}  0m 
40s{color} | {color:red} ql: The patch generated 3 new + 953 unchanged - 24 
fixed = 956 total (was 977) {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}  2m 
13s{color} | {color:green} metastore-common in the patch passed. {color} |
| {color:green}+1{color} | {color:green} findbugs {color} | {color:green}  1m  
6s{color} | {color:green} standalone-metastore/metastore-server generated 0 new 
+ 184 unchanged - 4 fixed = 184 total (was 188) {color} |
| {color:green}+1{color} | {color:green} findbugs {color} | {color:green}  3m 
45s{color} | {color:green} ql generated 0 new + 2305 unchanged - 5 fixed = 2305 
total (was 2310) {color} |
| {color:green}+1{color} | {color:green} findbugs {color} | {color:green}  0m 
44s{color} | {color:green} llap-server in the patch passed. {color} |
| {color:green}+1{color} | {color:green} javadoc {color} | {color:green}  2m 
12s{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} 37m 37s{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-15709/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-15709/yetus/diff-checkstyle-ql.txt
 |
| modules | C: standalone-metastore/metastore-common 
standalone-metastore/metastore-server ql llap-server U: . |
| Console output | 
http://104.198.109.242/logs//PreCommit-HIVE-Build-15709/yetus.txt |
| Powered by | Apache Yetushttp://yetus.apache.org |


This message was automatically generated.



> Fix some of the alerts raised by lgtm.co

[jira] [Updated] (HIVE-21138) Fix some of the alerts raised by lgtm.com

2019-01-20 Thread Malcolm Taylor (JIRA)


 [ 
https://issues.apache.org/jira/browse/HIVE-21138?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Malcolm Taylor updated HIVE-21138:
--
Attachment: (was: HIVE-21138.patch)

> Fix some of the alerts raised by lgtm.com
> -
>
> Key: HIVE-21138
> URL: https://issues.apache.org/jira/browse/HIVE-21138
> Project: Hive
>  Issue Type: Improvement
>Reporter: Malcolm Taylor
>Assignee: Malcolm Taylor
>Priority: Major
>
> lgtm.com has identified a number of issues with the hive code base 
> ([https://lgtm.com/projects/g/apache/hive/alerts/?mode=tree).] This issue is 
> to address some of the more straightforward ones. Specifically,
>  * Array index out of bounds inOpProcFactory
>  * Dereferenced variable is always null in ObjectStore
>  * Self assignment in CheckConstraint and Vectorizer
>  * several cases of Contradictory type checks
>  * several cases of Missing format argument



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


[jira] [Issue Comment Deleted] (HIVE-21138) Fix some of the alerts raised by lgtm.com

2019-01-20 Thread Malcolm Taylor (JIRA)


 [ 
https://issues.apache.org/jira/browse/HIVE-21138?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Malcolm Taylor updated HIVE-21138:
--
Comment: was deleted

(was: Patch attached. Please review.)

> Fix some of the alerts raised by lgtm.com
> -
>
> Key: HIVE-21138
> URL: https://issues.apache.org/jira/browse/HIVE-21138
> Project: Hive
>  Issue Type: Improvement
>Reporter: Malcolm Taylor
>Assignee: Malcolm Taylor
>Priority: Major
> Attachments: HIVE-21138.patch
>
>
> lgtm.com has identified a number of issues with the hive code base 
> ([https://lgtm.com/projects/g/apache/hive/alerts/?mode=tree).] This issue is 
> to address some of the more straightforward ones. Specifically,
>  * Array index out of bounds inOpProcFactory
>  * Dereferenced variable is always null in ObjectStore
>  * Self assignment in CheckConstraint and Vectorizer
>  * several cases of Contradictory type checks
>  * several cases of Missing format argument



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


[jira] [Updated] (HIVE-21138) Fix some of the alerts raised by lgtm.com

2019-01-20 Thread Malcolm Taylor (JIRA)


 [ 
https://issues.apache.org/jira/browse/HIVE-21138?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Malcolm Taylor updated HIVE-21138:
--
Attachment: HIVE-21138.patch
Status: Patch Available  (was: In Progress)

Patch HIVE-21138.patch submitted. Please review.

> Fix some of the alerts raised by lgtm.com
> -
>
> Key: HIVE-21138
> URL: https://issues.apache.org/jira/browse/HIVE-21138
> Project: Hive
>  Issue Type: Improvement
>Reporter: Malcolm Taylor
>Assignee: Malcolm Taylor
>Priority: Major
> Attachments: HIVE-21138.patch
>
>
> lgtm.com has identified a number of issues with the hive code base 
> ([https://lgtm.com/projects/g/apache/hive/alerts/?mode=tree).] This issue is 
> to address some of the more straightforward ones. Specifically,
>  * Array index out of bounds inOpProcFactory
>  * Dereferenced variable is always null in ObjectStore
>  * Self assignment in CheckConstraint and Vectorizer
>  * several cases of Contradictory type checks
>  * several cases of Missing format argument



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


[jira] [Work started] (HIVE-21138) Fix some of the alerts raised by lgtm.com

2019-01-20 Thread Malcolm Taylor (JIRA)


 [ 
https://issues.apache.org/jira/browse/HIVE-21138?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Work on HIVE-21138 started by Malcolm Taylor.
-
> Fix some of the alerts raised by lgtm.com
> -
>
> Key: HIVE-21138
> URL: https://issues.apache.org/jira/browse/HIVE-21138
> Project: Hive
>  Issue Type: Improvement
>Reporter: Malcolm Taylor
>Assignee: Malcolm Taylor
>Priority: Major
> Attachments: HIVE-21138.patch
>
>
> lgtm.com has identified a number of issues with the hive code base 
> ([https://lgtm.com/projects/g/apache/hive/alerts/?mode=tree).] This issue is 
> to address some of the more straightforward ones. Specifically,
>  * Array index out of bounds inOpProcFactory
>  * Dereferenced variable is always null in ObjectStore
>  * Self assignment in CheckConstraint and Vectorizer
>  * several cases of Contradictory type checks
>  * several cases of Missing format argument



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


[jira] [Updated] (HIVE-21138) Fix some of the alerts raised by lgtm.com

2019-01-20 Thread Malcolm Taylor (JIRA)


 [ 
https://issues.apache.org/jira/browse/HIVE-21138?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Malcolm Taylor updated HIVE-21138:
--
Attachment: (was: HIVE-21138.1.patch)

> Fix some of the alerts raised by lgtm.com
> -
>
> Key: HIVE-21138
> URL: https://issues.apache.org/jira/browse/HIVE-21138
> Project: Hive
>  Issue Type: Improvement
>Reporter: Malcolm Taylor
>Assignee: Malcolm Taylor
>Priority: Major
> Attachments: HIVE-21138.patch
>
>
> lgtm.com has identified a number of issues with the hive code base 
> ([https://lgtm.com/projects/g/apache/hive/alerts/?mode=tree).] This issue is 
> to address some of the more straightforward ones. Specifically,
>  * Array index out of bounds inOpProcFactory
>  * Dereferenced variable is always null in ObjectStore
>  * Self assignment in CheckConstraint and Vectorizer
>  * several cases of Contradictory type checks
>  * several cases of Missing format argument



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


[jira] [Updated] (HIVE-21138) Fix some of the alerts raised by lgtm.com

2019-01-20 Thread Malcolm Taylor (JIRA)


 [ 
https://issues.apache.org/jira/browse/HIVE-21138?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Malcolm Taylor updated HIVE-21138:
--
Attachment: HIVE-21138.patch

> Fix some of the alerts raised by lgtm.com
> -
>
> Key: HIVE-21138
> URL: https://issues.apache.org/jira/browse/HIVE-21138
> Project: Hive
>  Issue Type: Improvement
>Reporter: Malcolm Taylor
>Assignee: Malcolm Taylor
>Priority: Major
> Attachments: HIVE-21138.1.patch, HIVE-21138.patch
>
>
> lgtm.com has identified a number of issues with the hive code base 
> ([https://lgtm.com/projects/g/apache/hive/alerts/?mode=tree).] This issue is 
> to address some of the more straightforward ones. Specifically,
>  * Array index out of bounds inOpProcFactory
>  * Dereferenced variable is always null in ObjectStore
>  * Self assignment in CheckConstraint and Vectorizer
>  * several cases of Contradictory type checks
>  * several cases of Missing format argument



--
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] [Updated] (HIVE-21134) Hive Build Version as UDF

2019-01-20 Thread Mani M (JIRA)


 [ 
https://issues.apache.org/jira/browse/HIVE-21134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mani M updated HIVE-21134:
--
Status: Patch Available  (was: In Progress)

Fixed the compilation issue in Unit Test case file.

> 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] [Updated] (HIVE-21134) Hive Build Version as UDF

2019-01-20 Thread Mani M (JIRA)


 [ 
https://issues.apache.org/jira/browse/HIVE-21134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mani M updated HIVE-21134:
--
Attachment: HIVE.21134.05.PATCH

> 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] [Updated] (HIVE-21134) Hive Build Version as UDF

2019-01-20 Thread Mani M (JIRA)


 [ 
https://issues.apache.org/jira/browse/HIVE-21134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mani M updated HIVE-21134:
--
Status: In Progress  (was: Patch Available)

Fixing the compilation issue

> 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.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] [Updated] (HIVE-21134) Hive Build Version as UDF

2019-01-20 Thread Mani M (JIRA)


 [ 
https://issues.apache.org/jira/browse/HIVE-21134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mani M updated HIVE-21134:
--
Status: Patch Available  (was: In Progress)

Fixed Checkstyle issue, and no issues in local checkstyle.

> 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.PATCH
>
>
> This Jira is to get the Hive Build Version as UDF.



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


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

2019-01-20 Thread Mani M (JIRA)


 [ 
https://issues.apache.org/jira/browse/HIVE-21134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mani M updated HIVE-21134:
--
Attachment: HIVE.21134.04.PATCH

> 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.PATCH
>
>
> This Jira is to get the Hive Build Version as UDF.



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


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

2019-01-20 Thread Mani M (JIRA)


 [ 
https://issues.apache.org/jira/browse/HIVE-21134?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mani M updated HIVE-21134:
--
Status: In Progress  (was: Patch Available)

Resolving checkstyle issue.

> 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)