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

Jonathan Hsieh commented on HBASE-7415:
---------------------------------------

Nice. a quick screenshot to show where this shows up in the ui?

Why not put the status monitor into CreateTableHandler?  (oh the joys of 
inheritance, it feels like it should there).

Put a pre process status update? 
{code}
+
+  @Override
+  public void process() {
+    super.process();
+    status.markComplete("Snapshot clone complete and table enabling!");
   }
{code}

nit: this constructor seems to be getting a bit excessive.  we should follow up 
and see if we really needed this in a helper instead of just folding into the 
restore handler.
{code}
   public RestoreSnapshotHelper(final Configuration conf, final FileSystem fs,
       final CatalogTracker catalogTracker,
       final SnapshotDescription snapshotDescription, final Path snapshotDir,
       final HTableDescriptor tableDescriptor, final Path tableDir,
-      final SnapshotExceptionSnare monitor)
+      final SnapshotExceptionSnare monitor, final MonitoredTask status)
   {
{code}
                
> [snapshots] Add task information to snapshot operation
> ------------------------------------------------------
>
>                 Key: HBASE-7415
>                 URL: https://issues.apache.org/jira/browse/HBASE-7415
>             Project: HBase
>          Issue Type: Sub-task
>          Components: Client, master, regionserver, snapshots, Zookeeper
>            Reporter: Jesse Yates
>            Assignee: Jesse Yates
>             Fix For: hbase-6055, 0.96.0
>
>         Attachments: hbase-7415-v0.patch
>
>
> Snapshot operations should have some sort of progresss information available 
> via the WebUI so admins can track progress of operations. This should go a 
> long way to enable 'good' admins to not hose their clusters by running 
> concurrent snapshot operations (e.g. rename while a clone is in progress).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to