[jira] [Updated] (SENTRY-1643) AutoIncrement ChangeID of MSentryPermChange/MSentryPathChange may be error-prone
[ https://issues.apache.org/jira/browse/SENTRY-1643?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Alexander Kolbasov updated SENTRY-1643: --- Resolution: Fixed Status: Resolved (was: Patch Available) [~eddyxu] Thank you for your contribution! > AutoIncrement ChangeID of MSentryPermChange/MSentryPathChange may be > error-prone > > > Key: SENTRY-1643 > URL: https://issues.apache.org/jira/browse/SENTRY-1643 > Project: Sentry > Issue Type: Sub-task > Components: Hdfs Plugin >Affects Versions: sentry-ha-redesign >Reporter: Hao Hao >Assignee: Lei (Eddy) Xu >Priority: Critical > Fix For: sentry-ha-redesign > > Attachments: SENTRY-1643.00-sentry-ha-redesign.patch, > SENTRY-1643.01-sentry-ha-redesign.patch, > SENTRY-1643.02-sentry-ha-redesign.patch > > > In MSentryPermChange/MSentryPathChange table, the changeID field is > auto-increment. > {noformat} > > > {noformat} > However, found through the integration unit test TestHDFSIntegration, the > value does not seem to be correctly auto increased. e.g Instead of increasing > by one for each new entry, it increased by some unexpected number. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Updated] (SENTRY-1643) AutoIncrement ChangeID of MSentryPermChange/MSentryPathChange may be error-prone
[ https://issues.apache.org/jira/browse/SENTRY-1643?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hao Hao updated SENTRY-1643: Status: Patch Available (was: Open) > AutoIncrement ChangeID of MSentryPermChange/MSentryPathChange may be > error-prone > > > Key: SENTRY-1643 > URL: https://issues.apache.org/jira/browse/SENTRY-1643 > Project: Sentry > Issue Type: Sub-task > Components: Hdfs Plugin >Affects Versions: sentry-ha-redesign >Reporter: Hao Hao >Assignee: Lei (Eddy) Xu >Priority: Critical > Fix For: sentry-ha-redesign > > Attachments: SENTRY-1643.00-sentry-ha-redesign.patch, > SENTRY-1643.01-sentry-ha-redesign.patch, > SENTRY-1643.02-sentry-ha-redesign.patch > > > In MSentryPermChange/MSentryPathChange table, the changeID field is > auto-increment. > {noformat} > > > {noformat} > However, found through the integration unit test TestHDFSIntegration, the > value does not seem to be correctly auto increased. e.g Instead of increasing > by one for each new entry, it increased by some unexpected number. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Updated] (SENTRY-1643) AutoIncrement ChangeID of MSentryPermChange/MSentryPathChange may be error-prone
[ https://issues.apache.org/jira/browse/SENTRY-1643?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lei (Eddy) Xu updated SENTRY-1643: -- Attachment: SENTRY-1643.02-sentry-ha-redesign.patch Address comments from the review board. > AutoIncrement ChangeID of MSentryPermChange/MSentryPathChange may be > error-prone > > > Key: SENTRY-1643 > URL: https://issues.apache.org/jira/browse/SENTRY-1643 > Project: Sentry > Issue Type: Sub-task > Components: Hdfs Plugin >Affects Versions: sentry-ha-redesign >Reporter: Hao Hao >Assignee: Lei (Eddy) Xu >Priority: Critical > Fix For: sentry-ha-redesign > > Attachments: SENTRY-1643.00-sentry-ha-redesign.patch, > SENTRY-1643.01-sentry-ha-redesign.patch, > SENTRY-1643.02-sentry-ha-redesign.patch > > > In MSentryPermChange/MSentryPathChange table, the changeID field is > auto-increment. > {noformat} > > > {noformat} > However, found through the integration unit test TestHDFSIntegration, the > value does not seem to be correctly auto increased. e.g Instead of increasing > by one for each new entry, it increased by some unexpected number. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Updated] (SENTRY-1643) AutoIncrement ChangeID of MSentryPermChange/MSentryPathChange may be error-prone
[ https://issues.apache.org/jira/browse/SENTRY-1643?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lei (Eddy) Xu updated SENTRY-1643: -- Attachment: SENTRY-1643.01-sentry-ha-redesign.patch Updated the patch to add comments to the test case. > AutoIncrement ChangeID of MSentryPermChange/MSentryPathChange may be > error-prone > > > Key: SENTRY-1643 > URL: https://issues.apache.org/jira/browse/SENTRY-1643 > Project: Sentry > Issue Type: Sub-task > Components: Hdfs Plugin >Affects Versions: sentry-ha-redesign >Reporter: Hao Hao >Assignee: Lei (Eddy) Xu >Priority: Critical > Fix For: sentry-ha-redesign > > Attachments: SENTRY-1643.00-sentry-ha-redesign.patch, > SENTRY-1643.01-sentry-ha-redesign.patch > > > In MSentryPermChange/MSentryPathChange table, the changeID field is > auto-increment. > {noformat} > > > {noformat} > However, found through the integration unit test TestHDFSIntegration, the > value does not seem to be correctly auto increased. e.g Instead of increasing > by one for each new entry, it increased by some unexpected number. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Updated] (SENTRY-1643) AutoIncrement ChangeID of MSentryPermChange/MSentryPathChange may be error-prone
[ https://issues.apache.org/jira/browse/SENTRY-1643?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lei (Eddy) Xu updated SENTRY-1643: -- Attachment: SENTRY-1643.00-sentry-ha-redesign.patch As we discussed offline, I provide a new patch to auto increase the change ID in the application logic. > AutoIncrement ChangeID of MSentryPermChange/MSentryPathChange may be > error-prone > > > Key: SENTRY-1643 > URL: https://issues.apache.org/jira/browse/SENTRY-1643 > Project: Sentry > Issue Type: Sub-task > Components: Hdfs Plugin >Affects Versions: sentry-ha-redesign >Reporter: Hao Hao >Assignee: Lei (Eddy) Xu >Priority: Critical > Fix For: sentry-ha-redesign > > Attachments: SENTRY-1643.00-sentry-ha-redesign.patch > > > In MSentryPermChange/MSentryPathChange table, the changeID field is > auto-increment. > {noformat} > > > {noformat} > However, found through the integration unit test TestHDFSIntegration, the > value does not seem to be correctly auto increased. e.g Instead of increasing > by one for each new entry, it increased by some unexpected number. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Updated] (SENTRY-1643) AutoIncrement ChangeID of MSentryPermChange/MSentryPathChange may be error-prone
[ https://issues.apache.org/jira/browse/SENTRY-1643?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mathew Crocker updated SENTRY-1643: --- Priority: Critical (was: Major) > AutoIncrement ChangeID of MSentryPermChange/MSentryPathChange may be > error-prone > > > Key: SENTRY-1643 > URL: https://issues.apache.org/jira/browse/SENTRY-1643 > Project: Sentry > Issue Type: Sub-task > Components: Hdfs Plugin >Affects Versions: sentry-ha-redesign >Reporter: Hao Hao >Assignee: Lei (Eddy) Xu >Priority: Critical > Fix For: sentry-ha-redesign > > > In MSentryPermChange/MSentryPathChange table, the changeID field is > auto-increment. > {noformat} > > > {noformat} > However, found through the integration unit test TestHDFSIntegration, the > value does not seem to be correctly auto increased. e.g Instead of increasing > by one for each new entry, it increased by some unexpected number. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Updated] (SENTRY-1643) AutoIncrement ChangeID of MSentryPermChange/MSentryPathChange may be error-prone
[ https://issues.apache.org/jira/browse/SENTRY-1643?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hao Hao updated SENTRY-1643: Description: In MSentryPermChange/MSentryPathChange table, the changeID field is auto-increment. {noformat} {noformat} However, found through the integration unit test TestHDFSIntegration, the value does not seem to be correctly auto increased. e.g Instead of increasing by one for each new entry, it increased by some unexpected number. was: In MSentryPermChange/MSentryPathChange table, the changeID field is auto-increment. {noformat} {noformat} However, found through the integration unit test TestHDFSIntegration, the value does not seem to be correctly auto increased. e.g Instead of increasing by one for each new entry, it increased by some unexpected number. > AutoIncrement ChangeID of MSentryPermChange/MSentryPathChange may be > error-prone > > > Key: SENTRY-1643 > URL: https://issues.apache.org/jira/browse/SENTRY-1643 > Project: Sentry > Issue Type: Sub-task > Components: Hdfs Plugin >Affects Versions: sentry-ha-redesign >Reporter: Hao Hao > Fix For: sentry-ha-redesign > > > In MSentryPermChange/MSentryPathChange table, the changeID field is > auto-increment. > {noformat} > > > {noformat} > However, found through the integration unit test TestHDFSIntegration, the > value does not seem to be correctly auto increased. e.g Instead of increasing > by one for each new entry, it increased by some unexpected number. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Updated] (SENTRY-1643) AutoIncrement ChangeID of MSentryPermChange/MSentryPathChange may be error-prone
[ https://issues.apache.org/jira/browse/SENTRY-1643?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hao Hao updated SENTRY-1643: Description: In MSentryPermChange/MSentryPathChange table, the changeID field is auto-increment. {noformat} {noformat} However, found through the integration unit test TestHDFSIntegration, the value does not seem to be correctly auto increased. e.g Instead of increasing by one for each new entry, it increased by some unexpected number. was: In MSentryPermChange/MSentryPathChange table, the changeID field is auto-increment. {noformat} {noformat} However, found through the integration unit test TestHDFSIntegration, the value does not seem to be correctly auto increased. e.g Instead of increasing by one for each new entry, it increased by some unexpected number. > AutoIncrement ChangeID of MSentryPermChange/MSentryPathChange may be > error-prone > > > Key: SENTRY-1643 > URL: https://issues.apache.org/jira/browse/SENTRY-1643 > Project: Sentry > Issue Type: Sub-task > Components: Hdfs Plugin >Affects Versions: sentry-ha-redesign >Reporter: Hao Hao > Fix For: sentry-ha-redesign > > > In MSentryPermChange/MSentryPathChange table, the changeID field is > auto-increment. > {noformat} > > > {noformat} > However, found through the integration unit test TestHDFSIntegration, the > value does not seem to be correctly auto increased. e.g Instead of increasing > by one for each new entry, it increased by some unexpected number. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Updated] (SENTRY-1643) AutoIncrement ChangeID of MSentryPermChange/MSentryPathChange may be error-prone
[ https://issues.apache.org/jira/browse/SENTRY-1643?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hao Hao updated SENTRY-1643: Description: In MSentryPermChange/MSentryPathChange table, the changeID field is auto-increment. {noformat} {noformat} However, found through the integration unit test TestHDFSIntegration, the value does not seem to be correctly auto increased. e.g Instead of increasing by one for each new entry, it increased by some unexpected number. was: In MSentryPermChange/MSentryPathChange table, the changeID field is auto-increment. {{ }} However, found through the integration unit test TestHDFSIntegration, the value does not seem to be correctly auto increased. e.g Instead of increasing by one for each new entry, it increased by some unexpected number. > AutoIncrement ChangeID of MSentryPermChange/MSentryPathChange may be > error-prone > > > Key: SENTRY-1643 > URL: https://issues.apache.org/jira/browse/SENTRY-1643 > Project: Sentry > Issue Type: Sub-task > Components: Hdfs Plugin >Affects Versions: sentry-ha-redesign >Reporter: Hao Hao > Fix For: sentry-ha-redesign > > > In MSentryPermChange/MSentryPathChange table, the changeID field is > auto-increment. > {noformat} value-strategy="increment"> > >{noformat} > However, found through the integration unit test TestHDFSIntegration, the > value does not seem to be correctly auto increased. e.g Instead of increasing > by one for each new entry, it increased by some unexpected number. -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Updated] (SENTRY-1643) AutoIncrement ChangeID of MSentryPermChange/MSentryPathChange may be error-prone
[ https://issues.apache.org/jira/browse/SENTRY-1643?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Hao Hao updated SENTRY-1643: Description: In MSentryPermChange/MSentryPathChange table, the changeID field is auto-increment. {{ }} However, found through the integration unit test TestHDFSIntegration, the value does not seem to be correctly auto increased. e.g Instead of increasing by one for each new entry, it increased by some unexpected number. was:In MSentryPermChange/MSentryPathChange table, the changeID field is auto-increment. However, found through the integration unit test TestHDFSIntegration, the value does not seem to be correctly increased. > AutoIncrement ChangeID of MSentryPermChange/MSentryPathChange may be > error-prone > > > Key: SENTRY-1643 > URL: https://issues.apache.org/jira/browse/SENTRY-1643 > Project: Sentry > Issue Type: Sub-task > Components: Hdfs Plugin >Affects Versions: sentry-ha-redesign >Reporter: Hao Hao > Fix For: sentry-ha-redesign > > > In MSentryPermChange/MSentryPathChange table, the changeID field is > auto-increment. > {{ > >}} > However, found through the integration unit test TestHDFSIntegration, the > value does not seem to be correctly auto increased. e.g Instead of increasing > by one for each new entry, it increased by some unexpected number. -- This message was sent by Atlassian JIRA (v6.3.15#6346)