You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Sumit Kumar (JIRA)" <ji...@apache.org> on 2013/12/13 04:03:07 UTC

[jira] [Updated] (DRILL-249) bin/runbit find java error

     [ https://issues.apache.org/jira/browse/DRILL-249?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sumit Kumar updated DRILL-249:
------------------------------

    Attachment: DRILL-249.patch

It’s a standard to run java from $JAVA_HOME/bin/java This patch avoids making unnecessary find call and accidentally linking to an invalid file/folder by name java in the search path.

> bin/runbit find java error 
> ---------------------------
>
>                 Key: DRILL-249
>                 URL: https://issues.apache.org/jira/browse/DRILL-249
>             Project: Apache Drill
>          Issue Type: Bug
>            Reporter: zhang renzhong
>            Priority: Blocker
>         Attachments: DRILL-249.patch
>
>
> in my ubuntu, JAVA_HOME=/usr/local/java. and then exec `find -L $JAVA_HOME -name java | head -n 1` retrun three lines below
> /usr/local/java
> /usr/local/java/jre/bin/java
> /usr/local/java/bin/java
> In runbit
> JAVA=`find -L $JAVA_HOME -name java | head -n 1`, and then JAVA=/usr/loca/java, I think It's a bug, I think runbit want to use `find ..` set  JAVA to /usr/local/java/bin/java.



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)