Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
revert SparkSubmit.scala
  • Loading branch information
LantaoJin committed May 17, 2018
commit a56ab47aa2ae4e9192871af9cb58f3cea31039af
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,6 @@ private[spark] class SparkSubmit extends Logging {
if (args.proxyUser != null) {
val proxyUser = UserGroupInformation.createProxyUser(args.proxyUser,
UserGroupInformation.getCurrentUser())
proxyUser.addCredentials(UserGroupInformation.getCurrentUser.getCredentials)
try {
proxyUser.doAs(new PrivilegedExceptionAction[Unit]() {
override def run(): Unit = {
Expand Down