You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-user@hadoop.apache.org by Никитин Константин <nk...@yandex.ru> on 2014/07/08 12:54:18 UTC

Issues with documentation on YARN

Hi!
 
I'm trying to write my first YARN application using a doc http://hadoop.apache.org/docs/current/hadoop-yarn/hadoop-yarn-site/WritingYarnApplications.html . This page is said to describe Apache Hadoop 2.3.0. But a method ``appMasterRequest.setApplicationAttemptId(appAttemptID);`` mentioned there was removed about a year ago https://issues.apache.org/jira/browse/YARN-918 , so "Writing Yarn Application" is not actual.
 
How can I help with actualizing documentation?
 
Thank you!
 
-- 
Konstantin Nikitin
Software engineer

RE: Issues with documentation on YARN

Posted by John Lilley <jo...@redpoint.net>.
The only way we've found to write an application master is by example. However, the distributed-shell example in 2.2 was not very good; it is much improved in 2.4.  I would start with that and edit, rather than create from scratch.

john

-----Original Message-----
From: Никитин Константин [mailto:nk.0@yandex.ru] 
Sent: Tuesday, July 08, 2014 4:54 AM
To: user@hadoop.apache.org
Subject: Issues with documentation on YARN

Hi!
 
I'm trying to write my first YARN application using a doc http://hadoop.apache.org/docs/current/hadoop-yarn/hadoop-yarn-site/WritingYarnApplications.html . This page is said to describe Apache Hadoop 2.3.0. But a method ``appMasterRequest.setApplicationAttemptId(appAttemptID);`` mentioned there was removed about a year ago https://issues.apache.org/jira/browse/YARN-918 , so "Writing Yarn Application" is not actual.
 
How can I help with actualizing documentation?
 
Thank you!
 
-- 
Konstantin Nikitin
Software engineer

Re: Issues with documentation on YARN

Posted by Tsuyoshi OZAWA <oz...@gmail.com>.
Hi,

To edit the document you mentioned, please edit
hadoop-common/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/apt/WritingYarnApplications.apt.vm

The document of apt.vm is written in "APT format", which is described
in the following document:
http://maven.apache.org/doxia/references/apt-format.html

After editing, please run the following command and open
/tmp/hadoop-site/index.html

$ mvn site site:stage -DstagingDirectory=/tmp/hadoop-site
$ open /tmp/hadoop-site/hadoop-project/index.html

Feel free to ask us if you have any questions about the contribution!

Thanks,
- Tsuyoshi


On Fri, Jul 11, 2014 at 11:14 AM, Akira AJISAKA
<aj...@oss.nttdata.co.jp> wrote:
> Thanks for the report!
> You can create a issue to https://issues.apache.org/jira/browse/YARN
> and submit a patch.
>
> The wiki page describes how to contribute to Apache Hadoop.
> https://wiki.apache.org/hadoop/HowToContribute
>
> Thanks,
> Akira
>
> (2014/07/08 19:54), Никитин Константин wrote:
>> Hi!
>>
>> I'm trying to write my first YARN application using a doc http://hadoop.apache.org/docs/current/hadoop-yarn/hadoop-yarn-site/WritingYarnApplications.html . This page is said to describe Apache Hadoop 2.3.0. But a method ``appMasterRequest.setApplicationAttemptId(appAttemptID);`` mentioned there was removed about a year ago https://issues.apache.org/jira/browse/YARN-918 , so "Writing Yarn Application" is not actual.
>>
>> How can I help with actualizing documentation?
>>
>> Thank you!
>>
>>
>



-- 
- Tsuyoshi

Re: Issues with documentation on YARN

Posted by Tsuyoshi OZAWA <oz...@gmail.com>.
Hi,

To edit the document you mentioned, please edit
hadoop-common/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/apt/WritingYarnApplications.apt.vm

The document of apt.vm is written in "APT format", which is described
in the following document:
http://maven.apache.org/doxia/references/apt-format.html

After editing, please run the following command and open
/tmp/hadoop-site/index.html

$ mvn site site:stage -DstagingDirectory=/tmp/hadoop-site
$ open /tmp/hadoop-site/hadoop-project/index.html

Feel free to ask us if you have any questions about the contribution!

Thanks,
- Tsuyoshi


