fix ClassCastException in BlockManager.processReport
@@ -2375,7 +2375,11 @@ public Object call() throws Exception {
LOG.error(e);
throw new IOException(e);
} catch (ExecutionException e) {
+ if(e.getCause() instanceof IOException){
throw (IOException) e.getCause();
+ } else {
+ throw new IOException(e.getCause());
+ }
}
