Support Questions

Find answers, ask questions, and share your expertise

where is spark application logs ? & default path of that directory ?

avatar
New Contributor
 
1 ACCEPTED SOLUTION

avatar
Master Collaborator

Hi @ComNic 

 

When you run the spark application in yarn mode, Spark application will launch executors/containers in different node. In each node, logs are stored. When log aggregation is happen all logs are merged and we can access the logs by running following command:

 

yarn logs -applicationId <Application_ID>

The container logs should be under yarn.nodemanager.log-dirs path. 

View solution in original post

4 REPLIES 4

avatar
Community Manager

@ComNic, Welcome to our community! To help you get the best possible answer, I have tagged in our Spark experts @RangaReddy @Babasaheb  who may be able to assist you further.

Please feel free to provide any additional information or details about your query, and we hope that you will find a satisfactory solution to your question.



Regards,

Vidya Sargur,
Community Manager


Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Learn more about the Cloudera Community:

avatar
Master Collaborator

Hi @ComNic 

 

When you run the spark application in yarn mode, Spark application will launch executors/containers in different node. In each node, logs are stored. When log aggregation is happen all logs are merged and we can access the logs by running following command:

 

yarn logs -applicationId <Application_ID>

The container logs should be under yarn.nodemanager.log-dirs path. 

avatar
Master Collaborator

Hi @ComNic 

 

Please accept above solution if you got answer for your question.

avatar
Community Manager

@ComNic, Has the reply helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future. 



Regards,

Vidya Sargur,
Community Manager


Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Learn more about the Cloudera Community: