Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-14605

MetaException thrown when running partition_column_names_with_leading_and_trailing_spaces.q under MiniLlap

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.2.0
    • None
    • None
    • None

    Description

      Following exception is thrown when running partition_column_names_with_leading_and_trailing_spaces.q under TestMiniLlapCliDriver

      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
      
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            prasanth_j Prasanth Jayachandran
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: