[
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)