You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A clear and concise description of what the bug is.
To Reproduce
KerberosAuthenticator.getUgi not execute UserGroupInformation#loginUserFromKeytabAndReturnUGI, Even though kerberos parameters are passed。
this is my test
securityConfiguration.get(KerberosOptions.KERBEROS_ENABLE) is always false.because There's no place to assign。
you should add:
securityConf.set(KerberosOptions.KERBEROS_ENABLE, true);
and There's actually a problem here,
UserGroupInformation#loginUserFromKeytabAndReturnUGI should be execute in HadoopSecurityModule#login,but you return value is UserGroupInformation.getCurrentUser();
so securityModule#login is invalid
We can reproduce the bug as follows (use screenshots if necessary):
The job conf is: '....'
The test data is: '....'
Bitsail run command: '....'
The error can be seen in: '....'
(Note that the above sentences are not necessary for each bug report issue.)
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Build Environment
Describe the environment where the test project was build.
OS [e.g. Debain 11.0]
JDK [e.g. 1.8.0_301]
Maven [e.g. 3.6.3]
...
Execution Environment
Describe the environment where the test project ran.
OS [e.g. Debain 11.0]
JDK [e.g. 1.8.0_301]
Deployment [e.g. Yarn | CDH 6.3.x]
...
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
@yanghuaiGit Thanks for your contribution to the BitSail community. Would you like to join contributor chat group? Here is the QR code. If it expires, you can leave a message here. Look forward to your coming!
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
KerberosAuthenticator.getUgi not execute UserGroupInformation#loginUserFromKeytabAndReturnUGI, Even though kerberos parameters are passed。
this is my test
securityConfiguration.get(KerberosOptions.KERBEROS_ENABLE) is always false.because There's no place to assign。
you should add:
securityConf.set(KerberosOptions.KERBEROS_ENABLE, true);
and There's actually a problem here,
UserGroupInformation#loginUserFromKeytabAndReturnUGI should be execute in HadoopSecurityModule#login,but you return value is UserGroupInformation.getCurrentUser();
so securityModule#login is invalid
We can reproduce the bug as follows (use screenshots if necessary):
The job conf is: '....'
The test data is: '....'
Bitsail run command: '....'
The error can be seen in: '....'
(Note that the above sentences are not necessary for each bug report issue.)
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Build Environment
Describe the environment where the test project was build.
Execution Environment
Describe the environment where the test project ran.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: