Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-13587

distcp.map.bandwidth.mb is overwritten even when -bandwidth flag isn't set

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 3.0.0-alpha1
    • 3.0.0-alpha2
    • tools/distcp
    • None

    Description

      distcp.map.bandwidth.mb exists in distcp-defaults.xml config file, but it is not honored even when it is . Current code always overwrites it with either default value (java const) or with -bandwidth command line option.

      The expected behavior (at least how I would expect it) is to honor the value set in distcp-defaults.xml unless user explicitly specify -bandwidth command line flag. If there is no value set in .xml file or as a command line flag, then the constant from java code should be used.

      Additionally, I would expect that we also try to get values from distcp-site.xml, similar to other hadoop systems.

      Attachments

        1. HADOOP-13587-02.patch
          8 kB
          Zoran Dimitrijevic
        2. HADOOP-13587-01.patch
          8 kB
          Zoran Dimitrijevic

        Activity

          People

            3opan Zoran Dimitrijevic
            3opan Zoran Dimitrijevic
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 24h
                24h
                Remaining:
                Remaining Estimate - 24h
                24h
                Logged:
                Time Spent - Not Specified
                Not Specified