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

Wei-Chiu Chuang resolved HDFS-16027.
------------------------------------
    Fix Version/s: 3.3.1
       Resolution: Fixed

Thanks [~ayushtkn]!

>  HDFS-15245 breaks source code compatibility between 3.3.0 and 3.3.1.
> ---------------------------------------------------------------------
>
>                 Key: HDFS-16027
>                 URL: https://issues.apache.org/jira/browse/HDFS-16027
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: journal-node, ui
>    Affects Versions: 3.3.1
>            Reporter: Wei-Chiu Chuang
>            Assignee: Wei-Chiu Chuang
>            Priority: Blocker
>              Labels: pull-request-available
>             Fix For: 3.3.1
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> Ok, this one is on me.
> JournalNodeMXBean is a Public, Evolving interface.
> But HDFS-15245 was cherrypicked to branch-3.3 which breaks source 
> compatibility between 3.3.0 and 3.3.1 by adding the following three methods:
> {noformat}
> /**
>    * Get host and port of JournalNode.
>    *
>    * @return colon separated host and port.
>    */
>   String getHostAndPort();
>   /**
>    * Get list of the clusters of JournalNode's journals
>    * as one JournalNode may support multiple clusters.
>    *
>    * @return list of clusters.
>    */
>   List<String> getClusterIds();
>   /**
>    * Gets the version of Hadoop.
>    *
>    * @return the version of Hadoop.
>    */
>   String getVersion();
> {noformat}
> api checker error:
> {quote}
> Recompilation of a client program may be terminated with the message: a 
> client class C is not abstract and does not override abstract method 
> getClusterIds ( ) in JournalNodeMXBean.
> {quote}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org

Reply via email to