confluentinc / confluent-cli

Confluent Platform CLI
Other
60 stars 38 forks source link

Confluent cli only showing open-source components on enterprise install #96

Open filipeportes opened 6 years ago

filipeportes commented 6 years ago

Hello,

I’ve just installed the enterprise platform trial on a rhel 7.2 S.O using:
sudo yum install confluent-platform-2.11

installation went ok, but when I execute confluent start only the open source components are going up confluent list shows:
Available services: zookeeper kafka schema-registry kafka-rest connect ksql-server

confluent version shows:
Confluent Open Source:

looks like the is_enterprise method on the confluent.sh is returning false. necessary jar files are available in the folder: /usr/share/java/confluent-control-center

looks like those vars are not being loaded correctly in the yum installation

confluent_bin="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
confluent_home="$( dirname "${confluent_bin}" )"

Up: I've added a echo $enterprise_prefix on the line 261 to see what's happening after this running: confluent list shows:

Available services: zookeeper kafka schema-registry kafka-rest connect ksql-server //share/java/confluent-control-center/control-center- control-center

and I can start control-center also.

OneCricketeer commented 6 years ago

If you're doing a yum install, it might be recommended to use the systemctl services to start the components. Then all your data will be persistent