Class TestVisibilityLabelsWithDeletes
java.lang.Object
org.apache.hadoop.hbase.security.visibility.VisibilityLabelsWithDeletesTestBase
org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithDeletes
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static org.apache.hadoop.hbase.client.Delete
addDeleteMark
(org.apache.hadoop.hbase.client.Delete d, TestVisibilityLabelsWithDeletes.DeleteMark mark, long now) static <T> List<T>
createList
(T... ts) private org.apache.hadoop.hbase.TableName
protected org.apache.hadoop.hbase.client.Table
createTable
(byte[] fam) private org.apache.hadoop.hbase.TableName
createTable
(int maxVersions) private void
createTable
(org.apache.hadoop.hbase.TableName tableName, int maxVersions) private org.apache.hadoop.hbase.client.Table
doPuts
(org.apache.hadoop.hbase.TableName tableName) private org.apache.hadoop.hbase.client.Table
doPutsWithDiffCols
(org.apache.hadoop.hbase.TableName tableName) private org.apache.hadoop.hbase.client.Table
doPutsWithoutVisibility
(org.apache.hadoop.hbase.TableName tableName) private void
scanAll
(org.apache.hadoop.hbase.client.Result[] next) void
private void
void
private void
private void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
void
Methods inherited from class org.apache.hadoop.hbase.security.visibility.VisibilityLabelsWithDeletesTestBase
addLabels, setAuths, setupBeforeClass, tearDownAfterClass, testVisibilityLabelsWithDeleteColumnExactVersion, testVisibilityLabelsWithDeleteColumns, testVisibilityLabelsWithDeleteFamily, testVisibilityLabelsWithDeleteFamilyVersion
-
Field Details
-
CLASS_RULE
-
-
Constructor Details
-
TestVisibilityLabelsWithDeletes
public TestVisibilityLabelsWithDeletes()
-
-
Method Details
-
createTable
- Specified by:
createTable
in classVisibilityLabelsWithDeletesTestBase
- Throws:
IOException
-
createTable
- Throws:
IOException
-
createTable
- Throws:
IOException
-
createTable
private void createTable(org.apache.hadoop.hbase.TableName tableName, int maxVersions) throws IOException - Throws:
IOException
-
testVisibilityLabelsWithDeleteColumnsWithMultipleVersions
- Throws:
Exception
-
testVisibilityLabelsWithDeleteColumnsWithMultipleVersionsNoTimestamp
- Throws:
Exception
-
testVisibilityLabelsWithDeleteColumnsNoMatchVisExpWithMultipleVersionsNoTimestamp
public void testVisibilityLabelsWithDeleteColumnsNoMatchVisExpWithMultipleVersionsNoTimestamp() throws Exception- Throws:
Exception
-
testVisibilityLabelsWithDeleteFamilyWithMultipleVersionsNoTimestamp
- Throws:
Exception
-
testDeleteColumnsWithoutAndWithVisibilityLabels
- Throws:
Exception
-
testDeleteColumnsWithAndWithoutVisibilityLabels
- Throws:
Exception
-
testDeleteFamiliesWithoutAndWithVisibilityLabels
- Throws:
Exception
-
testDeleteFamiliesWithAndWithoutVisibilityLabels
- Throws:
Exception
-
testDeletesWithoutAndWithVisibilityLabels
- Throws:
Exception
-
testVisibilityLabelsWithDeleteFamilyWithPutsReAppearing
- Throws:
Exception
-
testVisibilityLabelsWithDeleteColumnsWithPutsReAppearing
- Throws:
Exception
-
testVisibilityCombinations
- Throws:
Exception
-
testVisibilityLabelsWithDeleteColumnWithSpecificVersionWithPutsReAppearing
public void testVisibilityLabelsWithDeleteColumnWithSpecificVersionWithPutsReAppearing() throws Exception- Throws:
Exception
-
testVisibilityLabelsWithDeleteFamilyNoMatchingVisExpWithMultipleVersionsNoTimestamp
public void testVisibilityLabelsWithDeleteFamilyNoMatchingVisExpWithMultipleVersionsNoTimestamp() throws Exception- Throws:
Exception
-
testDeleteFamilyAndDeleteColumnsWithAndWithoutVisibilityExp
- Throws:
Exception
-
doPuts
private org.apache.hadoop.hbase.client.Table doPuts(org.apache.hadoop.hbase.TableName tableName) throws IOException, InterruptedIOException, org.apache.hadoop.hbase.client.RetriesExhaustedWithDetailsException, InterruptedException - Throws:
IOException
InterruptedIOException
org.apache.hadoop.hbase.client.RetriesExhaustedWithDetailsException
InterruptedException
-
doPutsWithDiffCols
private org.apache.hadoop.hbase.client.Table doPutsWithDiffCols(org.apache.hadoop.hbase.TableName tableName) throws IOException, InterruptedIOException, org.apache.hadoop.hbase.client.RetriesExhaustedWithDetailsException, InterruptedException - Throws:
IOException
InterruptedIOException
org.apache.hadoop.hbase.client.RetriesExhaustedWithDetailsException
InterruptedException
-
doPutsWithoutVisibility
private org.apache.hadoop.hbase.client.Table doPutsWithoutVisibility(org.apache.hadoop.hbase.TableName tableName) throws IOException, InterruptedIOException, org.apache.hadoop.hbase.client.RetriesExhaustedWithDetailsException, InterruptedException - Throws:
IOException
InterruptedIOException
org.apache.hadoop.hbase.client.RetriesExhaustedWithDetailsException
InterruptedException
-
testDeleteColumnWithSpecificTimeStampUsingMultipleVersionsUnMatchingVisExpression
public void testDeleteColumnWithSpecificTimeStampUsingMultipleVersionsUnMatchingVisExpression() throws Exception- Throws:
Exception
-
testDeleteColumnWithLatestTimeStampUsingMultipleVersions
- Throws:
Exception
-
testDeleteColumnWithLatestTimeStampWhenNoVersionMatches
- Throws:
Exception
-
testDeleteColumnWithLatestTimeStampUsingMultipleVersionsAfterCompaction
public void testDeleteColumnWithLatestTimeStampUsingMultipleVersionsAfterCompaction() throws Exception- Throws:
Exception
-
testDeleteFamilyLatestTimeStampWithMulipleVersions
- Throws:
Exception
-
testDeleteColumnswithMultipleColumnsWithMultipleVersions
- Throws:
Exception
-
testDeleteColumnsWithDiffColsAndTags
- Throws:
Exception
-
testDeleteColumnsWithDiffColsAndTags1
- Throws:
Exception
-
testDeleteFamilyWithoutCellVisibilityWithMulipleVersions
- Throws:
Exception
-
testDeleteFamilyLatestTimeStampWithMulipleVersionsWithoutCellVisibilityInPuts
public void testDeleteFamilyLatestTimeStampWithMulipleVersionsWithoutCellVisibilityInPuts() throws Exception- Throws:
Exception
-
testDeleteFamilySpecificTimeStampWithMulipleVersions
- Throws:
Exception
-
testScanAfterCompaction
- Throws:
Exception
-
testDeleteFamilySpecificTimeStampWithMulipleVersionsDoneTwice
- Throws:
Exception
-
testMultipleDeleteFamilyVersionWithDiffLabels
- Throws:
Exception
-
testSpecificDeletesFollowedByDeleteFamily
- Throws:
Exception
-
testSpecificDeletesFollowedByDeleteFamily1
- Throws:
Exception
-
testDeleteColumnSpecificTimeStampWithMulipleVersionsDoneTwice
- Throws:
Exception
-
testDeleteColumnSpecificTimeStampWithMulipleVersionsDoneTwice1
- Throws:
Exception
-
testDeleteColumnSpecificTimeStampWithMulipleVersionsDoneTwice2
- Throws:
Exception
-
testDeleteColumnAndDeleteFamilylSpecificTimeStampWithMulipleVersion
- Throws:
Exception
-
testDiffDeleteTypesForTheSameCellUsingMultipleVersions
- Throws:
Exception
-
testDeleteColumnLatestWithNoCellVisibility
- Throws:
Exception
-
scanAll
- Throws:
IOException
-
testVisibilityExpressionWithNotEqualORCondition
- Throws:
Exception
-
testDeleteWithNoVisibilitiesForPutsAndDeletes
- Throws:
Exception
-
testDeleteWithFamilyDeletesOfSameTsButDifferentVisibilities
- Throws:
Exception
-
createList
-
addDeleteMark
private static org.apache.hadoop.hbase.client.Delete addDeleteMark(org.apache.hadoop.hbase.client.Delete d, TestVisibilityLabelsWithDeletes.DeleteMark mark, long now) -
testDeleteCellWithoutVisibility
- Throws:
IOException
InterruptedException
-
testDeleteCellWithoutVisibility
private void testDeleteCellWithoutVisibility(TestVisibilityLabelsWithDeletes.DeleteMark mark) throws IOException, InterruptedException - Throws:
IOException
InterruptedException
-
testDeleteCellWithVisibility
- Throws:
IOException
InterruptedException
-
testDeleteCellWithVisibility
private void testDeleteCellWithVisibility(TestVisibilityLabelsWithDeletes.DeleteMark mark) throws IOException, InterruptedException - Throws:
IOException
InterruptedException
-
testDeleteCellWithVisibilityV2
private void testDeleteCellWithVisibilityV2(TestVisibilityLabelsWithDeletes.DeleteMark mark) throws IOException, InterruptedException - Throws:
IOException
InterruptedException
-