You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "stack (JIRA)" <ji...@apache.org> on 2017/08/09 18:27:00 UTC

[jira] [Resolved] (HBASE-18545) Fix broke site build that fails in rsgroups

     [ https://issues.apache.org/jira/browse/HBASE-18545?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stack resolved HBASE-18545.
---------------------------
       Resolution: Fixed
    Fix Version/s: 3.0.0

I pushed this. It seems to fix it:

{code}
commit 794a3b104bf62d028fc8ae27596c3b98ef87e507
Author: Michael Stack <st...@apache.org>
Date:   Wed Aug 9 11:24:51 2017 -0700

    HBASE-18545 Fix broke site build that fails in rsgroups

diff --git a/hbase-rsgroup/pom.xml b/hbase-rsgroup/pom.xml
index 0bbabe93ff..a3e710cac2 100644
--- a/hbase-rsgroup/pom.xml
+++ b/hbase-rsgroup/pom.xml
@@ -60,6 +60,11 @@
             <goals>
               <goal>compile</goal>
             </goals>
+            <configuration>
+              <additionalProtoPathElements>
+                <additionalProtoPathElement>${basedir}/../hbase-protocol/src/main/protobuf</additionalProtoPathElement>
+              </additionalProtoPathElements>
+            </configuration>
           </execution>
         </executions>
       </plugin>
{code}

Repro'd the issue by running commands found here:

https://builds.apache.org/view/H-L/view/HBase/job/hbase_generate_website/configure

> Fix broke site build that fails in rsgroups
> -------------------------------------------
>
>                 Key: HBASE-18545
>                 URL: https://issues.apache.org/jira/browse/HBASE-18545
>             Project: HBase
>          Issue Type: Bug
>          Components: site
>            Reporter: stack
>            Assignee: stack
>             Fix For: 3.0.0
>
>
> Site is broke because of a failure finding .proto files (was pointed out on list and in closed proto issue...). Failure looks like this:
> {code}
> [INFO] --- protobuf-maven-plugin:0.5.0:compile (compile-protoc) @ hbase-rsgroup ---
> [INFO] Compiling 2 proto file(s) to /home/jenkins/jenkins-slave/workspace/hbase_generate_website/hbase/hbase-rsgroup/target/generated-sources/protobuf/java
> [ERROR] PROTOC FAILED: HBase.proto: File not found.
> RSGroup.proto: Import "HBase.proto" was not found or had errors.
> RSGroup.proto:31:12: "ServerName" is not defined.
> RSGroup.proto:32:12: "TableName" is not defined.
> [ERROR] /home/jenkins/jenkins-slave/workspace/hbase_generate_website/hbase/hbase-rsgroup/src/main/protobuf/RSGroup.proto [0:0]: HBase.proto: File not found.
> RSGroup.proto: Import "HBase.proto" was not found or had errors.
> RSGroup.proto:31:12: "ServerName" is not defined.
> RSGroup.proto:32:12: "TableName" is not defined.
> [ERROR] /home/jenkins/jenkins-slave/workspace/hbase_generate_website/hbase/hbase-rsgroup/src/main/protobuf/RSGroupAdmin.proto [0:0]: HBase.proto: File not found.
> RSGroup.proto: Import "HBase.proto" was not found or had errors.
> RSGroup.proto:31:12: "ServerName" is not defined.
> RSGroup.proto:32:12: "TableName" is not defined.
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)