Adds a static DataNode connection cache with a three second expiry, the default the Hadoop client uses. Connections are only purged from the cache when a connection is retrieved from the cache, and we will try up to three cached connections before falling back to creating a new connection. This should help speed up multiple reads to the same file/DataNode in fast succession.
Resolves #79
Adds a static DataNode connection cache with a three second expiry, the default the Hadoop client uses. Connections are only purged from the cache when a connection is retrieved from the cache, and we will try up to three cached connections before falling back to creating a new connection. This should help speed up multiple reads to the same file/DataNode in fast succession.