Hi Arun, Here NameNode is in safe mode. This is not related to permission problem. It looks to me that you have synced some blocks and restarted NN. So, NN will expect some blocks to come out of safemode. But in your version of hadoop, that partial blocks will not be reported again from DN. or DN did not send blk reports yet (in ideal case.) If you dont have any useful data in cluster, can you please format once and restrat again?
Hope, it should work. Regards, Uma ----- Original Message ----- From: ArunKumar <[email protected]> Date: Sunday, September 18, 2011 3:37 pm Subject: Re: Submitting Jobs from different user to a queue in capacity scheduler To: [email protected] > Hi Uma ! > > I have added in hdfs-site.xml the following > <property> > <name>dfs.permissions</name> > <value>false</value> > </property> > and restarted the cluster. > I tried : > arun@arun-Presario-C500-RU914PA-ACJ:~$ > /home/hduser/hadoop203/bin/hadoop jar > /home/hduser/hadoop203/hadoop-examples*.jar pi 1 1 > Number of Maps = 1 > Samples per Map = 1 > org.apache.hadoop.ipc.RemoteException: > org.apache.hadoop.hdfs.server.namenode.SafeModeException: Cannot > createdirectory /user/arun/PiEstimator_TMP_3_141592654/in. 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. > at > org.apache.hadoop.hdfs.server.namenode.FSNamesystem.mkdirsInternal(FSNamesystem.java:1912) > at > org.apache.hadoop.hdfs.server.namenode.FSNamesystem.mkdirs(FSNamesystem.java:1886) > .................... > How do i set hdfs permission for a particular user ? > > Arun > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Submitting-Jobs-from-different- > user-to-a-queue-in-capacity-scheduler-tp3345752p3345973.html > Sent from the Hadoop lucene-users mailing list archive at Nabble.com. >
