Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-6162

mapred hsadmin fails on a secure cluster

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

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 2.5.0
    • 2.7.0
    • jobhistoryserver
    • None
    • Reviewed

    Description

      Attempts to use mapred hsadmin fail on a secure cluster for a couple of reasons. The HSAdmin client isn't configuring the principal config key for the protocol, resulting in a "Failed to specify server's Kerberos principal name" error. The principal can be specified manually on the command-line via -Dhadoop.security.service.user.name.key, but then it results in a "Protocol interface ... is not known" error because HSAdminServer is not registering an appropriately configured policy provider when authorization is enabled.

      Attachments

        1. MAPREDUCE-6162.patch
          23 kB
          Jason Darrell Lowe
        2. MAPREDUCE-6162v2.patch
          23 kB
          Jason Darrell Lowe

        Activity

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

          People

            jlowe Jason Darrell Lowe
            jlowe Jason Darrell Lowe
            Votes:
            0 Vote for this issue
            Watchers:
            3 Stop watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment