hadoop - Error: E0902: Exception occured: [User: Root is not allowed to impersonate root -
I'm trying to follow the steps Note: I am not using Cludera Distibusn of Hup
Similar to the above link, but with more descriptive I think, however, I'm getting an exception by running the command as a root user. /bin/oozie-setup.sh sharelib create -fs
Note: I have two surviving node shown in Dfshealth.jsp and I Core for three (including namenode) with assets such as the following Site.xml has been updated
& lt; Property & gt; & Lt; Name & gt; Hadoop.proxyuser.root.hosts & lt; / Name & gt; & Lt; Price & gt; * & Lt; / Pricing & gt; & Lt; / Property & gt; & Lt; Property & gt; & Lt; Name & gt; Hadoop.proxyuser.root.groups & lt; / Name & gt; & Lt; Price & gt; * & Lt; / Pricing & gt; & Lt; / Property & gt;
I think this is the point where I'm wrong someone could please let me guide
Stacktrace org.apache.oozie.service. HadoopAccessorException: E0902: exception: on org.apache.oozie.service.HadoopAccessorService.createFileSystem (HadoopAccessorService.java:430) on org.apache.oozie.tools.OozieSharelibCLI.run: [root user is not allowed to impersonate root ] (OozieSharelibCLI.java:144) caused by at org.apache.oozie.tools.OozieSharelibCLI.main (OozieSharelibCLI.java:52): org.apache.hadoop.ipc.RemoteException: user: org.apache.hadoop root. To Impersonate Root on IPC Umti not Org.apache.hadoop.ipc.RPC $ at .client.call (Client.java:1107) $ Invoker.invoke on com.un.proxy (RPC.javamore29). $ Proxy5.getProtocolVersion org.apache (Unknown Source) reateRPCNamenode (DFSClient.java:135) on org.apache.hadoop.hdfs.DFSClient.c Apache.hadoop.ipc.RPC.getProxy (RPC.java:411) organization. Hadoop.hdfs.DFSClient at & lt; Init & gt; (DFSClient.java:276) org.apache.hadoop.hdfs.DFSClient at & lt; Init & gt; (DFSClient.java ..: 241) org.apache.hadoop.hdfs.DistributedFileSystem.initialize (DistributedFileSystem.java:100) on org.apache.hadoop.fs.FileSystem.createFileSystem (FileSystem.java:1411) org.apache. On the hadoop.fs.FileSystem on Org.apache.hadoop.fs.FileSystem.get (fileSystem.java:254). $ 200 (FileSystem.java:66) at org.apache.hadoop.fs.FileSystem $ Cache.get (FileSystem.java:1429). org.apache.oozie.service.HadoopAccessorService $ 2.run (HadoopAccessorService.java:422) org.apache.oozie.service.HadoopAccessorService $ 2.run on java.security.AccessController.doPrivileged on (HadoopAccessorService.java:420) ( Basic resident method) on javax.security.auth.Subject.doAs (Subject.java:396) on Org.apache.hadoop.security.UserGroupInformation.doAs (UserGroupInformation.java1136) org.apache.oozie.service.HadoopAccessorService.createFileSystem (HadoopAccessorService.java:420) ... 2 and ------- ------------------------------ -
Note: I have followed this link like this well, but I am not able to solve my problem
If I The original-site.xml is just below the name Changes in form I & lt; Property & gt; & Lt; Name & gt; Hadoop.proxyuser.hadoop.hosts & lt; / Name & gt; & Lt; Value & gt; [NAMENODE IP] & lt; / Value & gt; & Lt; / Property & gt; & Lt; Property & gt; & Lt; Name & gt; Hadoop.proxyuser.hadoop.groups & lt; / Name & gt; & Lt; Price & gt; Hadoop & lt; / Pricing & gt; & Lt; / Property & gt;
I get exceptions such as unauthorized connection to the super user: Halop
Restart your hood after adding property files to core- site.xml and try, though it does not work in nominated format and it will work if it starts.
Comments
Post a Comment