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(StandbyState.java:87) at org.apache.hadoop.hdfs.server.namenode.NameNode$NameNodeHAContext.checkOperation(NameNode.java:1872) at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.checkOperation(FSNamesystem.java:1306) at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getFileInfo(FSNamesystem.java:3852)
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?
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.