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

Matteo Bertozzi commented on HBASE-10622:
-----------------------------------------

{quote}In the run(), can we cleanup/delete snapshotTmpDir if Step 2 failed so 
that we don't ask the user to manually clean it since it comes from our Step 1 
copy?{quote}
There is an -overwrite option that does already this, but I think the general 
problem should be solved by the last line of this patch where the 
snapshotTmpDir is removed if you get an exception.

{quote}Another issue is probably more involved, and does not need to be covered 
in this JIRA. It is the overall progress reporting of the ExportSnapshot 
job.{quote}
other jira, it requires a new InputFormat/RecordReader with the progress based 
on the file size and not on the number of lines in the input file. The only 
progress that we track is the current file copy


> Improve log and Exceptions in Export Snapshot 
> ----------------------------------------------
>
>                 Key: HBASE-10622
>                 URL: https://issues.apache.org/jira/browse/HBASE-10622
>             Project: HBase
>          Issue Type: Bug
>          Components: snapshots
>            Reporter: Matteo Bertozzi
>            Assignee: Matteo Bertozzi
>             Fix For: 0.99.0
>
>         Attachments: HBASE-10622-v0.patch, HBASE-10622-v1.patch, 
> HBASE-10622-v2.patch, HBASE-10622-v3.patch
>
>
> from the logs of export snapshot is not really clear what's going on,
> adding some extra information useful to debug, and in some places the real 
> exception can be thrown



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to