HeartSaVioR commented on a change in pull request #23260: [SPARK-26311][YARN] 
New feature: custom log URL for stdout/stderr
URL: https://github.com/apache/spark/pull/23260#discussion_r240444758
 
 

 ##########
 File path: docs/running-on-yarn.md
 ##########
 @@ -430,6 +430,21 @@ To use a custom metrics.properties for the application 
master and executors, upd
   See <code>spark.yarn.config.gatewayPath</code>.
   </td>
 </tr>
+<tr>
+  <td><code>spark.yarn.custom.log.url</code></td>
+  <td>(none)</td>
+  <td>
+  Specifies custom spark log url for supporting external log service rather 
than NodeManager webapp address.
+  Spark will support some path variables via patterns. Supported patterns and 
allocated values are below: <p/>
+  <p/>
+  * `{{HttpScheme}}`: `http`/`https` according to YARN HTTP policy. 
(Configured via `yarn.http.policy`)<p/>
+  * `{{NodeHttpAddress}}`: HTTP URI of the node on Container.<p/> 
 
 Review comment:
   My bad. It is `host:port` instead of URI which can be retrieved from 
`container.getNodeHttpAddress`. The representation of `node on container` is 
borrowed from javadoc of this method, but I'm OK to use anything more clarified.
   
   Will address.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to