You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kudu.apache.org by "Grant Henke (JIRA)" <ji...@apache.org> on 2018/04/13 17:53:00 UTC
[jira] [Resolved] (KUDU-2407) Replica.getRoleAsEnum exposes
Protobuf generated classes in public API
[ https://issues.apache.org/jira/browse/KUDU-2407?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Grant Henke resolved KUDU-2407.
-------------------------------
Resolution: Fixed
Fix Version/s: 1.8.0
Resolved in [0d16752|https://github.com/apache/kudu/commit/0d167529ae86463e3916e942930c4bedcd61817c].
> 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
> Assignee: Grant Henke
> Priority: Major
> Labels: beginner
> Fix For: 1.8.0
>
>
> 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)