SeaweedFS is a distributed storage system for object storage (S3), file systems, Iceberg table buckets, and Lance vector buckets, designed to handle billions of files with O(1) disk access and effortless horizontal scaling.
Go blob-storagecloud-drivedistributed-file-systemdistributed-storageerasure-codingfusehadoop-hdfshdfskuberneteslancelancedbobject-storageposixs3s3-storageseaweedfstiered-file-systemvector-search
1.3.2
Chris Lufc9af962eca0
diff --git a/other/java/client/pom.xml b/other/java/client/pom.xmlindex 6f514d527a..3d4a1aff48 100644--- a/other/java/client/pom.xml+++ b/other/java/client/pom.xml@@ -5,7 +5,7 @@<groupId>com.github.chrislusf</groupId><artifactId>seaweedfs-client</artifactId>- <version>1.3.0</version>+ <version>1.3.2</version><parent><groupId>org.sonatype.oss</groupId>diff --git a/other/java/client/pom.xml.deploy b/other/java/client/pom.xml.deploynew file mode 100644index 0000000000..3d4a1aff48--- /dev/null+++ b/other/java/client/pom.xml.deploy@@ -0,0 +1,170 @@+<?xml version="1.0" encoding="UTF-8"?>+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"+ 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>++ <groupId>com.github.chrislusf</groupId>+ <artifactId>seaweedfs-client</artifactId>+ <version>1.3.2</version>++ <parent>+ <groupId>org.sonatype.oss</groupId>+ <artifactId>oss-parent</artifactId>+ <version>9</version>+ </parent>++ <properties>+ <protobuf.version>3.9.1</protobuf.version>+ <!-- follow https://github.com/grpc/grpc-java -->+ <grpc.version>1.23.0</grpc.version>+ <guava.version>28.0-jre</guava.version>+ </properties>++ <dependencies>+ <dependency>+ <groupId>com.moandjiezana.toml</groupId>+ <artifactId>toml4j</artifactId>+ <version>0.7.2</version>+ </dependency>+ <!-- https://mvnrepository.com/artifact/com.google.protobuf/protobuf-java -->+ <dependency>+ <groupId>com.google.protobuf</groupId>+ <artifactId>protobuf-java</artifactId>+ <version>${protobuf.version}</version>+ </dependency>+ <dependency>+ <groupId>com.google.guava</groupId>+ <artifactId>guava</artifactId>+ <version>${guava.version}</version>+ </dependency>+ <dependency>+ <groupId>io.grpc</groupId>+ <artifactId>grpc-netty-shaded</artifactId>+ <version>${grpc.version}</version>+ </dependency>+ <dependency>+ <groupId>io.grpc</groupId>+ <artifactId>grpc-protobuf</artifactId>+ <version>${grpc.version}</version>+ </dependency>+ <dependency>+ <groupId>io.grpc</groupId>+ <artifactId>grpc-stub</artifactId>+ <version>${grpc.version}</version>+ </dependency>+ <dependency>+ <groupId>org.slf4j</groupId>+ <artifactId>slf4j-api</artifactId>+ <version>1.7.25</version>+ </dependency>+ <dependency>+ <groupId>org.apache.httpcomponents</groupId>+ <artifactId>httpmime</artifactId>+ <version>4.5.6</version>+ </dependency>+ <dependency>+ <groupId>junit</groupId>+ <artifactId>junit</artifactId>+ <version>4.12</version>+ <scope>test</scope>+ </dependency>+ </dependencies>++ <distributionManagement>+ <snapshotRepository>+ <id>ossrh</id>+ <url>https://oss.sonatype.org/content/repositories/snapshots</url>+ </snapshotRepository>+ </distributionManagement>+ <build>+ <extensions>+ <extension>+ <groupId>kr.motd.maven</groupId>+ <artifactId>os-maven-plugin</artifactId>+ <version>1.6.2</version>+ </extension>+ </extensions>+ <plugins>+ <plugin>+ <groupId>org.apache.maven.plugins</groupId>+ <artifactId>maven-compiler-plugin</artifactId>+ <configuration>+ <source>8</source>+ <target>8</target>+ </configuration>+ </plugin>+ <plugin>+ <groupId>org.xolstice.maven.plugins</groupId>+ <artifactId>protobuf-maven-plugin</artifactId>+ <version>0.6.1</version>+ <configuration>+ <protocArtifact>com.google.protobuf:protoc:${protobuf.version}:exe:${os.detected.classifier}+ </protocArtifact>+ <pluginId>grpc-java</pluginId>+ <pluginArtifact>io.grpc:protoc-gen-grpc-java:${grpc.version}:exe:${os.detected.classifier}+ </pluginArtifact>+ </configuration>+ <executions>+ <execution>+ <goals>+ <goal>compile</goal>+ <goal>compile-custom</goal>+ </goals>+ </execution>+ </executions>+ </plugin>+ <plugin>+ <groupId>org.apache.maven.plugins</groupId>+ <artifactId>maven-gpg-plugin</artifactId>+ <version>1.5</version>+ <executions>+ <execution>+ <id>sign-artifacts</id>+ <phase>verify</phase>+ <goals>+ <goal>sign</goal>+ </goals>+ </execution>+ </executions>+ </plugin>+ <plugin>+ <groupId>org.sonatype.plugins</groupId>+ <artifactId>nexus-staging-maven-plugin</artifactId>+ <version>1.6.7</version>+ <extensions>true</extensions>+ <configuration>+ <serverId>ossrh</serverId>+ <nexusUrl>https://oss.sonatype.org/</nexusUrl>+ <autoReleaseAfterClose>true</autoReleaseAfterClose>+ </configuration>+ </plugin>+ <plugin>+ <groupId>org.apache.maven.plugins</groupId>+ <artifactId>maven-source-plugin</artifactId>+ <version>2.2.1</version>+ <executions>+ <execution>+ <id>attach-sources</id>+ <goals>+ <goal>jar-no-fork</goal>+ </goals>+ </execution>+ </executions>+ </plugin>+ <plugin>+ <groupId>org.apache.maven.plugins</groupId>+ <artifactId>maven-javadoc-plugin</artifactId>+ <version>2.9.1</version>+ <executions>+ <execution>+ <id>attach-javadocs</id>+ <goals>+ <goal>jar</goal>+ </goals>+ </execution>+ </executions>+ </plugin>+ </plugins>+ </build>++</project>diff --git a/other/java/client/pom_debug.xml b/other/java/client/pom_debug.xmlindex a658a4f0a8..820eebbf24 100644--- a/other/java/client/pom_debug.xml+++ b/other/java/client/pom_debug.xml@@ -5,7 +5,7 @@<groupId>com.github.chrislusf</groupId><artifactId>seaweedfs-client</artifactId>- <version>1.3.0</version>+ <version>1.3.2</version><parent><groupId>org.sonatype.oss</groupId>diff --git a/other/java/client/src/main/java/seaweedfs/client/SeaweedRead.java b/other/java/client/src/main/java/seaweedfs/client/SeaweedRead.javaindex fe4db538b7..7e66bcf8f1 100644--- a/other/java/client/src/main/java/seaweedfs/client/SeaweedRead.java+++ b/other/java/client/src/main/java/seaweedfs/client/SeaweedRead.java@@ -93,8 +93,11 @@ public class SeaweedRead {data = EntityUtils.toByteArray(entity);+ EntityUtils.consume(entity);+} finally {response.close();+ request.releaseConnection();}if (chunkView.isCompressed) {diff --git a/other/java/client/src/main/java/seaweedfs/client/SeaweedUtil.java b/other/java/client/src/main/java/seaweedfs/client/SeaweedUtil.javaindex 11bd20cf05..e2835b718f 100644--- a/other/java/client/src/main/java/seaweedfs/client/SeaweedUtil.java+++ b/other/java/client/src/main/java/seaweedfs/client/SeaweedUtil.java@@ -1,7 +1,8 @@package seaweedfs.client;-import org.apache.http.client.HttpClient;+import org.apache.http.impl.DefaultConnectionReuseStrategy;import org.apache.http.impl.client.CloseableHttpClient;+import org.apache.http.impl.client.DefaultConnectionKeepAliveStrategy;import org.apache.http.impl.client.HttpClientBuilder;import org.apache.http.impl.conn.PoolingHttpClientConnectionManager;@@ -19,6 +20,8 @@ public class SeaweedUtil {public static CloseableHttpClient getClosableHttpClient() {return HttpClientBuilder.create().setConnectionManager(cm)+ .setConnectionReuseStrategy(DefaultConnectionReuseStrategy.INSTANCE)+ .setKeepAliveStrategy(DefaultConnectionKeepAliveStrategy.INSTANCE).build();}}diff --git a/other/java/client/src/main/java/seaweedfs/client/SeaweedWrite.java b/other/java/client/src/main/java/seaweedfs/client/SeaweedWrite.javaindex dd5144f97a..e9819668c1 100644--- a/other/java/client/src/main/java/seaweedfs/client/SeaweedWrite.java+++ b/other/java/client/src/main/java/seaweedfs/client/SeaweedWrite.java@@ -7,6 +7,7 @@ import org.apache.http.client.methods.CloseableHttpResponse;import org.apache.http.client.methods.HttpPost;import org.apache.http.entity.mime.HttpMultipartMode;import org.apache.http.entity.mime.MultipartEntityBuilder;+import org.apache.http.util.EntityUtils;import java.io.ByteArrayInputStream;import java.io.Closeable;@@ -111,9 +112,12 @@ public class SeaweedWrite {etag = etag.substring(1, etag.length() - 1);}+ EntityUtils.consume(response.getEntity());+return etag;} finally {response.close();+ post.releaseConnection();}}diff --git a/other/java/hdfs2/dependency-reduced-pom.xml b/other/java/hdfs2/dependency-reduced-pom.xmlindex 51e6cf4ef5..1bd6289d37 100644--- a/other/java/hdfs2/dependency-reduced-pom.xml+++ b/other/java/hdfs2/dependency-reduced-pom.xml@@ -127,7 +127,7 @@</snapshotRepository></distributionManagement><properties>- <seaweedfs.client.version>1.3.0</seaweedfs.client.version>+ <seaweedfs.client.version>1.3.2</seaweedfs.client.version><hadoop.version>2.9.2</hadoop.version></properties></project>diff --git a/other/java/hdfs2/pom.xml b/other/java/hdfs2/pom.xmlindex 9f7a99b54d..5f6b375be9 100644--- a/other/java/hdfs2/pom.xml+++ b/other/java/hdfs2/pom.xml@@ -5,7 +5,7 @@<modelVersion>4.0.0</modelVersion><properties>- <seaweedfs.client.version>1.3.0</seaweedfs.client.version>+ <seaweedfs.client.version>1.3.2</seaweedfs.client.version><hadoop.version>2.9.2</hadoop.version></properties>diff --git a/other/java/hdfs3/dependency-reduced-pom.xml b/other/java/hdfs3/dependency-reduced-pom.xmlindex 4364b664fc..bb897e4b79 100644--- a/other/java/hdfs3/dependency-reduced-pom.xml+++ b/other/java/hdfs3/dependency-reduced-pom.xml@@ -127,7 +127,7 @@</snapshotRepository></distributionManagement><properties>- <seaweedfs.client.version>1.3.0</seaweedfs.client.version>+ <seaweedfs.client.version>1.3.2</seaweedfs.client.version><hadoop.version>3.1.1</hadoop.version></properties></project>diff --git a/other/java/hdfs3/pom.xml b/other/java/hdfs3/pom.xmlindex 4fd2422db6..780c84e177 100644--- a/other/java/hdfs3/pom.xml+++ b/other/java/hdfs3/pom.xml@@ -5,7 +5,7 @@<modelVersion>4.0.0</modelVersion><properties>- <seaweedfs.client.version>1.3.0</seaweedfs.client.version>+ <seaweedfs.client.version>1.3.2</seaweedfs.client.version><hadoop.version>3.1.1</hadoop.version></properties>