umamaheswararao commented on a change in pull request #3089:
URL: https://github.com/apache/ozone/pull/3089#discussion_r807544825
##########
File path:
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/request/file/OMFileCreateRequest.java
##########
@@ -120,19 +120,8 @@ public OMRequest preExecute(OzoneManager ozoneManager)
throws IOException {
final long requestedSize = keyArgs.getDataSize() > 0 ?
keyArgs.getDataSize() : scmBlockSize;
- boolean useRatis = ozoneManager.shouldUseRatis();
Review comment:
I agree to remove these unnecessary checks. They should not be null.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]