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 created issue -
        Hide
        ASF subversion and git services added a comment -

        Commit 7b7521dd92b81f4c91eae2415f6d835944b15355 in branch refs/heads/1.6.0-SNAPSHOT from Christopher Tubbs
        [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=7b7521d ]

        ACCUMULO-1992 Remove CachedConfiguration from examples

        Show
        ASF subversion and git services added a comment - Commit 7b7521dd92b81f4c91eae2415f6d835944b15355 in branch refs/heads/1.6.0-SNAPSHOT from Christopher Tubbs [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=7b7521d ] ACCUMULO-1992 Remove CachedConfiguration from examples
        Hide
        ASF subversion and git services added a comment -

        Commit 7b7521dd92b81f4c91eae2415f6d835944b15355 in branch refs/heads/master from Christopher Tubbs
        [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=7b7521d ]

        ACCUMULO-1992 Remove CachedConfiguration from examples

        Show
        ASF subversion and git services added a comment - Commit 7b7521dd92b81f4c91eae2415f6d835944b15355 in branch refs/heads/master from Christopher Tubbs [ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=7b7521d ] ACCUMULO-1992 Remove CachedConfiguration from examples
        Christopher Tubbs made changes -
        Field Original Value New Value
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development