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

Add a "list" refresh handler to list all registered refresh identifiers/handlers

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • 2.7.2
    • None
    • None
    • Added a command 'hdfs dfs admin -refresh <nn:ipc_port> list' to list all registered refresh identifiers and handlers.

    Description

      HADOOP-10376 added a new feature to register handlers for refreshing daemon configurations, because name node properties can be reconfigured without restarting the daemon. This can be a very useful generic interface, but so far no real handlers have been registered using this interface. I added a new 'list' handler to list all registered handlers. My plan is to add more handlers in the future using this interface.

      Another minor fix is return a more explicit error message to the client if a handler is not registered. (It is currently logged at namenode side, but client side only gets a "Failed to get response." message without knowing why)

      Attachments

        1. HDFS-10187.001.patch
          8 kB
          Wei-Chiu Chuang

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: