[jira] [Created] (SENTRY-2377) Sentry 2.1.0 release

2018-09-04 Thread Na Li (JIRA)
Na Li created SENTRY-2377: - Summary: Sentry 2.1.0 release Key: SENTRY-2377 URL: https://issues.apache.org/jira/browse/SENTRY-2377 Project: Sentry Issue Type: Task Components: Sentry

[jira] [Commented] (SENTRY-2318) Sentry listener should log the failure if grant/revoke of owner privilege fails

2018-09-04 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2318?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16603283#comment-16603283 ] Na Li commented on SENTRY-2318: --- after creating table, user can run 'show grant user ' to verify that the

[jira] [Resolved] (SENTRY-2151) Automatically derive owner privileges from Hive Object Ownership

2018-09-04 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2151?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Na Li resolved SENTRY-2151. --- Resolution: Fixed > Automatically derive owner privileges from Hive Object Ownership >

[jira] [Updated] (SENTRY-2318) Sentry listener should log the failure if grant/revoke of owner privilege fails

2018-09-04 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2318?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Na Li updated SENTRY-2318: -- Resolution: Won't Fix Status: Resolved (was: Patch Available) > Sentry listener should log the

[jira] [Updated] (SENTRY-2253) Extend privilege import/export functionality for user privileges

2018-09-04 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Na Li updated SENTRY-2253: -- Issue Type: Improvement (was: Sub-task) Parent: (was: SENTRY-2151) > Extend privilege

[jira] [Commented] (SENTRY-2318) Sentry listener should log the failure if grant/revoke of owner privilege fails

2018-08-29 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2318?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16596600#comment-16596600 ] Na Li commented on SENTRY-2318: --- [~kkalyan] In our discussion, it seems we tend to agree that post event

[jira] [Updated] (SENTRY-2369) Remove the index for `USER_ID` and `DB_PRIVILEGE_ID` in `SENTRY_USER_DB_PRIVILEGE_MAP`

2018-08-28 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Na Li updated SENTRY-2369: -- Fix Version/s: 2.1.0 > Remove the index for `USER_ID` and `DB_PRIVILEGE_ID` in >

[jira] [Resolved] (SENTRY-2369) Remove the index for `USER_ID` and `DB_PRIVILEGE_ID` in `SENTRY_USER_DB_PRIVILEGE_MAP`

2018-08-28 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Na Li resolved SENTRY-2369. --- Resolution: Not A Problem Talked more with others We don't need to add index for USER_ID, but having more

[jira] [Closed] (SENTRY-2369) Remove the index for `USER_ID` and `DB_PRIVILEGE_ID` in `SENTRY_USER_DB_PRIVILEGE_MAP`

2018-08-28 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Na Li closed SENTRY-2369. - > Remove the index for `USER_ID` and `DB_PRIVILEGE_ID` in > `SENTRY_USER_DB_PRIVILEGE_MAP` >

[jira] [Updated] (SENTRY-2369) Remove the index for `USER_ID` and `DB_PRIVILEGE_ID` in `SENTRY_USER_DB_PRIVILEGE_MAP`

