failed to run FSck with -move option
------------------------------------
Key: HADOOP-121
URL: http://issues.apache.org/jira/browse/HADOOP-121
Project: Hadoop
Type: Bug
Components: dfs
Versions: 0.1.0
Reporter: Hairong Kuang
I received the following error when running FSck with -move option. The dfs was
started as "crawler". /export/crawlspace2/kryptonite/hadoop/dfs/data/tmp is
writable only by "crawler". The fsck was ran by a client that did not have the
write right to /export/crawlspace2/kryptonite/hadoop/dfs/data/tmp.
- moving to /lost+found: /data/webdata/fastcrawl/23FEB2006/82.PC
java.io.FileNotFoundException:
/export/crawlspace2/kryptonite/hadoop/dfs/data/tmp/client-8234960199756230677
(Permission denied)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:179)
at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
at
org.apache.hadoop.dfs.DFSClient$DFSOutputStream.<init>(DFSClient.java:546)
at org.apache.hadoop.dfs.DFSClient.create(DFSClient.java:99)
at org.apache.hadoop.dfs.DFSck.lostFoundMove(DFSck.java:222)
at org.apache.hadoop.dfs.DFSck.check(DFSck.java:178)
at org.apache.hadoop.dfs.DFSck.check(DFSck.java:124)
at org.apache.hadoop.dfs.DFSck.fsck(DFSck.java:112)
at org.apache.hadoop.dfs.DFSck.main(DFSck.java:433)
Failed to move /data/webdata/fastcrawl/23FEB2006/82.PC to /lost+found:
/export/crawlspace2/kryptonite/hadoop/dfs/data/tmp/client-8234960199756230677
(Permission denied)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira