justinmclean commented on code in PR #6531:
URL: https://github.com/apache/gravitino/pull/6531#discussion_r1971198422


##########
authorizations/authorization-ranger/src/main/java/org/apache/gravitino/authorization/ranger/RangerAuthorizationHDFSPlugin.java:
##########
@@ -278,10 +278,10 @@ private void 
removeSchemaMetadataObject(AuthorizationMetadataObject authzMetadat
         authzMetadataObject instanceof PathBasedMetadataObject,
         "The metadata object must be a PathBasedMetadataObject");
     Preconditions.checkArgument(
-        authzMetadataObject.type() == SCHEMA, "The metadata object type must 
be SCHEMA");
+        authzMetadataObject.type() == SCHEMA, "The metadata object type must 
be a schema");
     Preconditions.checkArgument(
         authzMetadataObject.names().size() == 1,
-        "The size of the metadata object's name must be 1.");
+        "The size of the metadata object's size must be 1.");

Review Comment:
   "name must be 1" makes no sense unless you mean the name must be the letter 
1, which is not intended here.



-- 
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]

Reply via email to