Hive
  1. Hive
  2. HIVE-7170

Fix display_colstats_tbllvl.q in trunk

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.14.0
    • Fix Version/s: 0.14.0
    • Component/s: None
    • Labels:
      None

      Description

      display_colstats_tbllvl.q test case fails will NPE. Following is the exception

      java.lang.NullPointerException
              at org.apache.hadoop.hive.metastore.StatObjectConverter.fillColumnStatisticsData(StatObjectConverter.java:369)
              at org.apache.hadoop.hive.metastore.MetaStoreDirectSql.makeColumnStats(MetaStoreDirectSql.java:973)
              at org.apache.hadoop.hive.metastore.MetaStoreDirectSql.getTableStats(MetaStoreDirectSql.java:888)
              at org.apache.hadoop.hive.metastore.ObjectStore$5.getSqlResult(ObjectStore.java:5769)
              at org.apache.hadoop.hive.metastore.ObjectStore$5.getSqlResult(ObjectStore.java:5766)
              at org.apache.hadoop.hive.metastore.ObjectStore$GetHelper.run(ObjectStore.java:2208)
              at org.apache.hadoop.hive.metastore.ObjectStore.getTableColumnStatisticsInternal(ObjectStore.java:5766)
              at org.apache.hadoop.hive.metastore.VerifyingObjectStore.getTableColumnStatistics(VerifyingObjectStore.java:103)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:606)
              at org.apache.hadoop.hive.metastore.RawStoreProxy.invoke(RawStoreProxy.java:108)
              at com.sun.proxy.$Proxy9.getTableColumnStatistics(Unknown Source)
              at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.get_table_statistics_req(HiveMetaStore.java:3556)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:606)
              at org.apache.hadoop.hive.metastore.RetryingHMSHandler.invoke(RetryingHMSHandler.java:105)
              at com.sun.proxy.$Proxy11.get_table_statistics_req(Unknown Source)
              at org.apache.hadoop.hive.metastore.HiveMetaStoreClient.getTableColumnStatistics(HiveMetaStoreClient.java:1224)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      
      

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Navis
            Reporter:
            Prasanth Jayachandran
          • Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development