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

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

Chia-Ping Tsai created HBASE-18746:
--------------------------------------

             Summary: 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
            Priority: Minor
             Fix For: 1.4.0, 1.3.2, 1.5.0, 1.2.7, 2.0.0-alpha-3


{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)