Project: mesos
Issue MESOS-4539: Exclude paths in Posix disk isolator should be absolute paths.
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}
Story points: 2