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

Andras Bokor edited comment on YARN-5159 at 7/14/16 1:29 PM:
-------------------------------------------------------------

[~ajisakaa]
It is interesting
I tried again on either Mac or CentOS.
My steps:
{code}
cd hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-tests
git apply ../../../../YARN-5159.03.patch
mvn javadoc:test-javadoc
open target/site/testapidocs/index.html{code}

In index.html the api says:
{{then the property "yarn.scheduler.include-port-in-node-name" should be set 
true in the configuration used to initialize the minicluster.}}

If I remove the package name, the javadoc will be
{{@value YarnConfiguration#RM_SCHEDULER_INCLUDE_PORT_IN_NODE_NAME}}
than the result is
{{then the property should be set true in the configuration used to initialize 
the minicluster.}}

Do I do something wrong?


was (Author: boky01):
[~ajisakaa]
It is interesting
I tried again on either Mac or CentOS.
My steps:
{code}
cd hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-tests
git apply ../../../../YARN-5159.03.patch
mvn javadoc:test-javadoc
open target/site/testapidocs/index.html{code}

In index.html the api says:
{{then the property "yarn.scheduler.include-port-in-node-name" should be set 
true in the configuration used to initialize the minicluster.}}

If I remove the package name, so the javadoc is
{{@value YarnConfiguration#RM_SCHEDULER_INCLUDE_PORT_IN_NODE_NAME}}
than the result is
{{then the property should be set true in the configuration used to initialize 
the minicluster.}}

Do I do something wrong?

> Wrong Javadoc tag in MiniYarnCluster
> ------------------------------------
>
>                 Key: YARN-5159
>                 URL: https://issues.apache.org/jira/browse/YARN-5159
>             Project: Hadoop YARN
>          Issue Type: Test
>          Components: documentation
>    Affects Versions: 2.6.0
>            Reporter: Andras Bokor
>            Assignee: Andras Bokor
>             Fix For: 2.8.0
>
>         Attachments: YARN-5159.01.patch, YARN-5159.02.patch, 
> YARN-5159.03.patch
>
>
> {@YarnConfiguration.RM_SCHEDULER_INCLUDE_PORT_IN_NODE_NAME} is wrong. Should 
> be changed to 
>  {@value YarnConfiguration#RM_SCHEDULER_INCLUDE_PORT_IN_NODE_NAME}
> Edit:
> I noted that due to java 8 javadoc restrictions the javadoc:test-javadoc goal 
> fails on hadoop-yarn-server-tests project.



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

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

Reply via email to