Affects Version/s: 1.1.0, 2.0.2-alpha
Fix Version/s: None
This code in Client.java looks fishy:
Blocking calls are expected to throw InterruptedException if that is interrupted. Also it seems like this method waits on the call objects even if it is interrupted. Currently, this method does not throw an InterruptedException, nor is it documented that this method interrupts the thread calling it. If it is interrupted, this method should still throw InterruptedException, it should not matter if the call was successful or not.
This is a major issue for clients which do not call this directly, but call HDFS client API methods to write to HDFS, which may be interrupted by the client due to timeouts, but does not throw InterruptedException. Any HDFS client calls can interrupt the thread but it is not documented anywhere.
|Field||Original Value||New Value|
|Affects Version/s||1.1.0 [ 12316501 ]|