provide a functionality for detecting libjvm.so in bigtop-utils
---------------------------------------------------------------
Key: BIGTOP-504
URL: https://issues.apache.org/jira/browse/BIGTOP-504
Project: Bigtop
Issue Type: Bug
Components: General
Affects Versions: 0.4.0
Reporter: Roman Shaposhnik
Assignee: Bruno Mahé
Fix For: 0.4.0
Currently, for hdfs fuse we have code lile this in the launcher script:
{noformat}
if [ "\${LD_LIBRARY_PATH}" = "" ]; then
export LD_LIBRARY_PATH=/usr/lib
for f in \`find \${JAVA_HOME}/jre/lib -name client -prune -o -name libjvm.so
-exec dirname {} \;\`; do
export LD_LIBRARY_PATH=\$f:\${LD_LIBRARY_PATH}
done
fi
{noformat}
It would be nice to provide this as a general purpose detection code in
bigtop-utils.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira