Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-7947

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

VotersStop watchingWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.7.0
    • 3.0.0-alpha1
    • scripts

    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.

      Attachments

        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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            sekikn Kengo Seki
            qwertymaniac Harsh J
            Votes:
            0 Vote for this issue
            Watchers:
            12 Stop watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment