Support Questions

Find answers, ask questions, and share your expertise

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.