[ 
https://issues.apache.org/jira/browse/HBASE-17056?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16115960#comment-16115960
 ] 

Ted Yu commented on HBASE-17056:
--------------------------------

Attempted the following:
{code}
diff --git a/hbase-rsgroup/pom.xml b/hbase-rsgroup/pom.xml
index 0bbabe9..b531086 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}
And got the following:
{code}
[ERROR] 
/mnt/disk2/a/hbase/hbase-protocol-shaded/target/generated-sources/protobuf/java/org/apache/hadoop/hbase/shaded/protobuf/generated/RegionServerStatusProtos.java:[446,20]
 no suitable method found for parseFrom(java.nio.ByteBuffer)
    method 
org.apache.hadoop.hbase.shaded.com.google.protobuf.Parser.parseFrom(org.apache.hadoop.hbase.shaded.com.google.protobuf.CodedInputStream)
 is not applicable
      (argument mismatch; java.nio.ByteBuffer cannot be converted to 
org.apache.hadoop.hbase.shaded.com.google.protobuf.CodedInputStream)
    method 
org.apache.hadoop.hbase.shaded.com.google.protobuf.Parser.parseFrom(org.apache.hadoop.hbase.shaded.com.google.protobuf.ByteString)
 is not applicable
      (argument mismatch; java.nio.ByteBuffer cannot be converted to 
org.apache.hadoop.hbase.shaded.com.google.protobuf.ByteString)
    method 
org.apache.hadoop.hbase.shaded.com.google.protobuf.Parser.parseFrom(byte[]) is 
not applicable
      (argument mismatch; java.nio.ByteBuffer cannot be converted to byte[])
    method 
org.apache.hadoop.hbase.shaded.com.google.protobuf.Parser.parseFrom(java.io.InputStream)
 is not applicable
      (argument mismatch; java.nio.ByteBuffer cannot be converted to 
java.io.InputStream)
{code}

> Remove checked in PB generated files 
> -------------------------------------
>
>                 Key: HBASE-17056
>                 URL: https://issues.apache.org/jira/browse/HBASE-17056
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 2.0.0
>            Reporter: Enis Soztutar
>            Assignee: stack
>            Priority: Critical
>             Fix For: 2.0.0
>
>         Attachments: 
> 0002-HBASE-17056-Remove-checked-in-PB-generated-files.patch, 
> HBASE-17056.master.001.patch, HBASE-17056.master.002.patch, 
> HBASE-17056.master.003.patch, HBASE-17056.master.004.patch, 
> HBASE-17056.master.005.patch, HBASE-17056.master.006.patch, 
> HBASE-17056.master.006.patch, HBASE-17056.master.007.patch, 
> HBASE-17056.master.007.patch
>
>
> Now that we have the new PB maven plugin, there is no need to have the PB 
> files checked in to the repo. The reason we did that was to ease up developer 
> env setup. 



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

Reply via email to