-
Notifications
You must be signed in to change notification settings - Fork 9.1k
HADOOP-18375. Fix failure of shelltest for hadoop_add_ldlibpath. #4652
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
Conversation
Some tests in the hadoop_add_ldlibpath.bats fails with following error without the fix.
|
Test the patch on Rocky Linux 8 with gcc-toolset-9-gcc.
|
🎊 +1 overall
This message was automatically generated. |
Changes makes sense. +1 (non-binding) |
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.
+1. Thank you @iwasakims and @ashutoshcipher
Thanks, @ashutoshcipher and @aajisaka. |
(cherry picked from commit 22835be)
(cherry picked from commit 22835be)
https://issues.apache.org/jira/browse/HADOOP-18375
The hadoop-functions_test_helper.bash assumes that the value of LD_LIBRARY_PATH is blank.
It is not true in the environment like RHEL 8 with GCC 9.
Resetting the value of LD_LIBRARY_PATH in the helper script should fix this. The update of environment variable in the tests does not affect outside.