Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

CDSW SparkSession Different User

avatar
New Contributor

Is there a way to start a PySpark SparkSession inside CDSW by passing a username and password? This means I log in the SparkSession with a different user than what is logged in my CDSW account. Thanks!

1 REPLY 1

avatar
Contributor

Hi, whichever user you log in as under the User Settings -> Hadoop Authentication should be what CDSW uses when accessing the rest of the cluster. Typically your CDSW username/password is your SSO login, but you can change this Hadoop Authentication settings if you want. Let me know if that works for you!