SafeModeException on starting up

2012-11-16 Thread Li Li
hi all, I am trying to set up a hadoop cluster. But when I use start-all.sh to start it. it throws exception: 2012-11-17 10:40:21,662 ERROR org.apache.hadoop.security.UserGroupInformation: PriviledgedActionException as:work cause:org.apache.hadoop.hdfs.server.namenode.SafeModeException: Cannot

Re: SafeModeException on starting up

2012-11-16 Thread Shamshad Ansari
To turn the safe mode off manually, you can run the following command: hadoop dfsadmin -safemode leave Hope this helps. On Fri, Nov 16, 2012 at 7:21 PM, Li Li wrote: > hi all, > I am trying to set up a hadoop cluster. But when I use start-all.sh > to start it. it throws exception: > 20

Re: SafeModeException on starting up

2012-11-16 Thread Li Li
thanks. I run this command ant it said the safe mode is off. so I try to run hadoop jar /home/work/lili/hadoop-1.0.4/hadoop-test-1.0.4.jar TestDFSIO -write -nrFiles 10 -fileSize 1000 but it fails I am not sure whether I need to start a new post. :) 12/11/17 11:45:26 ERROR security.UserGroupInform