jmark99 opened a new pull request, #3451:
URL: https://github.com/apache/accumulo/pull/3451

   Add an API method for obtaining hosting goals for a tablet. This PR creates 
the new API method and also the corresponding shell command.
   
   In order to simplify setting and retrieving hosting goals the previously 
created shell command, 'goal', which sets hosting goals was renamed to 
'setgoal'. The shell command to retrieve hosting goals is named 'getgoal'.
   
   Change summary:
   
   * A class, HostingGoalForTablet, was created to hold the hosting goal 
informtion from a tablet query.
   * TableOperations class was updated to contain the 'getTabletHostingGoal' 
API method.
   * TabletOperationsImpl class was updated to contain the API implementation 
details.
   * A simple typo was corrected in the KeyExtent class.
   * Shell class modifications include updating the TableCommands section with 
the new GetTabletHostingGoalsCommand and renaming the TabletHostingGoalCommand 
to SetTabletHostingGoalCommand.
   * Corrected a minor issue in the renamed SetTabletHostingGoalCommand usage 
statement. The statement was incorrectly using 'range' rather than 'row' in its 
output.
   * Created a new class, GetTabletHostingGoalCommand.
   * Wrote integration tests for both the API and Shell commands.
   
   Closes #3302 
   


-- 
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.

To unsubscribe, e-mail: notifications-unsubscr...@accumulo.apache.org

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

Reply via email to