Error while installing HBase on windows

152 views Asked by At

I’m very new in ssh world. It’s the first time I use Cygwin. I do it by using this man hbase installing When I Start HBase using the command ./bin/start-hbase.sh, got this error: Error while installing HBase on windows

I create a link to jre home in c:\cygwin\jre7 And set it in ./conf/hbase-env.sh as java home:

   # The java implementation to use.  Java 1.7+ required.
    export JAVA_HOME=/jre7

and test java by this command: enter image description here

then why I got this error and how can I fix it?

1

There are 1 answers

0
Thronghar On BEST ANSWER

You've got your start-hbase.sh in DOS EOL, just convert it to UNIX EOL.