bigtop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject bigtop git commit: BIGTOP-3041: Failed to init hadoop hdfs using init-hdfs.sh
Date Wed, 06 Jun 2018 08:05:15 GMT
Repository: bigtop
Updated Branches:
  refs/heads/master 5d8f9e341 -> 08af48ece


BIGTOP-3041: Failed to init hadoop hdfs using init-hdfs.sh

Failed to initialize hdfs using init-hdfs.sh script with 2.8.1.
The root cause is some jars are missed in CLASS_PATH

This closes #365

Change-Id: I6e3e1f42d437097ee122150aa94b41780346fb4f
Signed-off-by: Jun He <junhe@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/bigtop/repo
Commit: http://git-wip-us.apache.org/repos/asf/bigtop/commit/08af48ec
Tree: http://git-wip-us.apache.org/repos/asf/bigtop/tree/08af48ec
Diff: http://git-wip-us.apache.org/repos/asf/bigtop/diff/08af48ec

Branch: refs/heads/master
Commit: 08af48ece38bc48b0552c4a4b453f0305c47c405
Parents: 5d8f9e3
Author: Jun He <jun.he@linaro.org>
Authored: Tue Jun 5 15:09:48 2018 +0800
Committer: Jun He <junhe@apache.org>
Committed: Wed Jun 6 08:03:16 2018 +0000

----------------------------------------------------------------------
 bigtop-packages/src/common/hadoop/init-hdfs.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/bigtop/blob/08af48ec/bigtop-packages/src/common/hadoop/init-hdfs.sh
----------------------------------------------------------------------
diff --git a/bigtop-packages/src/common/hadoop/init-hdfs.sh b/bigtop-packages/src/common/hadoop/init-hdfs.sh
index fff52d5..0a94c77 100755
--- a/bigtop-packages/src/common/hadoop/init-hdfs.sh
+++ b/bigtop-packages/src/common/hadoop/init-hdfs.sh
@@ -35,9 +35,9 @@ fi
 HADOOP_LIB_DIR=/usr/lib/hadoop/lib
 HDFS_LIB_DIR=/usr/lib/hadoop-hdfs/lib
 HADOOP_DEPENDENCIES="commons-logging*.jar commons-io*.jar guava*.jar commons-configuration*.jar
commons-collections*.jar slf4j-api*.jar protobuf-java*.jar commons-lang*.jar servlet-api-2.5.jar"
-HDFS_DEPENDENCIES="htrace-core*.jar"
+HDFS_DEPENDENCIES="htrace-core*.jar jackson-*.jar"
 for i in /usr/lib/hadoop/*.jar; do CLASSPATH=$CLASSPATH:$i; done
-CLASSPATH=/etc/hadoop/conf:$CLASSPATH:/usr/lib/hadoop-hdfs/hadoop-hdfs.jar
+CLASSPATH=/etc/hadoop/conf:$CLASSPATH:/usr/lib/hadoop-hdfs/hadoop-hdfs.jar:/usr/lib/hadoop-hdfs/hadoop-hdfs-client.jar
 pushd .
 cd $HADOOP_LIB_DIR
 for d in $HADOOP_DEPENDENCIES; do CLASSPATH=$CLASSPATH:$HADOOP_LIB_DIR/$d; done


Mime
View raw message