accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Keith Turner (JIRA)" <>
Subject [jira] [Commented] (ACCUMULO-1335) DU command should be available through the java API
Date Wed, 24 Apr 2013 13:13:16 GMT


Keith Turner commented on ACCUMULO-1335:

I took a quick look at the patch.  It sounds like there may be a second patch, so I did not
look at in detail.

The javadoc below is incomplete.  But if the return type will change, probably does not matter.

  @return  a map keyed by a set of table names where the value

Did you mean Configuration object? in the comment below?  Check out org.apache.accumulo.core.util.CachedConfiguration.
 Eric created this a long time ago.  He found that when a tablet server was loading lots of
tablets, loading and parsing the hadoop config for each tablet was actually slowing down Accumulo

  // TODO: Refactor so that a connector isn't created each time.

Should the new method in the API throw TableNotFoundExcep?
> DU command should be available through the java API
> ---------------------------------------------------
>                 Key: ACCUMULO-1335
>                 URL:
>             Project: Accumulo
>          Issue Type: Improvement
>            Reporter: Chris McCubbin
>            Assignee: Corey J. Nolet
>            Priority: Minor
>             Fix For: 1.6.0
>         Attachments: ACCUMULO-1335.patch
> The du command that is available in the shell would be useful to have available in the
java API (e.g. through connector.instanceOperations() for example). It seems to be quite difficult
to recreate this value without the shell.

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:

View raw message