# Logstash-webhdfs-Kerberos : No Kerberos credentials available (default cache: FILE:/tmp/krb5cc\_220590)

**URL:** <https://discuss.elastic.co/t/logstash-webhdfs-kerberos-no-kerberos-credentials-available-default-cache-file-tmp-krb5cc-220590/194429>\
**Category:** Logstash\
**Created:** [August 8, 2019, 12:09pm UTC](https://discuss.elastic.co/t/logstash-webhdfs-kerberos-no-kerberos-credentials-available-default-cache-file-tmp-krb5cc-220590/194429 "2019-08-08T12:09:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![shilpaawati](https://avatars.discourse-cdn.com/v4/letter/s/e95f7d/32.png) [@shilpaawati](https://discuss.elastic.co/u/shilpaawati)\
**Post date:** [August 8, 2019, 12:09pm UTC](https://discuss.elastic.co/t/logstash-webhdfs-kerberos-no-kerberos-credentials-available-default-cache-file-tmp-krb5cc-220590/194429/1 "2019-08-08T12:09:58Z")

</div>

Hi,

I am using the webhdfs plugin of Logstash to send files to HDFS host system which uses the Kerberos authentication. After the config I see errors while the Logstash startup.

Any suggestions about this issue?

**Webhdfs conf**

webhdfs {  
host =\> "[ylpd1665.kmdc.att.com](http://ylpd1665.kmdc.att.com)" # (required)  
port =\> 50070 # (optional, default: 50070)  
standby\_host =\> "[ylpd1667.kmdc.att.com](http://ylpd1667.kmdc.att.com)"  
standby\_port =\> 50070  
user =\> "user"  
path =\> "tmp/events-%{[@timestamp]}.log"  
compression =\> "none"  
codec =\> "json"  
use\_kerberos\_auth =\> true  
kerberos\_keytab =\> "/home/user/user.keytab"  
}

**Error**

[2019-08-08T07:56:18,590][ERROR][logstash.outputs.webhdfs] Webhdfs check request failed. (namenode: [ylpd1667.kmdc.att.com:50070](http://ylpd1667.kmdc.att.com:50070), Exception: gss\_init\_sec\_context did not return GSS\_S\_COMPLETE: Unspecified GSS failure. Minor code may provide more information

No Kerberos credentials available (default cache: FILE:/tmp/krb5cc\_220590)

)

[2019-08-08T07:56:18,592][WARN][logstash.outputs.webhdfs] Could not connect to standby namenode [ylpd1667.kmdc.att.com](http://ylpd1667.kmdc.att.com). Error: gss\_init\_sec\_context did not return GSS\_S\_COMPLETE: Unspecified GSS failure. Minor code may provide more information

No Kerberos credentials available (default cache: FILE:/tmp/krb5cc\_220590)

. Trying main webhdfs namenode.

[2019-08-08T07:56:18,613][ERROR][logstash.outputs.webhdfs] Webhdfs check request failed. (namenode: [ylpd1665.kmdc.att.com:50070](http://ylpd1665.kmdc.att.com:50070), Exception: gss\_init\_sec\_context did not return GSS\_S\_COMPLETE: Unspecified GSS failure. Minor code may provide more information

No Kerberos credentials available (default cache: FILE:/tmp/krb5cc\_220590)

)

[2019-08-08T07:56:18,615][ERROR][logstash.outputs.webhdfs] Could not connect to [ylpd1665.kmdc.att.com:50070](http://ylpd1665.kmdc.att.com:50070). Error: gss\_init\_sec\_context did not return GSS\_S\_COMPLETE: Unspecified GSS failure. Minor code may provide more information

No Kerberos credentials available (default cache: FILE:/tmp/krb5cc\_220590)

---

<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:** [September 5, 2019, 12:09pm UTC](https://discuss.elastic.co/t/logstash-webhdfs-kerberos-no-kerberos-credentials-available-default-cache-file-tmp-krb5cc-220590/194429/2 "2019-09-05T12:09:59Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
