Github user cestella commented on a diff in the pull request:

    https://github.com/apache/metron/pull/1109#discussion_r203049598
  
    --- Diff: 
metron-platform/metron-common/src/main/java/org/apache/metron/common/utils/HDFSUtils.java
 ---
    @@ -29,6 +29,16 @@
     
     public class HDFSUtils {
     
    +  public static byte[] readBytes(String path) throws IOException {
    +    return readBytes(new Path(path));
    +  }
    +
    +  public static byte[] readBytes(Path inPath) throws IOException {
    +    FileSystem fs = FileSystem.get(inPath.toUri(), new Configuration());
    +    FSDataInputStream inputStream = fs.open(inPath);
    --- End diff --
    
    I retract this, it originated in @mmiklavc 's PR.  I moved the comment 
there.


---

Reply via email to