Hi,

I found one little mistake in In the hbase-ec2-init-remote.sh:
# Update classpath to include HBase jars and config
cat >> $HADOOP_HOME/conf/hadoop-env.sh <<EOF
HADOOP_CLASSPATH="$HBASE_HOME/hbase-${HBASE_VERSION}.jar:$HBASE_HOME/lib/AgileJSON-2009-03-30.jar:$HBASE_HOME/lib/json.jar:$HBASE_HOME/lib/zookeeper-3.2.1.jar:$HBASE_HOME/conf"
EOF

${HBASE_VERSION} seem's undefine here.
I simply add a line: HBASE_VERSION=`echo $HBASE_HOME | cut -d '-' -f 2`
before that block, and that's work correctly (although this is not a good
way :P).

Besides, I have a small question:
How can I re-start my Hadoop/HBase cluster through the ec2 script or the
other easy way?

Thanks a lot!

stchu

Reply via email to