Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-15404

ShellCommandFencer should expose info about source

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.2.2, 2.10.1, 3.3.1, 3.4.0
    • Component/s: None
    • Labels:
      None

      Description

      Currently the HA fencing logic in ShellCommandFencer exposes environment variable about only the fencing target. i.e. the $target_* variables as mentioned in this document page).

      But here only the fencing target variables are getting exposed. Sometimes it is useful to expose info about the fencing source node. One use case is would allow source and target node to identify themselves separately and run different commands/scripts.

        Attachments

        1. HDFS-15404.006.patch
          14 kB
          Chen Liang
        2. HDFS-15404.005.patch
          14 kB
          Chen Liang
        3. HDFS-15404.004.patch
          15 kB
          Chen Liang
        4. HDFS-15404.003.patch
          14 kB
          Chen Liang
        5. HDFS-15404.002.patch
          10 kB
          Chen Liang
        6. HDFS-15404.001.patch
          10 kB
          Chen Liang

          Activity

            People

            • Assignee:
              vagarychen Chen Liang
              Reporter:
              vagarychen Chen Liang

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment