hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hive QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-19053) RemoteSparkJobStatus#getSparkJobInfo treats all exceptions as timeout errors
Date Wed, 06 Jun 2018 22:27:00 GMT

    [ https://issues.apache.org/jira/browse/HIVE-19053?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16503995#comment-16503995
] 

Hive QA commented on HIVE-19053:
--------------------------------



Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12926639/HIVE-19053.2.patch

{color:red}ERROR:{color} -1 due to no test(s) being added or modified.

{color:red}ERROR:{color} -1 due to 1 failed/errored test(s), 14476 tests executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.ql.exec.tez.TestWorkloadManager.testAsyncSessionInitFailures (batchId=296)
{noformat}

Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/11568/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/11568/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-11568/

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.TestCheckPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.YetusPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
Tests exited with: TestsFailedException: 1 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12926639 - PreCommit-HIVE-Build

> RemoteSparkJobStatus#getSparkJobInfo treats all exceptions as timeout errors
> ----------------------------------------------------------------------------
>
>                 Key: HIVE-19053
>                 URL: https://issues.apache.org/jira/browse/HIVE-19053
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Spark
>            Reporter: Sahil Takiar
>            Assignee: Aihua Xu
>            Priority: Major
>         Attachments: HIVE-19053.1.patch, HIVE-19053.2.patch
>
>
> {code}
>     Future<SparkJobInfo> getJobInfo = sparkClient.run(
>         new GetJobInfoJob(jobHandle.getClientJobId(), sparkJobId));
>     try {
>       return getJobInfo.get(sparkClientTimeoutInSeconds, TimeUnit.SECONDS);
>     } catch (Exception e) {
>       LOG.warn("Failed to get job info.", e);
>       throw new HiveException(e, ErrorMsg.SPARK_GET_JOB_INFO_TIMEOUT,
>           Long.toString(sparkClientTimeoutInSeconds));
>     }
> {code}
> It should only throw {{ErrorMsg.SPARK_GET_JOB_INFO_TIMEOUT}} if a {{TimeoutException}}
is thrown. Other exceptions should be handled independently.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message