Found the issue and patch provided. The script uses /bin/sh which defaults to an ASH implementation on Debian based systems. [[ is a "modern" shell extension and not POSIX compliant. Verified on a new 15.04 VM instance.
On Sun, Jul 26, 2015 at 10:35 PM, Joe Skora <jsk...@gmail.com> wrote: > Aldrin, > > I only see it on Ubuntu 15.04 and the Bash version is "GNU bash, version > 4.3.30(1)-release (x86_64-pc-linux-gnu)". > > Let me know if I can help with further tests. > > Joe > > On Sun, Jul 26, 2015 at 4:59 PM, Aldrin Piri <aldrinp...@gmail.com> wrote: > > > Joe, > > > > These issues are captured in NIFI-758 [1]. > > > > Could you provide some additional information in terms of shell and its > > version? > > > > Thanks! > > > > [1] https://issues.apache.org/jira/browse/NIFI-758 > > > > On Sun, Jul 26, 2015 at 4:42 PM, Joe Skora <jsk...@gmail.com> wrote: > > > > > I noticed on shutdown of the 0.2.1 instance on Ubuntu 15.04 that I > > received > > > the error: "bin/nifi.sh: 166: bin/nifi.sh: [[: not found". > > > > > > I haven't had time to track it down, looks like it might be related to > > > NIFI-472 and the run as changes, but I have to run out and wanted to > > > mention it in case it needs to be addressed for 0.2.1. I can test > > further > > > later tonight if more information is needed. > > > > > > Regards, > > > Joe > > > > > > On Sun, Jul 26, 2015 at 12:20 PM, Joe Skora <jsk...@gmail.com> wrote: > > > > > > > +1 (non-binding) > > > > > > > > - signatures and hashes look good > > > > - LICENSE, README, NOTICE look good > > > > - builds and runs on Ubuntu 15.04, Windows 10, and OS X Mavericks > > > > > > > > On Fri, Jul 24, 2015 at 8:56 PM, Aldrin Piri <aldrinp...@gmail.com> > > > wrote: > > > > > > > >> Signatures good > > > >> Hashes good > > > >> LICENSE, NOTICE, and README present and well-formed > > > >> > > > >> On CentOS release 6.6 (Final) > > > >> Build passes > > > >> Contrib passes > > > >> Assembly runs > > > >> > > > >> > > > >> +1 to release this package [Binding] > > > >> > > > >> On Fri, Jul 24, 2015 at 12:07 PM, Mark Payne <marka...@hotmail.com> > > > >> wrote: > > > >> > > > >> > +1 Release this package as nifi-0.2.1 (binding) > > > >> > > > > >> > - Verified signatures > > > >> > - Verified hashes > > > >> > - LICENSE, NOTICE, and README are as expected > > > >> > - Builds without problem on Windows > > > >> > - Runs without problem on Windows > > > >> > > > > >> > > > > >> > ---------------------------------------- > > > >> > > Date: Fri, 24 Jul 2015 08:48:19 -0400 > > > >> > > Subject: Re: [VOTE] Release Apache NiFi 0.2.1 > > > >> > > From: matt.c.gil...@gmail.com > > > >> > > To: dev@nifi.apache.org > > > >> > > > > > >> > > +1 Release this package as nifi-0.2.1 (binding) > > > >> > > > > > >> > > - Checked signatures and hashes > > > >> > > - LICENSE, NOTICE, and README were good > > > >> > > - Build with contrib-check passes > > > >> > > - Verified new users are prompted to request account > > > >> > > > > > >> > > > > > >> > > On Thu, Jul 23, 2015 at 6:49 PM, Joe Witt <joe.w...@gmail.com> > > > wrote: > > > >> > > > > > >> > >> Hello > > > >> > >> > > > >> > >> I am pleased to be calling this vote for the source release of > > > Apache > > > >> > >> NiFi nifi-0.2.1. > > > >> > >> > > > >> > >> The source zip, including signatures, digests, etc. can be > found > > > at: > > > >> > >> > > > >> > https://repository.apache.org/content/repositories/orgapachenifi-1058 > > > >> > >> > > > >> > >> The Git tag is nifi-0.2.1-RC1 > > > >> > >> The Git commit ID is 08cd40ddcbee21b7a7d9ff5980264a2b4ee5f1f3 > > > >> > >> > > > >> > >> > > > >> > >> > > > >> > > > > >> > > > > > > https://git-wip-us.apache.org/repos/asf?p=nifi.git;a=commit;h=08cd40ddcbee21b7a7d9ff5980264a2b4ee5f1f3 > > > >> > >> > > > >> > >> Checksums of nifi-0.2.1-source-release.zip: > > > >> > >> MD5: e87b9c20660cea6045f8b16a99278aa8 > > > >> > >> SHA1: 2dcfd583a3e16c39787dc3872362ace6e35d1514 > > > >> > >> > > > >> > >> Release artifacts are signed with the following key: > > > >> > >> https://people.apache.org/keys/committer/joewitt.asc > > > >> > >> > > > >> > >> Should the release vote succeed convenience binaries will be > made > > > >> > >> available at the proper dist location and NiFi downloads page. > > > >> > >> > > > >> > >> KEYS file available here: > > > >> > >> https://dist.apache.org/repos/dist/release/nifi/KEYS > > > >> > >> > > > >> > >> 2 issues were closed/resolved for this release: > > > >> > >> > > > >> > >> > > > >> > > > > >> > > > > > > https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12316020&version=12333089 > > > >> > >> > > > >> > >> The vote will be open for 72 hours. (18:45EST 26 July 2015) > > > >> > >> Please download the release candidate and evaluate the > necessary > > > >> items > > > >> > >> including checking hashes, signatures, build from source, and > > test. > > > >> > >> The please vote: > > > >> > >> > > > >> > >> [ ] +1 Release this package as nifi-0.2.1 > > > >> > >> [ ] +0 no opinion > > > >> > >> [ ] -1 Do not release this package because because... > > > >> > >> > > > >> > > > > >> > > > > >> > > > > > > > > > > > > > >