Support Questions

Find answers, ask questions, and share your expertise

CDSW SparkSession Different User

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!


Cloudera Employee

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!