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

Pengcheng Xiong updated HIVE-14605:
-----------------------------------
    Target Version/s: 3.0.0  (was: 2.2.0)

> MetaException thrown when running 
> partition_column_names_with_leading_and_trailing_spaces.q under MiniLlap
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-14605
>                 URL: https://issues.apache.org/jira/browse/HIVE-14605
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 2.2.0
>            Reporter: Prasanth Jayachandran
>
> Following exception is thrown when running 
> partition_column_names_with_leading_and_trailing_spaces.q under 
> TestMiniLlapCliDriver
> {code}
> Caused by: org.apache.hadoop.hive.ql.metadata.HiveException: 
> MetaException(message:Expecting a partition with name p=a, but metastore is 
> returning a partition with name p=a .)
>         at 
> org.apache.hadoop.hive.ql.metadata.Hive.getPartition(Hive.java:2120)
>         at 
> org.apache.hadoop.hive.ql.metadata.Hive.getPartition(Hive.java:2052)
>         at 
> org.apache.hadoop.hive.ql.parse.BaseSemanticAnalyzer$TableSpec.<init>(BaseSemanticAnalyzer.java:1094)
>         ... 58 more
> Caused by: MetaException(message:Expecting a partition with name p=a, but 
> metastore is returning a partition with name p=a .)
>         at 
> org.apache.hadoop.hive.metastore.ObjectStore.getMPartition(ObjectStore.java:1892)
>         at 
> org.apache.hadoop.hive.metastore.ObjectStore.getPartitionWithAuth(ObjectStore.java:2149)
>         at sun.reflect.GeneratedMethodAccessor73.invoke(Unknown Source)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:498)
>         at 
> org.apache.hadoop.hive.metastore.RawStoreProxy.invoke(RawStoreProxy.java:101)
>         at com.sun.proxy.$Proxy116.getPartitionWithAuth(Unknown Source)
>         at 
> org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.get_partition_with_auth(HiveMetaStore.java:3165)
>         at sun.reflect.GeneratedMethodAccessor72.invoke(Unknown Source)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:498)
>         at 
> org.apache.hadoop.hive.metastore.RetryingHMSHandler.invokeInternal(RetryingHMSHandler.java:140)
>         at 
> org.apache.hadoop.hive.metastore.RetryingHMSHandler.invoke(RetryingHMSHandler.java:99)
>         at com.sun.proxy.$Proxy117.get_partition_with_auth(Unknown Source)
>         at 
> org.apache.hadoop.hive.metastore.HiveMetaStoreClient.getPartitionWithAuthInfo(HiveMetaStoreClient.java:1315)
>         at sun.reflect.GeneratedMethodAccessor71.invoke(Unknown Source)
>         at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>         at java.lang.reflect.Method.invoke(Method.java:498)
>         at 
> org.apache.hadoop.hive.metastore.RetryingMetaStoreClient.invoke(RetryingMetaStoreClient.java:162)
>         at com.sun.proxy.$Proxy118.getPartitionWithAuthInfo(Unknown Source)
>         at 
> org.apache.hadoop.hive.ql.metadata.Hive.getPartition(Hive.java:2111)
>         ... 60 more
> {code}



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

Reply via email to