Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-16027

HDFS-15245 breaks source code compatibility between 3.3.0 and 3.3.1.

    XMLWordPrintableJSON

Details

    Description

      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:

      /**
         * 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();
      

      api checker error:

      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.

      Attachments

        Issue Links

          Activity

            People

              weichiu Wei-Chiu Chuang
              weichiu Wei-Chiu Chuang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 50m
                  50m