Browse Source

update hdfs client

pull/1084/head
Chris Lu 5 years ago
parent
commit
a999ed94d0
  1. 2
      other/java/client/pom.xml
  2. 4
      other/java/client/src/test/java/seaweedfs/client/SeaweedFilerTest.java
  3. 2
      other/java/hdfs2/dependency-reduced-pom.xml
  4. 2
      other/java/hdfs2/pom.xml
  5. 2
      other/java/hdfs2/src/main/java/seaweed/hdfs/SeaweedFileSystemStore.java
  6. 2
      other/java/hdfs3/dependency-reduced-pom.xml
  7. 2
      other/java/hdfs3/pom.xml
  8. 2
      other/java/hdfs3/src/main/java/seaweed/hdfs/SeaweedFileSystemStore.java

2
other/java/client/pom.xml

@ -4,7 +4,7 @@
<groupId>com.github.chrislusf</groupId>
<artifactId>seaweedfs-client</artifactId>
<version>1.1.6</version>
<version>1.1.8</version>
<parent>
<groupId>org.sonatype.oss</groupId>

4
other/java/client/src/test/java/seaweedfs/client/SeaweedFilerTest.java

@ -16,8 +16,8 @@ public class SeaweedFilerTest {
filerClient.mkdirs("/new_folder", 0755);
filerClient.touch("/new_folder/new_empty_file", 0755);
filerClient.touch("/new_folder/new_empty_file2", 0755);
filerClient.rm("/new_folder/new_empty_file", false);
filerClient.rm("/new_folder", true);
filerClient.rm("/new_folder/new_empty_file", false, true);
filerClient.rm("/new_folder", true, true);
}
}

2
other/java/hdfs2/dependency-reduced-pom.xml

@ -123,7 +123,7 @@
</snapshotRepository>
</distributionManagement>
<properties>
<seaweedfs.client.version>1.1.6</seaweedfs.client.version>
<seaweedfs.client.version>1.1.8</seaweedfs.client.version>
<hadoop.version>2.9.2</hadoop.version>
</properties>
</project>

2
other/java/hdfs2/pom.xml

@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>
<properties>
<seaweedfs.client.version>1.1.6</seaweedfs.client.version>
<seaweedfs.client.version>1.1.8</seaweedfs.client.version>
<hadoop.version>2.9.2</hadoop.version>
</properties>

2
other/java/hdfs2/src/main/java/seaweed/hdfs/SeaweedFileSystemStore.java

@ -137,7 +137,7 @@ public class SeaweedFileSystemStore {
if (source.isRoot()) {
return;
}
LOG.warn("rename source: {} destination:{}", source, destination);
LOG.info("rename source: {} destination:{}", source, destination);
FilerProto.Entry entry = lookupEntry(source);
if (entry == null) {
LOG.warn("rename non-existing source: {}", source);

2
other/java/hdfs3/dependency-reduced-pom.xml

@ -123,7 +123,7 @@
</snapshotRepository>
</distributionManagement>
<properties>
<seaweedfs.client.version>1.1.6</seaweedfs.client.version>
<seaweedfs.client.version>1.1.8</seaweedfs.client.version>
<hadoop.version>3.1.1</hadoop.version>
</properties>
</project>

2
other/java/hdfs3/pom.xml

@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>
<properties>
<seaweedfs.client.version>1.1.6</seaweedfs.client.version>
<seaweedfs.client.version>1.1.8</seaweedfs.client.version>
<hadoop.version>3.1.1</hadoop.version>
</properties>

2
other/java/hdfs3/src/main/java/seaweed/hdfs/SeaweedFileSystemStore.java

@ -137,7 +137,7 @@ public class SeaweedFileSystemStore {
if (source.isRoot()) {
return;
}
LOG.warn("rename source: {} destination:{}", source, destination);
LOG.info("rename source: {} destination:{}", source, destination);
FilerProto.Entry entry = lookupEntry(source);
if (entry == null) {
LOG.warn("rename non-existing source: {}", source);

Loading…
Cancel
Save