Uploaded image for project: 'Accumulo'
  1. Accumulo
  2. ACCUMULO-1992

Don't use CachedConfiguration in examples

    Details

    • Type: Task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.6.0
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              ctubbsii Christopher Tubbs
              Reporter:
              ctubbsii Christopher Tubbs
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: