You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2021/01/12 05:39:26 UTC

[GitHub] [druid] lrosenman opened a new issue #10744: druid 0.20.0 start scripts expect bash to be /bin/sh. This is NOT true on debian/ubuntu causing the start scripts to fail

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:
users@infra.apache.org



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


[GitHub] [druid] abhishekagarwal87 closed issue #10744: druid 0.20.0 start scripts expect bash to be /bin/sh. This is NOT true on debian/ubuntu causing the start scripts to fail

Posted by GitBox <gi...@apache.org>.
abhishekagarwal87 closed issue #10744:
URL: https://github.com/apache/druid/issues/10744


   


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org

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



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