[
https://issues.apache.org/jira/browse/HADOOP-18375?focusedWorklogId=795964&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-795964
]
ASF GitHub Bot logged work on HADOOP-18375:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 28/Jul/22 07:33
Start Date: 28/Jul/22 07:33
Worklog Time Spent: 10m
Work Description: iwasakims opened a new pull request, #4652:
URL: https://github.com/apache/hadoop/pull/4652
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](https://github.com/apache/hadoop/blob/06ac327e881a10f193b1fff14a1eaadf16e08e44/BUILDING.txt#L458-L460).
```
$ grep LD_LIBRARY_PATH /opt/rh/gcc-toolset-9/enable
export
LD_LIBRARY_PATH=/opt/rh/gcc-toolset-9/root$rpmlibdir$rpmlibdir32${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
export
LD_LIBRARY_PATH=/opt/rh/gcc-toolset-9/root$rpmlibdir$rpmlibdir32:/opt/rh/gcc-toolset-9/root$rpmlibdir/dyninst$rpmlibdir32/dyninst${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
```
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.
Issue Time Tracking
-------------------
Worklog Id: (was: 795964)
Remaining Estimate: 0h
Time Spent: 10m
> Fix failure of shelltest for hadoop_add_ldlibpath
> -------------------------------------------------
>
> Key: HADOOP-18375
> URL: https://issues.apache.org/jira/browse/HADOOP-18375
> Project: Hadoop Common
> Issue Type: Bug
> Components: test
> Reporter: Masatake Iwasaki
> Assignee: Masatake Iwasaki
> Priority: Minor
> Time Spent: 10m
> Remaining Estimate: 0h
>
> Test cases in hadoop_add_ldlibpath.bats failed.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]