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

Mass Dosage commented on HIVE-18767:
------------------------------------

OK, I have renamed patch to "HIVE-18767-branch-2.3.patch". The documentation on 
branches in the Wiki is out of date but "branch-2.3" looks the most likely 
candidate for where the next 2.3 release will be coming from. Please correct me 
if I'm wrong. I did a fresh checkout of that branch and ensured that the patch 
applies cleanly:
{code}
patch -p0 --dry-run < ../HIVE-18767-branch-2.3.patch 
checking file 
metastore/src/java/org/apache/hadoop/hive/metastore/MetaStoreUtils.java
checking file 
metastore/src/test/org/apache/hadoop/hive/metastore/TestMetaStoreUtils.java
{code}
So hopefully we're good to go.


> 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.2
>            Reporter: Yuming Wang
>            Assignee: Mass Dosage
>            Priority: Major
>             Fix For: 2.3.3
>
>         Attachments: HIVE-18767-branch-2.3.patch, HIVE-18767.1.patch, 
> HIVE-18767.2.patch, HIVE-18767.3.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