ERROR security. Usergroupinformation:priviledgedactionexception

Source: Internet
Author: User

16/02/15 08:56:31 ERROR Security. Usergroupinformation:priviledgedactionexception As:hadoop cause:org.apache.hadoop.ipc.RemoteException: Org.apache.hadoop.mapred.SafeModeException:JobTracker is in Safe modeAt Org.apache.hadoop.mapred.JobTracker.checkSafeMode (jobtracker.java:5188)At Org.apache.hadoop.mapred.JobTracker.getStagingAreaDir (jobtracker.java:3677)At Sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)At Sun.reflect.NativeMethodAccessorImpl.invoke (nativemethodaccessorimpl.java:57)At Sun.reflect.DelegatingMethodAccessorImpl.invoke (delegatingmethodaccessorimpl.java:43)At Java.lang.reflect.Method.invoke (method.java:606)At Org.apache.hadoop.ipc.rpc$server.call (rpc.java:587)At Org.apache.hadoop.ipc.server$handler$1.run (server.java:1432)At Org.apache.hadoop.ipc.server$handler$1.run (server.java:1428)At java.security.AccessController.doPrivileged (Native Method)At Javax.security.auth.Subject.doAs (subject.java:415)At Org.apache.hadoop.security.UserGroupInformation.doAs (usergroupinformation.java:1190)At Org.apache.hadoop.ipc.server$handler.run (server.java:1426)
Org.apache.hadoop.ipc.RemoteException:org.apache.hadoop.mapred.SafeModeException:JobTracker is in Safe modeAt Org.apache.hadoop.mapred.JobTracker.checkSafeMode (jobtracker.java:5188)At Org.apache.hadoop.mapred.JobTracker.getStagingAreaDir (jobtracker.java:3677)At Sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)At Sun.reflect.NativeMethodAccessorImpl.invoke (nativemethodaccessorimpl.java:57)At Sun.reflect.DelegatingMethodAccessorImpl.invoke (delegatingmethodaccessorimpl.java:43)At Java.lang.reflect.Method.invoke (method.java:606)At Org.apache.hadoop.ipc.rpc$server.call (rpc.java:587)At Org.apache.hadoop.ipc.server$handler$1.run (server.java:1432)At Org.apache.hadoop.ipc.server$handler$1.run (server.java:1428)At java.security.AccessController.doPrivileged (Native Method)At Javax.security.auth.Subject.doAs (subject.java:415)At Org.apache.hadoop.security.UserGroupInformation.doAs (usergroupinformation.java:1190)At Org.apache.hadoop.ipc.server$handler.run (server.java:1426)
At Org.apache.hadoop.ipc.Client.call (client.java:1113)At Org.apache.hadoop.ipc.rpc$invoker.invoke (rpc.java:229)At org.apache.hadoop.mapred. $Proxy 2.getStagingAreaDir (Unknown Source)At Sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)At Sun.reflect.NativeMethodAccessorImpl.invoke (nativemethodaccessorimpl.java:57)At Sun.reflect.DelegatingMethodAccessorImpl.invoke (delegatingmethodaccessorimpl.java:43)At Java.lang.reflect.Method.invoke (method.java:606)At Org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod (retryinvocationhandler.java:85)At Org.apache.hadoop.io.retry.RetryInvocationHandler.invoke (retryinvocationhandler.java:62)At org.apache.hadoop.mapred. $Proxy 2.getStagingAreaDir (Unknown Source)At Org.apache.hadoop.mapred.JobClient.getStagingAreaDir (jobclient.java:1309)At Org.apache.hadoop.mapreduce.JobSubmissionFiles.getStagingDir (jobsubmissionfiles.java:102)At Org.apache.hadoop.mapred.jobclient$2.run (jobclient.java:942)At Org.apache.hadoop.mapred.jobclient$2.run (jobclient.java:936)At java.security.AccessController.doPrivileged (Native Method)At Javax.security.auth.Subject.doAs (subject.java:415)At Org.apache.hadoop.security.UserGroupInformation.doAs (usergroupinformation.java:1190)At Org.apache.hadoop.mapred.JobClient.submitJobInternal (jobclient.java:936)At Org.apache.hadoop.mapred.JobClient.submitJob (jobclient.java:910)At Org.apache.hadoop.mapred.JobClient.runJob (jobclient.java:1353) ============================================== =============================================================== error caused by Safe mode
org.apache.hadoop.dfs.SafeModeException:Cannot Delete ..., Name node is in safe mode when the Distributed file system is started, There is a safe mode at the beginning, and when the Distributed file system is in Safe mode, the contents of the file system are not allowed to be modified or deleted until the end of safe mode. The Safe mode is to check the validity of the data blocks on each datanode when the system is started, and to copy or delete some data blocks according to the policy. The run time can also be entered in safe mode through commands. In practice, when the system starts to modify and delete files will also have a safe mode does not allow the modification of the error prompt, only need to wait a while.
Java code
    1. Hadoop Dfsadmin-safemode Leave
Turn off Safe mode-----------------------------------------------------------------------------------------
Geohadoop

ERROR security. Usergroupinformation:priviledgedactionexception

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.