On Fri, Jul 11, 2014 at 11:14 AM, Akira AJISAKA
<aj...@oss.nttdata.co.jp> wrote:
> Thanks for the report!
> You can create a issue to https://issues.apache.org/jira/browse/YARN
> and submit a patch.
>
> The wiki page describes how to contribute to Apache Hadoop.
> https://wiki.apache.org/hadoop/HowToContribute
>
> Thanks,
> Akira
>
> (2014/07/08 19:54), Никитин Константин wrote:
>> Hi!
>>
>> I'm trying to write my first YARN application using a doc http://hadoop.apache.org/docs/current/hadoop-yarn/hadoop-yarn-site/WritingYarnApplications.html . This page is said to describe Apache Hadoop 2.3.0. But a method ``appMasterRequest.setApplicationAttemptId(appAttemptID);`` mentioned there was removed about a year ago https://issues.apache.org/jira/browse/YARN-918 , so "Writing Yarn Application" is not actual.
>>
>> How can I help with actualizing documentation?
>>
>> Thank you!
>>
>>
>



-- 
- Tsuyoshi

Re: Issues with documentation on YARN

Posted by Tsuyoshi OZAWA <oz...@gmail.com>.
Hi,

To edit the document you mentioned, please edit
hadoop-common/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/apt/WritingYarnApplications.apt.vm

The document of apt.vm is written in "APT format", which is described
in the following document:
http://maven.apache.org/doxia/references/apt-format.html

After editing, please run the following command and open
/tmp/hadoop-site/index.html

$ mvn site site:stage -DstagingDirectory=/tmp/hadoop-site
$ open /tmp/hadoop-site/hadoop-project/index.html

Feel free to ask us if you have any questions about the contribution!

Thanks,
- Tsuyoshi


On Fri, Jul 11, 2014 at 11:14 AM, Akira AJISAKA
<aj...@oss.nttdata.co.jp> wrote:
> Thanks for the report!
> You can create a issue to https://issues.apache.org/jira/browse/YARN
> and submit a patch.
>
> The wiki page describes how to contribute to Apache Hadoop.
> https://wiki.apache.org/hadoop/HowToContribute
>
> Thanks,
> Akira
>
> (2014/07/08 19:54), Никитин Константин wrote:
>> Hi!
>>
>> I'm trying to write my first YARN application using a doc http://hadoop.apache.org/docs/current/hadoop-yarn/hadoop-yarn-site/WritingYarnApplications.html . This page is said to describe Apache Hadoop 2.3.0. But a method ``appMasterRequest.setApplicationAttemptId(appAttemptID);`` mentioned there was removed about a year ago https://issues.apache.org/jira/browse/YARN-918 , so "Writing Yarn Application" is not actual.
>>
>> How can I help with actualizing documentation?
>>
>> Thank you!
>>
>>
>



-- 
- Tsuyoshi

Re: Issues with documentation on YARN

Posted by Tsuyoshi OZAWA <oz...@gmail.com>.
Hi,

To edit the document you mentioned, please edit
hadoop-common/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/apt/WritingYarnApplications.apt.vm

The document of apt.vm is written in "APT format", which is described
in the following document:
http://maven.apache.org/doxia/references/apt-format.html

After editing, please run the following command and open
/tmp/hadoop-site/index.html

$ mvn site site:stage -DstagingDirectory=/tmp/hadoop-site
$ open /tmp/hadoop-site/hadoop-project/index.html

Feel free to ask us if you have any questions about the contribution!

Thanks,
- Tsuyoshi


On Fri, Jul 11, 2014 at 11:14 AM, Akira AJISAKA
<aj...@oss.nttdata.co.jp> wrote:
> Thanks for the report!
> You can create a issue to https://issues.apache.org/jira/browse/YARN
> and submit a patch.
>
> The wiki page describes how to contribute to Apache Hadoop.
> https://wiki.apache.org/hadoop/HowToContribute
>
> Thanks,
> Akira
>
> (2014/07/08 19:54), Никитин Константин wrote:
>> Hi!
>>
>> I'm trying to write my first YARN application using a doc http://hadoop.apache.org/docs/current/hadoop-yarn/hadoop-yarn-site/WritingYarnApplications.html . This page is said to describe Apache Hadoop 2.3.0. But a method ``appMasterRequest.setApplicationAttemptId(appAttemptID);`` mentioned there was removed about a year ago https://issues.apache.org/jira/browse/YARN-918 , so "Writing Yarn Application" is not actual.
>>
>> How can I help with actualizing documentation?
>>
>> Thank you!
>>
>>
>



-- 
- Tsuyoshi

Re: Issues with documentation on YARN

Posted by Tsuyoshi OZAWA <oz...@gmail.com>.
Hi,

To edit the document you mentioned, please edit
hadoop-common/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/apt/WritingYarnApplications.apt.vm

The document of apt.vm is written in "APT format", which is described
in the following document:
http://maven.apache.org/doxia/references/apt-format.html

After editing, please run the following command and open
/tmp/hadoop-site/index.html

$ mvn site site:stage -DstagingDirectory=/tmp/hadoop-site
$ open /tmp/hadoop-site/hadoop-project/index.html

