You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Stephen Chu (JIRA)" <ji...@apache.org> on 2012/09/20 01:51:07 UTC

[jira] [Created] (HADOOP-8829) hadoop-auth doc doesn't generate settings correctly

Stephen Chu created HADOOP-8829:
-----------------------------------

             Summary: hadoop-auth doc doesn't generate settings correctly
                 Key: HADOOP-8829
                 URL: https://issues.apache.org/jira/browse/HADOOP-8829
             Project: Hadoop Common
          Issue Type: Bug
          Components: documentation
    Affects Versions: 2.0.1-alpha
            Reporter: Stephen Chu


http://hadoop.apache.org/docs/r2.0.0-alpha/hadoop-auth/Configuration.html

This page doesn't seem to be generating the example configurations properly.

{code}
<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee">
    ...

    <filter>
        <filter-name>kerberosFilter</filter-name>
        <filter-class>org.apache.hadoop.security.auth.server.AuthenticationFilter</filter-class>
        <init-param>
            <param-name>type</param-name>
            <param-value>kerberos</param-value>
        </init-param>
        <init-param>
            <param-name>token.validity</param-name>
            <param-value>30</param-value>
        </init-param>
        <init-param>
            <param-name>cookie.domain</param-name>
            <param-value>.foo.com</param-value>
        </init-param>
        <init-param>
            <param-name>cookie.path</param-name>
            <param-value>/</param-value>
        </init-param>
        <init-param>
            <param-name>kerberos.principal</param-name>
            <param-value>HTTP/localhost@LOCALHOST</param-value>
        </init-param>
        <init-param>
            <param-name>kerberos.keytab</param-name>
            <param-value>/tmp/auth.keytab</param-value>
        </init-param>
    </filter>

    <filter-mapping>
        <filter-name>kerberosFilter</filter-name>
        <url-pattern>/kerberos/*</url-pattern>
    </filter-mapping>

    ...
</web-app>
{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira