[
https://issues.apache.org/jira/browse/HBASE-18746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16152156#comment-16152156
]
Chia-Ping Tsai commented on HBASE-18746:
----------------------------------------
+1
> 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,
> HBASE-18746.branch-2.v1.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)