2018-08-27 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Na Li updated SENTRY-2369: -- Summary: Remove the index for `USER_ID` and `DB_PRIVILEGE_ID` in `SENTRY_USER_DB_PRIVILEGE_MAP` (was: Remove

[jira] [Created] (SENTRY-2369) Remove the index for

2018-08-27 Thread Na Li (JIRA)
Na Li created SENTRY-2369: - Summary: Remove the index for Key: SENTRY-2369 URL: https://issues.apache.org/jira/browse/SENTRY-2369 Project: Sentry Issue Type: Bug Reporter: Na Li

[jira] [Commented] (SENTRY-2368) Alter table rename across databases is not persisted correctly

2018-08-24 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16592055#comment-16592055 ] Na Li commented on SENTRY-2368: --- This issue seems to be duplicate of SENTRY-2239, which is resolved. >

[jira] [Updated] (SENTRY-2354) Beeline error message only shows first required permission that failed access check

2018-08-21 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2354?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Na Li updated SENTRY-2354: -- Resolution: Won't Fix Status: Resolved (was: Patch Available) We decide not to fix this issue in

[jira] [Created] (SENTRY-2361) Document the access check behavior of Sentry and required privileges for DDL operation

2018-08-21 Thread Na Li (JIRA)
Na Li created SENTRY-2361: - Summary: Document the access check behavior of Sentry and required privileges for DDL operation Key: SENTRY-2361 URL: https://issues.apache.org/jira/browse/SENTRY-2361 Project:

[jira] [Updated] (SENTRY-2356) Sentry Server should provide API for Sentry Client to get Owner Privilege Type

2018-08-21 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2356?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Na Li updated SENTRY-2356: -- Resolution: Won't Fix Status: Resolved (was: Patch Available) We already have a general function

[jira] [Updated] (SENTRY-2356) Sentry Server should provide API for Sentry Client to get Owner Privilege Type

2018-08-20 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2356?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Na Li updated SENTRY-2356: -- Status: Patch Available (was: Open) > Sentry Server should provide API for Sentry Client to get Owner

[jira] [Updated] (SENTRY-2356) Sentry Server should provide API for Sentry Client to get Owner Privilege Type

2018-08-20 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2356?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Na Li updated SENTRY-2356: -- Attachment: SENTRY-2356.001.patch > Sentry Server should provide API for Sentry Client to get Owner Privilege

[jira] [Commented] (SENTRY-2354) Beeline error message only shows first required permission that failed access check

2018-08-17 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2354?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16584303#comment-16584303 ] Na Li commented on SENTRY-2354: --- [~kkalyan] The reason I did not take option 1 is precisely the overhead.

[jira] [Created] (SENTRY-2356) Sentry Server should provide API for Sentry Client to get Owner Privilege Type

2018-08-16 Thread Na Li (JIRA)
Na Li created SENTRY-2356: - Summary: Sentry Server should provide API for Sentry Client to get Owner Privilege Type Key: SENTRY-2356 URL: https://issues.apache.org/jira/browse/SENTRY-2356 Project: Sentry

[jira] [Updated] (SENTRY-2354) Beeline error message only shows first required permission that failed access check

2018-08-16 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2354?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Na Li updated SENTRY-2354: -- Attachment: SENTRY-2354.002.patch > Beeline error message only shows first required permission that failed

[jira] [Commented] (SENTRY-1944) Optimize DelegateSentryStore.getGroupsByRoles() and update SentryGenericPolicyProcessor to retrieve roles to group mapping in a single transaction

2018-08-16 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-1944?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16582804#comment-16582804 ] Na Li commented on SENTRY-1944: --- [~arjunmishra13] If you are going to fix the inefficiency in listing role

[jira] [Commented] (SENTRY-2342) Update schema version verification to support multi-version clusters share same DB

2018-08-15 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2342?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16581824#comment-16581824 ] Na Li commented on SENTRY-2342: --- [~spena] I am testing on real environment, and found additional place to

[jira] [Updated] (SENTRY-2354) Beeline error message only shows first required permission that failed access check

2018-08-15 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2354?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Na Li updated SENTRY-2354: -- Summary: Beeline error message only shows first required permission that failed access check (was: Beeline

[jira] [Updated] (SENTRY-2354) Beeline error message only shows first required permission that failed access check

2018-08-15 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2354?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Na Li updated SENTRY-2354: -- Status: Patch Available (was: Open) > Beeline error message only shows first required permission that failed

[jira] [Updated] (SENTRY-2354) Beeline error message only shows first required permission that failed access check

2018-08-15 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2354?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Na Li updated SENTRY-2354: -- Attachment: SENTRY-2354.001.patch > Beeline error message only shows first required permission that failed

[jira] [Created] (SENTRY-2354) Beeline error message only shows one of the permissions when multiple permissions are required for an operation

2018-08-14 Thread Na Li (JIRA)
Na Li created SENTRY-2354: - Summary: Beeline error message only shows one of the permissions when multiple permissions are required for an operation Key: SENTRY-2354 URL: https://issues.apache.org/jira/browse/SENTRY-2354

[jira] [Commented] (SENTRY-2211) Review the index creation for foreign keys

2018-08-13 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2211?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16578613#comment-16578613 ] Na Li commented on SENTRY-2211: --- The following foreign keys do not have index {code} ALTER TABLE

[jira] [Updated] (SENTRY-2342) Update schema version verification to support multi-version clusters share same DB

2018-08-13 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2342?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Na Li updated SENTRY-2342: -- Attachment: SENTRY-2342.001.patch > Update schema version verification to support multi-version clusters

[jira] [Updated] (SENTRY-2330) Change sentry-service-server to use ${project.version}

2018-08-09 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2330?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Na Li updated SENTRY-2330: -- Resolution: Fixed Status: Resolved (was: Patch Available) [~moist] Thanks for your contribution! >

[jira] [Updated] (SENTRY-2335) Allow multiple callbacks to be run when a Signal is received.

2018-08-09 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2335?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Na Li updated SENTRY-2335: -- Resolution: Fixed Status: Resolved (was: Patch Available) [~btowles] Thanks for your contribution!

[jira] [Created] (SENTRY-2342) Update schema version verification to support multi-version clusters share same DB

2018-08-09 Thread Na Li (JIRA)
Na Li created SENTRY-2342: - Summary: Update schema version verification to support multi-version clusters share same DB Key: SENTRY-2342 URL: https://issues.apache.org/jira/browse/SENTRY-2342 Project: Sentry

[jira] [Created] (SENTRY-2340) Enable Sentry code disabled by HIVE-18031

2018-08-09 Thread Na Li (JIRA)
Na Li created SENTRY-2340: - Summary: Enable Sentry code disabled by HIVE-18031 Key: SENTRY-2340 URL: https://issues.apache.org/jira/browse/SENTRY-2340 Project: Sentry Issue Type: Task

[jira] [Updated] (SENTRY-2313) alter database set owner command can be executed only by user with proper privilege

2018-08-09 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2313?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Na Li updated SENTRY-2313: -- Resolution: Fixed Status: Resolved (was: Patch Available) > alter database set owner command can be

[jira] [Updated] (SENTRY-2313) alter database set owner command can be executed only by user with proper privilege

2018-08-08 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2313?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Na Li updated SENTRY-2313: -- Attachment: SENTRY-2313.001.patch > alter database set owner command can be executed only by user with proper

[jira] [Updated] (SENTRY-2313) alter database set owner command can be executed only by user with proper privilege

2018-08-08 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2313?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Na Li updated SENTRY-2313: -- Status: Patch Available (was: In Progress) > alter database set owner command can be executed only by user

[jira] [Commented] (SENTRY-2326) SHOW GRANT does not display owner privileges for admin users

2018-08-08 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16573842#comment-16573842 ] Na Li commented on SENTRY-2326: --- [~arjunmishra13] Kalyan has reverted SENTRY-2295. Do you still see this

[jira] [Updated] (SENTRY-2255) alter table set owner command can be executed only by user with proper privilege

2018-08-08 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Na Li updated SENTRY-2255: -- Resolution: Fixed Status: Resolved (was: Patch Available) Most of code is committed. The code change

[jira] [Updated] (SENTRY-2255) alter table set owner command can be executed only by user with proper privilege

2018-08-06 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Na Li updated SENTRY-2255: -- Attachment: SENTRY-2255.001.patch > alter table set owner command can be executed only by user with proper >

[jira] [Updated] (SENTRY-2255) alter table set owner command can be executed only by user with proper privilege

2018-08-06 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Na Li updated SENTRY-2255: -- Status: Patch Available (was: In Progress) > alter table set owner command can be executed only by user with

[jira] [Commented] (SENTRY-2283) Multiple versions of metrics on the classpath causes Sentry to not startup

2018-08-06 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16570744#comment-16570744 ] Na Li commented on SENTRY-2283: --- [~kkalyan][~moist] I saw 3 upstream commits related to this jira:

[jira] [Updated] (SENTRY-2255) alter table set owner command can be executed only by user with proper privilege

2018-08-06 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Na Li updated SENTRY-2255: -- Description: Need to set sentry privilege mapping to make sure it can be done only by user with "all with

[jira] [Commented] (SENTRY-2334) Optimize Sentry privilege comparison for requested privileges with current privileges

2018-08-06 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2334?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16570364#comment-16570364 ] Na Li commented on SENTRY-2334: --- [~arjunmishra13] What's your approach? Sentry supports hierarchical

[jira] [Created] (SENTRY-2331) Support grant option for DDL operation

2018-07-30 Thread Na Li (JIRA)
Na Li created SENTRY-2331: - Summary: Support grant option for DDL operation Key: SENTRY-2331 URL: https://issues.apache.org/jira/browse/SENTRY-2331 Project: Sentry Issue Type: Sub-task

[jira] [Commented] (SENTRY-2312) Update owner privileges for table when owner is changed.

2018-07-25 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2312?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16556874#comment-16556874 ] Na Li commented on SENTRY-2312: --- [~kkalyan] Yes. it is like SENTRY-2255 blocked by HIVE-18762 > Update

[jira] [Commented] (SENTRY-2328) Filter the path information in the fullupdate send to sentry namenode plug-in

2018-07-25 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16556125#comment-16556125 ] Na Li commented on SENTRY-2328: --- In case user changes the prefix, will user restart namenode and sentry

[jira] [Commented] (SENTRY-2326) SHOW GRANT does not display owner privileges for admin users

2018-07-23 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2326?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16553490#comment-16553490 ] Na Li commented on SENTRY-2326: --- [~arjunmishra13] can you look at "SENTRY-2295: Owner privileges should

[jira] [Assigned] (SENTRY-2313) alter database set owner command can be executed only by user with proper privilege

2018-07-19 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2313?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Na Li reassigned SENTRY-2313: - Assignee: Na Li > alter database set owner command can be executed only by user with proper >

[jira] [Resolved] (SENTRY-2319) ownership change should be done only by admin users

2018-07-19 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2319?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Na Li resolved SENTRY-2319. --- Resolution: Duplicate Assignee: Na Li Fix Version/s: 2.1.0 This one duplicates with

[jira] [Updated] (SENTRY-2316) Rename any 'entity' word for 'principal' to be consistent with Hive principal name and type

2018-07-19 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2316?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Na Li updated SENTRY-2316: -- Description: SENTRY-2252 added code to put the role and user types as categories. These are called

[jira] [Commented] (SENTRY-2315) The grant all operation is not dropping the create/alter/drop/index/lock privileges.

2018-07-18 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16548741#comment-16548741 ] Na Li commented on SENTRY-2315: --- [~spena] What is the behavior when role role_A has "ALL" privilege on an

[jira] [Commented] (SENTRY-2255) alter table set owner command can be executed only by user with proper privilege

2018-07-16 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16545632#comment-16545632 ] Na Li commented on SENTRY-2255: --- SPLIT this jira into two, one for alter table set owner, and one for

[jira] [Updated] (SENTRY-2255) alter table set owner command can be executed only by user with proper privilege

2018-07-16 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Na Li updated SENTRY-2255: -- Summary: alter table set owner command can be executed only by user with proper privilege (was: alter

[jira] [Commented] (SENTRY-2313) alter database set owner command can be executed only by user with proper privilege

2018-07-16 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2313?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16545628#comment-16545628 ] Na Li commented on SENTRY-2313: --- HIVE-18031 is in version 3.0, and not in the Hive version that Sentry

[jira] [Created] (SENTRY-2313) alter database set owner command can be executed only by user with proper privilege

2018-07-16 Thread Na Li (JIRA)
Na Li created SENTRY-2313: - Summary: alter database set owner command can be executed only by user with proper privilege Key: SENTRY-2313 URL: https://issues.apache.org/jira/browse/SENTRY-2313 Project:

[jira] [Commented] (SENTRY-2255) alter table/database set owner command can be executed only by user with proper privilege

2018-07-13 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16543735#comment-16543735 ] Na Li commented on SENTRY-2255: --- HIVE-18762 is in version 3.0, and not in the Hive version that sentry

[jira] [Updated] (SENTRY-2158) Update notification handler to update privileges to user

2018-07-13 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Na Li updated SENTRY-2158: -- Priority: Minor (was: Major) > Update notification handler to update privileges to user >

[jira] [Commented] (SENTRY-2310) Sentry is not be able to fetch full update subsequently, when there is HMS restart in the snapshot process.

2018-07-13 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2310?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16543697#comment-16543697 ] Na Li commented on SENTRY-2310: --- [~kkalyan] the call stack of the issue is below. As you can see the

[jira] [Commented] (SENTRY-2299) NPE In Sentry HDFS Sync Plugin

2018-07-13 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16543649#comment-16543649 ] Na Li commented on SENTRY-2299: --- [~jojochuang] I have committed the patch. Can you apply this patch to

[jira] [Updated] (SENTRY-2299) NPE In Sentry HDFS Sync Plugin

2018-07-13 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Na Li updated SENTRY-2299: -- Priority: Critical (was: Major) > NPE In Sentry HDFS Sync Plugin > -- > >

[jira] [Updated] (SENTRY-2299) NPE In Sentry HDFS Sync Plugin

2018-07-13 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Na Li updated SENTRY-2299: -- Resolution: Fixed Status: Resolved (was: Patch Available) > NPE In Sentry HDFS Sync Plugin >

[jira] [Commented] (SENTRY-2310) Sentry is not be able to fetch full update subsequently, when there is HMS restart in the snapshot process.

2018-07-13 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2310?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16543627#comment-16543627 ] Na Li commented on SENTRY-2310: --- [~kkalyan] We have SentryHMSClient to get full snapshot (have bug) and

[jira] [Commented] (SENTRY-2299) NPE In Sentry HDFS Sync Plugin

2018-07-13 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16543366#comment-16543366 ] Na Li commented on SENTRY-2299: --- Sentry client at NameNode does not create entry for a table whose

[jira] [Commented] (SENTRY-2310) Sentry is not be able to fetch full update subsequently, when there is HMS restart in the snapshot process.

2018-07-13 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2310?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16543338#comment-16543338 ] Na Li commented on SENTRY-2310: --- [~kkalyan] I prefer the option 1 to avoid unnecessary overhead of

[jira] [Commented] (SENTRY-2158) Update notification handler to update privileges to user

2018-07-12 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16542251#comment-16542251 ] Na Li commented on SENTRY-2158: --- Right now, we do not expose public API at Sentry server for granting or

[jira] [Updated] (SENTRY-2158) Update notification handler to update privileges to user

2018-07-12 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Na Li updated SENTRY-2158: -- Attachment: (was: SENTRY-2158.001.patch) > Update notification handler to update privileges to user >

[jira] [Updated] (SENTRY-2158) Update notification handler to update privileges to user

2018-07-12 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Na Li updated SENTRY-2158: -- Status: In Progress (was: Patch Available) > Update notification handler to update privileges to user >

[jira] [Updated] (SENTRY-2158) Update notification handler to update privileges to user

2018-07-12 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2158?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Na Li updated SENTRY-2158: -- Issue Type: New Feature (was: Sub-task) Parent: (was: SENTRY-2151) > Update notification handler

[jira] [Updated] (SENTRY-2299) NPE In Sentry HDFS Sync Plugin

2018-07-12 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Na Li updated SENTRY-2299: -- Summary: NPE In Sentry HDFS Sync Plugin (was: NPE In Sentry HDFS Sync Plug) > NPE In Sentry HDFS Sync Plugin

[jira] [Updated] (SENTRY-2299) NPE In Sentry HDFS Sync Plug

2018-07-12 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Na Li updated SENTRY-2299: -- Status: Patch Available (was: Open) > NPE In Sentry HDFS Sync Plug > > >

[jira] [Updated] (SENTRY-2299) NPE In Sentry HDFS Sync Plug

2018-07-12 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Na Li updated SENTRY-2299: -- Attachment: SENTRY-2299.001.patch > NPE In Sentry HDFS Sync Plug > > >

[jira] [Commented] (SENTRY-2255) alter table/database set owner command can be executed only by user with proper privilege

2018-07-11 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16540724#comment-16540724 ] Na Li commented on SENTRY-2255: --- * The hive operation code for "ALTER TABLE SET OWNER" is

[jira] [Commented] (SENTRY-2299) NPE In Sentry HDFS Sync Plug

2018-07-11 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16540673#comment-16540673 ] Na Li commented on SENTRY-2299: --- [~Tagar] To verify this is the case, can you enable debug in NameNode, so

[jira] [Commented] (SENTRY-2304) Optimize the time taken for HMS snapshot creation.

2018-07-10 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16539090#comment-16539090 ] Na Li commented on SENTRY-2304: --- If customer has 1 million tables in a thought databases, the performance

[jira] [Updated] (SENTRY-2300) Move Permission Update due to DDL to HMS Post Event Listener

2018-07-10 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2300?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Na Li updated SENTRY-2300: -- Issue Type: Bug (was: Improvement) > Move Permission Update due to DDL to HMS Post Event Listener >

[jira] [Updated] (SENTRY-2300) Move Permission Update due to DDL to HMS Post Event Listener

2018-07-10 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2300?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Na Li updated SENTRY-2300: -- Description: There was a code in MetastorePlugin that modified Sentry privileges on table Create/Drop and

[jira] [Resolved] (SENTRY-2159) Add e2e tests for granting owner privileges

2018-07-10 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2159?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Na Li resolved SENTRY-2159. --- Resolution: Fixed This testing case is cover by

[jira] [Updated] (SENTRY-2159) Add e2e tests for granting owner privileges

2018-07-10 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2159?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Na Li updated SENTRY-2159: -- Summary: Add e2e tests for granting owner privileges (was: Add e2e tests for granting implicit owner

[jira] [Resolved] (SENTRY-2291) Notification Processor should update user privileges for path notification events

2018-07-10 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2291?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Na Li resolved SENTRY-2291. --- Resolution: Fixed This issue is fixed by [SENTRY-2251|https://issues.apache.org/jira/browse/SENTRY-2251]

[jira] [Commented] (SENTRY-2305) Optimize time taken for persistence HMS snapshot

2018-07-10 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16538920#comment-16538920 ] Na Li commented on SENTRY-2305: --- [~kkalyan] Do we have data on how bad the performance is for persisting

[jira] [Commented] (SENTRY-2304) Optimize the time taken for HMS snapshot creation.

2018-07-10 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2304?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16538913#comment-16538913 ] Na Li commented on SENTRY-2304: --- Instead of asking table info per db, it is much faster for HMS to provide

[jira] [Commented] (SENTRY-2299) NPE In Sentry HDFS Sync Plug

2018-07-09 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16537628#comment-16537628 ] Na Li commented on SENTRY-2299: --- [~Tagar] CDH5.14.2 contains many fixes from sentry 2.0, so it is not

[jira] [Commented] (SENTRY-2299) NPE In Sentry HDFS Sync Plug

2018-07-09 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16537624#comment-16537624 ] Na Li commented on SENTRY-2299: --- [~Tagar] are you having this issue now? How often do you have it? The

[jira] [Assigned] (SENTRY-2299) NPE In Sentry HDFS Sync Plug

2018-07-09 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Na Li reassigned SENTRY-2299: - Assignee: Na Li > NPE In Sentry HDFS Sync Plug > > > Key:

[jira] [Commented] (SENTRY-2247) Add e2e tests to verify owner privileges

2018-07-09 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2247?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16537530#comment-16537530 ] Na Li commented on SENTRY-2247: --- This update no only adds e2e tests for owner privilege, it also fixes the

[jira] [Created] (SENTRY-2300) Move Permission Update due to DDL to HMS Post Event Listener

2018-07-09 Thread Na Li (JIRA)
Na Li created SENTRY-2300: - Summary: Move Permission Update due to DDL to HMS Post Event Listener Key: SENTRY-2300 URL: https://issues.apache.org/jira/browse/SENTRY-2300 Project: Sentry Issue Type:

[jira] [Created] (SENTRY-2299) NPE In Sentry HDFS Sync Plug

2018-07-06 Thread Na Li (JIRA)
Na Li created SENTRY-2299: - Summary: NPE In Sentry HDFS Sync Plug Key: SENTRY-2299 URL: https://issues.apache.org/jira/browse/SENTRY-2299 Project: Sentry Issue Type: Bug Components: Sentry

[jira] [Updated] (SENTRY-2247) Add e2e tests to verify owner privileges

2018-07-06 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2247?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Na Li updated SENTRY-2247: -- Resolution: Fixed Status: Resolved (was: Patch Available) > Add e2e tests to verify owner privileges

[jira] [Updated] (SENTRY-2247) Add e2e tests to verify owner privileges

2018-07-05 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2247?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Na Li updated SENTRY-2247: -- Attachment: SENTRY-2247.005.patch > Add e2e tests to verify owner privileges >

[jira] [Updated] (SENTRY-2247) Add e2e tests to verify owner privileges

2018-07-05 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2247?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Na Li updated SENTRY-2247: -- Attachment: SENTRY-2247.004.patch > Add e2e tests to verify owner privileges >

[jira] [Updated] (SENTRY-2247) Add e2e tests to verify owner privileges

2018-07-03 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2247?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Na Li updated SENTRY-2247: -- Attachment: SENTRY-2247.003.patch > Add e2e tests to verify owner privileges >

[jira] [Commented] (SENTRY-2295) Owner privileges should not be granted to sentry admin users

2018-07-03 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2295?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16531923#comment-16531923 ] Na Li commented on SENTRY-2295: --- [~kkalyan] We need to document this behavior for user and testing. >

[jira] [Resolved] (SENTRY-2274) Grant and revoke owner privileges based on HMS updates(server-side)

2018-07-03 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Na Li resolved SENTRY-2274. --- Resolution: Fixed [~kkalyan] Thanks for your explanation. There is no issues by looking into the

[jira] [Reopened] (SENTRY-2274) Grant and revoke owner privileges based on HMS updates(server-side)

2018-07-03 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Na Li reopened SENTRY-2274: --- > Grant and revoke owner privileges based on HMS updates(server-side) >

[jira] [Commented] (SENTRY-2274) Grant and revoke owner privileges based on HMS updates(server-side)

2018-07-03 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2274?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16531517#comment-16531517 ] Na Li commented on SENTRY-2274: --- [~kkalyan] There are multiple issues in the following function * It does

[jira] [Updated] (SENTRY-2247) Add e2e tests to verify owner privileges

2018-07-02 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2247?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Na Li updated SENTRY-2247: -- Attachment: SENTRY-2247.002.patch > Add e2e tests to verify owner privileges >

[jira] [Updated] (SENTRY-2293) Fix logging parameters on SentryHDFSServiceProcessor

2018-07-02 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2293?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Na Li updated SENTRY-2293: -- Resolution: Fixed Status: Resolved (was: Patch Available) [~arjunmishra13] Thanks for your

[jira] [Updated] (SENTRY-2247) Add e2e tests to verify owner privileges

2018-07-02 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2247?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Na Li updated SENTRY-2247: -- Attachment: SENTRY-2247.001.patch > Add e2e tests to verify owner privileges >

[jira] [Updated] (SENTRY-2247) Add e2e tests to verify owner privileges

2018-07-02 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2247?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Na Li updated SENTRY-2247: -- Status: Patch Available (was: Open) > Add e2e tests to verify owner privileges >

[jira] [Comment Edited] (SENTRY-2292) Separate Processing of Notifications to a separate thread

2018-06-29 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16528161#comment-16528161 ] Na Li edited comment on SENTRY-2292 at 6/29/18 8:29 PM: [~arjunmishra13] This

[jira] [Commented] (SENTRY-2292) Separate Processing of Notifications to a separate thread

2018-06-29 Thread Na Li (JIRA)
[ https://issues.apache.org/jira/browse/SENTRY-2292?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16528161#comment-16528161 ] Na Li commented on SENTRY-2292: --- [~arjunmishra13] This may bring sentry to unknown state for path info and

<    1   2   3   4   5   6   7   8   9   10   >