Advertisement
Guest User

Untitled

a guest
Aug 30th, 2014
241
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.51 KB | None | 0 0
  1. diff --git a/hbase-server/src/test/java/org/apache/hadoop/hbase/security/visibility/TestVisibilityLabelsWithDefaultVisLabelService.java b/hbase-server/src/test/java/org/apache/hadoop
  2. index 9abdd85..f49a1c1 100644
  3. --- a/hbase-server/src/test/java/org/apache/hadoop/hbase/security/visibility/TestVisibilityLabelsWithDefaultVisLabelService.java
  4. +++ b/hbase-server/src/test/java/org/apache/hadoop/hbase/security/visibility/TestVisibilityLabelsWithDefaultVisLabelService.java
  5. @@ -26,6 +26,8 @@ import java.io.IOException;
  6. import java.security.PrivilegedExceptionAction;
  7. import java.util.List;
  8.  
  9. +import org.apache.commons.logging.Log;
  10. +import org.apache.commons.logging.LogFactory;
  11. import org.apache.hadoop.hbase.HConstants;
  12. import org.apache.hadoop.hbase.MediumTests;
  13. import org.apache.hadoop.hbase.client.HTable;
  14. @@ -44,6 +46,7 @@ import org.junit.experimental.categories.Category;
  15.  
  16. @Category(MediumTests.class)
  17. public class TestVisibilityLabelsWithDefaultVisLabelService extends TestVisibilityLabels {
  18. + final Log LOG = LogFactory.getLog(getClass());
  19.  
  20. @BeforeClass
  21. public static void setupBeforeClass() throws Exception {
  22. @@ -129,6 +132,9 @@ public class TestVisibilityLabelsWithDefaultVisLabelService extends TestVisibili
  23. if (next == null) {
  24. break;
  25. }
  26. + byte[] val = next.getValue(VisibilityConstants.LABELS_TABLE_FAMILY,
  27. + VisibilityConstants.LABEL_QUALIFIER);
  28. + LOG.debug("Retrieved label " + Bytes.toString(val));
  29. i++;
  30. }
  31. } finally {
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement