Member since
12-15-2016
16
Posts
1
Kudos Received
0
Solutions
07-21-2017
06:41 PM
@Vipin Rathor... Many many thanks for your time on this. Server is scrapped now and I remember that all encryption types are present for the keytab and it is visible in klist command. Unfortunately, I don't have the cluster now. And do you see any other root cause to this issue if all the encryption types are present for the keytab?
... View more
07-20-2017
06:42 AM
@Vipin Rahor: Thanks for your time. The quickest way to solve this problem is to generate a keytab in AD for "sorl/nn.wwtest.net" with RC4-HMAC encryption and use the same on Solr node. [ Vishwa ]: I did that in another trail, but it did not work. PS - I don't understand why you used "solr.service_nn.keytab" in configuration but listed "solr.service_dn1.keytab" in command output. [ Vishwa ]: I gave the sample output of a keytab, I should have given the klist of exact keytab. Vipin: Is this an issue because of encryption mechanism? I am forced to terminate the instances and I could not replicate the same now. Thanks a lot for your time.
... View more
07-18-2017
09:01 AM
@Vipin Rathor: Can you please help on issue reported in below ticket: https://community.hortonworks.com/questions/114311/unable-to-start-solr-service-in-kerberized-environ.html
... View more
07-18-2017
08:44 AM
@Ali Bajwa or others can you help me on this... I did install Solr manually and kerberized the same using Windows AD server. Below is the link I used to integrate Solr with Kerberos. https://community.hortonworks.com/articles/15159/securing-solr-collections-with-ranger-kerberos.html When I try to start solr in cluster mode, I see an error which is like below: ************************************************************** [root@nn solr]# service solr status Found 1 Solr nodes:
Solr process 1490 running on port 8983
INFO - 2017-07-18 08:05:06.411; org.apache.solr.util.SolrCLI; Set HttpClientConfigurer from: org.apache.solr.client.solrj.impl.Krb5HttpClientConfigurer
INFO - 2017-07-18 08:05:06.572; org.apache.solr.client.solrj.impl.Krb5HttpClientConfigurer; Setting up SPNego auth with config: /opt/solr/bin/jaas.conf
Debug is true storeKey true useTicketCache false useKeyTab true doNotPrompt false ticketCache is null isInitiator true KeyTab is /etc/security/keytabs/solr.service_nn.keytab refreshKrb5Config is false principal is solr/nn.wwtest.net@WWTEST.NET tryFirstPass is false useFirstPass is false storePass is false clearPass is false
principal is solr/nn.wwtest.net@WWTEST.NET
Will use keytab
Commit Succeeded
ERROR: Failed to get system information from http://nn.wwtest.net:8983/solr due to: org.apache.http.client.ClientProtocolException: Expected JSON response from server but received: <html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>Error 403 GSSException: Failure unspecified at GSS-API level (Mechanism level: Invalid argument (400) - Cannot find key of appropriate type to decrypt AP REP - RC4 with HMAC)</title>
</head>
<body><h2>HTTP ERROR 403</h2>
<p>Problem accessing /solr/admin/info/system. Reason:
<pre> GSSException: Failure unspecified at GSS-API level (Mechanism level: Invalid argument (400) - Cannot find key of appropriate type to decrypt AP REP - RC4 with HMAC)</pre></p><hr><i><small>Powered by Jetty://</small></i><hr/>
</body>
</html>
Typically, this indicates a problem with the Solr server; check the Solr server logs for more information. ************************************************************** [root@nn keytabs]# klist -kte solr.service_dn1.keytab
Keytab name: FILE:solr.service_dn1.keytab
KVNO Timestamp Principal
---- ------------------- ------------------------------------------------------
1 01/01/1970 00:00:00 solr/dn1.wwtest.net@WWTEST.NET (des-cbc-crc)
1 01/01/1970 00:00:00 solr/dn1.wwtest.net@WWTEST.NET (des-cbc-md5)
1 01/01/1970 00:00:00 solr/dn1.wwtest.net@WWTEST.NET (arcfour-hmac)
1 01/01/1970 00:00:00 solr/dn1.wwtest.net@WWTEST.NET (aes256-cts-hmac-sha1-96)
1 01/01/1970 00:00:00 solr/dn1.wwtest.net@WWTEST.NET (aes128-cts-hmac-sha1-96)
[root@nn keytabs]# ************************************************************** [root@nn keytabs]# kinit -kt /etc/security/keytabs/solr.service_dn1.keytab solr/dn1.wwtest.net@WWTEST.NET
[root@nn keytabs]# klist
Ticket cache: FILE:/tmp/krb5cc_0
Default principal: solr/dn1.wwtest.net@WWTEST.NET
Valid starting Expires Service principal
07/18/2017 08:42:49 07/18/2017 18:42:49 krbtgt/WWTEST.NET@WWTEST.NET
renew until 07/25/2017 08:42:49
[root@nn keytabs]# ************************************************************** Can some one please help.
... View more
Labels:
- Labels:
-
Apache Solr
06-09-2017
10:55 AM
Also, this instance is not present in all Regions. Change the Region and give a try.
... View more
04-25-2017
01:36 AM
Oops it might be my mistake. I will check and will get back to you.
... View more
04-24-2017
11:29 AM
@ Alexis..... Official Hortonworks documentation did not include RHEL 7.x as supported OS for HDP 2.6
... View more
04-24-2017
05:30 AM
Did the documentation got a change? RHEL 7.x is not present in supported OS section.
... View more
03-17-2017
11:07 AM
Login to zk command line using zkCli.sh and after logging in check the contents of Hiveserver2 znode and in my case it is [ ], empty. Delete the HS2 znode using del command and restart HS2 again.
... View more
12-23-2016
12:41 PM
You will get to your email. Christmas period so delay is expected.
... View more