-
Notifications
You must be signed in to change notification settings - Fork 919
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Executing kyuubi status
returns 'Kyuubi is not running' in docker container
#4515
Comments
Hello @dnskr, |
@dnskr I noticed the same issue today, one idea is to use |
@dnskr WDYT about the |
@pan3793 Unfortunately I'm not familiar with I found that apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ .Release.Name }}
spec:
template:
spec:
containers:
- name: kyuubi-server
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
command: ["/bin/bash", "-c", "bin/kyuubi start && tail -f ${KYUUBI_LOG_DIR}/kyuubi-*.out"] execution kyuubi@kyuubi-78df679b9c-fn7pg:/opt/kyuubi$ bin/kyuubi status
Warn: Not find kyuubi environment file /opt/kyuubi/conf/kyuubi-env.sh, using default ones...
Kyuubi is running (pid: 16)
kyuubi@kyuubi-78df679b9c-vgbr8:/opt/kyuubi$ bin/kyuubi status
Warn: Not find kyuubi environment file /opt/kyuubi/conf/kyuubi-env.sh, using default ones...
Kyuubi is running (pid: 16) |
basically, https://github.com/trinodb/docker-images/tree/master/testing/cdh5.15-hive
it's kinda workaround. |
Do you think it's a good idea to create a PR for the helm chart with the workaround above? |
let me try |
…using run command
…using run command
…using run command
I had observed that PID for, kyuubi server launched in foreground was not stored. So, tried to address this in naive way. Could someone please review this? |
…using run command
…using run command
…using run command
Code of Conduct
Search before asking
Describe the bug
I'm using the official docker image and helm chart to deploy and manage Kyuubi on Kubernetes.
I found that
bin/kyuubi status
returnsKyuubi is not running
when the instance is actually up and running.The PID value in the file should be
15
, however it is1301
for the main instance in this case:For the secondary instance there is no PID file at all:
bin/kyuubi status
is needed for liveness and readiness probes, so I would highly appreciate alternative solution as well.Affects Version(s)
1.7.0
Kyuubi Server Log Output
No response
Kyuubi Engine Log Output
No response
Kyuubi Server Configurations
No response
Kyuubi Engine Configurations
No response
Additional context
No response
Are you willing to submit PR?
The text was updated successfully, but these errors were encountered: