mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-29 16:30:44 +01:00
refactoring SeaweedInputStream
This commit is contained in:
1 parent
043c2d7960
commit
6f4aab51f9
7 files changed
+317
-343
No files matched your search
@@ -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(""),
|
||||
"/",
|
||||
|
||||
Reference in new issue
Block a user