Christopher Tubbs created ACCUMULO-1992:
-------------------------------------------
Summary: Don't use CachedConfiguration in examples
Key: ACCUMULO-1992
URL: https://issues.apache.org/jira/browse/ACCUMULO-1992
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
(v6.1.4#6159)