Support Questions
Find answers, ask questions, and share your expertise
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

HDFS Write error

HDFS Write error

New Contributor

Hi all,


i'm facing an error trying to put some file in my dfs.


[FATAL]: test_hadoop.test_input_hdfs_0_1.test_input_hdfs - tHDFSPut_1 Operation category WRITE is not supported in state standby


If my understanding is good : i'm using the standby instance, which is read only ?





Re: HDFS Write error

New Contributor


it looks like if you are trying to contact a namenode in stand-by mode. Maybe you have a cluster on HA configuration? in that case the cluster has two namenodes (an active one and another one in stand-by mode).
Be sure that the namenode DSN is the active one in the request




To check if a namenode is active, you can check the list of namenode and their status in CDH manager under HDFS istances or, if you know the namenode's DNS, reading the information on webpage




You should have a sentence like


Overview '<namenode>:8020' (active)


for the active one.


Best regards

Don't have an account?
Coming from Hortonworks? Activate your account here