# Logstash webhdfs example with Kerberos enabled hadoop cluster

**URL:** <https://discuss.elastic.co/t/logstash-webhdfs-example-with-kerberos-enabled-hadoop-cluster/51941>\
**Category:** Logstash\
**Created:** [June 6, 2016, 12:26pm UTC](https://discuss.elastic.co/t/logstash-webhdfs-example-with-kerberos-enabled-hadoop-cluster/51941 "2016-06-06T12:26:35Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![wuka1](https://avatars.discourse-cdn.com/v4/letter/w/919ad9/32.png) [@wuka1](https://discuss.elastic.co/u/wuka1)\
**Post date:** [June 6, 2016, 12:26pm UTC](https://discuss.elastic.co/t/logstash-webhdfs-example-with-kerberos-enabled-hadoop-cluster/51941/1 "2016-06-06T12:26:35Z")

</div>

configured the webhdfs\_helper.rb that client.kerberos = true /client.kerberos\_keytab="xxx" and installed the gssapi but still have such problem:  
Webhdfs check request failed. (namenode: 10.0.0.37:14000, Exception: undefined method `read_uint32' for #<FFI::MemoryPointer address=0xd69f20 size=4>) {:level=>:error} The error reported is: undefined method`read\_uint32' for #\<FFI::MemoryPointer address=0xd69f20 size=4\>

---

<div class="post-metadata">

**Author:** ![gpaggi](https://avatars.discourse-cdn.com/v4/letter/g/e99b99/32.png) [@gpaggi](https://discuss.elastic.co/u/gpaggi)\
**Post date:** [September 14, 2016, 7:50am UTC](https://discuss.elastic.co/t/logstash-webhdfs-example-with-kerberos-enabled-hadoop-cluster/51941/2 "2016-09-14T07:50:44Z")

</div>

@wuka1have a look here for the fix: [https://github.com/gpaggi/gssapi/commit/69b14cce1966fdae713d274ca19339237eca72b9](https://github.com/gpaggi/gssapi/commit/69b14cce1966fdae713d274ca19339237eca72b9)

---

<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:38am UTC](https://discuss.elastic.co/t/logstash-webhdfs-example-with-kerberos-enabled-hadoop-cluster/51941/3 "2017-07-06T04:38:36Z")

</div>


