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

Separate client and server uses of NN#getAddress

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.0.0-alpha
    • None
    • namenode
    • None

    Description

      The use of the various static NN#getAddress methods are hard to follow because they're used by by the NN itself, the DFS client, and NN related services (fsck , balancer, zkfc, etc) and the non-server NN uses (eg bootstrap standby) . They all use fs.getDefaultFS to determine the address, however in the NN case this config has been clobbered with the RPC address rather than use the core-site.xml value. In the other cases it has not. This makes it tedious to figure out things like all the various places the server side RPC addr gets used (eg in HDFS-3932 where it's set to the wildcard). This would be a lot easier to follow if the NN and client uses where separate so we could easily see where the NN is determining it's address (and using the clobbered value) and where the clients are determining it (and using the core-site value).

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              eli Eli Collins
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: