Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-6200 Create a separate jar for hdfs-client
  3. HDFS-9022

Move NameNode.getAddress() and NameNode.getUri() to hadoop-hdfs-client

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.8.0, 3.0.0-alpha1
    • hdfs-client
    • None
    • Reviewed

    Description

      The static helper methods in NameNodes are used in hdfs-client module. For example, it's used by the DFSClient and NameNodeProxies classes which are being moved to hadoop-hdfs-client module. Meanwhile, we should keep the NameNode class itself in the hadoop-hdfs module.

      This jira tracks the effort of moving the following static helper methods out of NameNode and thus hadoop-hdfs module. A good place to put these methods is the DFSUtilClient class:

      public static InetSocketAddress getAddress(String address);
      public static InetSocketAddress getAddress(Configuration conf);
      public static InetSocketAddress getAddress(URI filesystemURI);
      public static URI getUri(InetSocketAddress namenode);
      

      Be cautious not to bring new checkstyle warnings.

      Attachments

        1. HDFS-9022.000.patch
          45 kB
          Mingliang Liu
        2. HDFS-9022.001.patch
          45 kB
          Mingliang Liu
        3. HDFS-9022.002.patch
          47 kB
          Mingliang Liu
        4. HDFS-9022.003.patch
          46 kB
          Mingliang Liu
        5. HDFS-9022.004.patch
          44 kB
          Mingliang Liu

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            liuml07 Mingliang Liu
            liuml07 Mingliang Liu
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment