Skip to content

Commit

Permalink
Resolve cherry-pick conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
hongyegong committed Nov 6, 2020
1 parent 6e81dfa commit 6bb3617
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions gcs/CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
1. Increment Hadoop `FileSystem.Statistics` counters for read and write
operations.

1. Add `FsBenchmark` tool for benchmarking HCFS.

1. Update all dependencies to latest versions.

### 2.1.5 - 2020-09-11
Expand Down Expand Up @@ -106,8 +108,6 @@
1. Update all dependencies to latest versions.
1. Add `FsBenchmark` tool for benchmarking HCFS.
### 2.1.1 - 2020-03-11
1. Add upload cache to support high-level retries of failed uploads. Cache size
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -279,8 +279,6 @@ public GoogleCloudStorageImpl(GoogleCloudStorageOptions options, Storage gcs) {
this.storageStubProvider =
new StorageStubProvider(options.getReadChannelOptions(), backgroundTasksThreadPool);
}

this.storageRequestAuthorizer = initializeStorageRequestAuthorizer(storageOptions);
}

@VisibleForTesting
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ public void writeSendsMultipleInsertObjectRequestsWithChecksums() throws Excepti
AsyncWriteChannelOptions.builder().setGrpcChecksumsEnabled(true).build();
ObjectWriteConditions writeConditions = new ObjectWriteConditions();
GoogleCloudStorageGrpcWriteChannel writeChannel =
newWriteChannel(options, writeConditions, /* requesterPaysProject= */ null);
newWriteChannel(options, writeConditions, /* requesterPaysProject= */ Optional.absent());
fakeService.setQueryWriteStatusResponses(
ImmutableList.of(
QueryWriteStatusResponse.newBuilder()
Expand Down Expand Up @@ -425,7 +425,7 @@ public void retryInsertOnIOException() throws Exception {
AsyncWriteChannelOptions.builder().setUploadChunkSize(GCS_MINIMUM_CHUNK_SIZE).build();
ObjectWriteConditions writeConditions = ObjectWriteConditions.NONE;
GoogleCloudStorageGrpcWriteChannel writeChannel =
newWriteChannel(options, writeConditions, /* requesterPaysProject= */ null);
newWriteChannel(options, writeConditions, /* requesterPaysProject= */ Optional.absent());
fakeService.setInsertObjectExceptions(
ImmutableList.of(
new StatusException(Status.DEADLINE_EXCEEDED),
Expand Down
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@
<junit.version>4.13.1</junit.version>
<junit.system-rules.version>1.19.0</junit.system-rules.version>
<mockito.version>3.6.0</mockito.version>
<guava.retrying.version>2.0.0</guava.retrying.version>
</properties>

<modules>
Expand Down

0 comments on commit 6bb3617

Please sign in to comment.