You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by "Brandon DeVries (JIRA)" <ji...@apache.org> on 2016/04/21 18:04:25 UTC

[jira] [Updated] (NIFI-1786) Use "Unofficial Bash Strict Mode" in nifi.sh

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

Brandon DeVries updated NIFI-1786:
----------------------------------
    Summary: Use "Unofficial Bash Strict Mode" in nifi.sh  (was: Use "Unofficial Bash Strict Mode" in nifi,sh)

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