You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by GitBox <gi...@apache.org> on 2020/11/06 02:10:28 UTC

[GitHub] [accumulo] keith-turner commented on issue #1317: Provide single-line output of tablet info.

keith-turner commented on issue #1317:
URL: https://github.com/apache/accumulo/issues/1317#issuecomment-722763864


   @milleruntime I suspect the code could be moved to accumulo core OR reimplemented in core (and existing code migrated to Ample). One possible way to add it to ample would be to modify TabletMetadata class to add a method like the following.
   
   ```java
   TabletState getTabletState(Set<Location> liveTservers) {
      //use tablet metadata + liveTservers to determine the state of this tablet.
     // Location is an inner class TabletMetadata
   }
   ```
   
   Then maybe Ample could have a getLiveTservers() method.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org