diff --git a/other/java/client/pom.xml b/other/java/client/pom.xml
index 09f891a8a..5a4bbaead 100644
--- a/other/java/client/pom.xml
+++ b/other/java/client/pom.xml
@@ -5,7 +5,7 @@
com.github.chrislusf
seaweedfs-client
- 1.5.3
+ 1.5.4
org.sonatype.oss
diff --git a/other/java/client/pom.xml.deploy b/other/java/client/pom.xml.deploy
index 28a62d66f..e24bcca9f 100644
--- a/other/java/client/pom.xml.deploy
+++ b/other/java/client/pom.xml.deploy
@@ -5,7 +5,7 @@
com.github.chrislusf
seaweedfs-client
- 1.5.3
+ 1.5.4
org.sonatype.oss
diff --git a/other/java/client/pom_debug.xml b/other/java/client/pom_debug.xml
index 78e4986cf..724c3c3b9 100644
--- a/other/java/client/pom_debug.xml
+++ b/other/java/client/pom_debug.xml
@@ -5,7 +5,7 @@
com.github.chrislusf
seaweedfs-client
- 1.5.3
+ 1.5.4
org.sonatype.oss
diff --git a/other/java/hdfs2/dependency-reduced-pom.xml b/other/java/hdfs2/dependency-reduced-pom.xml
index 4be9ff180..b598d8402 100644
--- a/other/java/hdfs2/dependency-reduced-pom.xml
+++ b/other/java/hdfs2/dependency-reduced-pom.xml
@@ -301,7 +301,7 @@
- 1.5.3
+ 1.5.4
2.9.2
diff --git a/other/java/hdfs2/pom.xml b/other/java/hdfs2/pom.xml
index 478ae40ad..de518a0dc 100644
--- a/other/java/hdfs2/pom.xml
+++ b/other/java/hdfs2/pom.xml
@@ -5,7 +5,7 @@
4.0.0
- 1.5.3
+ 1.5.4
2.9.2
diff --git a/other/java/hdfs3/dependency-reduced-pom.xml b/other/java/hdfs3/dependency-reduced-pom.xml
index c09ab0040..262c3ca80 100644
--- a/other/java/hdfs3/dependency-reduced-pom.xml
+++ b/other/java/hdfs3/dependency-reduced-pom.xml
@@ -309,7 +309,7 @@
- 1.5.3
+ 1.5.4
3.1.1
diff --git a/other/java/hdfs3/pom.xml b/other/java/hdfs3/pom.xml
index d579daa76..1952305e9 100644
--- a/other/java/hdfs3/pom.xml
+++ b/other/java/hdfs3/pom.xml
@@ -5,7 +5,7 @@
4.0.0
- 1.5.3
+ 1.5.4
3.1.1
diff --git a/other/java/unzip/pom.xml b/other/java/unzip/pom.xml
index 1f86bb688..7cbb56ec3 100644
--- a/other/java/unzip/pom.xml
+++ b/other/java/unzip/pom.xml
@@ -11,13 +11,13 @@
com.github.chrislusf
seaweedfs-client
- 1.5.3
+ 1.5.4
compile
com.github.chrislusf
seaweedfs-hadoop2-client
- 1.5.3
+ 1.5.4
compile
diff --git a/other/java/unzip/src/main/java/com/example/test/Example.java b/other/java/unzip/src/main/java/com/example/test/Example.java
index 393ccb5ab..3d22329a8 100644
--- a/other/java/unzip/src/main/java/com/example/test/Example.java
+++ b/other/java/unzip/src/main/java/com/example/test/Example.java
@@ -17,9 +17,14 @@ public class Example {
public static void main(String[] args) throws IOException {
+ long startTime = System.currentTimeMillis();
// 本地模式,速度很快
parseZip("/Users/chris/tmp/test.zip");
+ long startTime2 = System.currentTimeMillis();
+
+ long localProcessTime = startTime2 - startTime;
+
// swfs读取,慢
SeaweedInputStream seaweedInputStream = new SeaweedInputStream(
filerGrpcClient,
@@ -29,6 +34,11 @@ public class Example {
);
parseZip(seaweedInputStream);
+ long swProcessTime = System.currentTimeMillis() - startTime2;
+
+ System.out.println("Local time: " + localProcessTime);
+ System.out.println("SeaweedFS time: " + swProcessTime);
+
}
public static void parseZip(String filename) throws IOException {