incubator-bigtop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@apache.org
Subject svn commit: r1383481 - /incubator/bigtop/trunk/bigtop-packages/src/common/hadoop/install_hadoop.sh
Date Tue, 11 Sep 2012 16:59:47 GMT
Author: rvs
Date: Tue Sep 11 16:59:46 2012
New Revision: 1383481

URL: http://svn.apache.org/viewvc?rev=1383481&view=rev
Log:
BIGTOP-699. hadoop-fuse-dfs fails to find libjvm.so when JAVA_HOME happens to be a symlink

Modified:
    incubator/bigtop/trunk/bigtop-packages/src/common/hadoop/install_hadoop.sh

Modified: incubator/bigtop/trunk/bigtop-packages/src/common/hadoop/install_hadoop.sh
URL: http://svn.apache.org/viewvc/incubator/bigtop/trunk/bigtop-packages/src/common/hadoop/install_hadoop.sh?rev=1383481&r1=1383480&r2=1383481&view=diff
==============================================================================
--- incubator/bigtop/trunk/bigtop-packages/src/common/hadoop/install_hadoop.sh (original)
+++ incubator/bigtop/trunk/bigtop-packages/src/common/hadoop/install_hadoop.sh Tue Sep 11
16:59:46 2012
@@ -282,7 +282,7 @@ export HADOOP_LIBEXEC_DIR=${SYSTEM_LIBEX
 
 if [ "\${LD_LIBRARY_PATH}" = "" ]; then
   export LD_LIBRARY_PATH=/usr/lib
-  for f in \`find \${JAVA_HOME} -name client -prune -o -name libjvm.so -exec dirname {} \;\`;
do
+  for f in \`find \${JAVA_HOME}/ -name client -prune -o -name libjvm.so -exec dirname {}
\;\`; do
     export LD_LIBRARY_PATH=\$f:\${LD_LIBRARY_PATH}
   done
 fi



Mime
View raw message