Feel free to ask us if you have any questions about the contribution!

Thanks,
- Tsuyoshi


On Fri, Jul 11, 2014 at 11:14 AM, Akira AJISAKA
<aj...@oss.nttdata.co.jp> wrote:
> Thanks for the report!
> You can create a issue to https://issues.apache.org/jira/browse/YARN
> and submit a patch.
>
> The wiki page describes how to contribute to Apache Hadoop.
> https://wiki.apache.org/hadoop/HowToContribute
>
> Thanks,
> Akira
>
> (2014/07/08 19:54), Никитин Константин wrote:
>> Hi!
>>
>> I'm trying to write my first YARN application using a doc http://hadoop.apache.org/docs/current/hadoop-yarn/hadoop-yarn-site/WritingYarnApplications.html . This page is said to describe Apache Hadoop 2.3.0. But a method ``appMasterRequest.setApplicationAttemptId(appAttemptID);`` mentioned there was removed about a year ago https://issues.apache.org/jira/browse/YARN-918 , so "Writing Yarn Application" is not actual.
>>
>> How can I help with actualizing documentation?
>>
>> Thank you!
>>
>>
>



-- 
- Tsuyoshi

Re: Issues with documentation on YARN

Posted by Akira AJISAKA <aj...@oss.nttdata.co.jp>.
Thanks for the report!
You can create a issue to https://issues.apache.org/jira/browse/YARN
and submit a patch.

The wiki page describes how to contribute to Apache Hadoop.
https://wiki.apache.org/hadoop/HowToContribute

Thanks,
Akira

(2014/07/08 19:54), Никитин Константин wrote:
> Hi!
>   
> I'm trying to write my first YARN application using a doc http://hadoop.apache.org/docs/current/hadoop-yarn/hadoop-yarn-site/WritingYarnApplications.html . This page is said to describe Apache Hadoop 2.3.0. But a method ``appMasterRequest.setApplicationAttemptId(appAttemptID);`` mentioned there was removed about a year ago https://issues.apache.org/jira/browse/YARN-918 , so "Writing Yarn Application" is not actual.
>   
> How can I help with actualizing documentation?
>   
> Thank you!
>   
> 


RE: Issues with documentation on YARN

Posted by John Lilley <jo...@redpoint.net>.
The only way we've found to write an application master is by example. However, the distributed-shell example in 2.2 was not very good; it is much improved in 2.4.  I would start with that and edit, rather than create from scratch.

john

-----Original Message-----
From: Никитин Константин [mailto:nk.0@yandex.ru] 
Sent: Tuesday, July 08, 2014 4:54 AM
To: user@hadoop.apache.org
Subject: Issues with documentation on YARN

Hi!
 
I'm trying to write my first YARN application using a doc http://hadoop.apache.org/docs/current/hadoop-yarn/hadoop-yarn-site/WritingYarnApplications.html . This page is said to describe Apache Hadoop 2.3.0. But a method ``appMasterRequest.setApplicationAttemptId(appAttemptID);`` mentioned there was removed about a year ago https://issues.apache.org/jira/browse/YARN-918 , so "Writing Yarn Application" is not actual.
 
How can I help with actualizing documentation?
 
Thank you!
 
-- 
Konstantin Nikitin
Software engineer

Re: Issues with documentation on YARN

Posted by Akira AJISAKA <aj...@oss.nttdata.co.jp>.
Thanks for the report!
You can create a issue to https://issues.apache.org/jira/browse/YARN
and submit a patch.

The wiki page describes how to contribute to Apache Hadoop.
https://wiki.apache.org/hadoop/HowToContribute

Thanks,
Akira

(2014/07/08 19:54), Никитин Константин wrote:
> Hi!
>   
> I'm trying to write my first YARN application using a doc http://hadoop.apache.org/docs/current/hadoop-yarn/hadoop-yarn-site/WritingYarnApplications.html . This page is said to describe Apache Hadoop 2.3.0. But a method ``appMasterRequest.setApplicationAttemptId(appAttemptID);`` mentioned there was removed about a year ago https://issues.apache.org/jira/browse/YARN-918 , so "Writing Yarn Application" is not actual.
>   
> How can I help with actualizing documentation?
>   
> Thank you!
>   
> 


Re: Issues with documentation on YARN

Posted by Akira AJISAKA <aj...@oss.nttdata.co.jp>.
Thanks for the report!
You can create a issue to https://issues.apache.org/jira/browse/YARN
and submit a patch.

The wiki page describes how to contribute to Apache Hadoop.
https://wiki.apache.org/hadoop/HowToContribute

Thanks,
Akira

