Grant Henke created KUDU-2407:
---------------------------------

             Summary: Replica.getRoleAsEnum exposes Protobuf generated classes 
in public API
                 Key: KUDU-2407
                 URL: https://issues.apache.org/jira/browse/KUDU-2407
             Project: Kudu
          Issue Type: Bug
          Components: client
    Affects Versions: 1.5.0
            Reporter: Grant Henke


The return type for Replica.getRoleAsEnum() in the Java client is 
org.apache.kudu.consensus.Metadata.RaftPeerPB.Role.

At a minimum we should mark this as InterfaceAudience.Private. If we do intend 
the method to be public API we should map it to a public enum owned by the 
client. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to