[jira] [Updated] (HBASE-10239) Improve determinism and debugability of TestAccessController

2013-12-27 Thread Andrew Purtell (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-10239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Purtell updated HBASE-10239:
---

  Resolution: Fixed
Hadoop Flags: Reviewed
  Status: Resolved  (was: Patch Available)

Committed to trunk and 0.98

 Improve determinism and debugability of TestAccessController
 

 Key: HBASE-10239
 URL: https://issues.apache.org/jira/browse/HBASE-10239
 Project: HBase
  Issue Type: Improvement
Affects Versions: 0.98.0, 0.99.0
Reporter: Andrew Purtell
Assignee: Andrew Purtell
 Fix For: 0.98.0, 0.99.0

 Attachments: 10239.patch, wip-10239.patch


 Separate grant and revoke API invocations to static helper methods in 
 SecureTestUtils. Wait for permissions cache updates using a Predicate. Log 
 the API calls, state checks, and waits. 



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (HBASE-10239) Improve determinism and debugability of TestAccessController

2013-12-26 Thread Andrew Purtell (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-10239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Purtell updated HBASE-10239:
---

Description: Separate grant and revoke API invocations to static helper 
methods in SecureTestUtils. Wait for permissions cache updates using a 
Predicate. Log the API calls, state checks, and waits.   (was: Separate grant 
and revoke API invocations to static helper methods in SecureUtils (rename to 
SecureTestUtils). Wait for permissions cache updates using a Predicate. Log the 
API calls, state checks, and waits. )

 Improve determinism and debugability of TestAccessController
 

 Key: HBASE-10239
 URL: https://issues.apache.org/jira/browse/HBASE-10239
 Project: HBase
  Issue Type: Improvement
Affects Versions: 0.98.0, 0.99.0
Reporter: Andrew Purtell
Assignee: Andrew Purtell
 Fix For: 0.98.0, 0.99.0


 Separate grant and revoke API invocations to static helper methods in 
 SecureTestUtils. Wait for permissions cache updates using a Predicate. Log 
 the API calls, state checks, and waits. 



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (HBASE-10239) Improve determinism and debugability of TestAccessController

2013-12-26 Thread Andrew Purtell (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-10239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Purtell updated HBASE-10239:
---

Attachment: wip-10239.patch

Something like this, attaching work in progress patch. Only updates a few 
tests, need to move the rest over.

 Improve determinism and debugability of TestAccessController
 

 Key: HBASE-10239
 URL: https://issues.apache.org/jira/browse/HBASE-10239
 Project: HBase
  Issue Type: Improvement
Affects Versions: 0.98.0, 0.99.0
Reporter: Andrew Purtell
Assignee: Andrew Purtell
 Fix For: 0.98.0, 0.99.0

 Attachments: wip-10239.patch


 Separate grant and revoke API invocations to static helper methods in 
 SecureTestUtils. Wait for permissions cache updates using a Predicate. Log 
 the API calls, state checks, and waits. 



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (HBASE-10239) Improve determinism and debugability of TestAccessController

2013-12-26 Thread Andrew Purtell (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-10239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Purtell updated HBASE-10239:
---

Attachment: (was: wip-10239.patch)

 Improve determinism and debugability of TestAccessController
 

 Key: HBASE-10239
 URL: https://issues.apache.org/jira/browse/HBASE-10239
 Project: HBase
  Issue Type: Improvement
Affects Versions: 0.98.0, 0.99.0
Reporter: Andrew Purtell
Assignee: Andrew Purtell
 Fix For: 0.98.0, 0.99.0

 Attachments: wip-10239.patch


 Separate grant and revoke API invocations to static helper methods in 
 SecureTestUtils. Wait for permissions cache updates using a Predicate. Log 
 the API calls, state checks, and waits. 



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (HBASE-10239) Improve determinism and debugability of TestAccessController

2013-12-26 Thread Andrew Purtell (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-10239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Purtell updated HBASE-10239:
---

Attachment: wip-10239.patch

 Improve determinism and debugability of TestAccessController
 

 Key: HBASE-10239
 URL: https://issues.apache.org/jira/browse/HBASE-10239
 Project: HBase
  Issue Type: Improvement
Affects Versions: 0.98.0, 0.99.0
Reporter: Andrew Purtell
Assignee: Andrew Purtell
 Fix For: 0.98.0, 0.99.0

 Attachments: wip-10239.patch


 Separate grant and revoke API invocations to static helper methods in 
 SecureTestUtils. Wait for permissions cache updates using a Predicate. Log 
 the API calls, state checks, and waits. 



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (HBASE-10239) Improve determinism and debugability of TestAccessController

2013-12-26 Thread Andrew Purtell (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-10239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Purtell updated HBASE-10239:
---

Attachment: wip-10239.patch

 Improve determinism and debugability of TestAccessController
 

 Key: HBASE-10239
 URL: https://issues.apache.org/jira/browse/HBASE-10239
 Project: HBase
  Issue Type: Improvement
Affects Versions: 0.98.0, 0.99.0
Reporter: Andrew Purtell
Assignee: Andrew Purtell
 Fix For: 0.98.0, 0.99.0

 Attachments: wip-10239.patch


 Separate grant and revoke API invocations to static helper methods in 
 SecureTestUtils. Wait for permissions cache updates using a Predicate. Log 
 the API calls, state checks, and waits. 



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (HBASE-10239) Improve determinism and debugability of TestAccessController

2013-12-26 Thread Andrew Purtell (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-10239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Purtell updated HBASE-10239:
---

Attachment: (was: wip-10239.patch)

 Improve determinism and debugability of TestAccessController
 

 Key: HBASE-10239
 URL: https://issues.apache.org/jira/browse/HBASE-10239
 Project: HBase
  Issue Type: Improvement
Affects Versions: 0.98.0, 0.99.0
Reporter: Andrew Purtell
Assignee: Andrew Purtell
 Fix For: 0.98.0, 0.99.0

 Attachments: wip-10239.patch


 Separate grant and revoke API invocations to static helper methods in 
 SecureTestUtils. Wait for permissions cache updates using a Predicate. Log 
 the API calls, state checks, and waits. 



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (HBASE-10239) Improve determinism and debugability of TestAccessController

2013-12-26 Thread Andrew Purtell (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-10239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Purtell updated HBASE-10239:
---

Status: Patch Available  (was: Open)

 Improve determinism and debugability of TestAccessController
 

 Key: HBASE-10239
 URL: https://issues.apache.org/jira/browse/HBASE-10239
 Project: HBase
  Issue Type: Improvement
Affects Versions: 0.98.0, 0.99.0
Reporter: Andrew Purtell
Assignee: Andrew Purtell
 Fix For: 0.98.0, 0.99.0

 Attachments: 10239.patch, wip-10239.patch


 Separate grant and revoke API invocations to static helper methods in 
 SecureTestUtils. Wait for permissions cache updates using a Predicate. Log 
 the API calls, state checks, and waits. 



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)


[jira] [Updated] (HBASE-10239) Improve determinism and debugability of TestAccessController

2013-12-26 Thread Andrew Purtell (JIRA)

 [ 
https://issues.apache.org/jira/browse/HBASE-10239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Purtell updated HBASE-10239:
---

Attachment: 10239.patch

Done. Passes JDK6 and 7 locally.

 Improve determinism and debugability of TestAccessController
 

 Key: HBASE-10239
 URL: https://issues.apache.org/jira/browse/HBASE-10239
 Project: HBase
  Issue Type: Improvement
Affects Versions: 0.98.0, 0.99.0
Reporter: Andrew Purtell
Assignee: Andrew Purtell
 Fix For: 0.98.0, 0.99.0

 Attachments: 10239.patch, wip-10239.patch


 Separate grant and revoke API invocations to static helper methods in 
 SecureTestUtils. Wait for permissions cache updates using a Predicate. Log 
 the API calls, state checks, and waits. 



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)