[
https://issues.apache.org/jira/browse/HBASE-10916?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13977162#comment-13977162
]
Ted Yu commented on HBASE-10916:
--------------------------------
I got the following when using command line to build:
{code}
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile)
on project hbase-server: Compilation failure: Compilation failure:
[ERROR]
/Users/tyu/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/security/visibility/TestVisibilityLabelsWithSLGStack.java:[28,30]
cannot find symbol
[ERROR] symbol : class HBaseTestingUtility
[ERROR] location: package org.apache.hadoop.hbase
[ERROR]
/Users/tyu/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/security/visibility/TestVisibilityLabelsWithSLGStack.java:[30,30]
cannot find symbol
[ERROR] symbol : class MediumTests
[ERROR] location: package org.apache.hadoop.hbase
[ERROR]
/Users/tyu/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/security/visibility/TestVisibilityLabelsWithSLGStack.java:[52,22]
cannot find symbol
[ERROR] symbol : class HBaseTestingUtility
[ERROR] location: class
org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithSLGStack
[ERROR]
/Users/tyu/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/security/visibility/TestVisibilityLabelsWithSLGStack.java:[47,10]
cannot find symbol
[ERROR] symbol: class MediumTests
[ERROR] @Category(MediumTests.class)
[ERROR]
/Users/tyu/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/security/visibility/TestVisibilityLabelsWithSLGStack.java:[52,58]
cannot find symbol
[ERROR] symbol : class HBaseTestingUtility
[ERROR] location: class
org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithSLGStack
{code}
The test passes in Eclipse though.
> [VisibilityController] Stackable ScanLabelGenerators
> ----------------------------------------------------
>
> Key: HBASE-10916
> URL: https://issues.apache.org/jira/browse/HBASE-10916
> Project: HBase
> Issue Type: Improvement
> Reporter: Andrew Purtell
> Assignee: Anoop Sam John
> Priority: Critical
> Fix For: 0.99.0, 0.98.2
>
> Attachments: HBASE-10916.patch
>
>
> The ScanLabelGenerator is used by the VisibilityController to assemble the
> effective label set for a user in the RPC context before processing any
> request. Currently only one implementation of this interface can be
> installed, although which implementation to use can be specified in the site
> file. Instead it should be possible to stack multiple implementations of this
> component the same way we do coprocessors, installed with explicit priority
> with ties broken by a counter, where those implementations installed later in
> the chain have an opportunity to modify the pending effective label set.
--
This message was sent by Atlassian JIRA
(v6.2#6252)