Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
Description
CounterStatsAggregator analyze stats with MR counter, we need to implement another CounterStatsAggregator based on spark speficed counter to analyze table stats. Here is the error information:
2014-08-17 23:46:34,436 ERROR stats.CounterStatsAggregator (CounterStatsAggregator.java:connect(51)) - Failed to get Job instance for null java.lang.ClassCastException: org.apache.hadoop.hive.ql.exec.spark.SparkTask cannot be cast to org.apache.hadoop.hive.ql.exec.mr.MapRedTask at org.apache.hadoop.hive.ql.stats.CounterStatsAggregator.connect(CounterStatsAggregator.java:46) at org.apache.hadoop.hive.ql.exec.StatsTask.createStatsAggregator(StatsTask.java:282) at org.apache.hadoop.hive.ql.exec.StatsTask.aggregateStats(StatsTask.java:142) at org.apache.hadoop.hive.ql.exec.StatsTask.execute(StatsTask.java:118) at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:161) at org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:85) at org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:1534) at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:1301) at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1113) at org.apache.hadoop.hive.ql.Driver.run(Driver.java:937) at org.apache.hadoop.hive.ql.Driver.run(Driver.java:927) at org.apache.hadoop.hive.cli.CliDriver.processLocalCmd(CliDriver.java:246) at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:198)
Attachments
Issue Links
- depends upon
-
HIVE-7551 expand spark accumulator to support hive counter [Spark Branch]
- Resolved
- duplicates
-
HIVE-7819 CounterStatsAggregator throws a class cast exception
- Resolved
- is depended upon by
-
HIVE-7729 Enable q-tests for ANALYZE TABLE feature [Spark Branch]
- Resolved
- is part of
-
HIVE-7292 Hive on Spark
- Resolved