hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-13608) 500 Error with Stargate through Knox, using AD, SPNEGO, and Pre-Auth
Date Fri, 01 May 2015 18:26:10 GMT
Ted Yu created HBASE-13608:
------------------------------

             Summary: 500 Error with Stargate through Knox, using AD, SPNEGO, and Pre-Auth
                 Key: HBASE-13608
                 URL: https://issues.apache.org/jira/browse/HBASE-13608
             Project: HBase
          Issue Type: Bug
    Affects Versions: 0.98.12
            Reporter: Ted Yu
            Assignee: Ted Yu


Jody Steadman reported that attempts to access Stargate via Apache Knox using curl ends with
500 error when the following conditions are met:

AD is being used directly for Kerberos
The knox principal is configured to require Kerberos pre-auth
Stargate is using SPNEGO
Pre-auth errors exist in Kerberos debug log output

[~sumit.gupta] found that the gateway logs in the environment provided by Jody Steadman has
the following error:
{code}
2015-04-20 14:24:21,660 DEBUG http.headers (DefaultClientConnection.java:sendRequestHeader(273))
- >> GET /version?doAs=jsteadman HTTP/1.1
2015-04-20 14:24:21,661 DEBUG http.headers (DefaultClientConnection.java:sendRequestHeader(276))
- >> Host: node1.jodylaptop.net:60080
2015-04-20 14:24:21,661 DEBUG http.headers (DefaultClientConnection.java:sendRequestHeader(276))
- >> Connection: Keep-Alive
2015-04-20 14:24:21,661 DEBUG http.headers (DefaultClientConnection.java:sendRequestHeader(276))
- >> User-Agent: Apache-HttpClient/4.2.5 (java 1.5)
2015-04-20 14:24:21,661 DEBUG http.headers (DefaultClientConnection.java:sendRequestHeader(276))
- >> Authorization: Negotiate YIILlgYGKwYBBQUCoIILijCCC4agDTALBgkqhkiG9xIBAgKhBAMCAfaiggttBIILaWCCC2UGCSqGSIb3EgECAgEAboILVDCCC1CgAwIBBaEDAgEOogcDBQAgAAAAo4IEkGGCBIwwggSIoAMCAQWhEBsOSk9EWUxBUFRPUC5ORVSiJzAloAMCAQChHjAcGwRIVFRQGxRub2RlMS5qb2R5bG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z7x6n1jHg+IYjmHDj2UGhHihR12PiuG/YDVEUKTKtZvoMblbg4zwIMMB0xW5ZpKC601qzKpvypEARjFJpvbgLRCz3Bw8z4rhUsfjlOUTlgHuMhDd4N/tAuTYpdJCF2h2hrLSnvJieX3Ltni37laJNRBHaFVA5Iikx3jWWT+ZDNHanG+VkfwtSrS8KvzFWLdGJeon5JsVb63QObIVL5DL7sTGSen7xJMUGWbWcwmc+0Z88J+8wwmNkRF2Q5Opfvqyh/9Ukewapdp7lgoJm2n8YhbsxbmU/rQhK6hadPKRxLSRrJa+J52xrG8iqqpPYkhu8JThhbkWQz19IZqQztAfTke8powJ7WqpJF89h2b7JPWLbHIpbzRfyPZDg62VjASeAUi2Sjpik2bYprNsSLkzcpH9v2WUntHMp24BDIK/rNlnX93lvUo4H3IKXrNWVTdhtzVs9WHjZ8T86oumoKkrW/JJ/eTdrGBsm
2015-04-20 14:24:21,664 DEBUG http.wire (Wire.java:wire(63)) - << "HTTP/1.1 413 FULL
head[\r][\n]"
2015-04-20 14:24:21,665 DEBUG http.wire (Wire.java:wire(63)) - << "Connection: close[\r][\n]"
2015-04-20 14:24:21,666 DEBUG http.wire (Wire.java:wire(63)) - << "[\r][\n]"
{code}
Sumit suggested using large buffer size in hbase REST Server to get rid of the "FULL Head"
error



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message