You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Chia-Ping Tsai (JIRA)" <ji...@apache.org> on 2017/09/03 18:45:00 UTC

[jira] [Commented] (HBASE-18746) Throw exception with job.getStatus().getFailureInfo() when ExportSnapshot fails

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

Chia-Ping Tsai commented on HBASE-18746:
----------------------------------------

{code}
       // TODO: Replace the fixed string with job.getStatus().getFailureInfo()
       // when it will be available on all the supported versions.
{code}
The comment will be stale after we commit ur patch, so you can also remove it.

> Throw exception with job.getStatus().getFailureInfo() when ExportSnapshot fails
> -------------------------------------------------------------------------------
>
>                 Key: HBASE-18746
>                 URL: https://issues.apache.org/jira/browse/HBASE-18746
>             Project: HBase
>          Issue Type: Improvement
>          Components: mapreduce, snapshots
>            Reporter: Chia-Ping Tsai
>            Assignee: ChunHao
>            Priority: Minor
>              Labels: beginner
>             Fix For: 1.4.0, 1.3.2, 1.5.0, 1.2.7, 2.0.0-alpha-3
>
>         Attachments: HBASE-18746.branch-2.v0.patch
>
>
> {code}
>     // Run the MR Job
>     if (!job.waitForCompletion(true)) {
>       // TODO: Replace the fixed string with job.getStatus().getFailureInfo()
>       // when it will be available on all the supported versions.
>       throw new ExportSnapshotException("Copy Files Map-Reduce Job failed");
>     }
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)