Browse the filesystem not working


6 Answer(s)


Hi Manisha,

I think you hadoop cluster is in safemode. To quit safemode, please run the following command :

$ hadoop dfsadmin -safemode leave

This will resolve the issue.

Hope this helps. Please let me know if you any doubts.

Thanks.


Hi Manisha,


I had the same problem. I hope you have better luck than I did.  Still have not found a solution.


Gail


Manisha - Try using the comman below in both name and data nodes.

$ hadoop dfsadmin -safemode leave

Good luck.

/Rajesh


Hi All,

  Thaanks for your responce  i tried hadoop dfsadmin -safemode leave but still i am getting below 

 error 

16/05/07 17:14:35 ERROR security.UserGroupInformation: PriviledgedActionException as:hadoop cause:org.apache.hadoop.ipc.RemoteException: org.apache.hadoop.mapred.SafeModeException: JobTracker is in safe mode
        at 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 mode
        at 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)
 


Hi Manisha,

Stop all the hadoop services

Start all the hadoop services

Wait 2 min and run the following command in namenode machine:

hadoop dfsadmin -safemode leave

If this doesn't work, please share the output of the following output:

1. $ jps

2. $ hadoop dfsadmin -report

Thanks.

 


Hi Gail,

Could you please share your question link which was not resolved.
I would be glad to help you.

Thanks.