hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chengxiang Li (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-7761) Failed to analyze stats with CounterStatsAggregator.[SparkBranch]
Date Mon, 18 Aug 2014 07:08:19 GMT

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

Chengxiang Li updated HIVE-7761:
--------------------------------

    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:
{noformat}
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)
{noformat}

  was:
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)


> Failed to analyze stats with CounterStatsAggregator.[SparkBranch]
> -----------------------------------------------------------------
>
>                 Key: HIVE-7761
>                 URL: https://issues.apache.org/jira/browse/HIVE-7761
>             Project: Hive
>          Issue Type: Bug
>          Components: Spark
>            Reporter: Chengxiang Li
>
> 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:
> {noformat}
> 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)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message