diff options
Diffstat (limited to 'other/java/hdfs')
| -rw-r--r-- | other/java/hdfs/pom.xml | 13 | ||||
| -rw-r--r-- | other/java/hdfs/src/main/java/seaweed/hdfs/SeaweedFileSystem.java | 7 |
2 files changed, 7 insertions, 13 deletions
diff --git a/other/java/hdfs/pom.xml b/other/java/hdfs/pom.xml index 53d6746fa..1600bea66 100644 --- a/other/java/hdfs/pom.xml +++ b/other/java/hdfs/pom.xml @@ -4,9 +4,14 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> + <properties> + <seaweedfs.client.version>1.0.3</seaweedfs.client.version> + <hadoop.version>3.1.1</hadoop.version> + </properties> + <groupId>com.github.chrislusf</groupId> <artifactId>seaweedfs-hadoop-client</artifactId> - <version>1.0.2</version> + <version>${seaweedfs.client.version}</version> <parent> <groupId>org.sonatype.oss</groupId> @@ -133,10 +138,6 @@ </plugins> </build> - <properties> - <hadoop.version>3.1.1</hadoop.version> - </properties> - <dependencies> <dependency> <groupId>org.apache.hadoop</groupId> @@ -146,7 +147,7 @@ <dependency> <groupId>com.github.chrislusf</groupId> <artifactId>seaweedfs-client</artifactId> - <version>1.0.2</version> + <version>${seaweedfs.client.version}</version> </dependency> <dependency> <groupId>org.apache.hadoop</groupId> diff --git a/other/java/hdfs/src/main/java/seaweed/hdfs/SeaweedFileSystem.java b/other/java/hdfs/src/main/java/seaweed/hdfs/SeaweedFileSystem.java index 7d992a7a1..2a0ef78af 100644 --- a/other/java/hdfs/src/main/java/seaweed/hdfs/SeaweedFileSystem.java +++ b/other/java/hdfs/src/main/java/seaweed/hdfs/SeaweedFileSystem.java @@ -310,9 +310,6 @@ public class SeaweedFileSystem extends org.apache.hadoop.fs.FileSystem { getClass().getSimpleName() + " FileSystem implementation"); } - /** - * See {@link FileContext#createSymlink(Path, Path, boolean)}. - */ @Override public void createSymlink(final Path target, final Path link, final boolean createParent) throws AccessControlException, @@ -324,10 +321,6 @@ public class SeaweedFileSystem extends org.apache.hadoop.fs.FileSystem { "Filesystem does not support symlinks!"); } - /** - * See {@link AbstractFileSystem#supportsSymlinks()}. - */ - @Override public boolean supportsSymlinks() { return false; } |
