Support Questions

Find answers, ask questions, and share your expertise

yarn log applicationid - Error: Could not find or load main class log

avatar
Contributor

Hi,

Can someone please help me and let me know what I did wrong or am I missing something?

 

[root@sandbox ~]# yarn log -applicationId application_1614345689259_0002
Picked up _JAVA_OPTIONS: -Xmx2048m -XX:MaxPermSize=512m -Djava.awt.headless=true
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
Error: Could not find or load main class log
[root@sandbox~]#

 

 

Thanks,

1 ACCEPTED SOLUTION

avatar
Contributor

Hello @ryu 

The command that you are using is incorrect or maybe a typo. There is a 's' missing after log in the command.

 

Use below command to fetch the logs.

Yarn logs -applicationId <application id of the job>

 

Please accept this answer if you find it useful to resolve your issue.

 

 

Regards,

Amir Mirza

View solution in original post

1 REPLY 1

avatar
Contributor

Hello @ryu 

The command that you are using is incorrect or maybe a typo. There is a 's' missing after log in the command.

 

Use below command to fetch the logs.

Yarn logs -applicationId <application id of the job>

 

Please accept this answer if you find it useful to resolve your issue.

 

 

Regards,

Amir Mirza