Removed .isRoot because its not supported by vanilla hadoop