hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jian He (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-5610) Initial code for native services REST API
Date Mon, 12 Sep 2016 08:26:20 GMT

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

Jian He commented on YARN-5610:
-------------------------------

Thanks, Gour.
bq.  So according to an app-owner, it is STARTED but not RUNNING yet.
I would prefer rename as such pair STARTED -> READAY, or RUNNING -> READY 
bq.  The swagger definition defines this.
Do you mean swagger has such a date type in string format ?  which one is this? I couldn't
find it in swagger documentation. 
bq. why the changes needed in hadoop-project/pom.xml
I meant what is this change used for ?
{code}
  <scm>
    <url>http://git-wip-us.apache.org/repos/asf/hadoop.git</url>
    <connection>
      scm:git:http://git-wip-us.apache.org/repos/asf/hadoop.git
    </connection>
    <developerConnection>
      scm:git:http://git-wip-us.apache.org/repos/asf/hadoop.git
    </developerConnection>
  </scm>
{code}
bq. appOptions and uniqueGlobalPropertyCache are required as appOptions is the way application
configuration properties are injected into Slider client.
I see.  Then the   {{if (uniqueGlobalPropertyCache == null) }} condition is not needed,
because uniqueGlobalPropertyCache is initialized  as not null.
{code}
private void addOptionsIfNotPresent(List<String> options,
    Set<String> uniqueGlobalPropertyCache, String key, String value) {
  if (uniqueGlobalPropertyCache == null) {
    options.addAll(Arrays.asList(key, value));
  }
{code}


bq. In case, of complex and nested applications some components will be by themselves full
blown and independent applications itself. The APPLICATION type artifact refers to such external
application definitions
Then, what are the other parameters in Component used for in this case ? like number_of_containers,
launch_command, resource etc.

> Initial code for native services REST API
> -----------------------------------------
>
>                 Key: YARN-5610
>                 URL: https://issues.apache.org/jira/browse/YARN-5610
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Gour Saha
>            Assignee: Gour Saha
>         Attachments: YARN-4793-yarn-native-services.001.patch, YARN-5610-yarn-native-services.002.patch
>
>
> This task will be used to submit and review patches for the initial code drop for the
native services REST API 



--
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


Mime
View raw message