Hadoop Common
  1. Hadoop Common
  2. HADOOP-7947

Validate XMLs if a relevant tool is available, when using scripts

    Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.7.0
    • Fix Version/s: 3.0.0
    • Component/s: scripts
    • Labels:

      Description

      Given that we are locked down to using only XML for configuration and most of the administrators need to manage it by themselves (unless a tool that manages for you is used), it would be good to also validate the provided config XML (*-site.xml) files with a tool like xmllint or maybe Xerces somehow, when running a command or (at least) when starting up daemons.

      We should use this only if a relevant tool is available, and optionally be silent if the env. requests.

      1. HADOOP-7947.001.patch
        5 kB
        Kengo Seki
      2. HADOOP-7947.002.patch
        20 kB
        Kengo Seki
      3. HADOOP-7947.003.patch
        21 kB
        Kengo Seki
      4. HADOOP-7947.004.patch
        20 kB
        Kengo Seki
      5. HADOOP-7947.005.patch
        21 kB
        Kengo Seki

        Issue Links

          Activity

          Harsh J created issue -
          Harsh J made changes -
          Field Original Value New Value
          Summary Validate XMLs as part of the base script, if a relevant tool is available Validate XMLs if a relevant tool is available, when using scripts
          Harsh J made changes -
          Target Version/s 0.24.0 [ 12317652 ]
          Harsh J made changes -
          Affects Version/s 2.7.0 [ 12327583 ]
          Affects Version/s 0.24.0 [ 12317652 ]
          Kengo Seki made changes -
          Attachment HADOOP-7947.001.patch [ 12691536 ]
          Kengo Seki made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Allen Wittenauer made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Allen Wittenauer made changes -
          Assignee Kengo Seki [ sekikn ]
          Kengo Seki made changes -
          Attachment HADOOP-7947.002.patch [ 12702004 ]
          Kengo Seki made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Kengo Seki made changes -
          Attachment HADOOP-7947.003.patch [ 12702268 ]
          Kengo Seki made changes -
          Attachment HADOOP-7947.004.patch [ 12704934 ]
          Allen Wittenauer made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Allen Wittenauer made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Gera Shegalov made changes -
          Link This issue relates to HADOOP-10623 [ HADOOP-10623 ]
          Allen Wittenauer made changes -
          Labels newbie BB2015-05-TBR newbie
          Kengo Seki made changes -
          Attachment HADOOP-7947.005.patch [ 12733353 ]
          Kengo Seki made changes -
          Labels BB2015-05-TBR newbie BB2015-05-RFC newbie
          Allen Wittenauer made changes -
          Issue Type Wish [ 5 ] New Feature [ 2 ]
          Allen Wittenauer made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Fix Version/s 3.0.0 [ 12320357 ]
          Resolution Fixed [ 1 ]
          Allen Wittenauer made changes -
          Labels BB2015-05-RFC newbie newbie
          Allen Wittenauer made changes -
          Link This issue relates to HADOOP-12118 [ HADOOP-12118 ]
          Brahma Reddy Battula made changes -
          Link This issue relates to HADOOP-12071 [ HADOOP-12071 ]

            People

            • Assignee:
              Kengo Seki
              Reporter:
              Harsh J
            • Votes:
              0 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development