Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-10535

"Regenerate Keytabs" should restart services when complete

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.1.0
    • ambari-web
    • None

    Description

      When pressing "Regenerate Keytabs" button, it says it will restart all services. But really, that doesn't happen, and it should be done by hand, because in other case there are service check disruption like this:

      2015-03-18 09:34:27,825 [JobControl] INFO  org.apache.hadoop.mapreduce.lib.jobcontrol.ControlledJob - PigLatin:pigSmoke.sh got an error while submitting 
      java.io.IOException: Failed to run job : Failed to renew token: Kind: HDFS_DELEGATION_TOKEN, Service: 192.168.65.101:8020, Ident: (HDFS_DELEGATION_TOKEN token 358 for ambari-qa)
      	at org.apache.hadoop.mapred.YARNRunner.submitJob(YARNRunner.java:301)
      	at org.apache.hadoop.mapreduce.JobSubmitter.submitJobInternal(JobSubmitter.java:536)
      	at org.apache.hadoop.mapreduce.Job$10.run(Job.java:1296)
      	at org.apache.hadoop.mapreduce.Job$10.run(Job.java:1293)
      	at java.security.AccessController.doPrivileged(Native Method)
      	at javax.security.auth.Subject.doAs(Subject.java:415)
      	at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1628)
      	at org.apache.hadoop.mapreduce.Job.submit(Job.java:1293)
      	at org.apache.hadoop.mapreduce.lib.jobcontrol.ControlledJob.submit(ControlledJob.java:335)
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:606)
      	at org.apache.pig.backend.hadoop23.PigJobControl.submit(PigJobControl.java:128)
      	at org.apache.pig.backend.hadoop23.PigJobControl.run(PigJobControl.java:194)
      	at java.lang.Thread.run(Thread.java:745)
      	at org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher$1.run(MapReduceLauncher.java:276)
      

      Attachments

        1. AMBARI-10535.patch
          15 kB
          Antonenko Alexander

        Activity

          People

            aantonenko Antonenko Alexander
            aantonenko Antonenko Alexander
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: