Brandon DeVries created NIFI-1786:
-------------------------------------

             Summary: Use "Unofficial Bash Strict Mode" in nifi,sh
                 Key: NIFI-1786
                 URL: https://issues.apache.org/jira/browse/NIFI-1786
             Project: Apache NiFi
          Issue Type: Improvement
            Reporter: Brandon DeVries
            Priority: Minor


We just had a user trying to do "nifi.sh start" on a new install get the 
cryptic error message

{code}
 does not exist.  Exiting.
{code}

enabling "Unofficial Bash Strict Mode"\[1\] by adding 

{code}
set -euo pipefail
{code}

to the top of the script revealed that the problem was that $MAX_FD was unset.  
While we're still working through why that would be, its at least a bit more to 
go on.

\[1\] http://redsymbol.net/articles/unofficial-bash-strict-mode/



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

Reply via email to