Re: HBaseTestingUtility with visibility labels enabled

2018-02-23 Thread Mike Thomsen
Thanks, that got me a little further, but it seems like even though the security capabilities say that cell visibility is enabled, the scanner ignores the authorization list I pass. This is the relevant code: private static HBaseTestingUtility UTILITY; private static final String[]

Re: HBaseTestingUtility with visibility labels enabled

2018-02-22 Thread Ted Yu
labels table is created by VisibilityController#postStartMaster(). You can add the following call in the @BeforeClass method: TEST_UTIL.waitTableEnabled(LABELS_TABLE_NAME.getName(), 5); See TestVisibilityLabelsWithACL for complete example. On Thu, Feb 22, 2018 at 12:07 PM, Mike

HBaseTestingUtility with visibility labels enabled

2018-02-22 Thread Mike Thomsen
I'm trying to spin up a mini cluster for integration testing. Can someone give me an idea of what I'm doing wrong? public static void main(String[] args) throws Throwable { Configuration conf = org.apache.hadoop.hbase.HBaseConfiguration.create();