WebHosting

Tuesday, June 5, 2012

FAILED: Error in metadata: MetaException(message:Got exception: org.apache.hadoop.ipc.RemoteException org.apache.hadoop.hdfs.server.namenode.SafeModeException: Cannot create directory /user/hive/warehouse/user. Name node is in safe mode.

Error Message:


FAILED: Error in metadata: MetaException(message:Got exception: org.apache.hadoop.ipc.RemoteException org.apache.hadoop.hdfs.server.namenode.SafeModeException: Cannot create directory /user/hive/warehouse/user. Name node is in safe mode.

Solution:



Goto hadoop folder on terminal and type the command :

bin/hadoop dfsadmin -safemode leave


shashwat@ubuntu:~/Hadoop/hadoop$ bin/hadoop dfsadmin -safemode leave

No comments:

Post a Comment

Thank you for Commenting Will reply soon ......

Featured Posts

Error Message in DBeaver connecting using jdbc: Public Key Retrieval is not allowed

Fixing “Public Key Retrieval is not allowed” Error in MySQL with DBeaver   If you are trying to connect MySQL 8+ with DBeaver and suddenly...