# Webhdfs - error

**URL:** <https://discuss.elastic.co/t/webhdfs-error/53796>\
**Category:** Logstash\
**Created:** [June 23, 2016, 3:35pm UTC](https://discuss.elastic.co/t/webhdfs-error/53796 "2016-06-23T15:35:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jay224](https://avatars.discourse-cdn.com/v4/letter/j/dc4da7/32.png) [@jay224](https://discuss.elastic.co/u/jay224)\
**Post date:** [June 23, 2016, 3:35pm UTC](https://discuss.elastic.co/t/webhdfs-error/53796/1 "2016-06-23T15:35:52Z")

</div>

I am getting following error while writing output to webhdfs.  
"Webhdfs check request failed. (namenode: 1\*\*\*\*\*:50070, Exception: {"RemoteException":{"exception":"StandbyException","javaClassName":"org.apache.hadoop.ipc.StandbyException","message":"Operation category READ is not supported in state standby"}}) {:level=\>:error, :file=\>"logstash/outputs/webhdfs\_helper.rb", :line=\>"40", :method=\>"test\_client"}"  
My output config looks like this:  
output {  
webhdfs {  
path =\> '/patht to folder /fileName{+yyyy.MM.dd.hh}\_%{[@metadata][thread\_id]}.json'  
single\_file\_per\_thread =\> true  
host =\> 'hostname'  
port =\> '50070'  
standby\_host =\> 'hostname'  
standby\_port =\> '50070'  
user =\> 'tomcat'  
codec =\> 'json'  
flush\_size =\> 32768  
idle\_flush\_time =\> 300  
}  
}

If I redirect output to type file and write JSON file it is working..  
Anyone using Webhdfs has seen this kid of error?

Thanks  
JS

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 4:50am UTC](https://discuss.elastic.co/t/webhdfs-error/53796/2 "2017-07-06T04:50:57Z")

</div>

Closed on July 6, 2017, 4:50am UTC


