You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "Sumit Gupta (JIRA)" <ji...@apache.org> on 2014/07/17 23:38:05 UTC
[jira] [Created] (KNOX-405) YARN application submit requests have
non-knox host:port information
Sumit Gupta created KNOX-405:
--------------------------------
Summary: YARN application submit requests have non-knox host:port information
Key: KNOX-405
URL: https://issues.apache.org/jira/browse/KNOX-405
Project: Apache Knox
Issue Type: Bug
Components: Server
Affects Versions: 0.4.0
Reporter: Sumit Gupta
Priority: Blocker
Fix For: 0.5.0
The application submit request via the writable REST api has section like :
am-container-spec": {
"local-resources": {
"entry": {
"key": "AppMaster.jar",
"value": {
"resource": "hdfs://localhost:9000/user/guest/AppMaster.jar",
"type": "FILE",
"visibility": "APPLICATION",
"size": "41601",
"timestamp": "1405544667528"
}
}
}
and
"environment": {
"entry": [
{
"key": "DISTRIBUTEDSHELLSCRIPTTIMESTAMP",
"value": "1405545208994"
},
{
"key": "CLASSPATH",
"value": "{{CLASSPATH}}<CPS>./*<CPS>{{HADOOP_CONF_DIR}}<CPS>{{HADOOP_COMMON_HOME}}/share/hadoop/common/*<CPS>{{HADOOP_COMMON_HOME}}/share/hadoop/common/lib/*<CPS>{{HADOOP_HDFS_HOME}}/share/hadoop/hdfs/*<CPS>{{HADOOP_HDFS_HOME}}/share/hadoop/hdfs/lib/*<CPS>{{HADOOP_YARN_HOME}}/share/hadoop/yarn/*<CPS>{{HADOOP_YARN_HOME}}/share/hadoop/yarn/lib/*<CPS>./log4j.properties"
},
{
"key": "DISTRIBUTEDSHELLSCRIPTLEN",
"value": "50"
},
{
"key": "DISTRIBUTEDSHELLSCRIPTLOCATION",
"value": "hdfs://localhost:9000/user/guest/shellCommands.sh"
}
]
}
The host and port info needs to be something that gets filled out by Knox.
Also reference [KNOX-74]
--
This message was sent by Atlassian JIRA
(v6.2#6252)