Description
cannot start sqoop-metastore in precise, seems cannot find JAVA_HOME
# service sqoop-metastore start root@pkgtest-ubuntu64-12-04:~/bigtop# service sqoop-metastore status sqoop-metastore is not running. root@pkgtest-ubuntu64-12-04:~/bigtop# cat vi /var/log/sqoop/sqoop-metastore-sqoop-pkgtest-ubuntu64-12-04.log cat: vi: No such file or directory +======================================================================+ | Error: JAVA_HOME is not set and Java could not be found | +----------------------------------------------------------------------+ | Please download the latest Sun JDK from the Sun Java web site | | > http://java.sun.com/javase/downloads/ < | | | | HBase requires Java 1.6 or later. | | NOTE: This script will find Sun Java whether you install using the | | binary or the RPM based installer. | +======================================================================+ Error: JAVA_HOME is not set and could not be found. root@pkgtest-ubuntu64-12-04:~/bigtop# echo $JAVA_HOME /usr/lib/jvm/j2sdk1.6-oracle