Support Questions
Find answers, ask questions, and share your expertise

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

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

Explorer

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

Explorer

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

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.