Skip to content

Conversation

@woj-i
Copy link
Contributor

@woj-i woj-i commented Nov 19, 2015

I prepared a patch for recent bugfix. The scope of the previous bugfix is too narrow- it works only on YARN. I need it on local mode and I think the other modes also need the information (because reflection works the same for each environment having JVM).

@AmplabJenkins
Copy link

Can one of the admins verify this patch?

@woj-i
Copy link
Contributor Author

woj-i commented Nov 19, 2015

I also see, that a change of authentication method from a simple to a kerberos was required while renewing credentials. I've made a commit.

@andrewor14
Copy link
Contributor

@andrewor14
Copy link
Contributor

@woj-i please open the patch against the master branch instead. Committers will backport it into branch-1.5 when they merge it.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems wrong. If you are talking to hadoop cluster that is secure, your client configuration should already have this. Setting this here alone is not going to help, since all other instances used all over Spark will not have this information (where required).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi!
I think it is required because of another context of execution in this part of code. Here is a context of the classloader, which cause an empty environment, with default value of authentication, which is "simple". In case of "simple" a keytab is not used and credentials cannot be granted.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, ok. Did you hit this issue when running an app?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I did.

@andrewor14
Copy link
Contributor

@woj-i would you mind tagging this one as [branch-1.5] in the title of the PR so it's clearer?
@harishreedharan please review #9859 instead, which is the same patch opened against master

@woj-i woj-i changed the title [SPARK-11821] Propagate Kerberos keytab for all environments [branch-1.5][SPARK-11821] Propagate Kerberos keytab for all environments Nov 20, 2015
@woj-i
Copy link
Contributor Author

woj-i commented Nov 20, 2015

Title changed.

@tgravescs
Copy link
Contributor

I made comments on #9859.

@vanzin
Copy link
Contributor

vanzin commented Dec 5, 2015

@woj-i could you close this PR?

@woj-i woj-i closed this Dec 5, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants