From user-return-51333-apmail-hbase-user-archive=hbase.apache.org@hbase.apache.org Tue May 10 06:04:15 2016 Return-Path: X-Original-To: apmail-hbase-user-archive@www.apache.org Delivered-To: apmail-hbase-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2015C19D0B for ; Tue, 10 May 2016 06:04:15 +0000 (UTC) Received: (qmail 86385 invoked by uid 500); 10 May 2016 06:04:13 -0000 Delivered-To: apmail-hbase-user-archive@hbase.apache.org Received: (qmail 86308 invoked by uid 500); 10 May 2016 06:04:12 -0000 Mailing-List: contact user-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hbase.apache.org Delivered-To: mailing list user@hbase.apache.org Received: (qmail 86294 invoked by uid 99); 10 May 2016 06:04:12 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 May 2016 06:04:12 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 3010C180361 for ; Tue, 10 May 2016 06:04:12 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.736 X-Spam-Level: *** X-Spam-Status: No, score=3.736 tagged_above=-999 required=6.31 tests=[DKIM_ADSP_CUSTOM_MED=0.001, KAM_LOTSOFHASH=0.25, NML_ADSP_CUSTOM_MED=1.2, RCVD_IN_DNSWL_NONE=-0.0001, SPF_SOFTFAIL=0.972, URI_HEX=1.313] autolearn=disabled Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id EqSn9QUxBAmJ for ; Tue, 10 May 2016 06:04:09 +0000 (UTC) Received: from mwork.nabble.com (mwork.nabble.com [162.253.133.43]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with ESMTP id 25C8D5F23A for ; Tue, 10 May 2016 06:04:09 +0000 (UTC) Received: from mben.nabble.com (unknown [162.253.133.72]) by mwork.nabble.com (Postfix) with ESMTP id 986C9294C299B for ; Mon, 9 May 2016 23:04:01 -0700 (PDT) Date: Mon, 9 May 2016 23:04:00 -0700 (MST) From: horaamit To: user@hbase.apache.org Message-ID: <1462860240850-4079899.post@n3.nabble.com> In-Reply-To: <1462855745198-4079897.post@n3.nabble.com> References: <1462855745198-4079897.post@n3.nabble.com> Subject: Re: Unable to connect to Hbase when Kerberos Enabled MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit After enabling debug logs i am getting below warning *2016-05-10 11:29:18 WARN AbstractRpcClient:695 - Couldn't setup connection for mohanv@EXAMPLE.COM to null* below is the full log 2016-05-10 11:29:06 DEBUG ZooKeeperSaslClient:222 - JAAS loginContext is: Client Looking for keys for: guest@EXAMPLE.COM 2016-05-10 11:29:06 WARN ZooKeeperSaslClient:492 - Could not login: the client is being asked for a password, but the Zookeeper client code does not currently support obtaining a password from the user. Make sure that the client is configured to use a ticket cache (using the JAAS configuration setting 'useTicketCache=true)' and restart the client. If you still get this message after that, the TGT in the ticket cache has expired and must be manually refreshed. To do so, first determine if you are using a password or a keytab. If the former, run kinit in a Unix shell in the environment of the user who is running this Zookeeper client using the command 'kinit ' (where is the name of the client's Kerberos principal). If the latter, do 'kinit -k -t ' (where is the name of the Kerberos principal, and is the location of the keytab file). After manually refreshing your cache, restart this client. If you continue to see this message after manually refreshing your cache, ensure that your KDC host's clock is in sync with this host's clock. 2016-05-10 11:29:06 WARN ClientCnxn:957 - SASL configuration failed: javax.security.auth.login.LoginException: No password provided Will continue connection to Zookeeper server without SASL authentication, if Zookeeper server allows it. 2016-05-10 11:29:06 INFO ClientCnxn:975 - Opening socket connection to server 10.10.167.160/10.10.167.160:2181 2016-05-10 11:29:06 INFO ClientCnxn:852 - Socket connection established to 10.10.167.160/10.10.167.160:2181, initiating session 2016-05-10 11:29:06 DEBUG ClientCnxn:892 - Session establishment request sent on 10.10.167.160/10.10.167.160:2181 2016-05-10 11:29:06 INFO ClientCnxn:1235 - Session establishment complete on server 10.10.167.160/10.10.167.160:2181, sessionid = 0x154942b617f0091, negotiated timeout = 40000 2016-05-10 11:29:06 DEBUG ClientCnxn:818 - Reading reply sessionid:0x154942b617f0091, packet:: clientPath:null serverPath:null finished:false header:: 1,3 replyHeader:: 1,1071,0 request:: '/hbase-secure/hbaseid,F response:: s{366,704,1462520624801,1462777191424,1,0,0,0,67,0,366} 2016-05-10 11:29:06 DEBUG ClientCnxn:818 - Reading reply sessionid:0x154942b617f0091, packet:: clientPath:null serverPath:null finished:false header:: 2,4 replyHeader:: 2,1071,0 request:: '/hbase-secure/hbaseid,F response:: #ffffffff000146d61737465723a3136303030ffffffe2249ffffff9bfffffffa4182c50425546a2465663763396261312d353931612d343337322d616462322d666234316437346261383837,s{366,704,1462520624801,1462777191424,1,0,0,0,67,0,366} 2016-05-10 11:29:06 DEBUG ClientCnxn:818 - Reading reply sessionid:0x154942b617f0091, packet:: clientPath:null serverPath:null finished:false header:: 3,8 replyHeader:: 3,1071,0 request:: '/hbase-secure,F response:: v{'replication,'meta-region-server,'rs,'splitWAL,'backup-masters,'table-lock,'flush-table-proc,'region-in-transition,'online-snapshot,'acl,'master,'running,'recovering-regions,'tokenauth,'draining,'namespace,'hbaseid,'table} 2016-05-10 11:29:06 DEBUG ClientCnxn:818 - Reading reply sessionid:0x154942b617f0091, packet:: clientPath:null serverPath:null finished:false header:: 4,4 replyHeader:: 4,1071,0 request:: '/hbase-secure/meta-region-server,F response:: #ffffffff0001a726567696f6e7365727665723a3136303230ffffffffffffff80ffffffa619062791e50425546a1baf442d393533392e6b7069742e636f6d10ffffff947d18ffffffacffffffa9fffffff4ffffffa1ffffffc92a100183,s{720,720,1462777203232,1462777203232,0,0,0,0,68,0,720} >>>KinitOptions cache name is /tmp/krb5cc_501 >> Acquire default native Credentials Using builtin default etypes for default_tkt_enctypes default etypes for default_tkt_enctypes: 18 17 16 23. >>> Found no TGT's in LSA 2016-05-10 11:29:08 WARN UserGroupInformation:1113 - Not attempting to re-login since the last re-login was attempted less than 600 seconds before. 2016-05-10 11:29:12 WARN UserGroupInformation:1113 - Not attempting to re-login since the last re-login was attempted less than 600 seconds before. 2016-05-10 11:29:15 WARN UserGroupInformation:1113 - Not attempting to re-login since the last re-login was attempted less than 600 seconds before. 2016-05-10 11:29:17 WARN UserGroupInformation:1113 - Not attempting to re-login since the last re-login was attempted less than 600 seconds before. 2016-05-10 11:29:18 *WARN AbstractRpcClient:695 - Couldn't setup connection for mohanv@EXAMPLE.COM to null* -- View this message in context: http://apache-hbase.679495.n3.nabble.com/Unable-to-connect-to-Hbase-when-Kerberos-Enabled-tp4079897p4079899.html Sent from the HBase User mailing list archive at Nabble.com.