티스토리 뷰

공부

[spark] get yarn application id

승가비 2023. 3. 10. 04:12
728x90
    fun id(): String {
        return make()
            .sparkContext()
            .applicationId()
    }

https://knight76.tistory.com/entry/YARN%EC%97%90-%EB%B0%B0%ED%8F%AC%EB%90%9C-Spark-%EC%95%A0%ED%94%8C%EB%A6%AC%EC%BC%80%EC%9D%B4%EC%85%98%EC%9D%98-Application-ID-%EC%96%BB%EA%B8%B0

 

YARN에 배포된 Spark 애플리케이션의 Application ID 얻기

How to get applicationId of Spark application deployed to YARN in ... https://spark.apache.org/docs/2.3.0/api/java/org/apache/spark/SparkContext.html applicationIdpublic String applicationId()A unique identifier for the Spark application. Its format depend

knight76.tistory.com

 

728x90

'공부' 카테고리의 다른 글

[sh] sleep 3 (3s); sleep 0.3 (0.3s)  (0) 2023.03.12
[sh] python jq  (0) 2023.03.12
[MySQL] ALTER TABLE table ADD COLUMN asdf INT(10) FIRST  (0) 2023.03.10
[kotlin] reduce & fold  (0) 2023.03.10
[spark] dataframe equals `a.expect(b).count() == 0`  (0) 2023.03.08
댓글