hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stchu <stchu.cl...@gmail.com>
Subject Question about ec2 script
Date Fri, 11 Dec 2009 10:23:55 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message