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

cannot start sqoop-metastore in Ubuntu precise

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.4.0
    • Fix Version/s: 0.5.0
    • Component/s: debian
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: