Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-10182

SLS运行报错Couldn't create /yarn-leader-election/yarnRM

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • None
    • None
    • yarn
    • None

    Description

      RM1 :active RM2:standby

      kerberos is on

      yarn-site.xml : /etc/hadoop/conf.cloudera.yarn/yarn-site.xml

      keytab: /etc/krb5.keytab ===>the keytab of yarn

      when I run slsrun.sh on RM1 ,I will get an error:

      Exception in thread "main" org.apache.hadoop.service.ServiceStateException: java.io.IOException: Couldn't create /yarn-leader-election/yarnRM

      If I use sample-conf/yarn-site.xml ,I will get "KerberosAuthException: Login failure for user: yarn from keytab /etc/krb5.keytab javax.security.auth.login.LoginException: Unable to obtain password from user"

      How to resolve it ?

      Attachments

        1. slsrun.log.txt
          59 kB
          zhangyu

        Activity

          People

            Unassigned Unassigned
            ghostlike zhangyu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: