You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Hairong Kuang (JIRA)" <ji...@apache.org> on 2011/01/05 01:06:46 UTC

[jira] Resolved: (HDFS-110) Failed to execute fsck with -move option

     [ https://issues.apache.org/jira/browse/HDFS-110?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hairong Kuang resolved HDFS-110.
--------------------------------

    Resolution: Won't Fix

> Failed to execute fsck with -move option
> ----------------------------------------
>
>                 Key: HDFS-110
>                 URL: https://issues.apache.org/jira/browse/HDFS-110
>             Project: Hadoop HDFS
>          Issue Type: Bug
>            Reporter: Hairong Kuang
>            Assignee: Hairong Kuang
>
> I received the following error when running fsck with -move option. The dfs was started by a user while the fsck was ran by a different user that does not have the write access to the hadoop dfs data directory.
> - moving to /lost+found: /data.txt
> java.io.FileNotFoundException: hadoop-dfs-data-dir/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.txt to /lost+found: hadoop-dfs-data-dir/tmp/client-8234960199756230677 (Permission denied)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.