accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <>
Subject [jira] [Commented] (ACCUMULO-1992) Don't use CachedConfiguration in examples
Date Thu, 12 Dec 2013 00:28:07 GMT


ASF subversion and git services commented on ACCUMULO-1992:

Commit 7b7521dd92b81f4c91eae2415f6d835944b15355 in branch refs/heads/1.6.0-SNAPSHOT from [~ctubbsii]
[;h=7b7521d ]

ACCUMULO-1992 Remove CachedConfiguration from examples

> 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