lensesio / fast-data-dev

Kafka Docker for development. Kafka, Zookeeper, Schema Registry, Kafka-Connect, Landoop Tools, 20+ connectors
https://lenses.io
Apache License 2.0
2.01k stars 330 forks source link

landoop/fast-data-dev:cp3.3.0 has issues while running on Apple Mac m1 #190

Closed javaHelper closed 1 year ago

javaHelper commented 1 year ago

The issue/error comes as below -

2023-01-07 21:47:03 Setting advertised host to 127.0.0.1.
2023-01-07 21:47:03 Could not successfully bind to port 2181. Maybe some other service
2023-01-07 21:47:03 in your system is using it? Please free the port and try again.
2023-01-07 21:47:03 Exiting.
2023-01-07 22:30:12 Setting advertised host to 127.0.0.1.
2023-01-07 21:47:03 runtime: failed to create new OS thread (have 2 already; errno=22)
2023-01-07 21:47:03 fatal error: newosproc
2023-01-07 21:47:03 
2023-01-07 21:47:03 runtime stack:
2023-01-07 21:47:03 runtime.throw(0x512269, 0x9)
2023-01-07 21:47:03 /usr/lib/go/src/runtime/panic.go:566 +0x95
2023-01-07 21:47:03 runtime.newosproc(0xc420026000, 0xc420035fc0)
2023-01-07 21:47:03 /usr/lib/go/src/runtime/os_linux.go:160 +0x194
2023-01-07 21:47:03 runtime.newm(0x5203a0, 0x0)
2023-01-07 21:47:03 /usr/lib/go/src/runtime/proc.go:1572 +0x132
2023-01-07 21:47:03 runtime.main.func1()
2023-01-07 21:47:03 /usr/lib/go/src/runtime/proc.go:126 +0x36
2023-01-07 21:47:03 runtime.systemstack(0x593600)
2023-01-07 21:47:03 /usr/lib/go/src/runtime/asm_amd64.s:298 +0x79
2023-01-07 21:47:03 runtime.mstart()
2023-01-07 21:47:03 /usr/lib/go/src/runtime/proc.go:1079
2023-01-07 21:47:03 
2023-01-07 21:47:03 goroutine 1 [running]:
2023-01-07 21:47:03 runtime.systemstack_switch()
2023-01-07 21:47:03 /usr/lib/go/src/runtime/asm_amd64.s:252 fp=0xc420020768 sp=0xc420020760
2023-01-07 21:47:03 runtime.main()
2023-01-07 21:47:03 /usr/lib/go/src/runtime/proc.go:127 +0x6c fp=0xc4200207c0 sp=0xc420020768
2023-01-07 21:47:03 runtime.goexit()
2023-01-07 21:47:03 /usr/lib/go/src/runtime/asm_amd64.s:2086 +0x1 fp=0xc4200207c8 sp=0xc4200207c0
2023-01-07 22:30:13 runtime: failed to create new OS thread (have 2 already; errno=22)
2023-01-07 22:30:13 fatal error: newosproc
2023-01-07 22:30:13 
2023-01-07 22:30:13 runtime stack:
2023-01-07 22:30:13 runtime.throw(0x512269, 0x9)
2023-01-07 22:30:13 /usr/lib/go/src/runtime/panic.go:566 +0x95
2023-01-07 22:30:13 runtime.newosproc(0xc420026000, 0xc420035fc0)
2023-01-07 22:30:13 /usr/lib/go/src/runtime/os_linux.go:160 +0x194
2023-01-07 22:30:13 runtime.newm(0x5203a0, 0x0)
2023-01-07 22:30:13 /usr/lib/go/src/runtime/proc.go:1572 +0x132
2023-01-07 22:30:13 runtime.main.func1()
2023-01-07 22:30:13 /usr/lib/go/src/runtime/proc.go:126 +0x36
2023-01-07 22:30:13 runtime.systemstack(0x593600)
2023-01-07 22:30:13 /usr/lib/go/src/runtime/asm_amd64.s:298 +0x79
2023-01-07 22:30:13 runtime.mstart()
2023-01-07 22:30:13 /usr/lib/go/src/runtime/proc.go:1079
2023-01-07 22:30:13 
2023-01-07 22:30:13 goroutine 1 [running]:
2023-01-07 22:30:13 runtime.systemstack_switch()
2023-01-07 22:30:13 /usr/lib/go/src/runtime/asm_amd64.s:252 fp=0xc420020768 sp=0xc420020760
2023-01-07 22:30:13 runtime.main()
2023-01-07 22:30:13 /usr/lib/go/src/runtime/proc.go:127 +0x6c fp=0xc4200207c0 sp=0xc420020768
2023-01-07 22:30:13 runtime.goexit()
2023-01-07 22:30:13 /usr/lib/go/src/runtime/asm_amd64.s:2086 +0x1 fp=0xc4200207c8 sp=0xc4200207c0
2023-01-07 22:30:13 Could not successfully bind to port 2181. Maybe some other service
2023-01-07 22:30:13 in your system is using it? Please free the port and try again.
2023-01-07 22:30:13 Exiting.
andmarios commented 1 year ago

Hello, we added native ARM64 support a few days earlier to both lensesio/fast-data-dev and lensesio/box. Try to pull the latest images to get it:

docker pull lensesio/fast-data-dev
docker pull lensesio/box

Note that landoop/fast-data-dev:cp3.3.0 very old and not recommended to use anymore.