我無法在Scala中調用println
調用錯誤日誌或消息,同時在Spark
上運行作業EMR
。Spark在EMR上登錄?
我在哪裏可以訪問這些?
我使用script-runner.jar
與參數--deploy-mode
設置爲cluster
和--master
設置爲yarn
提交Spark job
,寫在Scala
到EMR
。它運行良好。
但是我沒有看到我的println
語句在Amazon EMR UI
,它裏面列出「標準錯誤,標準輸出etc. Furthermore if my job errors I don't see why it had an error. All I see is this in the
stderr`:
15/05/27 20:24:44 INFO yarn.Client: Application report from ResourceManager:
application identifier: application_1432754139536_0002
appId: 2
clientToAMToken: null
appDiagnostics:
appMasterHost: ip-10-185-87-217.ec2.internal
appQueue: default
appMasterRpcPort: 0
appStartTime: 1432758272973
yarnAppState: FINISHED
distributedFinalState: FAILED
appTrackingUrl: http://10.150.67.62:9046/proxy/application_1432754139536_0002/A
appUser: hadoop
`
是的,這是正確的。謝謝。對於其他用戶的知識,您可以在Amazon EMR Web UI中看到此「Log URI」,以獲取羣集信息/詳細信息。 –