-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[AMBARI-22998] Wrong user used to execute the Spark/Livy Server service check #370
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No unit test changes needed?
Refer to this link for build results (access rights to CI server needed): |
@swagle There appears to be no unit tests for this and since we are trying to get this in quickly, I didn't want to spend the time trying to figure out how to build a Python unit test from scratch. |
Refer to this link for build results (access rights to CI server needed): |
retest this please |
Refer to this link for build results (access rights to CI server needed): |
What changes were proposed in this pull request?
common-services/SPARK/1.2.1/package/scripts/service_check.py:36
Notice the Kerberos identity is for the smoke user, but the exec is for the livy user. This will replace the livy user's interactive Kerberos ticket cache.
This should be
Where
smoke_user
isThis is similar for SPARK2 as well.
How was this patch tested?
Tested manually with original code to see the issue and then fix the fixed code to see it working properly:
Please review Ambari Contributing Guide before opening a pull request.