Class IntegrationTestWithCellVisibilityLoadAndVerify

java.lang.Object
org.apache.hadoop.hbase.util.AbstractHBaseTool
org.apache.hadoop.hbase.IntegrationTestBase
org.apache.hadoop.hbase.test.IntegrationTestLoadAndVerify
org.apache.hadoop.hbase.test.IntegrationTestWithCellVisibilityLoadAndVerify
All Implemented Interfaces:
org.apache.hadoop.conf.Configurable, org.apache.hadoop.util.Tool

A large test which loads a lot of data with cell visibility, and verifies the data. Test adds 2 users with different sets of visibility labels authenticated for them. Every row (so cells in that) added with visibility expressions. In load step, 200 map tasks are launched, which in turn write loadmapper.num_to_write (default 100K) rows to an hbase table. Rows are written in blocks, for a total of 100 blocks. Verify step scans the table as both users with Authorizations. This step asserts that user can see only those rows (and so cells) with visibility for which they have label auth. This class can be run as a unit test, as an integration test, or from the command line. Originally taken from Apache Bigtop. Issue user names as comma seperated list. ./hbase IntegrationTestWithCellVisibilityLoadAndVerify -u usera,userb