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

    https://github.com/apache/spark/pull/20119#discussion_r159372233
  
    --- Diff: 
common/network-shuffle/src/main/java/org/apache/spark/network/shuffle/ShuffleIndexInformation.java
 ---
    @@ -39,7 +39,7 @@ public ShuffleIndexInformation(File indexFile) throws 
IOException {
         offsets = buffer.asLongBuffer();
         DataInputStream dis = null;
         try {
    -      dis = new DataInputStream(Files.newInputStream(indexFile.toPath()));
    +      dis = new DataInputStream(new FileInputStream(indexFile));
    --- End diff --
    
    @zsxwing also here I think it will affect external shuffle service.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to