KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Does anybody know a tutorial how HBase can be run on Windows under Cygwin? I managed to setup everything such as the keys for auto login with SSH but Im stuck with following error message: localhost: +======================================================================+ localhost: | Error: JAVA_HOME is not set and Java could not be found | localhost: +----------------------------------------------------------------------+ localhost: | Please download the latest Sun JDK from the Sun Java web site | localhost: | > http://java.sun.com/javase/downloads/ < | localhost: | | localhost: | HBase requires Java 1.6 or later. | localhost: | NOTE: This script will find Sun Java whether you install using the | localhost: | binary or the RPM based installer. | localhost: +======================================================================+ ... java.lang.NoClassDefFoundError: org/apache/zookeeper/KeeperException at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Unknown Source) at java.lang.Class.getMethod0(Unknown Source) at java.lang.Class.getMethod(Unknown Source) at sun.launcher.LauncherHelper.getMainMethod(Unknown Source) at sun.launcher.LauncherHelper.checkAndLoadMain(Unknown Source) Caused by: java.lang.ClassNotFoundException: org.apache.zookeeper.KeeperException at java.net.URLClassLoader$1.run(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) I already set .bash_profile to point to: export JAVA_HOME='/usr/lib/jre1.6.1' which is symbolic link on the real jre /usr/lib/jre1.6.1 -> /cygdrive/c/Java/jre7/
Tags (comma-separated)
Save Edits
Cancel