Open FeDeGbR89 opened 3 years ago
Same issue here. In the meantime you can do the following:
zookeeper-server-start /usr/local/Cellar/confluent-platform/5.5.1/libexec/etc/kafka/zookeeper.properties
kafka-server-start /usr/local/Cellar/confluent-platform/5.5.1/libexec/etc/kafka/server.properties
schema-registry-start /usr/local/Cellar/confluent-platform/5.5.1/libexec/etc/schema-registry/schema-registry.properties
Ran into similar issues.
Figuring out the correct local config file were but difficult.
Hence did the following work around to use confluent local start
.
confluent local start
uses sw_vers
to find the mac version.
Created a local script sw_vers
placed this file in confluent bin directory.
cat sw_vers
echo "10.13"
Export path such that confluent bin directory takes precedence.
export PATH=$CONFLUENT_HOME/bin:$PATH
Use confluent local start
to start the platform.
@rnatarajan , thanks for finding problem spot in script.
Inspired by your finding, instead of workarounding sw_vers, I've just fixed bug in script locally, i.e. the line:
if [[ ${mac_version_major} -lt 10 || ( ${mac_version_major} -ge 10 && ${mac_version_minor} -lt 13 ) ]]; then
means (let M - major version, m - minor): if ( M < 10 || M >= 10 && m < 13 ) then error.
The condition is obviously wrong, because it will true for all M < 10 || m < 13
The fix is: if ( M < 10 || M == 10 && m < 13 ) then error.
that is:
if [[ ${mac_version_major} -lt 10 || ( ${mac_version_major} -eq 10 && ${mac_version_minor} -lt 13 ) ]]; then
--- update --- as I tried to create pull request, I've realized that the same fix is already proposed in #137
Hey, I am facing the issue similar kind of issue. Any inputs are much appreciated. I have a feature to test quickly.
Trying on my mac (version 11.5.2 BigSur): Liz's MacBook$ confluent local start The local commands are intended for a single-node development environment only, NOT for production usage. https://docs.confluent.io/current/cli/index.html
Error: macOS version >= 10.13 is required for all Confluent Platform features to work (detected macOS: 11.5.2). Error: exit status 127 Liz's MacBook$ confluent version confluent - Confluent CLI
Version: v1.7.0 Git Ref: f786f2e Build Date: 2020-05-15T22:04:03Z Go Version: go1.14.2 (darwin/amd64) Development: false
Liz's MacBook$ echo $JAVA_HOME /Library/Java/JavaVirtualMachines/adoptopenjdk-11.jdk/Contents/Home
Go Version: go1.14.2 (darwin/amd64)
This repo is not for the Go based CLI, as per the README
Hi, I've just updated macOs to 11.0.1 (Big Sur), and every time I try to execute
confluent local start kafka
orconfluent local start schema-registry
orconfluent local start
(I tried with these three commands), I get this error:Error: macOS version >= 10.13 is required for all Confluent Platform features to work (detected macOS: 11.0.1). Error: exit status 127
. I think that the trouble is invalidate_os_version()
function. But I don't know if Big Sur is already supported by Confluent Platform.I've the last version of Confluent Platform (6.0.0).