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

Tool's config option wouldn't work on secure clusters

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • 2.0.0-alpha
    • None
    • security, util
    • None

    Description

      The Tool framework provides a way for clients to run without classpath *-site.xml configs, by letting users pass "-conf <file>" to parse into the app's Configuration object.

      In a secure cluster config setup, such a runner will not work cause of UserGroupInformation.isSecurityEnabled() check, which is used in Server.java to determine what form of communication to use, will load statically a new Configuration() object to inspect if security is turned on during its initialization, which ignores the application config object and tries to load from classpath and ends up loading non-secure defaults.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              qwertymaniac Harsh J
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: