You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sentry.apache.org by Colin Ma <ju...@intel.com> on 2015/07/27 05:15:15 UTC
Review Request 36833: Add new log entity for generic model
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/36833/
-----------------------------------------------------------
Review request for sentry, Dapeng Sun and shen guoquan.
Repository: sentry
Description
-------
Add new log entity for generic model
Diffs
-----
sentry-provider/sentry-provider-db/src/main/java/org/apache/sentry/provider/db/log/entity/GMAuditMetadataLogEntity.java PRE-CREATION
sentry-provider/sentry-provider-db/src/test/java/org/apache/sentry/provider/db/log/entity/TestGMAuditMetadataLogEntity.java PRE-CREATION
Diff: https://reviews.apache.org/r/36833/diff/
Testing
-------
Thanks,
Colin Ma
Re: Review Request 36833: SENTRY-814: Add new log entity for generic
model
Posted by Colin Ma <ju...@intel.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/36833/
-----------------------------------------------------------
(Updated July 28, 2015, 1:19 a.m.)
Review request for sentry, Dapeng Sun and shen guoquan.
Summary (updated)
-----------------
SENTRY-814: Add new log entity for generic model
Repository: sentry
Description
-------
Add new log entity for generic model
Diffs
-----
sentry-provider/sentry-provider-db/src/main/java/org/apache/sentry/provider/db/log/entity/GMAuditMetadataLogEntity.java PRE-CREATION
sentry-provider/sentry-provider-db/src/test/java/org/apache/sentry/provider/db/log/entity/TestGMAuditMetadataLogEntity.java PRE-CREATION
Diff: https://reviews.apache.org/r/36833/diff/
Testing
-------
Thanks,
Colin Ma
Re: Review Request 36833: SENTRY-814: Add new log entity for generic
model
Posted by Colin Ma <ju...@intel.com>.
> On July 27, 2015, 7:59 a.m., Dapeng Sun wrote:
> > sentry-provider/sentry-provider-db/src/main/java/org/apache/sentry/provider/db/log/entity/GMAuditMetadataLogEntity.java, line 36
> > <https://reviews.apache.org/r/36833/diff/1/?file=1022153#file1022153line36>
> >
> > same question: Is there any place need the constructor without field? if not, we may need to delete it or mark it private
Yes, this constructor is necessary for the core function and test case.
> On July 27, 2015, 7:59 a.m., Dapeng Sun wrote:
> > sentry-provider/sentry-provider-db/src/main/java/org/apache/sentry/provider/db/log/entity/GMAuditMetadataLogEntity.java, line 74
> > <https://reviews.apache.org/r/36833/diff/1/?file=1022153#file1022153line74>
> >
> > same question: If we return the new StringWriter, will the audit log still work? If not, we may need to throw the exception.
thanks, you can get the comments on https://reviews.apache.org/r/36832/
> On July 27, 2015, 7:59 a.m., Dapeng Sun wrote:
> > sentry-provider/sentry-provider-db/src/main/java/org/apache/sentry/provider/db/log/entity/GMAuditMetadataLogEntity.java, line 34
> > <https://reviews.apache.org/r/36833/diff/1/?file=1022153#file1022153line34>
> >
> > We may don't need to initialize a LinkedHashMap here.
thanks, I'll remove the initialize.
- Colin
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/36833/#review93098
-----------------------------------------------------------
On July 28, 2015, 1:19 a.m., Colin Ma wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/36833/
> -----------------------------------------------------------
>
> (Updated July 28, 2015, 1:19 a.m.)
>
>
> Review request for sentry, Dapeng Sun and shen guoquan.
>
>
> Repository: sentry
>
>
> Description
> -------
>
> Add new log entity for generic model
>
>
> Diffs
> -----
>
> sentry-provider/sentry-provider-db/src/main/java/org/apache/sentry/provider/db/log/entity/GMAuditMetadataLogEntity.java PRE-CREATION
> sentry-provider/sentry-provider-db/src/test/java/org/apache/sentry/provider/db/log/entity/TestGMAuditMetadataLogEntity.java PRE-CREATION
>
> Diff: https://reviews.apache.org/r/36833/diff/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Colin Ma
>
>
Re: Review Request 36833: Add new log entity for generic model
Posted by Dapeng Sun <da...@intel.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/36833/#review93098
-----------------------------------------------------------
sentry-provider/sentry-provider-db/src/main/java/org/apache/sentry/provider/db/log/entity/GMAuditMetadataLogEntity.java (line 34)
<https://reviews.apache.org/r/36833/#comment147354>
We may don't need to initialize a LinkedHashMap here.
sentry-provider/sentry-provider-db/src/main/java/org/apache/sentry/provider/db/log/entity/GMAuditMetadataLogEntity.java (line 36)
<https://reviews.apache.org/r/36833/#comment147352>
same question: Is there any place need the constructor without field? if not, we may need to delete it or mark it private
sentry-provider/sentry-provider-db/src/main/java/org/apache/sentry/provider/db/log/entity/GMAuditMetadataLogEntity.java (line 74)
<https://reviews.apache.org/r/36833/#comment147353>
same question: If we return the new StringWriter, will the audit log still work? If not, we may need to throw the exception.
- Dapeng Sun
On 七月 27, 2015, 11:15 a.m., Colin Ma wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/36833/
> -----------------------------------------------------------
>
> (Updated 七月 27, 2015, 11:15 a.m.)
>
>
> Review request for sentry, Dapeng Sun and shen guoquan.
>
>
> Repository: sentry
>
>
> Description
> -------
>
> Add new log entity for generic model
>
>
> Diffs
> -----
>
> sentry-provider/sentry-provider-db/src/main/java/org/apache/sentry/provider/db/log/entity/GMAuditMetadataLogEntity.java PRE-CREATION
> sentry-provider/sentry-provider-db/src/test/java/org/apache/sentry/provider/db/log/entity/TestGMAuditMetadataLogEntity.java PRE-CREATION
>
> Diff: https://reviews.apache.org/r/36833/diff/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Colin Ma
>
>