diff --git a/other/java/client/pom.xml b/other/java/client/pom.xml index 751ac59d1..309c2b1ed 100644 --- a/other/java/client/pom.xml +++ b/other/java/client/pom.xml @@ -5,7 +5,7 @@ com.github.chrislusf seaweedfs-client - 1.6.9 + 1.7.0 org.sonatype.oss @@ -60,7 +60,7 @@ org.apache.httpcomponents httpmime - 4.5.6 + 4.5.13 junit diff --git a/other/java/client/pom.xml.deploy b/other/java/client/pom.xml.deploy index 0c961f215..8b96c9801 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.6.9 + 1.7.0 org.sonatype.oss @@ -60,7 +60,7 @@ org.apache.httpcomponents httpmime - 4.5.6 + 4.5.13 junit diff --git a/other/java/client/pom_debug.xml b/other/java/client/pom_debug.xml index e31ff4f57..de120869d 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.6.9 + 1.7.0 org.sonatype.oss @@ -60,7 +60,7 @@ org.apache.httpcomponents httpmime - 4.5.6 + 4.5.13 junit diff --git a/other/java/client/src/main/java/seaweedfs/client/RemoteUtil.java b/other/java/client/src/main/java/seaweedfs/client/RemoteUtil.java index a84d5aa2b..0d912272b 100644 --- a/other/java/client/src/main/java/seaweedfs/client/RemoteUtil.java +++ b/other/java/client/src/main/java/seaweedfs/client/RemoteUtil.java @@ -14,10 +14,10 @@ public class RemoteUtil { String dir = SeaweedOutputStream.getParentDirectory(fullpath); String name = SeaweedOutputStream.getFileName(fullpath); - final FilerProto.CacheRemoteObjectToLocalClusterResponse downloadToLocalResponse = filerClient.getBlockingStub() - .downloadToLocal(FilerProto.CacheRemoteObjectToLocalClusterRequest.newBuilder() + final FilerProto.CacheRemoteObjectToLocalClusterResponse response = filerClient.getBlockingStub() + .cacheRemoteObjectToLocalCluster(FilerProto.CacheRemoteObjectToLocalClusterRequest.newBuilder() .setDirectory(dir).setName(name).build()); - return downloadToLocalResponse.getEntry(); + return response.getEntry(); } } diff --git a/other/java/examples/pom.xml b/other/java/examples/pom.xml index 720d95e5d..58e675977 100644 --- a/other/java/examples/pom.xml +++ b/other/java/examples/pom.xml @@ -11,13 +11,13 @@ com.github.chrislusf seaweedfs-client - 1.6.9 + 1.7.0 compile com.github.chrislusf seaweedfs-hadoop2-client - 1.6.9 + 1.7.0 compile diff --git a/other/java/hdfs2/dependency-reduced-pom.xml b/other/java/hdfs2/dependency-reduced-pom.xml index c6bde57cc..72e5dbfe7 100644 --- a/other/java/hdfs2/dependency-reduced-pom.xml +++ b/other/java/hdfs2/dependency-reduced-pom.xml @@ -301,7 +301,7 @@ - 1.6.9 + 1.7.0 2.9.2 diff --git a/other/java/hdfs2/pom.xml b/other/java/hdfs2/pom.xml index 1e0628c4d..aa4d8410c 100644 --- a/other/java/hdfs2/pom.xml +++ b/other/java/hdfs2/pom.xml @@ -5,7 +5,7 @@ 4.0.0 - 1.6.9 + 1.7.0 2.9.2 diff --git a/other/java/hdfs3/dependency-reduced-pom.xml b/other/java/hdfs3/dependency-reduced-pom.xml index 400e83ce9..4fe697fe9 100644 --- a/other/java/hdfs3/dependency-reduced-pom.xml +++ b/other/java/hdfs3/dependency-reduced-pom.xml @@ -309,7 +309,7 @@ - 1.6.9 + 1.7.0 3.1.1 diff --git a/other/java/hdfs3/pom.xml b/other/java/hdfs3/pom.xml index c948a31ff..78def4954 100644 --- a/other/java/hdfs3/pom.xml +++ b/other/java/hdfs3/pom.xml @@ -5,7 +5,7 @@ 4.0.0 - 1.6.9 + 1.7.0 3.1.1