Oozie Shell Action Reading From Standby Namenode - Raises "RemoteException(org.apache.hadoop.ipc.StandbyException)\: Operation category READ is not supported in state standby." (Doc ID 2158639.1)

Last updated on JULY 07, 2016

Applies to:

Big Data Appliance Integrated Software - Version 4.5.0 and later
Linux x86-64

Symptoms

While trying to run a hadoop command from an Oozie shell action, it is found to be reading the data from Standby NameNode. In a shell action if capture-output is enabled to capture the stdout messages, the captured stdout messages includes the following:

#Fri Jun 24 05:29:24 EDT 2016 2016-06-24=05\:29\:21,864 WARN [main] security.UserGroupInformation (UserGroupInformation.java\:doAs(1674)) - PriviledgedActionException as\:<user>@EXAMPLE.COM (auth\:KERBEROS) cause\:org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.ipc.StandbyException)\: Operation category READ is not supported in state standby. Visit https\://s.apache.org/sbnn-error 2016-06-23=07\:42\:39

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms