New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HDDS-5538. Uncaught NPE in GrpcReplicationService. #2503
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
adoroszlai
changed the title
HDDS-5538. Uncatched NPE in GrpcReplicationService.
HDDS-5538. Uncaught NPE in GrpcReplicationService.
Aug 5, 2021
jojochuang
reviewed
Aug 6, 2021
Preconditions.checkNotNull( | ||
container, "Container is not found " + containerId); | ||
if (container == null) { | ||
throw new StorageContainerException("Container not found", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
better to add container id too
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point.
jojochuang
approved these changes
Aug 9, 2021
Thanks @jojochuang for the code review. |
errose28
added a commit
to errose28/ozone
that referenced
this pull request
Aug 9, 2021
* master: (24 commits) HDDS-5503. On finalize upgrade actions not running. (apache#2476) HDDS-5390. reconPipelineReportHandler should not retry when pipeline not found (apache#2371) HDDS-5538. Uncaught NPE in GrpcReplicationService. (apache#2503) HDDS-5473. Bump jetty version to 9.4.43.v20210629 (apache#2449) HDDS-5516. Duplicate metrics registered while running checkScmHA upon scm startup. (apache#2475) HDDS-4668. Intermittent failure in TestOMRatisSnapshots (apache#2474) HDDS-5527. Move tests back to root partition (apache#2486) HDDS-5532. Missing integration test cleanup (apache#2496) HDDS-5354. Allow to restrict available ReplicationConfig (apache#2345) HDDS-5539. Fix actual value in assertion in TestRDBStore (apache#2494) HDDS-5441. Disallow same set of DNs to be part of multiple pipelines. (apache#2416) HDDS-5530. Support links to encrypted buckets. (apache#2487) HDDS-5515. SKip update firstUpgradeActionLayoutVersion when on-disk layout version is up-to-date. (apache#2472) HDDS-5460: ReplicationConfig#getDefault is hardcoded with RatisReplicationConfig (apache#2430) HDDS-5472. Old versions of location in OmKeyLocationInfoGroup causes OOM of OM (apache#2448) HDDS-5302. CleanUp V1 Code of DeletedBlockLogImpl (apache#2465) HDDS-5362. [FSO] Support bucket layouts in OM (apache#2357) HDDS-5511. ContainerStateMap should handle ecReplication config map (apache#2470) HDDS-5501. Support to upload/read keys from encrypted buckets through S3G (apache#2467) HDDS-5512. Intermittent failure in TestSCMInstallSnapshotWithHA (apache#2473) ...
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
https://issues.apache.org/jira/browse/HDDS-5538