- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
yarn log applicationid - Error: Could not find or load main class log
- Labels:
-
Apache Hadoop
-
Apache Tez
-
Apache YARN
Created ‎02-26-2021 11:46 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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,
Created ‎02-28-2021 06:18 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Created ‎02-28-2021 06:18 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
