Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase, mail # dev - Error with starting Hbase after instalation


Copy link to this message
-
Error with starting Hbase after instalation
Cheng,Fuesane 2010-06-26, 15:46

Hi:

I am new to HBase and I just installed it on my Window XP laptop by following the instruction on http://hbase.apache.org/docs/current/cygwin.html.
When I test run to start HBase after configuration of my HBase by type in ./bin/start-hbase.sh and I got the following error:

/usr/local/hbase-0.20.4/bin/../conf/hbase-env.sh: line 21: $'\r': command not found
/usr/local/hbase-0.20.4/bin/../conf/hbase-env.sh: line 23: $'\r': command not found
/usr/local/hbase-0.20.4/bin/../conf/hbase-env.sh: line 29: $'\r': command not found
/usr/local/hbase-0.20.4/bin/../conf/hbase-env.sh: line 32: $'\r': command not found
/usr/local/hbase-0.20.4/bin/../conf/hbase-env.sh: line 38: $'\r': command not found
/usr/local/hbase-0.20.4/bin/../conf/hbase-env.sh: line 41: $'\r': command not found
/usr/local/hbase-0.20.4/bin/../conf/hbase-env.sh: line 51: $'\r': command not found
/usr/local/hbase-0.20.4/bin/../conf/hbase-env.sh: line 54: $'\r': command not found
/usr/local/hbase-0.20.4/bin/../conf/hbase-env.sh: line 57: $'\r': command not found
/usr/local/hbase-0.20.4/bin/../conf/hbase-env.sh: line 60: $'\r': command not found
/usr/local/hbase-0.20.4/bin/../conf/hbase-env.sh: line 64: $'\r': command not found
/usr/local/hbase-0.20.4/bin/../conf/hbase-env.sh: line 67: $'\r': command not found
/usr/local/hbase-0.20.4/bin/../conf/hbase-env.sh: line 70: $'\r': command not found
/usr/local/hbase-0.20.4/bin/../conf/hbase-env.sh: line 75: $'\r': command not found
/usr/local/hbase-0.20.4/bin/../bin/hbase: line 147: /usr/local/jre6/
/bin/java: No such file or directory
/usr/local/hbase-0.20.4/bin/../bin/hbase: line 215: /usr/local/jre6/
/bin/java: No such file or directory
/usr/local/hbase-0.20.4/bin/../bin/hbase: line 215: exec: /usr/local/jre6/
/bin/java: cannot execute: No such file or directory

Can some one help me out on solving this errors?

in Which file Can I see those line numbers for lines cause the problems?
I double checked my jre6 link under my C:\cygwin\root\usr\local which points to my C:\Program File\Java\jre6 correctly.

Please help!

Thanks,

Fuesane Cheng
=============================================================================This communication, including attachments, is confidential, may be subject to legal privileges, and is intended for the sole use of the addressee. Any use, duplication, disclosure or dissemination of this communication, other than by the addressee, is prohibited. If you have received this communication in error, please notify the sender immediately and delete or destroy this communication and all copies.