Uploaded image for project: 'Apache Knox'
  1. Apache Knox
  2. KNOX-405

YARN application submit requests have non-knox host:port information

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.5.0
    • None
    • Server
    • None

    Description

      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

      Attachments

        Issue Links

          Activity

            People

              sumit.gupta Sumit Gupta
              sumit.gupta Sumit Gupta
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: