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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.20.0
    • None
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: