You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Rohith Sharma K S (JIRA)" <ji...@apache.org> on 2017/04/19 15:02:42 UTC

[jira] [Created] (YARN-6496) Revisit configurations published into ATSv2

Rohith Sharma K S created YARN-6496:
---------------------------------------

             Summary: Revisit configurations published into ATSv2
                 Key: YARN-6496
                 URL: https://issues.apache.org/jira/browse/YARN-6496
             Project: Hadoop YARN
          Issue Type: Sub-task
            Reporter: Rohith Sharma K S
            Assignee: Rohith Sharma K S


Slider configuration model is bit different from Hadoop. Slider has configuration object with several fields differentiations such as properties, environment and files that has more functionality such as fileName, fileType, srcFile, destFile. 
{code}
"configuration" : {
"properties": {
"rohith.test.properties": "inside-properties"
},
"env": {
"NUM_SHARDS": "insde-env"
}
"files" : [
{
"type": "HADOOP_XML_TEMPLATE",
"src_file": "hdfs://yclouddev/tmp/conf/core-site.xml",
"dest_file": "/etc/hadoop/conf/core-site.xml"
}]
{code}

Timeline entity config is modeled as a flattened map of  String to String, that is not flexible enough to satisfy above use-case. This need to rethink how can it be modeled.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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