HDFS-10876. Dispatcher#dispatch should log IOException stacktrace. Contributed by Manoj Govindassamy.
(cherry picked from commit74b3dd514c
) (cherry picked from commit6c98455728
)
This commit is contained in:
parent
9269225522
commit
367d5b2a7e
|
@ -350,7 +350,7 @@ public class Dispatcher {
|
||||||
target.getDDatanode().setHasSuccess();
|
target.getDDatanode().setHasSuccess();
|
||||||
LOG.info("Successfully moved " + this);
|
LOG.info("Successfully moved " + this);
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
LOG.warn("Failed to move " + this + ": " + e.getMessage());
|
LOG.warn("Failed to move " + this, e);
|
||||||
target.getDDatanode().setHasFailure();
|
target.getDDatanode().setHasFailure();
|
||||||
// Proxy or target may have some issues, delay before using these nodes
|
// Proxy or target may have some issues, delay before using these nodes
|
||||||
// further in order to avoid a potential storm of "threads quota
|
// further in order to avoid a potential storm of "threads quota
|
||||||
|
|
Loading…
Reference in New Issue