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

Hive QA commented on HIVE-18767:
--------------------------------



Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12937561/HIVE-18767.2-branch-2.3.patch

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

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

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'
2018-08-31 07:34:22.490
+ [[ -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-13525/source-prep.txt
+ [[ false == \t\r\u\e ]]
+ mkdir -p maven ivy
+ [[ git = \s\v\n ]]
+ [[ git = \g\i\t ]]
+ [[ -z branch-2.3 ]]
+ [[ -d apache-github-branch-2.3-source ]]
+ [[ ! -d apache-github-branch-2.3-source/.git ]]
+ [[ ! -d apache-github-branch-2.3-source ]]
+ date '+%Y-%m-%d %T.%3N'
2018-08-31 07:34:22.531
+ cd apache-github-branch-2.3-source
+ git fetch origin
>From https://github.com/apache/hive
   498021f..bd32deb  branch-2   -> origin/branch-2
   8516883..2992c20  branch-3   -> origin/branch-3
   11ddb8b..bcc7df9  branch-3.1 -> origin/branch-3.1
   cc8ac97..a77e046  master     -> origin/master
   eb261cb..758ff44  master-txnstats -> origin/master-txnstats
 * [new branch]      storage-branch-2.7 -> origin/storage-branch-2.7
 * [new tag]         rel/release-3.1.0 -> rel/release-3.1.0
 * [new tag]         rel/storage-release-2.7.0 -> rel/storage-release-2.7.0
 * [new tag]         storage-release-2.7.0-rc1 -> storage-release-2.7.0-rc1
+ git reset --hard HEAD
HEAD is now at 2fe5186 HIVE-18767: Some alterPartitions invocations throw 
'NumberFormatException: null' (Mass Dosage via Peter Vary)
+ git clean -f -d
+ git checkout branch-2.3
Already on 'branch-2.3'
Your branch is up-to-date with 'origin/branch-2.3'.
+ git reset --hard origin/branch-2.3
HEAD is now at 2fe5186 HIVE-18767: Some alterPartitions invocations throw 
'NumberFormatException: null' (Mass Dosage via Peter Vary)
+ git merge --ff-only origin/branch-2.3
Already up-to-date.
+ date '+%Y-%m-%d %T.%3N'
2018-08-31 07:34:35.094
+ rm -rf ../yetus_PreCommit-HIVE-Build-13525
+ mkdir ../yetus_PreCommit-HIVE-Build-13525
+ git gc
+ cp -R . ../yetus_PreCommit-HIVE-Build-13525
+ mkdir /data/hiveptest/logs/PreCommit-HIVE-Build-13525/yetus
+ patchCommandPath=/data/hiveptest/working/scratch/smart-apply-patch.sh
+ patchFilePath=/data/hiveptest/working/scratch/build.patch
+ [[ -f /data/hiveptest/working/scratch/build.patch ]]
+ chmod +x /data/hiveptest/working/scratch/smart-apply-patch.sh
+ /data/hiveptest/working/scratch/smart-apply-patch.sh 
/data/hiveptest/working/scratch/build.patch
error: patch failed: 
metastore/src/java/org/apache/hadoop/hive/metastore/MetaStoreUtils.java:306
Falling back to three-way merge...
Applied patch to 
'metastore/src/java/org/apache/hadoop/hive/metastore/MetaStoreUtils.java' with 
conflicts.
error: patch failed: 
metastore/src/test/org/apache/hadoop/hive/metastore/TestMetaStoreUtils.java:18
Falling back to three-way merge...
Applied patch to 
'metastore/src/test/org/apache/hadoop/hive/metastore/TestMetaStoreUtils.java' 
cleanly.
Going to apply patch with: git apply -p0
/data/hiveptest/working/scratch/build.patch:11: trailing whitespace.
   * 
error: patch failed: 
metastore/src/java/org/apache/hadoop/hive/metastore/MetaStoreUtils.java:306
Falling back to three-way merge...
Applied patch to 
'metastore/src/java/org/apache/hadoop/hive/metastore/MetaStoreUtils.java' with 
conflicts.
error: patch failed: 
metastore/src/test/org/apache/hadoop/hive/metastore/TestMetaStoreUtils.java:18
Falling back to three-way merge...
Applied patch to 
'metastore/src/test/org/apache/hadoop/hive/metastore/TestMetaStoreUtils.java' 
cleanly.
U metastore/src/java/org/apache/hadoop/hive/metastore/MetaStoreUtils.java
warning: 1 line adds whitespace errors.
+ result=1
+ '[' 1 -ne 0 ']'
+ rm -rf yetus_PreCommit-HIVE-Build-13525
+ exit 1
'
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12937561 - PreCommit-HIVE-Build

> Some alterPartitions invocations throw 'NumberFormatException: null'
> --------------------------------------------------------------------
>
>                 Key: HIVE-18767
>                 URL: https://issues.apache.org/jira/browse/HIVE-18767
>             Project: Hive
>          Issue Type: Bug
>          Components: Metastore
>    Affects Versions: 2.3.3, 3.1.0, 4.0.0, 3.2.0
>            Reporter: Yuming Wang
>            Assignee: Mass Dosage
>            Priority: Major
>             Fix For: 2.3.3, 4.0.0
>
>         Attachments: HIVE-18767-branch-2.3.patch, HIVE-18767-branch-2.patch, 
> HIVE-18767-branch-3.1.patch, HIVE-18767-branch-3.patch, HIVE-18767.1.patch, 
> HIVE-18767.2-branch-2.3.patch, HIVE-18767.2.patch, HIVE-18767.3.patch, 
> HIVE-18767.4.patch, HIVE-18767.5.patch, HIVE-18767.6.patch
>
>
> Error messages:
> {noformat}
> [info] Cause: java.lang.NumberFormatException: null
> [info] at java.lang.Long.parseLong(Long.java:552)
> [info] at java.lang.Long.parseLong(Long.java:631)
> [info] at 
> org.apache.hadoop.hive.metastore.MetaStoreUtils.isFastStatsSame(MetaStoreUtils.java:315)
> [info] at 
> org.apache.hadoop.hive.metastore.HiveAlterHandler.alterPartitions(HiveAlterHandler.java:605)
> [info] at 
> org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.alter_partitions_with_environment_context(HiveMetaStore.java:3837)
> [info] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> [info] at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> [info] at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> [info] at java.lang.reflect.Method.invoke(Method.java:498)
> [info] at 
> org.apache.hadoop.hive.metastore.RetryingHMSHandler.invokeInternal(RetryingHMSHandler.java:148)
> [info] at 
> org.apache.hadoop.hive.metastore.RetryingHMSHandler.invoke(RetryingHMSHandler.java:107)
> [info] at 
> com.sun.proxy.$Proxy23.alter_partitions_with_environment_context(Unknown 
> Source)
> [info] at 
> org.apache.hadoop.hive.metastore.HiveMetaStoreClient.alter_partitions(HiveMetaStoreClient.java:1527)
> {noformat}



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

Reply via email to