hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xuefu Zhang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-9063) NPE in RemoteSparkJobStatus.getSparkStatistics [Spark Branch]
Date Wed, 10 Dec 2014 20:39:12 GMT

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

Xuefu Zhang updated HIVE-9063:
------------------------------
       Resolution: Fixed
    Fix Version/s: spark-branch
           Status: Resolved  (was: Patch Available)

Committed to Spark branch. Thanks, Rui.

> NPE in RemoteSparkJobStatus.getSparkStatistics [Spark Branch]
> -------------------------------------------------------------
>
>                 Key: HIVE-9063
>                 URL: https://issues.apache.org/jira/browse/HIVE-9063
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Spark
>            Reporter: Rui Li
>            Assignee: Rui Li
>             Fix For: spark-branch
>
>         Attachments: HIVE-9063.1-spark.patch
>
>
> SparkCounters may be null and NPE is thrown:
> {noformat}
> 2014-12-09 22:37:15,268 ERROR [HiveServer2-Background-Pool: Thread-44]: exec.Task (SparkTask.java:execute(119))
- Failed to execute spark task.
> java.lang.NullPointerException
>   at org.apache.hadoop.hive.ql.exec.spark.Statistic.SparkStatisticsBuilder.add(SparkStatisticsBuilder.java:49)
>   at org.apache.hadoop.hive.ql.exec.spark.status.impl.RemoteSparkJobStatus.getSparkStatistics(RemoteSparkJobStatus.java:112)
>   at org.apache.hadoop.hive.ql.exec.spark.SparkTask.execute(SparkTask.java:110)
>   at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:160)
>   at org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:85)
>   at org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:1646)
>   at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:1406)
>   at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1218)
>   at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1045)
>   at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1040)
>   at org.apache.hive.service.cli.operation.SQLOperation.runQuery(SQLOperation.java:145)
>   at org.apache.hive.service.cli.operation.SQLOperation.access$100(SQLOperation.java:70)
>   at org.apache.hive.service.cli.operation.SQLOperation$1$1.run(SQLOperation.java:197)
>   at java.security.AccessController.doPrivileged(Native Method)
>   at javax.security.auth.Subject.doAs(Subject.java:415)
>   at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1614)
>   at org.apache.hive.service.cli.operation.SQLOperation$1.run(SQLOperation.java:209)
>   at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>   at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>   at java.lang.Thread.run(Thread.java:745)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message