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

connectionTimeout and readTimeout are passed in wrong order in ReduceTask.java

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.20.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      In ReduceTask.java, The parameters for method calls for getInputStream(URLConnection connection, int connectionTimeout, int readTimeout) should be in that order. Now it is

              InputStream input = getInputStream(connection, DEFAULT_READ_TIMEOUT, 
                                                 STALLED_COPY_TIMEOUT);
      

      It works now because both DEFAULT_READ_TIMEOUT and STALLED_COPY_TIMEOUT have the same value.

        Attachments

        1. patch-4732.txt
          1 kB
          Amareshwari Sriramadasu

          Activity

            People

            • Assignee:
              amareshwari Amareshwari Sriramadasu
              Reporter:
              amareshwari Amareshwari Sriramadasu
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: