https://github.com/apache/incubator-druid/blob/ceb8f8e6258e1d113d8162a9a8a2fc62810704eb/examples/bin/node.sh#L45

This is running `#!/bin/bash -eu`, so it will exit whenever an unbound variable 
is encountered.  That's what the `-u` option does.  The test for `"$JAVA_HOME"` 
will be referencing an unbound variable in the event that `JAVA_HOME` is not 
set, therefore throwing an error and exiting.  So the test doesn't actually 
accomplish what it is trying to accomplish. 

[ Full content available at: 
https://github.com/apache/incubator-druid/issues/6225 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to