Hadoop Common
  1. Hadoop Common
  2. HADOOP-8007

HA: use substitution token for fencing argument

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-alpha
    • Fix Version/s: 2.0.0-alpha
    • Component/s: ha
    • Labels:
      None

      Description

      Per HADOOP-7983 currently the fencer always passes the target host:port to fence as the first argument to the fence script, it would be better to use a substitution token. That is to say, the user would configure "myfence.sh $TARGETHOST foo bar" and Hadoop would substitute the target. This would allow use of pre-existing scripts that might have a different ordering of arguments without a wrapper.

      1. hadoop-8007.txt
        7 kB
        Todd Lipcon
      2. hadoop-8007.txt
        7 kB
        Todd Lipcon

        Issue Links

          Activity

          Eli Collins created issue -
          Aaron T. Myers made changes -
          Field Original Value New Value
          Affects Version/s 0.24.0 [ 12317652 ]
          Affects Version/s HA Branch (HDFS-1623) [ 12317569 ]
          Target Version/s HA Branch (HDFS-1623) [ 12317569 ] 0.24.0 [ 12317652 ]
          Aaron T. Myers made changes -
          Parent HADOOP-7454 [ 12513186 ]
          Reporter Eli Collins [ eli ] Aaron T. Myers [ atm ]
          Issue Type Sub-task [ 7 ] Improvement [ 4 ]
          Todd Lipcon made changes -
          Link This issue is related to HDFS-3084 [ HDFS-3084 ]
          Todd Lipcon made changes -
          Assignee Eli Collins [ eli ] Todd Lipcon [ tlipcon ]
          Todd Lipcon made changes -
          Attachment hadoop-8007.txt [ 12521280 ]
          Todd Lipcon made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Affects Version/s 2.0.0 [ 12320352 ]
          Affects Version/s 0.24.0 [ 12317652 ]
          Target Version/s 0.24.0 [ 12317652 ] 2.0.0 [ 12320352 ]
          Todd Lipcon made changes -
          Attachment hadoop-8007.txt [ 12521287 ]
          Todd Lipcon made changes -
          Link This issue relates to MAPREDUCE-4103 [ MAPREDUCE-4103 ]
          Todd Lipcon made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Hadoop Flags Reviewed [ 10343 ]
          Fix Version/s 2.0.0 [ 12320352 ]
          Resolution Fixed [ 1 ]
          Arun C Murthy made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              Todd Lipcon
              Reporter:
              Aaron T. Myers
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development