Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]

Support Questions

Find answers, ask questions, and share your expertise
Announcements
Share your experience with Cloudera on G2 and get a $25 Amazon Gift card.
Hi, I'm CLEO! Something exciting is coming to the Community. Stay Tuned!

Change password for YARN

avatar

Hi,

I would like to use the yarn node label functionality. For this I need to create a yarn node label as user yarn.

When I try 'su yarn' it is asking me for a password.

How is it possible to change the yarn password within HDP ?

Br,

Dennis

1 ACCEPTED SOLUTION

avatar
Master Mentor

@Dennis Suhari

The command you are running is wrong , it's the wrong variation you forgot a dash - Note the space before and after the dash !!

As the root user run

# su - yarn

That should work

HTH

View solution in original post

4 REPLIES 4

avatar
Master Mentor

@Dennis Suhari

The command you are running is wrong , it's the wrong variation you forgot a dash - Note the space before and after the dash !!

As the root user run

# su - yarn

That should work

HTH

avatar
Master Mentor

@Dennis Suhari

Any updates?

avatar

@Geoffrey Shelton Okot

Thanks ! Works !

avatar
Master Mentor

@Dennis Suhari

If you found this answer addressed your question, please take a moment to log in and click the "accept" link on the answer.

That would be a great help to Community users to find the solution quickly for these kinds of errors.