Java 类org.apache.hadoop.hdfs.server.namenode.AclTestHelpers 实例源码

项目:hadoop    文件:TestAclWithSnapshot.java   
/**
 * 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);
}
项目:aliyun-oss-hadoop-fs    文件:TestAclWithSnapshot.java   
/**
 * 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);
}
项目:big-c    文件:TestAclWithSnapshot.java   
/**
 * 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);
}
项目:hadoop-2.6.0-cdh5.4.3    文件:TestAclWithSnapshot.java   
/**
 * 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);
}
项目:FlexMap    文件:TestAclWithSnapshot.java   
/**
 * 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);
}
项目:hadoop-on-lustre2    文件:TestAclWithSnapshot.java   
/**
 * 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);
}