refactoring SeaweedInputStream

This commit is contained in:
Chris Lu
2021-01-30 06:16:02 -08:00
parent 043c2d7960
commit 6f4aab51f9
7 changed files with 317 additions and 343 deletions

View File

@@ -1,6 +1,6 @@
package com.seaweedfs.examples;
import seaweed.hdfs.SeaweedInputStream;
import seaweed.hdfs.SeaweedHadoopInputStream;
import seaweedfs.client.FilerClient;
import seaweedfs.client.FilerGrpcClient;
@@ -24,7 +24,7 @@ public class UnzipFile {
long localProcessTime = startTime2 - startTime;
SeaweedInputStream seaweedInputStream = new SeaweedInputStream(
SeaweedHadoopInputStream seaweedInputStream = new SeaweedHadoopInputStream(
filerGrpcClient,
new org.apache.hadoop.fs.FileSystem.Statistics(""),
"/",