Hi Prabhu Thank you for your reply. I did the following: chmod 777 hadoop-yarn-server-nodemanager-<version>.jar Restarted NodeManager, resourcemanager
Still reporting an error Could not find or load main class org.apache.hadoop.yarn.server.nodemanager.containermanager.loca lizer.ContainerLocalizer Prabhu Josephraj <pjos...@cloudera.com> 于2019年8月20日周二 下午6:18写道: > On Secure Cluster, The ContainerLocalizer JVM runs as job user. The below > issue happens when the job user > does not have access to the hadoop-yarn-server-nodemanager-<version>.jar > present on hadoop classpath of > NodeManager machine. > > Could not find or load main class org.apache.hadoop.yarn.server. > nodemanager.containermanager.loca lizer.ContainerLocalizer > > Make sure the job user has access to > hadoop-yarn-server-nodemanager-<version>.jar. > > On Tue, Aug 20, 2019 at 3:40 PM alex noure <hello123...@gmail.com> wrote: > >> Hi all, >> >> When we configure kerberos to submit tasks, only the primary account can >> be submitted successfully, and other accounts cannot be submitted. >> >> Report Could not find or load main class >> org.apache.hadoop.yarn.server.nodemanager.containermanager.loca >> lizer.ContainerLocalizer >> >> My question is the same as this >> https://issues.apache.org/jira/browse/MAPREDUCE-7224 issue. >> >> I saw that my cluster environment variables are fine. >> >> How can I solve this problem? >> >> >> -- Best