[jira] [Updated] (YARN-1080) Improve help message for $ yarn logs

2013-08-28 Thread Xuan Gong (JIRA)

 [ 
https://issues.apache.org/jira/browse/YARN-1080?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Xuan Gong updated YARN-1080:


Attachment: YARN-1080.1.patch

 Improve help message for $ yarn logs
 

 Key: YARN-1080
 URL: https://issues.apache.org/jira/browse/YARN-1080
 Project: Hadoop YARN
  Issue Type: Improvement
  Components: client
Reporter: Tassapol Athiapinya
Assignee: Xuan Gong
 Fix For: 2.3.0

 Attachments: YARN-1080.1.patch


 There are 2 parts I am proposing in this jira. They can be fixed together in 
 one patch.
 1. Standardize help message for required parameter of $ yarn logs
 YARN CLI has a command logs ($ yarn logs). The command always requires a 
 parameter of -applicationId arg. However, help message of the command 
 does not make it clear. It lists -applicationId as optional parameter. If I 
 don't set it, YARN CLI will complain this is missing. It is better to use 
 standard required notation used in other Linux command for help message. Any 
 user familiar to the command can understand that this parameter is needed 
 more easily.
 {code:title=current help message}
 -bash-4.1$ yarn logs
 usage: general options are:
  -applicationId arg   ApplicationId (required)
  -appOwner argAppOwner (assumed to be current user if not
 specified)
  -containerId arg ContainerId (must be specified if node address is
 specified)
  -nodeAddress arg NodeAddress in the format nodename:port (must be
 specified if container id is specified)
 {code}
 {code:title=proposed help message}
 -bash-4.1$ yarn logs
 usage: yarn logs -applicationId application ID [OPTIONS]
 general options are:
  -appOwner argAppOwner (assumed to be current user if not
 specified)
  -containerId arg ContainerId (must be specified if node address is
 specified)
  -nodeAddress arg NodeAddress in the format nodename:port (must be
 specified if container id is specified)
 {code}
 2. Add description for help command. As far as I know, a user cannot get logs 
 for running job. Since I spent some time trying to get logs of running 
 applications, it should be nice to say this in command description.
 {code:title=proposed help}
 Retrieve logs for completed/killed YARN application
 usage: general options are...
 {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


[jira] [Updated] (YARN-1080) Improve help message for $ yarn logs

2013-08-28 Thread Xuan Gong (JIRA)

 [ 
https://issues.apache.org/jira/browse/YARN-1080?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Xuan Gong updated YARN-1080:


Attachment: YARN-1080.2.patch

 Improve help message for $ yarn logs
 

 Key: YARN-1080
 URL: https://issues.apache.org/jira/browse/YARN-1080
 Project: Hadoop YARN
  Issue Type: Improvement
  Components: client
Reporter: Tassapol Athiapinya
Assignee: Xuan Gong
 Attachments: YARN-1080.1.patch, YARN-1080.2.patch


 There are 2 parts I am proposing in this jira. They can be fixed together in 
 one patch.
 1. Standardize help message for required parameter of $ yarn logs
 YARN CLI has a command logs ($ yarn logs). The command always requires a 
 parameter of -applicationId arg. However, help message of the command 
 does not make it clear. It lists -applicationId as optional parameter. If I 
 don't set it, YARN CLI will complain this is missing. It is better to use 
 standard required notation used in other Linux command for help message. Any 
 user familiar to the command can understand that this parameter is needed 
 more easily.
 {code:title=current help message}
 -bash-4.1$ yarn logs
 usage: general options are:
  -applicationId arg   ApplicationId (required)
  -appOwner argAppOwner (assumed to be current user if not
 specified)
  -containerId arg ContainerId (must be specified if node address is
 specified)
  -nodeAddress arg NodeAddress in the format nodename:port (must be
 specified if container id is specified)
 {code}
 {code:title=proposed help message}
 -bash-4.1$ yarn logs
 usage: yarn logs -applicationId application ID [OPTIONS]
 general options are:
  -appOwner argAppOwner (assumed to be current user if not
 specified)
  -containerId arg ContainerId (must be specified if node address is
 specified)
  -nodeAddress arg NodeAddress in the format nodename:port (must be
 specified if container id is specified)
 {code}
 2. Add description for help command. As far as I know, a user cannot get logs 
 for running job. Since I spent some time trying to get logs of running 
 applications, it should be nice to say this in command description.
 {code:title=proposed help}
 Retrieve logs for completed/killed YARN application
 usage: general options are...
 {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


[jira] [Updated] (YARN-1080) Improve help message for $ yarn logs

2013-08-27 Thread Arun C Murthy (JIRA)

 [ 
https://issues.apache.org/jira/browse/YARN-1080?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Arun C Murthy updated YARN-1080:


Fix Version/s: (was: 2.1.0-beta)
   2.3.0

 Improve help message for $ yarn logs
 

 Key: YARN-1080
 URL: https://issues.apache.org/jira/browse/YARN-1080
 Project: Hadoop YARN
  Issue Type: Improvement
  Components: client
Reporter: Tassapol Athiapinya
 Fix For: 2.3.0


 There are 2 parts I am proposing in this jira. They can be fixed together in 
 one patch.
 1. Standardize help message for required parameter of $ yarn logs
 YARN CLI has a command logs ($ yarn logs). The command always requires a 
 parameter of -applicationId arg. However, help message of the command 
 does not make it clear. It lists -applicationId as optional parameter. If I 
 don't set it, YARN CLI will complain this is missing. It is better to use 
 standard required notation used in other Linux command for help message. Any 
 user familiar to the command can understand that this parameter is needed 
 more easily.
 {code:title=current help message}
 -bash-4.1$ yarn logs
 usage: general options are:
  -applicationId arg   ApplicationId (required)
  -appOwner argAppOwner (assumed to be current user if not
 specified)
  -containerId arg ContainerId (must be specified if node address is
 specified)
  -nodeAddress arg NodeAddress in the format nodename:port (must be
 specified if container id is specified)
 {code}
 {code:title=proposed help message}
 -bash-4.1$ yarn logs
 usage: yarn logs -applicationId application ID [OPTIONS]
 general options are:
  -appOwner argAppOwner (assumed to be current user if not
 specified)
  -containerId arg ContainerId (must be specified if node address is
 specified)
  -nodeAddress arg NodeAddress in the format nodename:port (must be
 specified if container id is specified)
 {code}
 2. Add description for help command. As far as I know, a user cannot get logs 
 for running job. Since I spent some time trying to get logs of running 
 applications, it should be nice to say this in command description.
 {code:title=proposed help}
 Retrieve logs for completed/killed YARN application
 usage: general options are...
 {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


[jira] [Updated] (YARN-1080) Improve help message for $ yarn logs

2013-08-19 Thread Tassapol Athiapinya (JIRA)

 [ 
https://issues.apache.org/jira/browse/YARN-1080?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tassapol Athiapinya updated YARN-1080:
--

Description: 
There are 2 parts I am proposing in this jira. They can be fixed together in 
one patch.

1. Standardize help message for required parameter of $ yarn logs
YARN CLI has a command logs ($ yarn logs). The command always requires a 
parameter of -applicationId arg. However, help message of the command does 
not make it clear. It lists -applicationId as optional parameter. If I don't 
set it, YARN CLI will complain this is missing. It is better to use standard 
required notation used in other Linux command for help message. Any user 
familiar to the command can understand that this parameter is needed more 
easily.

{code:title=current help message}
-bash-4.1$ yarn logs
usage: general options are:
 -applicationId arg   ApplicationId (required)
 -appOwner argAppOwner (assumed to be current user if not
specified)
 -containerId arg ContainerId (must be specified if node address is
specified)
 -nodeAddress arg NodeAddress in the format nodename:port (must be
specified if container id is specified)
{code}

{code:title=proposed help message}
-bash-4.1$ yarn logs
usage: yarn logs -applicationId application ID [OPTIONS]
general options are:
 -appOwner argAppOwner (assumed to be current user if not
specified)
 -containerId arg ContainerId (must be specified if node address is
specified)
 -nodeAddress arg NodeAddress in the format nodename:port (must be
specified if container id is specified)
{code}

2. Add description for help command. As far as I know, a user cannot get logs 
for running job. Since I spent some time trying to get logs of running 
applications, it should be nice to say this in command description.
{code:title=proposed help}
Retrieve logs for completed/killed YARN application
usage: general options are...
{code}


  was:
YARN CLI has a command logs ($ yarn logs). The command always requires a 
parameter of -applicationId arg. However, help message of the command does 
not make it clear. It lists -applicationId as optional parameter. If I don't 
set it, YARN CLI will complain this is missing. It is better to use standard 
required notation used in other Linux command for help message. Any user 
familiar to the command can understand that this parameter is needed more 
easily.

{code:title=current help message}
-bash-4.1$ yarn logs
usage: general options are:
 -applicationId arg   ApplicationId (required)
 -appOwner argAppOwner (assumed to be current user if not
specified)
 -containerId arg ContainerId (must be specified if node address is
specified)
 -nodeAddress arg NodeAddress in the format nodename:port (must be
specified if container id is specified)
{code}

{code:title=proposed help message}
-bash-4.1$ yarn logs
usage: yarn logs -applicationId application ID [OPTIONS]
general options are:
 -appOwner argAppOwner (assumed to be current user if not
specified)
 -containerId arg ContainerId (must be specified if node address is
specified)
 -nodeAddress arg NodeAddress in the format nodename:port (must be
specified if container id is specified)
{code}

Summary: Improve help message for $ yarn logs  (was: Standardize help 
message for required parameter of $ yarn logs)

 Improve help message for $ yarn logs
 

 Key: YARN-1080
 URL: https://issues.apache.org/jira/browse/YARN-1080
 Project: Hadoop YARN
  Issue Type: Improvement
  Components: client
Reporter: Tassapol Athiapinya
 Fix For: 2.1.0-beta


 There are 2 parts I am proposing in this jira. They can be fixed together in 
 one patch.
 1. Standardize help message for required parameter of $ yarn logs
 YARN CLI has a command logs ($ yarn logs). The command always requires a 
 parameter of -applicationId arg. However, help message of the command 
 does not make it clear. It lists -applicationId as optional parameter. If I 
 don't set it, YARN CLI will complain this is missing. It is better to use 
 standard required notation used in other Linux command for help message. Any 
 user familiar to the command can understand that this parameter is needed 
 more easily.
 {code:title=current help message}
 -bash-4.1$ yarn logs
 usage: general options are:
  -applicationId arg   ApplicationId (required)
  -appOwner argAppOwner (assumed to be current user if not
 specified)
  -containerId arg ContainerId (must be specified if node