org.apache.hadoop.hdfs.server.namenode.SafeModeException: Cannot create directory /user/hive/warehouse/emp.db. Name node is in safe mode. The ratio of reported blocks 0.9091 has not reached the threshold 0.9990. Safe mode will be turned off automatically.

Stack Overflow | valli n | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Error in creating database in Hive

    Stack Overflow | 6 months ago | valli n
    org.apache.hadoop.hdfs.server.namenode.SafeModeException: Cannot create directory /user/hive/warehouse/emp.db. Name node is in safe mode. The ratio of reported blocks 0.9091 has not reached the threshold 0.9990. Safe mode will be turned off automatically.
  2. 0

    Creating a table in Hive and getting the below error. Can anyone help me? | LinkedIn

    linkedin.com | 2 years ago
    org.apache.hadoop.hdfs.server.namenode.SafeModeException: Cannot create directory /user/hive/warehouse/x. Name node is in safe mode. The ratio of reported blocks 0.0000 has not reached the threshold 0.9990. Safe mode will be turned off automatically.
  3. 0

    Problem with MR job

    Google Groups | 6 years ago | George Kousiouris
    org.apache.hadoop.hdfs.server.namenode.SafeModeException: Cannot create directory /var/lib/hadoop-0.20/cache/hdfs/mapred/system. Name nod$ The reported blocks 0 needs additional 12 blocks to reach the threshold 0.9990 of total blocks 13. Safe mode will be turned off automatically.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Hypertable error!!

    Google Groups | 3 years ago | Unknown author
    org.apache.hadoop.hdfs.server.namenode.SafeModeException: Cannot create directory /hypertable/servers/master/log/mml. Name node is in safe mode. Resources are low on NN. Safe mode must be turned off manually.

    Root Cause Analysis

    1. org.apache.hadoop.hdfs.server.namenode.SafeModeException

      Cannot create directory /user/hive/warehouse/emp.db. Name node is in safe mode. The ratio of reported blocks 0.9091 has not reached the threshold 0.9990. Safe mode will be turned off automatically.

      at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.mkdirsInternal()
    2. Apache Hadoop HDFS
      NameNode.mkdirs
      1. org.apache.hadoop.hdfs.server.namenode.FSNamesystem.mkdirsInternal(FSNamesystem.java:2055)
      2. org.apache.hadoop.hdfs.server.namenode.FSNamesystem.mkdirs(FSNamesystem.java:2029)
      3. org.apache.hadoop.hdfs.server.namenode.NameNode.mkdirs(NameNode.java:817)
      3 frames