drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Wong (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (DRILL-530) drill-config.sh detects java executable incorrectly
Date Tue, 06 Jan 2015 02:39:34 GMT

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

Patrick Wong resolved DRILL-530.
--------------------------------
    Resolution: Fixed

Should be resolved by DRILL-1516 - if issues persist then let me know

> drill-config.sh detects java executable incorrectly
> ---------------------------------------------------
>
>                 Key: DRILL-530
>                 URL: https://issues.apache.org/jira/browse/DRILL-530
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Tools, Build & Test
>    Affects Versions: m1
>         Environment: linux will affect most linux flavours
>            Reporter: Prasanna
>            Assignee: Patrick Wong
>             Fix For: 0.8.0
>
>
> if JAVA_HOME = /work/platform/java
> and JAVA_BIN = /work/platform/java/bin/java
> Then the following in drill-config.sh line [156 java executable detection line] 
> JAVA=`find -L "$JAVA_HOME" -name $JAVA_BIN | head -n 1`
> evaluates to "/work/platform/java" which is not a binary java executable.
> I recommend the line to be changed to:
> JAVA=`find -L "$JAVA_HOME" -name $JAVA_BIN -type f | sort -n -k2 | head -n 1`



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message