Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Plain View
HDFS >> mail # user >> Can't get out of safemode


+
Keith Wiley 2012-09-04, 17:07
Copy link to this message
-
Re: Can't get out of safemode
Can look in name node logs and post last few lines?

On 9/4/12 10:07 AM, "Keith Wiley" <[EMAIL PROTECTED]> wrote:

>Observe:
>
>~/ $ hd fs -put test /test
>put: org.apache.hadoop.hdfs.server.namenode.SafeModeException: Cannot
>create file/test. Name node is in safe mode.
>~/ $ hadoop dfsadmin -safemode leave
>Safe mode is OFF
>~/ $ hadoop dfsadmin -safemode get
>Safe mode is ON
>~/ $ hadoop dfsadmin -safemode leave
>Safe mode is OFF
>~/ $ hadoop dfsadmin -safemode get
>Safe mode is ON
>~/ $ hd fs -put test /test
>put: org.apache.hadoop.hdfs.server.namenode.SafeModeException: Cannot
>create file/test. Name node is in safe mode.
>~/ $
>
>Grrr!
>
>__________________________________________________________________________
>______
>Keith Wiley     [EMAIL PROTECTED]     keithwiley.com
>music.keithwiley.com
>
>"I do not feel obliged to believe that the same God who has endowed us
>with
>sense, reason, and intellect has intended us to forgo their use."
>                                           --  Galileo Galilei
>__________________________________________________________________________
>______
>
+
Keith Wiley 2012-09-09, 22:39
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB