Member since
05-24-2016
12
Posts
0
Kudos Received
0
Solutions
01-21-2019
06:34 AM
HI all, A simple question: It's safe to delete replication logs under /user/hdfs/.cm/ ? Thanks in advance. Ivan
... View more
Labels:
- Labels:
-
Apache Hive
-
HDFS
03-13-2018
04:30 AM
Solved, The DNS entry was wrong ... solrs.mydomain was a CNAME and not a A Record. Thanks again for your help!
... View more
03-02-2018
10:22 AM
Ty again GeKas, i've verified haproxy configuration and its like youre example. kinit with all principals in the keytab works without errors. Again doing a curl on the balancer i've: GSSException: Failure unspecified at GSS-API level (Mechanism level: Checksum failed) on server side i've this exception: 2018-03-02 19:16:05,261 DEBUG org.apache.hadoop.security.authentication.server.AuthenticationFilter: Request [https://solr.mydomain:8985/solr/] triggering authentication
2018-03-02 19:16:05,261 DEBUG org.apache.hadoop.security.authentication.server.AuthenticationFilter: Authentication exception: GSSException: Failure unspecified at GSS-API level (Mechanism level: Checksum failed)
org.apache.hadoop.security.authentication.client.AuthenticationException: GSSException: Failure unspecified at GSS-API level (Mechanism level: Checksum failed)
at org.apache.hadoop.security.authentication.server.KerberosAuthenticationHandler.authenticate(KerberosAuthenticationHandler.java:398)
at org.apache.hadoop.security.token.delegation.web.DelegationTokenAuthenticationHandler.authenticate(DelegationTokenAuthenticationHandler.java:348)
at org.apache.hadoop.security.authentication.server.AuthenticationFilter.doFilter(AuthenticationFilter.java:538)
at org.apache.solr.servlet.SolrHadoopAuthenticationFilter.doFilter(SolrHadoopAuthenticationFilter.java:413)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:612)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:503)
at java.lang.Thread.run(Thread.java:745)
Caused by: GSSException: Failure unspecified at GSS-API level (Mechanism level: Checksum failed)
at sun.security.jgss.krb5.Krb5Context.acceptSecContext(Krb5Context.java:856)
at sun.security.jgss.GSSContextImpl.acceptSecContext(GSSContextImpl.java:342)
at sun.security.jgss.GSSContextImpl.acceptSecContext(GSSContextImpl.java:285)
at org.apache.hadoop.security.authentication.server.KerberosAuthenticationHandler$2.run(KerberosAuthenticationHandler.java:365)
at org.apache.hadoop.security.authentication.server.KerberosAuthenticationHandler$2.run(KerberosAuthenticationHandler.java:347)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:422)
at org.apache.hadoop.security.authentication.server.KerberosAuthenticationHandler.authenticate(KerberosAuthenticationHandler.java:347)
... 15 more
Caused by: KrbException: Checksum failed
at sun.security.krb5.internal.crypto.ArcFourHmacEType.decrypt(ArcFourHmacEType.java:102)
at sun.security.krb5.internal.crypto.ArcFourHmacEType.decrypt(ArcFourHmacEType.java:94)
at sun.security.krb5.EncryptedData.decrypt(EncryptedData.java:175)
at sun.security.krb5.KrbApReq.authenticate(KrbApReq.java:281)
at sun.security.krb5.KrbApReq.<init>(KrbApReq.java:149)
at sun.security.jgss.krb5.InitSecContextToken.<init>(InitSecContextToken.java:108)
at sun.security.jgss.krb5.Krb5Context.acceptSecContext(Krb5Context.java:829)
... 22 more
Caused by: java.security.GeneralSecurityException: Checksum failed
at sun.security.krb5.internal.crypto.dk.ArcFourCrypto.decrypt(ArcFourCrypto.java:408)
at sun.security.krb5.internal.crypto.ArcFourHmac.decrypt(ArcFourHmac.java:91)
at sun.security.krb5.internal.crypto.ArcFourHmacEType.decrypt(ArcFourHmacEType.java:100)
... 28 more
... View more
03-02-2018
05:53 AM
Hi GeKas Same Encryption type arcfour-hmac (ActiveDirectory): klist -ket solr.keytab Keytab name: FILE:solr.keytab KVNO Timestamp Principal ---- ------------------- ------------------------------------------------------ 1 03/01/2018 16:27:50 HTTP/node1.mydomain@MYREALM (arcfour-hmac) 1 03/01/2018 16:27:50 HTTP/solrs.mydomain@MYREALM (arcfour-hmac) 1 03/01/2018 16:27:50 solr/node1.mydomain@MYREALM (arcfour-hmac) (to be clear the node names and the realm are fake, they are just a placeholder to mask my real hosts 🙂 ) (The environment variable is for solr services) i'm using haproxy too. Do you have a "template" for haproxy configuration maybe i'm missing something?
... View more
03-02-2018
03:45 AM
Hi everybody, I'm trying to configure a loadbalancer for 3 solr Instances Cloudera CDH 5.10.2 . my deployment is: node1.mydomain node2.mydomain node3.mydomain i'would like to configure a loadbalancer on an external machine with a FQDN like solr.mydomain. I've configured the loadbalancer on clouderamanager and i've generated the missing principal for the load balancer and configured these environment variabiles: SOLR_AUTHENTICATION_TYPE=kerberos SOLR_AUTHENTICATION_KERBEROS_PRINCIPAL=* Now i have this principals: solr/node1.mydomain@MYREALM solr/node2.mydomain@MYREALM solr/node3.mydomain@MYREALM HTTP/node1.mydomain@MYREALM HTTP/node2.mydomain@MYREALM HTTP/node3.mydomain@MYREALM HTTP/solr.mydomain@MYREALM Everything seems to be configured to work but if i try to connect i got authentication error. I've tryed with curl and i got this response: # curl -i --negotiate -u : https://solrs.mydomain:8985/solr --location -k 403 Frobidden GSSException: Failure unspecified at GSS-API level (Mechanism level: Checksum failed) If i connect directly to a single instance it works: curl -i --negotiate -u : https://node1.mydomain:8985/solr --location -k I've also verified the principals in the solr.keytab of every node with ktutils: slot KVNO Principal ---- ---- --------------------------------------------------------------------- 1 1 HTTP/node1.mydomain@MYREALM 2 1 HTTP/solr.mydomain@MYREALM 3 1 solr/node1.mydomain@MYREALM Did someone have the same issue, i'm missing something ? Thank you so much in advance for your help. Ivan
... View more
Labels:
05-24-2016
09:06 AM
Thanks Michalis, By deleting the impala role from a host, i need to reconfigure something ? the cluster just ignores the deleted host when the query is panned?
... View more
05-24-2016
12:46 AM
Hi everybody , I'm trying to "remove " the impala service from a single host . I've clustered with 6 host and i have the impala service deployed on the whole cluster . One of my host has really low on resources ( is the cloudera-manager host ) and and it is limiting impala queries on the cluster , so i've decided to exclude that host from impala cluster. I'm trying to follow this steps on the offical administration guides : http://www.cloudera.com/documentation/enterprise/latest/topics/cm_mc_role_instances.html#cmug_topic_5_2__section_lv5_hvt_cn but when i select the instance for the impala role i do not have the action " Decommission ". there is a simple and secure way to exclude a impala instance from a role without decomissioning all services ? thanks in advance, Vinn
... View more
Labels:
- Labels:
-
Apache Impala