[
https://issues.apache.org/jira/browse/HBASE-11878?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14118345#comment-14118345
]
Hadoop QA commented on HBASE-11878:
-----------------------------------
{color:red}-1 overall{color}. Here are the results of testing the latest
attachment
http://issues.apache.org/jira/secure/attachment/12665927/11878-v2.txt
against trunk revision .
ATTACHMENT ID: 12665927
{color:green}+1 @author{color}. The patch does not contain any @author
tags.
{color:green}+1 tests included{color}. The patch appears to include 3 new
or modified tests.
{color:red}-1 javac{color}. The patch appears to cause mvn compile goal to
fail.
Compilation errors resume:
[ERROR] COMPILATION ERROR :
[ERROR]
/home/jenkins/jenkins-slave/workspace/PreCommit-HBASE-Build/hbase-server/src/main/java/org/apache/hadoop/hbase/security/visibility/VisibilityController.java:[416,16]
error: cannot find symbol
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile)
on project hbase-server: Compilation failure
[ERROR]
/home/jenkins/jenkins-slave/workspace/PreCommit-HBASE-Build/hbase-server/src/main/java/org/apache/hadoop/hbase/security/visibility/VisibilityController.java:[416,16]
error: cannot find symbol
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please
read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :hbase-server
Console output:
https://builds.apache.org/job/PreCommit-HBASE-Build/10673//console
This message is automatically generated.
> TestVisibilityLabelsWithDistributedLogReplay#testAddVisibilityLabelsOnRSRestart
> sometimes fails due to VisibilityController not yet initialized
> -----------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: HBASE-11878
> URL: https://issues.apache.org/jira/browse/HBASE-11878
> Project: HBase
> Issue Type: Test
> Reporter: Ted Yu
> Assignee: Ted Yu
> Attachments: 11878-v1.txt, 11878-v2.txt
>
>
> In the thread w.r.t. first RC of 0.98.6,
> http://search-hadoop.com/m/DHED4p2rw81 , Jean-Marc reported that
> TestVisibilityLabelsWithDistributedLogReplay#testAddVisibilityLabelsOnRSRestart
> sometimes failed on his machines.
> From
> http://server.distparser.com:81/hbase/with_teds_patch2/hbasetest1/hbase-server/target/surefire-reports/org.apache.hadoop.hbase.security.visibility.TestVisibilityLabelsWithDistributedLogReplay-output.txt
> :
> {code}
> result {
> exception {
> name: "org.apache.hadoop.hbase.coprocessor.CoprocessorException"
> value: "org.apache.hadoop.hbase.coprocessor.CoprocessorException:
> VisibilityController not yet initialized\n\tat
> org.apache.hadoop.hbase.security.visibility.VisibilityController.addLabels(VisibilityController.java:638)\n\tat
>
> org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos$VisibilityLabelsService$1.addLabels(VisibilityLabelsProtos.java:5014)\n\tat
>
> org.apache.hadoop.hbase.protobuf.generated.VisibilityLabelsProtos$VisibilityLabelsService.callMethod(VisibilityLabelsProtos.java:5178)\n\tat
>
> org.apache.hadoop.hbase.regionserver.HRegion.execService(HRegion.java:5794)\n\tat
>
> org.apache.hadoop.hbase.regionserver.RSRpcServices.execServiceOnRegion(RSRpcServices.java:1608)\n\tat
>
> org.apache.hadoop.hbase.regionserver.RSRpcServices.execService(RSRpcServices.java:1590)\n\tat
>
> org.apache.hadoop.hbase.protobuf.generated.ClientProtos$ClientService$2.callBlockingMethod(ClientProtos.java:30088)\n\tat
> org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2014)\n\tat
> org.apache.hadoop.hbase.ipc.CallRunner.run(CallRunner.java:98)\n\tat
> org.apache.hadoop.hbase.ipc.RpcExecutor.consumerLoop(RpcExecutor.java:114)\n\tat
> org.apache.hadoop.hbase.ipc.RpcExecutor$1.run(RpcExecutor.java:94)\n\tat
> java.lang.Thread.run(Thread.java:744)\n"
> }
> }
> {code}
> The above exception revealed a race condition: writing of labels "ABC" and
> "XYZ" took place when VisibilityController was not yet initialized.
> The test writes the labels only once, leading to assertion failure.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)