You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2022/01/25 03:36:28 UTC
[GitHub] [dolphinscheduler] WindyGao opened a new issue #8185: [Bug] [command not found] curl: command not found
WindyGao opened a new issue #8185:
URL: https://github.com/apache/dolphinscheduler/issues/8185
### Search before asking
- [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues.
### What happened
dolphinScheduler on k8s by using helm
a shell script failed to run

curl: command not found
jq: command not found
### What you expected to happen
it can work normally
### How to reproduce
dolphinscheduler on k8s by helm
create a shell type job
shell script is following
```
#!/bin/sh
for i in `cat course_data/jm_ip.txt`
do
echo ======$i======;
jobname_repeated=$(curl -s http://$i/v1/jobs/overview| jq '.jobs[]|select(.state=="RUNNNING")|.name'|uniq -d)
echo jobname_repeated:$jobname_repeated;
if [ -n "$jobname_repeated" ]
then
echo "flink jobname is repeated"
if [[ ${i} =~ 'dev' || ${i} =~ 'test' ]]
then
curl -d '{"title": "FLink任务名称重复告警", "url": "'"http://$i"'","message": "'"$jobname_repeated"'" , "state": "Firing"}' -H 'Content-Type: application/json' "http://course-test.inner.youdao.com/ops/alarm?origin=default&profile=dev&group=FlinkJobNameMonitor&phone=false"
else
curl -d '{"title": "FLink任务名称重复告警", "url": "'"http://$i"'", "message": "'"$jobname_repeated"'" , "state": "Firing"}' -H 'Content-Type: application/json' "http://course.inner.youdao.com/ops/alarm?origin=default&profile=prod&group=FlinkJobNameMonitor&phone=false"
fi
else
echo "flink jobname is normal"
fi
done
```
### Anything else
_No response_
### Version
2.0.2
### Are you willing to submit PR?
- [ ] Yes I am willing to submit a PR!
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [dolphinscheduler] zhuangchong closed issue #8185: [Bug] [command not found] curl: command not found
Posted by GitBox <gi...@apache.org>.
zhuangchong closed issue #8185:
URL: https://github.com/apache/dolphinscheduler/issues/8185
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [dolphinscheduler] WindyGao commented on issue #8185: [Bug] [command not found] curl: command not found
Posted by GitBox <gi...@apache.org>.
WindyGao commented on issue #8185:
URL: https://github.com/apache/dolphinscheduler/issues/8185#issuecomment-1020827222
plz close this issue ,it was not bug
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [dolphinscheduler] github-actions[bot] commented on issue #8185: [Bug] [command not found] curl: command not found
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #8185:
URL: https://github.com/apache/dolphinscheduler/issues/8185#issuecomment-1020779766
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [dolphinscheduler] WindyGao commented on issue #8185: [Bug] [command not found] curl: command not found
Posted by GitBox <gi...@apache.org>.
WindyGao commented on issue #8185:
URL: https://github.com/apache/dolphinscheduler/issues/8185#issuecomment-1020827058
i didn't install ...
```
FROM dolphinscheduler.docker.scarf.sh/apache/dolphinscheduler:latest
COPY mysql-connector-java-8.0.16.jar /opt/dolphinscheduler/lib
RUN apt-get update && \
apt-get install -y --no-install-recommends python3 wget curl jq&& \
rm -rf /var/lib/apt/lists/*
```
it works normally now
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [dolphinscheduler] github-actions[bot] commented on issue #8185: [Bug] [command not found] curl: command not found
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #8185:
URL: https://github.com/apache/dolphinscheduler/issues/8185#issuecomment-1020779766
### Search before asking
- [X] I had searched in the [issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and found no similar issues.
### What happened
dolphinScheduler on k8s by using helm
a shell script failed to run

curl: command not found
jq: command not found
### What you expected to happen
it can work normally
### How to reproduce
dolphinscheduler on k8s by helm
create a shell type job
shell script is following
```
#!/bin/sh
for i in `cat course_data/jm_ip.txt`
do
echo ======$i======;
jobname_repeated=$(curl -s http://$i/v1/jobs/overview| jq '.jobs[]|select(.state=="RUNNNING")|.name'|uniq -d)
echo jobname_repeated:$jobname_repeated;
if [ -n "$jobname_repeated" ]
then
echo "flink jobname is repeated"
if [[ ${i} =~ 'dev' || ${i} =~ 'test' ]]
then
curl -d '{"title": "FLink任务名称重复告警", "url": "'"http://$i"'","message": "'"$jobname_repeated"'" , "state": "Firing"}' -H 'Content-Type: application/json' "http://course-test.inner.youdao.com/ops/alarm?origin=default&profile=dev&group=FlinkJobNameMonitor&phone=false"
else
curl -d '{"title": "FLink任务名称重复告警", "url": "'"http://$i"'", "message": "'"$jobname_repeated"'" , "state": "Firing"}' -H 'Content-Type: application/json' "http://course.inner.youdao.com/ops/alarm?origin=default&profile=prod&group=FlinkJobNameMonitor&phone=false"
fi
else
echo "flink jobname is normal"
fi
done
```
### Anything else
_No response_
### Version
2.0.2
### Are you willing to submit PR?
- [ ] Yes I am willing to submit a PR!
### Code of Conduct
- [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [dolphinscheduler] github-actions[bot] commented on issue #8185: [Bug] [command not found] curl: command not found
Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #8185:
URL: https://github.com/apache/dolphinscheduler/issues/8185#issuecomment-1020779861
Hi:
* Thank you for your feedback, we have received your issue, Please wait patiently for a reply.
* In order for us to understand your request as soon as possible, please provide detailed information、version or pictures.
* If you haven't received a reply for a long time, you can subscribe to the developer's email,Mail subscription steps reference https://dolphinscheduler.apache.org/en-us/community/development/subscribe.html ,Then write the issue URL in the email content and send question to dev@dolphinscheduler.apache.org.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [dolphinscheduler] zhuangchong closed issue #8185: [Bug] [command not found] curl: command not found
Posted by GitBox <gi...@apache.org>.
zhuangchong closed issue #8185:
URL: https://github.com/apache/dolphinscheduler/issues/8185
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [dolphinscheduler] WindyGao commented on issue #8185: [Bug] [command not found] curl: command not found
Posted by GitBox <gi...@apache.org>.
WindyGao commented on issue #8185:
URL: https://github.com/apache/dolphinscheduler/issues/8185#issuecomment-1020827058
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@dolphinscheduler.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org