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

ASF GitHub Bot commented on SPARK-26311:
----------------------------------------

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

 ##########
 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:
   Is this the full address of the NM HTTP server? Because it feels a little 
conflicting with the above variable.
   
   Also I'm not sure what "node on container" means. Perhaps "node where 
container was run".

----------------------------------------------------------------
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:
us...@infra.apache.org


> [YARN] New feature: custom log URL for stdout/stderr
> ----------------------------------------------------
>
>                 Key: SPARK-26311
>                 URL: https://issues.apache.org/jira/browse/SPARK-26311
>             Project: Spark
>          Issue Type: Improvement
>          Components: YARN
>    Affects Versions: 2.4.0
>            Reporter: Jungtaek Lim
>            Priority: Major
>
> Spark has been setting static log URLs for YARN application, which points to 
> NodeManager webapp. Normally it would work for both running apps and finished 
> apps, but there're also other approaches on maintaining application logs, 
> like having external log service which enables to avoid application log url 
> to be a deadlink when NodeManager is not accessible. (Node decommissioned, 
> elastic nodes, etc.)
> Spark can provide a new configuration for custom log url on YARN mode, which 
> end users can set it properly to point application log to external log 
> service.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to