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

Rest API failing when ip configured in RM address in secure https mode

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Critical
    • Resolution: Unresolved
    • None
    • None
    • webapp

    Description

      Steps to reproduce
      ===============
      1.Configure hadoop.http.authentication.kerberos.principal as below

        <property>
          <name>hadoop.http.authentication.kerberos.principal</name>
          <value>HTTP/_HOST@HADOOP.COM</value>
        </property>
      

      2. In RM web address also configure IP
      3. Startup RM

      Call Rest API for RM {{ curl -i -k --insecure --negotiate -u : https IP /ws/v1/cluster/info"}}

      Actual

      Rest API failing

      2015-06-16 19:03:49,845 DEBUG org.apache.hadoop.security.authentication.server.AuthenticationFilter: Authentication exception: GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos credentails)
      org.apache.hadoop.security.authentication.client.AuthenticationException: GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos credentails)
      	at org.apache.hadoop.security.authentication.server.KerberosAuthenticationHandler.authenticate(KerberosAuthenticationHandler.java:399)
      	at org.apache.hadoop.security.token.delegation.web.DelegationTokenAuthenticationHandler.authenticate(DelegationTokenAuthenticationHandler.java:348)
      	at org.apache.hadoop.security.authentication.server.AuthenticationFilter.doFilter(AuthenticationFilter.java:519)
      	at org.apache.hadoop.yarn.server.security.http.RMAuthenticationFilter.doFilter(RMAuthenticationFilter.java:82)
      

      Attachments

        1. 0002-YARN-3838.patch
          1 kB
          Bibin Chundatt
        2. 0001-YARN-3838.patch
          2 kB
          Bibin Chundatt
        3. 0001-HADOOP-12096.patch
          1 kB
          Bibin Chundatt
        4. 0002-YARN-3810.patch
          1 kB
          Bibin Chundatt
        5. 0001-YARN-3810.patch
          1.0 kB
          Bibin Chundatt

        Activity

          People

            bibinchundatt Bibin Chundatt
            bibinchundatt Bibin Chundatt
            Votes:
            0 Vote for this issue
            Watchers:
            14 Start watching this issue

            Dates

              Created:
              Updated: