Return-Path: X-Original-To: apmail-falcon-dev-archive@minotaur.apache.org Delivered-To: apmail-falcon-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 38C9510800 for ; Wed, 27 Nov 2013 21:43:01 +0000 (UTC) Received: (qmail 75560 invoked by uid 500); 27 Nov 2013 21:43:01 -0000 Delivered-To: apmail-falcon-dev-archive@falcon.apache.org Received: (qmail 75531 invoked by uid 500); 27 Nov 2013 21:43:01 -0000 Mailing-List: contact dev-help@falcon.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@falcon.incubator.apache.org Delivered-To: mailing list dev@falcon.incubator.apache.org Received: (qmail 75523 invoked by uid 99); 27 Nov 2013 21:43:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Nov 2013 21:43:01 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Wed, 27 Nov 2013 21:42:58 +0000 Received: (qmail 71082 invoked by uid 99); 27 Nov 2013 21:42:37 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Nov 2013 21:42:37 +0000 Date: Wed, 27 Nov 2013 21:42:37 +0000 (UTC) From: "Arpit Gupta (JIRA)" To: dev@falcon.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (FALCON-215) falcon-start fails MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/FALCON-215?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Arpit Gupta updated FALCON-215: ------------------------------- Attachment: FALCON-215.v1.patch Attached a patch where we make sure both java and jar commands are available on the system. If not it will output this {code} [arpit@teamramrod ~/github/falcon (master)]$ export JAVA_HOME=/invalid [arpit@teamramrod ~/github/falcon (master)]$ cd src/bin/ [arpit@teamramrod ~/github/falcon/src/bin (master)]$ ./falcon admin -version /invalid/bin/java and/or /invalid/bin/jar not found on the system. Please make sure java and jar commands are available. {code} > falcon-start fails > ------------------ > > Key: FALCON-215 > URL: https://issues.apache.org/jira/browse/FALCON-215 > Project: Falcon > Issue Type: Bug > Affects Versions: 0.4 > Reporter: Samarth Gupta > Assignee: Arpit Gupta > Fix For: 0.4 > > Attachments: FALCON-215.v1.patch > > > $ ./bin/falcon-start > /home/samarth/falconOpensource/falcon-distributed-0.5-incubating-SNAPSHOT/bin/falcon-config.sh: line 82: /usr/lib/jvm/java-7-oracle/jre/bin/jar: No such file or directory > /home/samarth/falconOpensource/falcon-distributed-0.5-incubating-SNAPSHOT > Hadoop is installed, adding hadoop classpath to falcon classpath > falcon started using hadoop version: Hadoop 0.20.2-cdh3u5 > Looks like jar is not part of oracle jvm 7. Also, start should fail in this case instead of saying falcon has started successfully -- This message was sent by Atlassian JIRA (v6.1#6144)