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

Boolean values in SiteConfiguration must use lower-case starting characters

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.7.0
    • 1.7.1, 1.8.0
    • client
    • None

    Description

      Would be nice if True and False where accepted in addition to true and false.

      Noticed this via ShellConfigIT

      Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.411 sec <<< FAILURE! - in org.apache.accumulo.test.ShellConfigIT
      experimentalPropTest(org.apache.accumulo.test.ShellConfigIT)  Time elapsed: 2.09 sec  <<< ERROR!
      java.lang.IllegalArgumentException: Unable to load client config from /etc/accumulo/conf/client.conf
      	at org.apache.accumulo.core.conf.ConfigSanityCheck.fatal(ConfigSanityCheck.java:134)
      	at org.apache.accumulo.core.conf.ConfigSanityCheck.validate(ConfigSanityCheck.java:60)
      	at org.apache.accumulo.core.conf.SiteConfiguration.getInstance(SiteConfiguration.java:67)
      	at org.apache.accumulo.shell.Shell.getZooInstance(Shell.java:489)
      	at org.apache.accumulo.shell.Shell.setInstance(Shell.java:452)
      	at org.apache.accumulo.shell.Shell.config(Shell.java:306)
      	at org.apache.accumulo.test.ShellServerIT$TestShell.<init>(ShellServerIT.java:162)
      	at org.apache.accumulo.test.ShellConfigIT.experimentalPropTest(ShellConfigIT.java:90)
      

      Attachments

        Activity

          People

            elserj Josh Elser
            elserj Josh Elser
            Votes:
            0 Vote for this issue
            Watchers:
            1 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 - 20m
                20m