Uploaded image for project: 'Flume (READ-ONLY)'
  1. Flume (READ-ONLY)
  2. FLUME-170

Report failure to user if user attempts to map logical node to multiple physical nodes.

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: v0.9.1u1, v0.9.2
    • Component/s: None
    • Labels:
      None

      Description

      FLUME-45 prevents logical nodes from being mapped to more than one physical node. Currently, the only indication this has happened is in the master's log files. Ideally this would return failure to the user when they attempt to execute mapping the command.

      Suggested approaches to propagate information:
      1) make addLogicalNode report information by either return boolean, true if success, false if failed, or (ii) throwing IllegalStateException. The latter approach seems more complicated, because all call sites may need to be careful to check all for this.
      2) Modify CreateLogicalNodeForm.buildExecable..exec(...) so that it throws an IllegalStateException if addLogicalNode failed. The command/execable infrastructure is setup to captured exns and report them to the user.

        Attachments

          Activity

            People

            • Assignee:
              esammer Eric Sammer
              Reporter:
              jon Jonathan Hsieh
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: