Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-5433

camel-hdfs - Allow to lazy connect as hdfs file system has hardcoded 15 min retry in case no connection

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.10.0
    • 2.9.3, 2.10.1, 2.11.0
    • camel-hdfs
    • None
    • Unknown

    Description

      When start a Camel app with camel-hdfs (either as producer or consumer), then getting a hdfs file system object may have Hadoop block for up till 15 minutes where it tries to obtain a connection to the cluster.

      This makes the app appear as blocking and people dont want their apps to block for 15 min on startup.

      We should let the hadoop hdfs connection happing in an async thread, so the app can startup. Configurable so you can turn back the old behavior.

      Hadoop dosn't allow to configure a lower timeout etc this as its hardcoded.

      Attachments

        Activity

          People

            davsclaus Claus Ibsen
            davsclaus Claus Ibsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: