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

Nonsense error when configuring instance.volumes.replacements

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 1.7.0
    • 1.6.3, 1.7.1, 1.8.0
    • None
    • None

    Description

      billie.rinaldi was working with me, trying to configure an existing 1.7.0 instance to start working with HDFS HA.

      Take the following:

      instance.volumes=hdfs://nn1:port/accumulo
      

      and then move to

      instance.volumes=hdfs://nameservice/accumulo
      instance.volumes.replacements=hdfs://nn1:port/accumulo hdfs://nameservice/accumulo
      

      While this is the correct configuration, accumulo init --add-volumes spews this error

      hdfs://nameservice/accumulo is set to be replaced in instance.volumes.replacements and should not appear in instance.volumes. It is highly recommended that this property be removed as data could still be written to this volume.
      

      It looks like this check that was added in ACCUMULO-2793 incorrectly compares the wrong element in the replacement pairs. It's reasonable to assume that the check was meant to verify that we don't try to write more data to a volume that is intended to be replaced.

      Attachments

        Issue Links

          Activity

            People

              elserj Josh Elser
              elserj Josh Elser
              Votes:
              0 Vote for this issue
              Watchers:
              2 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 - 0.5h
                  0.5h