Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.10.0
-
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.