Details
Description
Classpath changes introduced by DISTRO-187 breaks HBase Thrift, HBase logging, ..
A simple fix while retaining functional changes from DISTRO-187 follows:
- PATCH START
-
- hbase.old 2011-11-28 19:33:55.000000000 -0500
+++ hbase.new 2011-11-28 19:34:04.000000000 -0500
@@ -204,7 +204,7 @@
for i in "${HADOOP_HOME}/lib/"*.jar; do
HADOOPCPPATH="${HADOOPCPPATH}:$i"
done
- hbase.old 2011-11-28 19:33:55.000000000 -0500
-
- CLASSPATH=$(append_path "${HADOOPCPPATH}" "${CLASSPATH}")
+ CLASSPATH=$(append_path "${CLASSPATH}" "${HADOOPCPPATH}")
if [ -d "${HADOOP_HOME}/lib/native" ]; then
JAVA_PLATFORM=`CLASSPATH=${HADOOPCPPATH} ${JAVA} org.apache.hadoop.util.PlatformName | sed -e "s/ /_/g"`
- PATCH END
-
Current version (SVN HEAD) of bin/hbase uses the same order (for combining paths).
(FWIW logging can be fixed by using "-Dlog4j.configuration=......")
–