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

connector.instanceOperations().setSystemProperty(String,String) returns silently for non-changeable ZK Property's

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.5.0, 1.5.1, 1.5.2, 1.6.0, 1.6.1, 1.6.2
    • 1.8.0
    • master

    Description

      Only a subset of the configuration Property's in Accumulo are modifiable via ZooKeeper (defined by Property.isValidZooProperty).

      connector.instanceOperations().setProperty(String,String) updates the provided property name with the given value in ZooKeeper. The thing that is never mentioned is that only a subset of the properties in Accumulo are allowed to be overriden in ZooKeeper. Furthermore, the user receives no indication that their call failed.

      The Javadoc on setSystemProperty(String,String) should be updated to inform the users that only some properties can be changed by this method, and some information should be returned back to the user to let them know that their call did not succeed (likely an Exception).

      Attachments

        1. ACCUMULO-3604.v3.patch
          6 kB
          Josh Elser
        2. ACCUMULO-3604.v2.patch
          5 kB
          Jeffrey S Schwartz
        3. ACCUMULO-3604.patch
          12 kB
          Jeffrey S Schwartz

        Activity

          People

            jschwartz73 Jeffrey S Schwartz
            elserj Josh Elser
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 10m
                10m