Support Questions
Find answers, ask questions, and share your expertise

Oozie / HA - No failover

Oozie / HA - No failover

New Contributor


We are trying to determine how oozie determines the namenode. We are configured with 2: when #1 goes into standby, making #2 primary, oozie workflow jobs die: JA009: Operation category READ is not supported in state standby at org.apache.hadoop.hdfs.server.namenode.ha.StandbyState.checkOperation( at org.apache.hadoop.hdfs.server.namenode.NameNode$NameNodeHAContext.checkOperation( at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.checkOperation( at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getFileInfo(

because it is still trying to connection to #1. The rest of the system handle appears to handle the changing namenodes correctly. Where does oozie pull this information? hdfs-site.conf? That is appears correct. could there be additional parameters that would override this configuration?



Re: Oozie / HA - No failover

@Stephen knott

In your Oozie wf, you need to set the name node property to the name service of HDFS instead of one of the NN. This error probably means you point to one NN but this NN is not the active one anymore.

Hope this helps.

Re: Oozie / HA - No failover


more specifically, it's located in your :