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

Support to configure ftpClient.setControlKeepAliveTimeout

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3.0
    • Fix Version/s: 3.3.0
    • Component/s: fs
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      In FTPFilesystem or Configuration, timeout is not possible to configure.
      It is very straight forward to configure, in FTPFilesystem.connect() method.
      ftpClient.setControlKeepAliveTimeout

      Like
      private FTPClient connect() throws IOException {
      ...
      String timeout = conf.get("fs.ftp.timeout." + host);
      ...
      ftpClient.setControlKeepAliveTimeout(new Integer(300));
      ....
      }

        Attachments

        1. HADOOP-11100.004.patch
          5 kB
          Adam Antal
        2. HADOOP-11100.003.patch
          4 kB
          Adam Antal
        3. HADOOP-11100.002.patch
          2 kB
          Adam Antal
        4. HDFS-11000.001.patch
          2 kB
          Adam Antal

          Activity

            People

            • Assignee:
              adam.antal Adam Antal
              Reporter:
              proveindia Krishnamoorthy Dharmalingam
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: