Github user jongyoul commented on the pull request:
https://github.com/apache/spark/pull/2126#issuecomment-53584096
First of all, to clarify my cluster setting, Hadoop cluster and mesos runs
as "hdfs", and my account name is "1001079o". I also don't think LOGNAME affect
selecting user, but USER may be related by choosing user on using
UnixPrincipal. About printing logs means I add code logDebug() in a
SecurityManager.scala. That's it.
I'm agree that you mentioned that my patch is fragile. but I don't think it
make a problem because runAsSparkUser always the first function running
MesosExecutorBackend.main()
According to your advice, I'm put logDebug() in the UserGroupInformation,
Subject and so on. I'll try to code more concrete code.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]