Member since
08-01-2018
9
Posts
0
Kudos Received
0
Solutions
05-29-2021
02:37 PM
@Onedile wrote: Yes this is possible. You need to kinit with the username that has been granted access to the SQL server DB and tables. integrated security passes your credentials to the SQL server using kerberos "jdbc:sqlserver://sername.domain.co.za:1433;integratedSecurity=true;databaseName=SCHEMA;authenticationScheme=JavaKerberos;" This worked for me. It doesn't work, it's still facing issue with the latest MSSQL JDBC driver as the Kerberos tokens are lost when the mappers spawn (as the YARN transitions the job to its internal security subsystem) 21/05/29 19:00:40 INFO mapreduce.JobSubmitter: Submitting tokens for job: job_1616335290043_2743822
21/05/29 19:00:40 INFO mapreduce.JobSubmitter: Executing with tokens: [Kind: HDFS_DELEGATION_TOKEN, Service: ha-hdfs:nameservice1, Ident: (token for c795701: HDFS_DELEGATION_TOKEN owner=c795701@XX.XXXX.XXXXXXX.COM, renewer=yarn, realUser=, issueDate=1622314832608, maxDate=1622919632608, sequenceNumber=29194128, masterKeyId=1856)]
21/05/29 19:01:15 INFO mapreduce.Job: Task Id : attempt_1616335290043_2743822_m_000000_0, Status : FAILED
Error: java.lang.RuntimeException: java.lang.RuntimeException: com.microsoft.sqlserver.jdbc.SQLServerException: Integrated authentication failed. ClientConnectionId:53879236-81e7-4fc6-88b9-c7118c02e7be
Caused by: java.security.PrivilegedActionException: GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)
Caused by: GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt) Use the jtds driver as recommended here
... View more
03-02-2021
10:08 PM
I had a similar issue in CDH 6.21 and doing this worked . rm -rf /var/lib/cloudera-scm-agent/cm_guid
... View more
10-09-2019
05:48 AM
I actually found that under the known limitation of CDSW 1.6 and applied the workaround and worked. Thanks
... View more
08-13-2019
09:10 AM
What version of CM/CDH are you using? Do you have an enterprise licensee (its required for Auto-TLS). From the documentation here: https://www.cloudera.com/documentation/enterprise/latest/topics/auto_tls.html What section/step of the documentation are you on? All that step did (touching the database) was disable TLS in the CM config...
... View more
08-11-2018
04:07 AM
Do you have any gateway role or hadoop client jars in the host of the accumulo to reach and whats your instance.volumes ? configured
... View more
08-03-2018
12:10 PM
Hi Harsh, I am on cloudera 5.14 and i am also this issue. From version 5.2.X to the current version and this is stlil an issue? Do hue or cloudera manager have a configuration to take care of these issues?
... View more