You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Xuan Gong (JIRA)" <ji...@apache.org> on 2016/10/27 20:24:58 UTC

[jira] [Commented] (YARN-4500) Missing default config values in yarn-default.xml

    [ https://issues.apache.org/jira/browse/YARN-4500?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15613103#comment-15613103 ] 

Xuan Gong commented on YARN-4500:
---------------------------------

Thanks for the patch. This patch looks good to me.
But there are several other configurations which miss the default value as well. Could we add those in the same the patch as well ?

> Missing default config values in yarn-default.xml
> -------------------------------------------------
>
>                 Key: YARN-4500
>                 URL: https://issues.apache.org/jira/browse/YARN-4500
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: documentation
>    Affects Versions: 2.7.1, 2.6.2
>            Reporter: Tianyin Xu
>            Assignee: Kai Sasaki
>              Labels: oct16-easy
>         Attachments: YARN-4500.01.patch
>
>
> The docs [yarn-default.xml|https://hadoop.apache.org/docs/r2.7.1/hadoop-yarn/hadoop-yarn-common/yarn-default.xml] miss the default values of the following parameters: 
> {{yarn.web-proxy.address}}
> {{yarn.ipc.client.factory.class}}
> {{yarn.ipc.server.factory.class}}
> {{yarn.ipc.record.factory.class}}
> Here we go,
> {code:title=YarnConfiguration.java|borderStyle=solid}
>   97   /** Factory to create client IPC classes.*/
>   98   public static final String IPC_CLIENT_FACTORY_CLASS =
>   99     IPC_PREFIX + "client.factory.class";
>  100   public static final String DEFAULT_IPC_CLIENT_FACTORY_CLASS =
>  101       "org.apache.hadoop.yarn.factories.impl.pb.RpcClientFactoryPBImpl";
>  102 
>  103   /** Factory to create server IPC classes.*/
>  104   public static final String IPC_SERVER_FACTORY_CLASS =
>  105     IPC_PREFIX + "server.factory.class";
>  106   public static final String DEFAULT_IPC_SERVER_FACTORY_CLASS =
>  107       "org.apache.hadoop.yarn.factories.impl.pb.RpcServerFactoryPBImpl";
>  108 
>  109   /** Factory to create serializeable records.*/
>  110   public static final String IPC_RECORD_FACTORY_CLASS =
>  111     IPC_PREFIX + "record.factory.class";
>  112   public static final String DEFAULT_IPC_RECORD_FACTORY_CLASS =
>  113       "org.apache.hadoop.yarn.factories.impl.pb.RecordFactoryPBImpl";
>  ...
>  1119   /** The address for the web proxy.*/
>  1120   public static final String PROXY_ADDRESS =
>  1121     PROXY_PREFIX + "address";
>  1122   public static final int DEFAULT_PROXY_PORT = 9099;
>  1123   public static final String DEFAULT_PROXY_ADDRESS =
>  1124     "0.0.0.0:" + DEFAULT_PROXY_PORT;
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org