Skip to content

Unremovable directory #779

@masiulaniec

Description

@masiulaniec

It is a second time I am seeing this: a directory that cannot be removed. This is just a quick note, I have not investigated deeper yet.

In the below transcript, notice the multiple occurrences of 'May 28 23:32'.

In a container:

root@4fe59f51d2a8:/var/hadoop/fs# date
Sat Jun  1 20:49:51 UTC 2013
root@4fe59f51d2a8:/var/hadoop/fs# ls -al
total 12
drwxr-xr-x  5 root root 4096 Jun  1 20:49 .
drwxr-xr-x 11 root root 4096 May 28 23:32 ..
drwx------  3 hdfs hdfs 4096 Jun  1 20:01 nn
root@4fe59f51d2a8:/var/hadoop/fs# rm -r nn
root@4fe59f51d2a8:/var/hadoop/fs# ls -al
total 12
drwxr-xr-x  5 root root 4096 Jun  1 20:50 .
drwxr-xr-x 11 root root 4096 May 28 23:32 ..
drwx------  3 hdfs hdfs 4096 Jun  1 20:01 nn
root@4fe59f51d2a8:/var/hadoop/fs# ps aux
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.2  49952  2816 ?        S    20:48   0:00 /usr/sbin/sshd -D
root         6  0.2  0.3  73356  3716 ?        Ss   20:48   0:00 sshd: root@pts/0
root        18  0.0  0.2  18164  2068 pts/0    Ss   20:48   0:00 -bash
root        42  0.0  0.1  15276  1080 pts/0    R+   20:50   0:00 ps aux
root@4fe59f51d2a8:/var/hadoop/fs#

Outside:

root@main:~# docker info
containers: 272
version: 0.3.3
images: 82
Go version: go1.0.3
root@main:~#

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions