Hadoop Common
  1. Hadoop Common
  2. HADOOP-7947

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

    Details

    • Type: Wish Wish
    • Status: Patch Available
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 2.7.0
    • Fix Version/s: None
    • 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.004.patch
        20 kB
        Kengo Seki
      2. HADOOP-7947.003.patch
        21 kB
        Kengo Seki
      3. HADOOP-7947.002.patch
        20 kB
        Kengo Seki
      4. HADOOP-7947.001.patch
        5 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 ]

            People

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

              Dates

              • Created:
                Updated:

                Development