Skip to content

Commit baa3978

Browse files
committed
[filesystem/gs] Refine test and add licenses
1 parent 8258a07 commit baa3978

21 files changed

Lines changed: 729 additions & 55 deletions

fluss-dist/pom.xml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,13 @@
5959
<scope>provided</scope>
6060
</dependency>
6161

62+
<dependency>
63+
<groupId>com.alibaba.fluss</groupId>
64+
<artifactId>fluss-fs-gs</artifactId>
65+
<version>${project.version}</version>
66+
<scope>provided</scope>
67+
</dependency>
68+
6269
<!-- metrics plugin -->
6370
<dependency>
6471
<groupId>com.alibaba.fluss</groupId>

fluss-filesystems/fluss-fs-gs/pom.xml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@
3232

3333
<properties>
3434
<fs.gcs.hadoop.version>hadoop3-2.2.18</fs.gcs.hadoop.version>
35-
<google-cloud-storage.version>2.49.0</google-cloud-storage.version>
35+
<fs.gs.sdk.version>2.29.1</fs.gs.sdk.version>
36+
<!-- Set this to the highest version of grpc artifacts from gcs-connector and google-cloud-storage -->
37+
<fs.gs.grpc.version>1.59.1</fs.gs.grpc.version>
3638
</properties>
3739

3840
<dependencies>
@@ -192,7 +194,7 @@
192194
<dependency>
193195
<groupId>com.google.cloud</groupId>
194196
<artifactId>google-cloud-storage</artifactId>
195-
<version>${google-cloud-storage.version}</version>
197+
<version>${fs.gs.sdk.version}</version>
196198
<exclusions>
197199
<exclusion>
198200
<groupId>org.apache.commons</groupId>
@@ -292,6 +294,20 @@
292294
</dependency>
293295
</dependencies>
294296

