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

Support to refresh the rack awareness dynamically

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.7.2
    • Fix Version/s: None
    • Component/s: hdfs
    • Labels:
      None

      Description

      At present , there are two ways to load the rack script in the hadoop codes. The class ScriptBasedMapping is the cache way, and the class ScriptBasedMapping#RawScriptBasedMapping is the way that
      it will load script every time(every request)。 The cache is the good way to implement this feature, because it consumes cpu performance if loading the script for every quest。But here's another question that is we cann't refresh the cache, so it is import to support to refresh the rack awareness dynamically.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                alexking_lee liying
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: