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

httpfs error Operation category READ is not supported in state standby

httpfs error Operation category READ is not supported in state standby

New Contributor

iam working on hadoop apache 2.7.1

and i have a cluster consists of 3 nodes

nn1,nn2,dn1

nn1 is the dfs.default.name so it is master name node

i have installed httpfs and started it of course after restarting all the services

when nn1 is active and nn2 is standby i can send this request

http://nn1:14000/webhdfs/v1/aloosh/oula.txt?op=open&user.name=root

from browser and a dialog of open or save for this file appears

but when i kill name node in nn1 and start it again

as normal and because of high availability nn1 becomes stand by and nn2 becomes active

so here httpfs should work even if nn1 becomes stand by

but sending the same request now

http://nn1:14000/webhdfs/v1/aloosh/oula.txt?op=open&user.name=root

gives me the error

{"RemoteException":{"message":"Operation category READ is not supported in state standby","exception":"RemoteException","javaClassName":"org.apache.hadoop.ipc.RemoteException"}}

shouldn't httpfs overcome nn1 stand by status and brings the file ?

is that because of wrong configuration may be,or is there any other reason

my core-site is

<property>
       <name>hadoop.proxyuser.root.hosts</name>
                <value>*</value>
       </property>

        <property>
                <name>hadoop.proxyuser.root.groups</name>
                <value>*</value>
        </property>
1 REPLY 1
Highlighted

Re: httpfs error Operation category READ is not supported in state standby

New Contributor

@oula.alshiekh@gmail.com alshiekh

Did you resolved the issue? I am also getting the same issue.

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