Uploaded image for project: 'Bigtop'
  1. Bigtop
  2. BIGTOP-663

cannot start sqoop-metastore in Ubuntu precise

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.4.0
    • 0.5.0
    • debian
    • None

    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
      

      Attachments

        1. patch.txt
          6 kB
          Patrick Taylor Ramsey

        Activity

          People

            ptr Patrick Taylor Ramsey
            dreambird Johnny Zhang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: