Пример #1
0
 /**
  * Asserts the value of the FsPermission bits on the inode of the test path.
  *
  * @param perm short expected permission bits
  * @param pathToCheck Path to check
  * @throws Exception thrown if there is an unexpected error
  */
 private static void assertPermission(short perm, Path pathToCheck) throws Exception {
   AclTestHelpers.assertPermission(hdfs, pathToCheck, perm);
 }