Member since
02-02-2021
116
Posts
2
Kudos Received
5
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 1308 | 08-13-2021 09:44 AM | |
| 5977 | 04-27-2021 04:23 PM | |
| 2328 | 04-26-2021 10:47 AM | |
| 1527 | 03-29-2021 06:01 PM | |
| 4200 | 03-17-2021 04:53 PM |
06-23-2022
12:54 PM
Hi experts, I was wondering what is the best way to troubleshoot an application or job that is taking longer than usual. Maybe a 5minute job that is taking 1 hour or longer to complete etc. What are some things I should start looking at first? Or can someone bring me through the process? Thanks,
... View more
Labels:
- Labels:
-
Apache YARN
06-23-2022
12:53 PM
Hi experts, I was wondering if it is possible to see based on the application logs alone that it is trying to find available resources from the cluster, assuming that there are currently other running jobs that are utilizing the cluster resources? If so, how would it look like in the application logs or what do I look for? Thanks,
... View more
Labels:
- Labels:
-
Apache YARN
01-12-2022
01:45 PM
Hi experts, Our hadoop cluster has an old version of log4j and we were wondering how to properly upgrade log4j? Can we just replace the log4j jar file with an upgraded version? Currently this is one of the log4j files in our hadoop cluster. /usr/hdp/2.6.1.0-129/hadoop/client/log4j-1.2.17.jar Any help is much appreciated. Thanks,
... View more
Labels:
- Labels:
-
Apache Hadoop
12-16-2021
12:40 PM
Hi @willx , Is there a way to see if the hadoop path is a volume or a directory?
... View more
12-15-2021
04:47 PM
Hi experts, Can someone please explain the difference between volumes and folders in hadoop? Thanks,
... View more
Labels:
- Labels:
-
Apache Hadoop
10-16-2021
09:00 AM
1 Kudo
@Faizan_Ali Thanks for the explanation. Makes sense. So while an application is running, it logs the container logs into a local directory "$ {yarn.nodemanager.log-dirs}/application_${appid}" then after the application is completed, it aggregates the logs into yarn.nodemanager.remote-app-log-dir. Ok thanks for the explanation.
... View more
10-15-2021
05:59 PM
Thanks @Faizan_Ali for the explanation. So in other words, once the job completes, then these logs will be stored in HDFS, or where are the logs stored after the application job is completed? Are the local and log yarn dirs are only for temporary use, usually when a job runs in the hadoop cluster? Thanks,
... View more
10-13-2021
06:15 AM
Hi experts, I just wanted to confirm my understanding or help me better understand the yarn local and log dirs. So my understanding is that yarn will download the data locally to a filesystem so that it is more easily accessible when a job is run as well as logs for that particular application. I believe these are temporary files as they will be stored in HDFS after the job completes. [root@test01 log]# ll /hadoop/yarn/ total 0 drwxr-xr-x. 6 yarn hadoop 78 Oct 13 08:09 local drwxrwxr-x. 8 yarn hadoop 239 Oct 13 08:09 log Can someone please help confirm my understanding or help me better understand this concept? Also what is usually best practice in regards to mounting these directories onto a local filesystem or onto another hard drive or can I have this directory share a hard drive with one of the datanode directories? Any help is much appreciated. Thanks,
... View more
Labels:
- Labels:
-
Apache Hadoop
-
Apache YARN
09-09-2021
08:54 AM
Yes, I have copied tables from another cluster to this current cluster.
... View more
09-08-2021
09:12 PM
Also here is the application logs. [hive@sunnymaster01 ~]$ cat application_1629805664278_0004.log End of LogType:prelaunch.err ****************************************************************************** Container: container_1629805664278_0004_02_000001 on sunnydn01.dmicorp.com_45454 LogAggregationType: AGGREGATED ================================================================================ LogType:prelaunch.out LogLastModifiedTime:Wed Sep 08 22:52:35 -0500 2021 LogLength:70 LogContents: Setting up env variables Setting up job resources Launching container End of LogType:prelaunch.out ****************************************************************************** Container: container_1629805664278_0004_02_000001 on sunnydn01.dmicorp.com_45454 LogAggregationType: AGGREGATED ================================================================================ LogType:stderr LogLastModifiedTime:Wed Sep 08 22:52:35 -0500 2021 LogLength:77 LogContents: Error: Could not find or load main class org.apache.tez.dag.app.DAGAppMaster End of LogType:stderr *********************************************************************** Container: container_1629805664278_0004_02_000001 on sunnydn01.dmicorp.com_45454 LogAggregationType: AGGREGATED ================================================================================ LogType:stdout LogLastModifiedTime:Wed Sep 08 22:52:35 -0500 2021 LogLength:723 LogContents: Heap PSYoungGen total 149504K, used 5140K [0x00000000e6700000, 0x00000000f0d80000, 0x0000000100000000) eden space 128512K, 4% used [0x00000000e6700000,0x00000000e6c05208,0x00000000ee480000) from space 20992K, 0% used [0x00000000ef900000,0x00000000ef900000,0x00000000f0d80000) to space 20992K, 0% used [0x00000000ee480000,0x00000000ee480000,0x00000000ef900000) ParOldGen total 341504K, used 0K [0x00000000b3400000, 0x00000000c8180000, 0x00000000e6700000) object space 341504K, 0% used [0x00000000b3400000,0x00000000b3400000,0x00000000c8180000) Metaspace used 2971K, capacity 4550K, committed 4864K, reserved 1056768K class space used 316K, capacity 386K, committed 512K, reserved 1048576K End of LogType:stdout *********************************************************************** End of LogType:prelaunch.err ****************************************************************************** Container: container_1629805664278_0004_01_000001 on sunnydn05.dmicorp.com_45454 LogAggregationType: AGGREGATED ================================================================================ LogType:prelaunch.out LogLastModifiedTime:Wed Sep 08 22:52:35 -0500 2021 LogLength:70 LogContents: Setting up env variables Setting up job resources Launching container End of LogType:prelaunch.out ****************************************************************************** Container: container_1629805664278_0004_01_000001 on sunnydn05.dmicorp.com_45454 LogAggregationType: AGGREGATED ================================================================================ LogType:stderr LogLastModifiedTime:Wed Sep 08 22:52:35 -0500 2021 LogLength:77 LogContents: Error: Could not find or load main class org.apache.tez.dag.app.DAGAppMaster End of LogType:stderr *********************************************************************** Container: container_1629805664278_0004_01_000001 on sunnydn05.dmicorp.com_45454 LogAggregationType: AGGREGATED ================================================================================ LogType:stdout LogLastModifiedTime:Wed Sep 08 22:52:35 -0500 2021 LogLength:723 LogContents: Heap PSYoungGen total 149504K, used 5140K [0x00000000e6700000, 0x00000000f0d80000, 0x0000000100000000) eden space 128512K, 4% used [0x00000000e6700000,0x00000000e6c05208,0x00000000ee480000) from space 20992K, 0% used [0x00000000ef900000,0x00000000ef900000,0x00000000f0d80000) to space 20992K, 0% used [0x00000000ee480000,0x00000000ee480000,0x00000000ef900000) ParOldGen total 341504K, used 0K [0x00000000b3400000, 0x00000000c8180000, 0x00000000e6700000) object space 341504K, 0% used [0x00000000b3400000,0x00000000b3400000,0x00000000c8180000) Metaspace used 2973K, capacity 4550K, committed 4864K, reserved 1056768K class space used 316K, capacity 386K, committed 512K, reserved 1048576K End of LogType:stdout *********************************************************************** Any help is much appreciated. Thanks,
... View more