Accumulo
  1. Accumulo
  2. ACCUMULO-1992

Don't use CachedConfiguration in examples

    Details

    • Type: Task Task
    • Status: Resolved
    • Priority: Major 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.

        Activity

        Christopher Tubbs made changes -
        Field Original Value New Value
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Christopher Tubbs created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development