Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-11160 Auto-gather column stats
  3. HIVE-18235

Columnstats gather on mm tables: re-enable disabled test

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0
    • Statistics, Transactions
    • None

    Description

      test: dp_counter_mm.q

      at:

      insert overwrite table src2 partition (value) select * from src where key < 100;
      

      produces:

      2017-12-06T02:39:54,447 DEBUG [d709e6e0-7573-4c79-bb38-b043a88a8dde main] metrics.PerfLogger: </PERFLOG method=set_aggr_stats_for start=1512556794433 end=1512556794447 duration=14 from=org.apache.hadoop.hive.metastore.RetryingHMSHandler threadId=0 retryCount=-1 error=true>
      2017-12-06T02:39:54,447 DEBUG [d709e6e0-7573-4c79-bb38-b043a88a8dde main] metadata.Hive: NoSuchObjectException(message:Partition for which stats is gathered doesn't exist.)
              at org.apache.hadoop.hive.metastore.ObjectStore.updatePartitionColumnStatistics(ObjectStore.java:7644)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              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:97)
              at com.sun.proxy.$Proxy52.updatePartitionColumnStatistics(Unknown Source)
              at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.updatePartitonColStats(HiveMetaStore.java:5340)
              at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.set_aggr_stats_for(HiveMetaStore.java:6853)
              at sun.reflect.GeneratedMethodAccessor81.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:147)
              at org.apache.hadoop.hive.metastore.RetryingHMSHandler.invoke(RetryingHMSHandler.java:108)
              at com.sun.proxy.$Proxy54.set_aggr_stats_for(Unknown Source)
              at org.apache.hadoop.hive.metastore.HiveMetaStoreClient.setPartitionColumnStatistics(HiveMetaStoreClient.java:1748)
              at org.apache.hadoop.hive.ql.metadata.SessionHiveMetaStoreClient.setPartitionColumnStatistics(SessionHiveMetaStoreClient.java:374)
              at sun.reflect.GeneratedMethodAccessor80.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:211)
              at com.sun.proxy.$Proxy55.setPartitionColumnStatistics(Unknown Source)
              at org.apache.hadoop.hive.ql.metadata.Hive.setPartitionColumnStatistics(Hive.java:4215)
              at org.apache.hadoop.hive.ql.stats.ColStatsProcessor.persistColumnStats(ColStatsProcessor.java:180)
              at org.apache.hadoop.hive.ql.stats.ColStatsProcessor.process(ColStatsProcessor.java:84)
              at org.apache.hadoop.hive.ql.exec.StatsTask.execute(StatsTask.java:108)
              at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:205)
              at org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:97)
              at org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:2230)
              at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:1882)
              at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1613)
              at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1358)
              at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1346)
              at org.apache.hadoop.hive.cli.CliDriver.processLocalCmd(CliDriver.java:239)
      

      Attachments

        1. HIVE-18235.01.patch
          5 kB
          Zoltan Haindrich

        Issue Links

          Activity

            People

              kgyrtkirk Zoltan Haindrich
              kgyrtkirk Zoltan Haindrich
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: