Uh oh!
There was an error while loading. Please reload this page.
HDDS-1541. Implement addAcl,removeAcl,setAcl,getAcl for Key. Contributed by Ajay Kumat. - #885
Conversation
hadoop-yetus
commented
Jun 1, 2019
💔 -1 overall
This message was automatically generated. |
There was a problem hiding this comment.
why do we need to recreate a new UGI instead of using ugi.getGroups() here?
hadoop-yetus
commented
Jun 4, 2019
💔 -1 overall
This message was automatically generated. |
| .setType(type).setFactor(factor).setDataSize(info.getDataSize()) | ||
| .setIsMultipartKey(isMultipart).setMultipartUploadID(uploadID) | ||
| .setMultipartUploadPartNumber(partNumber).build(); | ||
| .setMultipartUploadPartNumber(partNumber) |
There was a problem hiding this comment.
NIT: unnecessary change can be avoided.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| bits.and(aclRights); | ||
| if (bits.equals(ZERO_BITSET)) { | ||
| // throw exception if acl is already added. |
There was a problem hiding this comment.
comments does not match with code.
| getMap(aclType).remove(acl.getName()); | ||
| } | ||
| } else { | ||
| // throw exception if acl is already added. |
There was a problem hiding this comment.
should be acl does not exist?
There was a problem hiding this comment.
At this point all rights are already set to 0, so we are removing the entry from map.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
xiaoyuyao
commented
Jun 4, 2019
Also, CI test failures in TestKeyDeletingService are related. Please fix them in next update. java.lang.NullPointerException: Default acls should be set. |
hadoop-yetus
commented
Jun 4, 2019
💔 -1 overall
This message was automatically generated. |
hadoop-yetus
commented
Jun 4, 2019
💔 -1 overall
This message was automatically generated. |
hadoop-yetus
commented
Jun 5, 2019
💔 -1 overall
This message was automatically generated. |
hadoop-yetus
commented
Jun 5, 2019
💔 -1 overall
This message was automatically generated. |
ajayydv
commented
Jun 5, 2019
Both test failures pass locally, seems unrelated. |
This checkin adds 1. Type system for Samza SQL. Previously Samza SQL was using Calcite's relational type system. We need an intermediate type system that is specific to Samza SQL so that we could support Beam SQL in future. This intermediate type system also allows to provide typing to Samza SQL UDFs. 2. Java annotations for Samza SQL that allows us to discover the Samza SQL UDFs easily and also provide users to configure name of the UDF, whether it is disabled. 3. Initial support for adding types in Samza SQL UDFs. Right now we are not using these types for validations. Future checkin will add that capability. Author: Srinivasulu Punuru <spunuru@linkedin.com> Reviewers: Weiqing <wiyang@linkedin.com>, Shenoda <sguirgui@linkedin.com> Closesapache#885 from srinipunuru/sql-schema.2 and squashes the following commits: 61e03b9a [Srinivasulu Punuru] Removing Metadata from SamzaSQLRelMessage f713cae5 [Srinivasulu Punuru] Address review comments 60d2614a [Srinivasulu Punuru] Adding license and documentation a3af257 [Srinivasulu Punuru] Support for types in UDFS
No description provided.