You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bigtop.apache.org by "Johnny Zhang (JIRA)" <ji...@apache.org> on 2012/07/02 00:50:42 UTC
[jira] [Created] (BIGTOP-663) cannot start sqoop-metastore in
Ubuntu precise
Johnny Zhang created BIGTOP-663:
-----------------------------------
Summary: cannot start sqoop-metastore in Ubuntu precise
Key: BIGTOP-663
URL: https://issues.apache.org/jira/browse/BIGTOP-663
Project: Bigtop
Issue Type: Bug
Components: Debian
Affects Versions: 0.4.0
Reporter: Johnny Zhang
Priority: Blocker
cannot start sqoop-metastore in precise, seems cannot find JAVA_HOME
{noformat}
# 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
{noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (BIGTOP-663) cannot start sqoop-metastore in
Ubuntu precise
Posted by "Patrick Taylor Ramsey (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BIGTOP-663?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Patrick Taylor Ramsey reassigned BIGTOP-663:
--------------------------------------------
Assignee: Patrick Taylor Ramsey
> cannot start sqoop-metastore in Ubuntu precise
> ----------------------------------------------
>
> Key: BIGTOP-663
> URL: https://issues.apache.org/jira/browse/BIGTOP-663
> Project: Bigtop
> Issue Type: Bug
> Components: Debian
> Affects Versions: 0.4.0
> Reporter: Johnny Zhang
> Assignee: Patrick Taylor Ramsey
> Priority: Blocker
>
> cannot start sqoop-metastore in precise, seems cannot find JAVA_HOME
> {noformat}
> # 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
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (BIGTOP-663) cannot start sqoop-metastore in
Ubuntu precise
Posted by "Roman Shaposhnik (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BIGTOP-663?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Roman Shaposhnik updated BIGTOP-663:
------------------------------------
Fix Version/s: 0.5.0
> cannot start sqoop-metastore in Ubuntu precise
> ----------------------------------------------
>
> Key: BIGTOP-663
> URL: https://issues.apache.org/jira/browse/BIGTOP-663
> Project: Bigtop
> Issue Type: Bug
> Components: Debian
> Affects Versions: 0.4.0
> Reporter: Johnny Zhang
> Assignee: Patrick Taylor Ramsey
> Priority: Blocker
> Fix For: 0.5.0
>
> Attachments: patch.txt
>
>
> cannot start sqoop-metastore in precise, seems cannot find JAVA_HOME
> {noformat}
> # 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
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (BIGTOP-663) cannot start sqoop-metastore in
Ubuntu precise
Posted by "Patrick Taylor Ramsey (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BIGTOP-663?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13433553#comment-13433553 ]
Patrick Taylor Ramsey commented on BIGTOP-663:
----------------------------------------------
Looks like this also applies to redhat. Looking into it.
> cannot start sqoop-metastore in Ubuntu precise
> ----------------------------------------------
>
> Key: BIGTOP-663
> URL: https://issues.apache.org/jira/browse/BIGTOP-663
> Project: Bigtop
> Issue Type: Bug
> Components: Debian
> Affects Versions: 0.4.0
> Reporter: Johnny Zhang
> Priority: Blocker
>
> cannot start sqoop-metastore in precise, seems cannot find JAVA_HOME
> {noformat}
> # 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
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (BIGTOP-663) cannot start sqoop-metastore in
Ubuntu precise
Posted by "Patrick Taylor Ramsey (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BIGTOP-663?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Patrick Taylor Ramsey updated BIGTOP-663:
-----------------------------------------
Attachment: patch.txt
Attaching a patch. RPM init script already lived in common/; changed debian/rules to use that version and removed the deb-specific init script
> cannot start sqoop-metastore in Ubuntu precise
> ----------------------------------------------
>
> Key: BIGTOP-663
> URL: https://issues.apache.org/jira/browse/BIGTOP-663
> Project: Bigtop
> Issue Type: Bug
> Components: Debian
> Affects Versions: 0.4.0
> Reporter: Johnny Zhang
> Assignee: Patrick Taylor Ramsey
> Priority: Blocker
> Attachments: patch.txt
>
>
> cannot start sqoop-metastore in precise, seems cannot find JAVA_HOME
> {noformat}
> # 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
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (BIGTOP-663) cannot start sqoop-metastore in
Ubuntu precise
Posted by "Roman Shaposhnik (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BIGTOP-663?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13434476#comment-13434476 ]
Roman Shaposhnik commented on BIGTOP-663:
-----------------------------------------
+1
> cannot start sqoop-metastore in Ubuntu precise
> ----------------------------------------------
>
> Key: BIGTOP-663
> URL: https://issues.apache.org/jira/browse/BIGTOP-663
> Project: Bigtop
> Issue Type: Bug
> Components: Debian
> Affects Versions: 0.4.0
> Reporter: Johnny Zhang
> Assignee: Patrick Taylor Ramsey
> Priority: Blocker
> Attachments: patch.txt
>
>
> cannot start sqoop-metastore in precise, seems cannot find JAVA_HOME
> {noformat}
> # 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
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (BIGTOP-663) cannot start sqoop-metastore in
Ubuntu precise
Posted by "Patrick Taylor Ramsey (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/BIGTOP-663?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13433607#comment-13433607 ]
Patrick Taylor Ramsey commented on BIGTOP-663:
----------------------------------------------
Ugh; no, debian-only. I was seeing SQOOP-508. The problem is that the debian side has a separate init script, that's missing a call to bigtop-detect-javahome. Will post a patch shortly
> cannot start sqoop-metastore in Ubuntu precise
> ----------------------------------------------
>
> Key: BIGTOP-663
> URL: https://issues.apache.org/jira/browse/BIGTOP-663
> Project: Bigtop
> Issue Type: Bug
> Components: Debian
> Affects Versions: 0.4.0
> Reporter: Johnny Zhang
> Assignee: Patrick Taylor Ramsey
> Priority: Blocker
>
> cannot start sqoop-metastore in precise, seems cannot find JAVA_HOME
> {noformat}
> # 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
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira