Skip to content

Commit 61a12f7

Browse files
arunkumarchackocnauroth
authored andcommitted
HADOOP-19343: GCS / Add implementation for create() API
Closes #7656 Signed-off-by: Chris Nauroth <[email protected]>
1 parent 6eae158 commit 61a12f7

26 files changed

+3985
-1
lines changed

hadoop-project/pom.xml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@
108108
<findbugs.version>3.0.5</findbugs.version>
109109
<dnsjava.version>3.6.1</dnsjava.version>
110110

111-
<guava.version>27.0-jre</guava.version>
111+
<guava.version>33.1.0-jre</guava.version>
112112
<guice.version>5.1.0</guice.version>
113113

114114
<bouncycastle.version>1.78.1</bouncycastle.version>
@@ -2153,6 +2153,11 @@
21532153
<artifactId>failsafe</artifactId>
21542154
<version>2.4.4</version>
21552155
</dependency>
2156+
<dependency>
2157+
<groupId>com.google.cloud</groupId>
2158+
<artifactId>google-cloud-storage</artifactId>
2159+
<version>2.44.1</version>
2160+
</dependency>
21562161
</dependencies>
21572162
</dependencyManagement>
21582163

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
<!--
2+
Licensed to the Apache Software Foundation (ASF) under one or more
3+
contributor license agreements. See the NOTICE file distributed with
4+
this work for additional information regarding copyright ownership.
5+
The ASF licenses this file to You under the Apache License, Version 2.0
6+
(the "License"); you may not use this file except in compliance with
7+
the License. You may obtain a copy of the License at
8+
9+
http://www.apache.org/licenses/LICENSE-2.0
10+
11+
Unless required by applicable law or agreed to in writing, software
12+
distributed under the License is distributed on an "AS IS" BASIS,
13+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
See the License for the specific language governing permissions and
15+
limitations under the License.
16+
-->
17+
<FindBugsFilter>
18+
<!-- Redundant null check makes code clearer, future-proof here. -->
19+
<Match>
20+
<Class name="org.apache.hadoop.fs.gs.GoogleCloudStorage" />
21+
<Method name="createItemInfoForBlob" />
22+
<Bug pattern="RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE" />
23+
</Match>
24+
<Match>
25+
<Class name="org.apache.hadoop.fs.gs.GoogleCloudStorage" />
26+
<Method name="createItemInfoForBlob" />
27+
<Bug pattern="NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE" />
28+
</Match>
29+
</FindBugsFilter>

0 commit comments

Comments
 (0)