steveloughran commented on a change in pull request #1792: HADOOP-16790: Add Write Convenience Methods URL: https://github.com/apache/hadoop/pull/1792#discussion_r363252414
########## File path: hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/TestFileUtil.java ########## @@ -1493,6 +1495,73 @@ public void testReadSymlinkWithAFileAsInput() throws IOException { file.delete(); } + /** + * Test that bytes are written out correctly to the local file system. + */ + @Test + public void testWriteBytes() throws IOException { + setupDirs(); + + URI uri = tmp.toURI(); + Configuration conf = new Configuration(); + FileSystem fs = FileSystem.newInstance(uri, conf); Review comment: just use FileSystem.get() ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org