Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-3101 [Umbrella] Security issues in YARN
  3. MAPREDUCE-3007

JobClient cannot talk to JobHistory server in secure mode

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.23.0
    • 0.23.0
    • jobhistoryserver, mrv2
    • None
    • Reviewed

    Description

      In secure mode, Jobclient cannot connect to HistoryServer. Thanks to karams for finding this out.

      11/09/14 09:57:51 INFO mapred.ClientServiceDelegate: Application state is completed. Redirecting to job history server
      11/09/14 09:57:51 INFO security.ApplicationTokenSelector: Looking for a token with service <history-server>:10020
      11/09/14 09:57:51 INFO security.ApplicationTokenSelector: Token kind is YARN_APPLICATION_TOKEN and the token's service name is <Am-ip>:46257
      11/09/14 09:57:51 INFO security.UserGroupInformation: Initiating logout for <user-principal>
      11/09/14 09:57:51 INFO security.UserGroupInformation: Initiating re-login for <user-principal>
      11/09/14 09:57:55 WARN security.UserGroupInformation: Not attempting to re-login since the last re-login was attempted less than 600 seconds before.
      11/09/14 09:57:56 WARN security.UserGroupInformation: Not attempting to re-login since the last re-login was attempted less than 600 seconds before.
      11/09/14 09:58:00 WARN security.UserGroupInformation: Not attempting to re-login since the last re-login was attempted less than 600 seconds before.
      11/09/14 09:58:05 WARN security.UserGroupInformation: Not attempting to re-login since the last re-login was attempted less than 600 seconds before.
      11/09/14 09:58:05 WARN ipc.Client: Couldn't setup connection for <user-principal> to null
      11/09/14 09:58:05 INFO mapred.ClientServiceDelegate: Failed to contact AM/History for job job_1315993268700_0001  Will retry..
      

      Am surprised no one working with YARN+MR ever ran into this!

      Attachments

        1. MAPREDUCE-3007-20110914.txt
          3 kB
          Vinod Kumar Vavilapalli
        2. MAPREDUCE-3007-20110914.2.txt
          3 kB
          Vinod Kumar Vavilapalli

        Activity

          People

            vinodkv Vinod Kumar Vavilapalli
            vinodkv Vinod Kumar Vavilapalli
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: