Jie Yu created MESOS-4539:
-----------------------------
Summary: Exclude paths in Posix disk isolator should be absolute
paths.
Key: MESOS-4539
URL: https://issues.apache.org/jira/browse/MESOS-4539
Project: Mesos
Issue Type: Task
Reporter: Jie Yu
Assignee: Jie Yu
Since du --exclude uses pattern matching. A relative path might accidentally
matches an irrelevant directory/file. For instance,
{noformat}
/tmp/testpath $ tree
.
├── aaa
│ └── exc
│ └── file
└── exc
└── file
3 directories, 2 files
/tmp/testpath $ du --exclude /tmp/testpath/exc /tmp/testpath/
8 /tmp/testpath/aaa/exc
12 /tmp/testpath/aaa
16 /tmp/testpath/
/tmp/testpath $ du --exclude exc /tmp/testpath/
4 /tmp/testpath/aaa
8 /tmp/testpath/
/tmp/testpath $
{noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)