hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fu, Yong" <yong...@intel.com>
Subject How can i understand parent is file
Date Tue, 08 Aug 2017 12:45:39 GMT
When test my code, I found this case failed, but can't understand why a parent can be a file(org.apache.hadoop.fs.s3a.
ITestS3AMiscOperations
) .

@Test(expected = FileAlreadyExistsException.class)
public void testCreateNonRecursiveParentIsFile() throws IOException {
  Path parent = path("/file.txt");
  ContractTestUtils.touch(getFileSystem(), parent);
  createNonRecursive(new Path(parent, "fail"));
}




Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message