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

The nameservice for a Hadoop Namenode HA should be discoverable across clusters

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • ha, hdfs-client
    • None

    Description

      Name service configured in NameNode HA mode, should be discoverable across clusters without having to restart all the clusters every time a new cluster is deployed.

      Solution #1: One solution would be to add the nameservice configurations to all the hdfs-site.xml files in the clusters involved.
      Cons: We cannot restart all clusters every time we deploy a new cluster.

      We are developing a custom class to extend org.apache.hadoop.hdfs.server.namenode.ha.ConfiguredFailoverProxyProvider, this custom provider will make a REST call to fetch any additional nameservice configurations and cache them locally (expires on a configured time limit). This will fix the issue to resolve the name service across clusters and also eliminate the need to restart all the clusters whenever a new cluster is configured.

      Please provide your inputs. Wondering if this would be a good feature to add and if so please assign this to me. I can contribute to this issue.

      Attachments

        Activity

          People

            Unassigned Unassigned
            mahipalj27@gmail.com Mahipal Jupalli
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: