NiFi upgrade via setup wizard does not update service commands

Description

1. Start with NiFi version 1.3
2. Run setup wizard, and only opt to install NiFi (defaults to v1.6)
3. NiFi 1.6 is downloaded and installed
4. Run: service nifi status

Output shows it is still using NiFi 1.3.

$ service nifi status

Java home: /opt/java/current
NiFi home: /opt/nifi/nifi-1.3.0

Bootstrap Config File: /opt/nifi/nifi-1.3.0/conf/bootstrap.conf

2018-05-09 23:01:59,984 INFO [main] org.apache.nifi.bootstrap.Command Apache NiFi is not running

Update:
If /opt/nifi folder is wiped out and setup wizard used again, it installs NiFi 1.6. This time, service command shows correct version.

$ service nifi status

Java home: /opt/java/current
NiFi home: /opt/nifi/nifi-1.6.0

Bootstrap Config File: /opt/nifi/nifi-1.6.0/conf/bootstrap.conf

2018-05-09 23:25:04,623 INFO [main] org.apache.nifi.bootstrap.Command Apache NiFi is not running

Environment

None

Assignee

Unassigned

Reporter

Jagrut Sharma

Labels

None

Reviewer

None

Story point estimate

None

Components

Affects versions

Priority

Medium
Configure