hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chia-Ping Tsai (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-18746) Throw exception with job.getStatus().getFailureInfo() when ExportSnapshot fails
Date Sun, 03 Sep 2017 06:58:02 GMT
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)

Mime
View raw message