297+
298+
<dependencyManagement>
299+
<dependencies>
300+
<!-- Force grpc dependencies to the same version -->
301+
<dependency>
302+
<groupId>io.grpc</groupId>
303+
<artifactId>grpc-bom</artifactId>
304+
<version>${fs.gs.grpc.version}</version>
305+
<type>pom</type>
306+
<scope>import</scope>
307+
</dependency>
308+
</dependencies>
309+
</dependencyManagement>
310+
295311
<build>
296312
<plugins>
297313
<plugin>
Lines changed: 137 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,137 @@
1+
fluss-fs-gs
2+
Copyright (c) 2025 Alibaba Group Holding Ltd.
3+
This project bundles the following dependencies under the Apache Software License 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt)
4+
5+
- com.fasterxml.jackson.core:jackson-annotations:2.15.3
6+
- com.fasterxml.jackson.core:jackson-core:2.15.3
7+
- com.fasterxml.jackson.core:jackson-databind:2.15.3
8+
- com.fasterxml.woodstox:woodstox-core:5.3.0
9+
- com.google.android:annotations:4.1.1.4
10+
- com.google.api-client:google-api-client-jackson2:2.0.1
11+
- com.google.api-client:google-api-client:2.2.0
12+
- com.google.api.grpc:gapic-google-cloud-storage-v2:2.29.1-alpha
13+
- com.google.api.grpc:grpc-google-cloud-storage-v2:2.29.1-alpha
14+
- com.google.api.grpc:proto-google-cloud-monitoring-v3:1.64.0
15+
- com.google.api.grpc:proto-google-cloud-storage-v2:2.29.1-alpha
16+
- com.google.api.grpc:proto-google-common-protos:2.28.0
17+
- com.google.api.grpc:proto-google-iam-v1:1.23.0
18+
- com.google.apis:google-api-services-iamcredentials:v1-rev20211203-2.0.0
19+
- com.google.apis:google-api-services-storage:v1-rev20231028-2.0.0
20+
- com.google.auto.value:auto-value-annotations:1.10.4
21+
- com.google.cloud.bigdataoss:gcs-connector:hadoop3-2.2.18
22+
- com.google.cloud.bigdataoss:gcsio:2.2.18
23+
- com.google.cloud.bigdataoss:util-hadoop:hadoop3-2.2.18
24+
- com.google.cloud.bigdataoss:util:2.2.18
25+
- com.google.cloud:google-cloud-core-grpc:2.27.0
26+
- com.google.cloud:google-cloud-core-http:2.27.0
27+
- com.google.cloud:google-cloud-core:2.27.0
28+
- com.google.cloud:google-cloud-monitoring:1.82.0
29+
- com.google.cloud:google-cloud-storage:2.29.1
30+
- com.google.code.gson:gson:2.10.1
31+
- com.google.flogger:flogger-system-backend:0.7.1
32+
- com.google.flogger:flogger:0.7.1
33+
- com.google.flogger:google-extensions:0.7.1
34+
- com.google.guava:failureaccess:1.0
35+
- com.google.guava:guava:27.0-jre
36+
- com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava
37+
- com.google.j2objc:j2objc-annotations:1.1
38+
- com.google.http-client:google-http-client-apache-v2:1.43.3
39+
- com.google.http-client:google-http-client-appengine:1.43.3
40+
- com.google.http-client:google-http-client-gson:1.43.3
41+
- com.google.http-client:google-http-client-jackson2:1.43.3
42+
- com.google.http-client:google-http-client:1.43.3
43+
- com.google.oauth-client:google-oauth-client:1.34.1
44+
- com.lmax:disruptor:3.4.2
45+
- commons-beanutils:commons-beanutils:1.9.4
46+
- commons-codec:commons-codec:1.16.0
47+
- commons-collections:commons-collections:3.2.2
48+
- commons-io:commons-io:2.8.0
49+
- commons-logging:commons-logging:1.1.3
50+
- io.grpc:grpc-alts:1.59.1
51+
- io.grpc:grpc-api:1.59.1
52+
- io.grpc:grpc-auth:1.59.1
53+
- io.grpc:grpc-census:1.59.1
54+
- io.grpc:grpc-context:1.59.1
55+
- io.grpc:grpc-core:1.59.1
56+
- io.grpc:grpc-googleapis:1.59.1
57+
- io.grpc:grpc-grpclb:1.59.1
58+
- io.grpc:grpc-inprocess:1.59.1
59+
- io.grpc:grpc-netty-shaded:1.59.1
60+
- io.grpc:grpc-protobuf-lite:1.59.1
61+
- io.grpc:grpc-protobuf:1.59.1
62+
- io.grpc:grpc-rls:1.59.1
63+
- io.grpc:grpc-services:1.59.1
64+
- io.grpc:grpc-stub:1.59.1
65+
- io.grpc:grpc-util:1.59.1
66+
- io.grpc:grpc-xds:1.59.1
67+
- io.opencensus:opencensus-api:0.31.1
68+
- io.opencensus:opencensus-contrib-exemplar-util:0.31.0
69+
- io.opencensus:opencensus-contrib-grpc-metrics:0.31.0
70+
- io.opencensus:opencensus-contrib-http-util:0.31.1
71+
- io.opencensus:opencensus-contrib-resource-util:0.31.0
72+
- io.opencensus:opencensus-exporter-metrics-util:0.31.0
73+
- io.opencensus:opencensus-exporter-stats-stackdriver:0.31.0
74+
- io.opencensus:opencensus-impl:0.31.0
75+
- io.opencensus:opencensus-impl-core:0.31.0
76+
- io.opencensus:opencensus-proto:0.2.0
77+
- io.perfmark:perfmark-api:0.26.0
78+
- org.apache.commons:commons-compress:1.21
79+
- org.apache.commons:commons-configuration2:2.1.1
80+
- org.apache.commons:commons-lang3:3.12.0
81+
- org.apache.commons:commons-text:1.4
82+
- org.apache.hadoop.thirdparty:hadoop-shaded-guava:1.1.1
83+
- org.apache.hadoop.thirdparty:hadoop-shaded-protobuf_3_7:1.1.1
84+
- org.apache.hadoop:hadoop-annotations:3.3.4
85+
- org.apache.hadoop:hadoop-auth:3.3.4
86+
- org.apache.hadoop:hadoop-common:3.3.4
87+
- org.apache.httpcomponents:httpclient:4.5.13
88+
- org.apache.httpcomponents:httpcore:4.4.13
89+
- org.apache.kerby:kerb-core:1.0.1
90+
- org.apache.kerby:kerby-asn1:1.0.1
91+
- org.apache.kerby:kerby-pkix:1.0.1
92+
- org.apache.kerby:kerby-util:1.0.1
93+
- org.conscrypt:conscrypt-openjdk-uber:2.5.2
94+
- org.xerial.snappy:snappy-java:1.1.10.4
95+
96+
This project bundles the following dependencies under BSD License (https://opensource.org/licenses/bsd-license.php).
97+
See bundled license files for details.
98+
99+
- org.codehaus.woodstox:stax2-api:4.2.1 (https://github.com/FasterXML/stax2-api/tree/stax2-api-4.2.1)
100+
101+
This project bundles the following dependencies under BSD-2 License (https://opensource.org/licenses/BSD-2-Clause).
102+
See bundled license files for details.
103+
104+
- dnsjava:dnsjava:2.1.7
105+
106+
This project bundles the following dependencies under BSD-3 License (https://opensource.org/licenses/BSD-3-Clause).
107+
See bundled license files for details.
108+
109+
- com.google.api:api-common:2.20.0
110+
- com.google.api:gax-grpc:2.37.0 --
111+
- com.google.api:gax-httpjson:2.37.0
112+
- com.google.api:gax:2.37.0
113+
- com.google.auth:google-auth-library-credentials:1.20.0
114+
- com.google.auth:google-auth-library-oauth2-http:1.20.0
115+
- com.google.protobuf:protobuf-java-util:3.24.4
116+
- com.google.protobuf:protobuf-java:3.24.4
117+
- org.threeten:threetenbp:1.6.8
118+
119+
This project bundles the following dependencies under the Go License (https://golang.org/LICENSE).
120+
See bundled license files for details.
121+
- com.google.re2j:re2j:1.1
122+
123+
This project bundles the following dependencies under the MIT License.
124+
See bundled license files for details.
125+
126+
- org.checkerframework:checker-qual:2.5.2
127+
- org.codehaus.mojo:animal-sniffer-annotations:1.23
128+
129+
This project bundles the following dependencies under the CDDL 1.1 license.
130+
See bundled license files for details.
131+
132+
- javax.xml.bind:jaxb-api:2.3.1
133+
134+
This project bundles the following dependencies under EDL 1.0 License (https://www.eclipse.org/org/documents/edl-v10.php).
135+
See bundled license files for details.
136+
137+
- jakarta.activation:jakarta.activation-api:1.2.1
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
This is a work derived from Russ Cox's RE2 in Go, whose license
2+
http://golang.org/LICENSE is as follows:
3+
4+
Copyright (c) 2009 The Go Authors. All rights reserved.
5+
6+
Redistribution and use in source and binary forms, with or without
7+
modification, are permitted provided that the following conditions are
8+
met:
9+
10+
* Redistributions of source code must retain the above copyright
11+
notice, this list of conditions and the following disclaimer.
12+
13+
* Redistributions in binary form must reproduce the above copyright
14+
notice, this list of conditions and the following disclaimer in
15+
the documentation and/or other materials provided with the
16+
distribution.
17+
18+
* Neither the name of Google Inc. nor the names of its contributors
19+
may be used to endorse or promote products derived from this
20+
software without specific prior written permission.
21+
22+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
23+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
24+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
25+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
26+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
27+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
28+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
29+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
30+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
31+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
32+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
Copyright woodstox stax2api contributors.
2+
3+
Redistribution and use in source and binary forms, with or without modification,
4+
are permitted provided that the following conditions are met:
5+
6+
1. Redistributions of source code must retain the above copyright notice,
7+
this list of conditions and the following disclaimer.
8+
9+
2. Redistributions in binary form must reproduce the above copyright notice,
10+
this list of conditions and the following disclaimer in the documentation
11+
and/or other materials provided with the distribution.
12+
13+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
14+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
15+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
16+
IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
17+
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
18+
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
19+
OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
20+
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
21+
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
22+
POSSIBILITY OF SUCH DAMAGE.
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License
2+
3+
Copyright (c) 2009 codehaus.org.
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in
13+
all copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21+
THE SOFTWARE.
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
Copyright 2016, Google Inc.
2+
All rights reserved.
3+
Redistribution and use in source and binary forms, with or without
4+
modification, are permitted provided that the following conditions are
5+
met:
6+
7+
* Redistributions of source code must retain the above copyright
8+
notice, this list of conditions and the following disclaimer.
9+
* Redistributions in binary form must reproduce the above
10+
copyright notice, this list of conditions and the following disclaimer
11+
in the documentation and/or other materials provided with the
12+
distribution.
13+
* Neither the name of Google Inc. nor the names of its
14+
contributors may be used to endorse or promote products derived from
15+
this software without specific prior written permission.
16+
17+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
18+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
19+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
20+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
21+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
22+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
23+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
25+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
Checker Framework qualifiers
2+
Copyright 2004-present by the Checker Framework developers
3+
4+
MIT License:
5+
6+
Permission is hereby granted, free of charge, to any person obtaining a copy
7+
of this software and associated documentation files (the "Software"), to deal
8+
in the Software without restriction, including without limitation the rights
9+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10+
copies of the Software, and to permit persons to whom the Software is
11+
furnished to do so, subject to the following conditions:
12+
13+
The above copyright notice and this permission notice shall be included in
14+
all copies or substantial portions of the Software.
15+
16+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22+
THE SOFTWARE.
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
Copyright (c) 1998-2019, Brian Wellington
2+
Copyright (c) 2005 VeriSign. All rights reserved.
3+
Copyright (c) 2019-2021, dnsjava authors
4+
5+
All rights reserved.
6+
7+
Redistribution and use in source and binary forms, with or without
8+
modification, are permitted provided that the following conditions are met:
9+
10+
1. Redistributions of source code must retain the above copyright notice, this
11+
list of conditions and the following disclaimer.
12+
13+
2. Redistributions in binary form must reproduce the above copyright notice,
14+
this list of conditions and the following disclaimer in the documentation
15+
and/or other materials provided with the distribution.
16+
17+
3. Neither the name of the copyright holder nor the names of its
18+
contributors may be used to endorse or promote products derived from
19+
this software without specific prior written permission.
20+
21+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
22+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
23+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
24+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
25+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
26+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
27+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
28+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
29+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
Copyright 2016, Google Inc. All rights reserved.
2+
3+
Redistribution and use in source and binary forms, with or without
4+
modification, are permitted provided that the following conditions are
5+
met:
6+
7+
* Redistributions of source code must retain the above copyright
8+
notice, this list of conditions and the following disclaimer.
9+
* Redistributions in binary form must reproduce the above
10+
copyright notice, this list of conditions and the following disclaimer
11+
in the documentation and/or other materials provided with the
12+
distribution.
13+
* Neither the name of Google Inc. nor the names of its
14+
contributors may be used to endorse or promote products derived from
15+
this software without specific prior written permission.
16+
17+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
18+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
19+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
20+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
21+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
22+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
23+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
25+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

0 commit comments

Comments
 (0)