From ae2309dc58dbfb231fbf06ed7e16055a4fbc5df9 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Sat, 28 Mar 2020 23:58:59 -0700 Subject: [PATCH] Update SeaweedRead.java --- .../java/client/src/main/java/seaweedfs/client/SeaweedRead.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/other/java/client/src/main/java/seaweedfs/client/SeaweedRead.java b/other/java/client/src/main/java/seaweedfs/client/SeaweedRead.java index d2717056f..8e850f87e 100644 --- a/other/java/client/src/main/java/seaweedfs/client/SeaweedRead.java +++ b/other/java/client/src/main/java/seaweedfs/client/SeaweedRead.java @@ -61,6 +61,8 @@ public class SeaweedRead { return readEncryptedChunkView(position, buffer, startOffset, chunkView, locations); } + // TODO: read the chunk and returns the chunk view data here + HttpClient client = new DefaultHttpClient(); HttpGet request = new HttpGet( String.format("http://%s/%s", locations.getLocations(0).getUrl(), chunkView.fileId));