hehuiyuan opened a new pull request #24009: [k8s]Unify the three variables' 
name :       pod name prefix in kubernetes / spark.app.name in spark ui  /  
spark-app-name in pod's annotations
URL: https://github.com/apache/spark/pull/24009
 
 
   ## What changes were proposed in this pull request?
   
   for example:
   
   (1)code:
   ` 
   val conf = new SparkConf().**setAppName("one-man").**setMaster("local[*]")
   val sc = new SparkContext(conf)
   val ssc = new StreamingContext(sc,Seconds(5))
   `
   
   (2)spark-submit:
   spark-submit --deploy-mode xxx --master xxx  **--name test01-1548829243628** 
--class org.apache.spark.examples.streaming.JavaNetworkWordCount
   
   (3)driver pod 's yaml
   apiVersion: v1
   kind: Pod
   metadata:
     annotations:
       **spark-app-name: test01-1548829395969**
   
   It's better to unify all names for spark on kubernetes.
   
   
![k8s](https://user-images.githubusercontent.com/18002496/53965925-0e413900-412d-11e9-88de-9c094e63b779.jpg)
   
![sparkui](https://user-images.githubusercontent.com/18002496/53965927-0e413900-412d-11e9-8848-13a1a35cf9a7.jpg)
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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