rocky_2022 created GRIFFIN-374:
----------------------------------
Summary: apple m1 device running Griffin in docker err
Key: GRIFFIN-374
URL: https://issues.apache.org/jira/browse/GRIFFIN-374
Project: Griffin
Issue Type: Bug
Reporter: rocky_2022
I judge that M1 chip of device and {{{}apachegriffin/elasticsearch{}}}{{{}{}}}
do not match,can we push new docker image of {{apachegriffin/elasticsearch?}}
1.
docker-compose -f docker-compose-batch.yml up -d
_Recreating es ... done_
_Recreating griffin ... error_
_ERROR: for griffin Cannot start service griffin: Cannot link to a non running
container: /es AS /griffin/es_
_ERROR: for griffin Cannot start service griffin: Cannot link to a non running
container: /es AS /griffin/es_
_ERROR: Encountered errors while bringing up the project._
2.
into docker griffin/es container :
runtime: failed to create new OS thread (have 2 already; errno=22)
fatal error: newosproc
runtime stack:
runtime.throw(0x4cb21f, 0x9)
/usr/local/go/src/runtime/panic.go:566 +0x95
runtime.newosproc(0xc420026000, 0xc420035fc0)
/usr/local/go/src/runtime/os_linux.go:160 +0x194
runtime.newm(0x4d6db8, 0x0)
/usr/local/go/src/runtime/proc.go:1572 +0x132
runtime.main.func1()
/usr/local/go/src/runtime/proc.go:126 +0x36
runtime.systemstack(0x53ae00)
/usr/local/go/src/runtime/asm_amd64.s:298 +0x79
runtime.mstart()
/usr/local/go/src/runtime/proc.go:1079
goroutine 1 [running]:
runtime.systemstack_switch()
/usr/local/go/src/runtime/asm_amd64.s:252 fp=0xc420020768
sp=0xc420020760
runtime.main()
/usr/local/go/src/runtime/proc.go:127 +0x6c fp=0xc4200207c0
sp=0xc420020768
runtime.goexit()
/usr/local/go/src/runtime/asm_amd64.s:2086 +0x1 fp=0xc4200207c8
sp=0xc4200207c0
runtime: failed to create new OS thread (have 2 already; errno=22)
fatal error: newosproc
3.
the dockfile file of {{apachegriffin/elasticsearch indicates that arm64 version
is not supported}}
ENV ELASTICSEARCH_VERSION=5.5.2
ENV ELASTICSEARCH_DEB_VERSION=5.5.2
{{}}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)