lrosenman opened a new issue #10744:
URL: https://github.com/apache/druid/issues/10744


   Please provide a detailed title (e.g. "Broker crashes when using TopN query 
with Bound filter" instead of just "Broker crashes").
   
   ### Affected Version
   
   0.20.0
   
   ### Description
   upgrading 3 master/2 query/2 data node cluster from 0.16.0-incubating to 
0.20.0. on Ubuntu 16.04. 
   On this system /bin/sh is symlinked to /bin/dash. 
   
   The incantation on line 44 of bin/node.sh fails to find the java-util script 
when run under dash.
   all of the startup scripts (broker.sh, etc) have the following form:
   
   ```
   cd $(dirname $0)/../
   sh ./bin/node.sh historical $1
   ```
   this fails on ubuntu.
   
   Changing the sh line to bash ... fixes it. 
   
   error with the script as distributed:
   
   ```
   $ bin/historical.sh start
   ./bin/node.sh: 44: ./bin/node.sh: source: not found
   Could not find java - please run 
/opt/druid/apache-druid-0.20.0/bin/verify-java to confirm it is installed.
   $
   ```
   changing the last line to 
   ```
   bash ./bin/node.sh historical $1
   ```
   allows it to work as expected:
   ```
   $ bin/historical.sh start
   Started historical node (53662)
   $
   ```
   
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@druid.apache.org
For additional commands, e-mail: commits-h...@druid.apache.org

Reply via email to