Member since
02-28-2022
147
Posts
13
Kudos Received
14
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
151 | 10-18-2024 12:29 PM | |
2930 | 09-05-2024 09:06 AM | |
2458 | 08-08-2024 05:10 AM | |
1919 | 05-16-2024 05:33 AM | |
650 | 04-22-2024 10:24 AM |
08-29-2022
06:33 AM
hi @araujo the ad has two users: livy livy-http the user livy has the SPN: livy/hostname@DOMAIN.LOCAL and it is working without problem in kinit the user livy-http has the SPN: HTTP/hostname@DOMAIN.LOCAL but it is showing the error described above
... View more
08-26-2022
05:29 AM
hi @araujo to use in the livy service, as requested in the processes in the links below: https://danielfrg.com/blog/2018/08/spark-livy/ https://enterprise-docs.anaconda.com/en/latest/admin/advanced/config-livy-server.html
... View more
08-23-2022
09:21 AM
hi @JQUIROS the command to create the entry was: add_entry -password -p HTTP/hostname@DOMAIN.LOCAL -k 1 -e rc4-hmac then export the keytab with the command: wkt http.keytab and then to validate the tiker the command: KRB5_TRACE=/dev/stdout kinit -kt http.keytab HTTP/hostname@DOMAIN.LOCAL presented the error: Getting initial credentials for HTTP/hostname@DOMAIN.LOCALLooked up etypes in keytab: rc4-hmac Sending unauthenticated request Sending request (237 bytes) to DOMAIN.LOCAL Sending initial UDP request to dgram 172.22.22.22:88 Received answer (229 bytes) from dgram 172.22.22.22:88 Response was from master KDC Received error from KDC: -1765328359/Additional pre-authentication required Preauthenticating using KDC method data Processing preauth types: PA-PK-AS-REQ (16), PA-PK-AS-REP_OLD (15), PA-ETYPE-INFO2 (19), PA-ENC-TIMESTAMP (2) Selected etype info: etype rc4-hmac, salt "", params "" Retrieving HTTP/hostname@DOMAIN.LOCAL from FILE:http.keytab (vno 0, enctype rc4-hmac) with result: 0/Success AS key obtained for encrypted timestamp: rc4-hmac/20C1 Encrypted timestamp (for 1661441475.76781): plain 301AA011199992303232BED, encrypted 3625254347B405C2739999992C5C50F451C0A477AE3AD421DF Preauth module encrypted_timestamp (2) (real) returned: 0/Success Produced preauth for next request: PA-ENC-TIMESTAMP (2) Sending request (313 bytes) to DOMAIN.LOCAL Sending initial UDP request to dgram 172.22.22.22:88 Received answer (196 bytes) from dgram 172.22.22.22:88 Response was from master KDC Received error from KDC: -1765328360/Preauthentication failed Preauthenticating using KDC method data Processing preauth types: PA-ETYPE-INFO2 (19) Selected etype info: etype rc4-hmac, salt "", params "" kinit: Preauthentication failed while getting initial credentials
... View more
08-23-2022
08:13 AM
hi @JQUIROS we were able to export the keytab with the command: write_kt http.keytab but when validating the ticket with the command: kinit -kt http.keytab HTTP/hostnamae@DOMAIN.LOCAL got the same error: kinit: Preauthentication failed while getting initial credentials
... View more
08-23-2022
08:06 AM
hi @JQUIROS using the ktutil command it was possible to create the principal: HTTP/hostname@DOMAIN.LOCAL how to export keytab now?
... View more
08-23-2022
07:47 AM
Hello cloudera community, we have the following problem: we are using powerbi with hortonworks odbc driver to connect to hive in cluster ambari 2.6.2.2, hdp 2.6.5 the connection is made successfully, but when making a query on a table that has 23 thousand rows, it returns the following error below: Erro do OLE DB ou do ODBC : [DataSource.Error] ERROR [HY000] [Hortonworks][Hardy] (35) Error from server: error code: '0' error message: 'Invalid OperationHandle: OperationHandle [opType=EXECUTE_STATEMENT, getHandleIdentifier()=0345789f-6c9a-4990-adf5-f823232338]'.. if we make a query putting a limiter of at most 10,000 thousand lines in the select, the result is ok what could be causing this problem? PS: there are queries in powerbi with the same ODBC in other tables that have more than 200 thousand rows and the result is OK too
... View more
Labels:
08-22-2022
12:51 PM
hi @JQUIROS we need to create the HTTP SPN keytab to use in the Livy service, as described in the link below: https://enterprise-docs.anaconda.com/en/latest/admin/advanced/config-livy-server.html in the link above, kadmin was used, but we don't have kadmin but AD.
... View more
08-22-2022
12:43 PM
hi @JQUIROS if create another keytab with the SPN below: "livy-http/hostname@DOMAIN.LOCAL" works, no problems. the problem is when using HTTP
... View more
08-22-2022
12:36 PM
hi@JQUIROS , should "kutil" command be run on cluster host or AD host?
... View more
08-22-2022
11:44 AM
hello cloudera community, we are trying to create a keytab with the main one: "HTTP/hostname@DOMAIN.LOCAL" with the command: ktpass -princ HTTP/hostname@DOMAIN.LOCAL -mapuser livy-http -crypto ALL -ptype KRB5_NT_PRINCIPAL -pass password2022 -target domain.local -out c:\temp\livy-http.keytab but I try to validate the ticket with this keytab returns the error: Exception: krb_error 24 Pre-authentication information was invalid (24) Pre-authentication information was invalid KrbException: Pre-authentication information was invalid (24) at sun.security.krb5.KrbAsRep.<init>(Unknown Source) at sun.security.krb5.KrbAsReqBuilder.send(Unknown Source) at sun.security.krb5.KrbAsReqBuilder.action(Unknown Source) at sun.security.krb5.internal.tools.Kinit.<init>(Unknown Source) at sun.security.krb5.internal.tools.Kinit.main(Unknown Source) Caused by: KrbException: Identifier doesn't match expected value (906) at sun.security.krb5.internal.KDCRep.init(Unknown Source) at sun.security.krb5.internal.ASRep.init(Unknown Source) at sun.security.krb5.internal.ASRep.<init>(Unknown Source) ... 5 more this user "livy-http" is already created in AD and with the SPN "HTTP/hostname@DOMAIN.LOCAL" attached to it what are we doing wrong?
... View more
Labels:
- Labels:
-
Apache Hadoop
-
Cloudera Manager