Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
HA Branch (HDFS-1623)
-
None
-
Reviewed
Description
Currently we always warn for each client operation made to a NN we've failedover to:
hadoop-0.24.0-SNAPSHOT $ ./bin/hdfs dfs -lsr / 12/02/08 17:43:04 WARN retry.RetryInvocationHandler: Exception while invoking getFileInfo of class org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB after 0 fail over attempts. Trying to fail over immediately.
I'm going to remove this warning in HDFS-2922 since we shouldn't warn every time a client performs an operation, eg could be weeks after the failover. But we should eg log a warning when the client first does a failover so it shows up eg in the MR and HBase logs.