accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Tubbs (JIRA)" <>
Subject [jira] [Resolved] (ACCUMULO-1992) Don't use CachedConfiguration in examples
Date Thu, 12 Dec 2013 00:32:12 GMT


Christopher Tubbs resolved ACCUMULO-1992.

    Resolution: Fixed

> Don't use CachedConfiguration in examples
> -----------------------------------------
>                 Key: ACCUMULO-1992
>                 URL:
>             Project: Accumulo
>          Issue Type: Task
>            Reporter: Christopher Tubbs
>            Assignee: Christopher Tubbs
>             Fix For: 1.6.0
> CachedConfiguration is an internal singleton object we use to avoid reading the Hadoop
Configuration files multiple times in our server code. It should not be used in examples,
because that encourages users to to use things not in our public API, and because it hides
information about the kind of object expected in the API methods we call in the examples.
> new Configuration() should be acceptable in the examples, because it makes it clear that
it's a hadoop configuration object, unrelated to Accumulo's code.

This message was sent by Atlassian JIRA

View raw message