(2014/07/08 19:54), Никитин Константин wrote:
> Hi!
>   
> I'm trying to write my first YARN application using a doc http://hadoop.apache.org/docs/current/hadoop-yarn/hadoop-yarn-site/WritingYarnApplications.html . This page is said to describe Apache Hadoop 2.3.0. But a method ``appMasterRequest.setApplicationAttemptId(appAttemptID);`` mentioned there was removed about a year ago https://issues.apache.org/jira/browse/YARN-918 , so "Writing Yarn Application" is not actual.
>   
> How can I help with actualizing documentation?
>   
> Thank you!
>   
> 


Re: Issues with documentation on YARN

Posted by Akira AJISAKA <aj...@oss.nttdata.co.jp>.
Thanks for the report!
You can create a issue to https://issues.apache.org/jira/browse/YARN
and submit a patch.

The wiki page describes how to contribute to Apache Hadoop.
https://wiki.apache.org/hadoop/HowToContribute

Thanks,
Akira

(2014/07/08 19:54), Никитин Константин wrote:
> Hi!
>   
> I'm trying to write my first YARN application using a doc http://hadoop.apache.org/docs/current/hadoop-yarn/hadoop-yarn-site/WritingYarnApplications.html . This page is said to describe Apache Hadoop 2.3.0. But a method ``appMasterRequest.setApplicationAttemptId(appAttemptID);`` mentioned there was removed about a year ago https://issues.apache.org/jira/browse/YARN-918 , so "Writing Yarn Application" is not actual.
>   
> How can I help with actualizing documentation?
>   
> Thank you!
>   
> 


RE: Issues with documentation on YARN

Posted by John Lilley <jo...@redpoint.net>.
The only way we've found to write an application master is by example. However, the distributed-shell example in 2.2 was not very good; it is much improved in 2.4.  I would start with that and edit, rather than create from scratch.

john

-----Original Message-----
From: Никитин Константин [mailto:nk.0@yandex.ru] 
Sent: Tuesday, July 08, 2014 4:54 AM
To: user@hadoop.apache.org
Subject: Issues with documentation on YARN

Hi!
 
I'm trying to write my first YARN application using a doc http://hadoop.apache.org/docs/current/hadoop-yarn/hadoop-yarn-site/WritingYarnApplications.html . This page is said to describe Apache Hadoop 2.3.0. But a method ``appMasterRequest.setApplicationAttemptId(appAttemptID);`` mentioned there was removed about a year ago https://issues.apache.org/jira/browse/YARN-918 , so "Writing Yarn Application" is not actual.
 
How can I help with actualizing documentation?
 
Thank you!
 
-- 
Konstantin Nikitin
Software engineer

Re: Issues with documentation on YARN

Posted by Akira AJISAKA <aj...@oss.nttdata.co.jp>.
Thanks for the report!
You can create a issue to https://issues.apache.org/jira/browse/YARN
and submit a patch.

The wiki page describes how to contribute to Apache Hadoop.
https://wiki.apache.org/hadoop/HowToContribute

Thanks,
Akira

(2014/07/08 19:54), Никитин Константин wrote:
> Hi!
>   
> I'm trying to write my first YARN application using a doc http://hadoop.apache.org/docs/current/hadoop-yarn/hadoop-yarn-site/WritingYarnApplications.html . This page is said to describe Apache Hadoop 2.3.0. But a method ``appMasterRequest.setApplicationAttemptId(appAttemptID);`` mentioned there was removed about a year ago https://issues.apache.org/jira/browse/YARN-918 , so "Writing Yarn Application" is not actual.
>   
> How can I help with actualizing documentation?
>   
> Thank you!
>   
> 


RE: Issues with documentation on YARN

Posted by John Lilley <jo...@redpoint.net>.
The only way we've found to write an application master is by example. However, the distributed-shell example in 2.2 was not very good; it is much improved in 2.4.  I would start with that and edit, rather than create from scratch.

john

-----Original Message-----
From: Никитин Константин [mailto:nk.0@yandex.ru] 
Sent: Tuesday, July 08, 2014 4:54 AM
To: user@hadoop.apache.org
Subject: Issues with documentation on YARN

Hi!
 
I'm trying to write my first YARN application using a doc http://hadoop.apache.org/docs/current/hadoop-yarn/hadoop-yarn-site/WritingYarnApplications.html . This page is said to describe Apache Hadoop 2.3.0. But a method ``appMasterRequest.setApplicationAttemptId(appAttemptID);`` mentioned there was removed about a year ago https://issues.apache.org/jira/browse/YARN-918 , so "Writing Yarn Application" is not actual.
 
How can I help with actualizing documentation?
 
Thank you!
 
-- 
Konstantin Nikitin
Software engineer