You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2019/12/27 09:11:33 UTC
[GitHub] [pulsar] wjybupt opened a new issue #5947: got HTTP 404 error when
running "pulsar-admin functions list" on functions-worker
wjybupt opened a new issue #5947: got HTTP 404 error when running "pulsar-admin functions list" on functions-worker
URL: https://github.com/apache/pulsar/issues/5947
**Describe the bug**
when running "pulsar-admin functions list" on functions-worker, i got HTTP 404 error, however, running "pulsar-admin functions status ..." got the right response
**To Reproduce**
Steps to reproduce the behavior:
I have 3 functions-worker and 3 broker, and in the client.conf on all functions-worker, webServiceUrl =http://<functions-worker ip1>:6750/
brokerServiceUrl=pulsar://<broker ip1>:6650,<broker ip2>:6650,<broker ip3>:6650/
**Expected behavior**
get the functions list
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Desktop (please complete the following information):**
- OS: [e.g. iOS]
**Additional context**
Add any other context about the problem here.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [pulsar] jiazhai commented on issue #5947: got HTTP 404 error when
running "pulsar-admin functions list" on functions-worker
Posted by GitBox <gi...@apache.org>.
jiazhai commented on issue #5947: got HTTP 404 error when running "pulsar-admin functions list" on functions-worker
URL: https://github.com/apache/pulsar/issues/5947#issuecomment-569564801
Thanks @wjybupt for reporting this issue. Which version of Pulsar is used?
@wolfstudy Is this a know issue?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [pulsar] liangyuanpeng commented on issue #5947: got HTTP 404 error
when running "pulsar-admin functions list" on functions-worker
Posted by GitBox <gi...@apache.org>.
liangyuanpeng commented on issue #5947: got HTTP 404 error when running "pulsar-admin functions list" on functions-worker
URL: https://github.com/apache/pulsar/issues/5947#issuecomment-599168067
You can try :
```
curl http://functions-worker ip1:6750/admin/v2/functions/{TENANT}/{NAMESPACE}
```
Function worker has no ``functions list API (for all tenant)``
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [pulsar] wjybupt commented on issue #5947: got HTTP 404 error when
running "pulsar-admin functions list" on functions-worker
Posted by GitBox <gi...@apache.org>.
wjybupt commented on issue #5947: got HTTP 404 error when running "pulsar-admin functions list" on functions-worker
URL: https://github.com/apache/pulsar/issues/5947#issuecomment-570574969
ok, i will try on monday as it was deploy in the product environment which is isolate from the public network. thank u~
---Original---
From: "冉小龙"<notifications@github.com>
Date: Fri, Jan 3, 2020 20:55 PM
To: "apache/pulsar"<pulsar@noreply.github.com>;
Cc: "wjybupt"<wjybupt@qq.com>;"Mention"<mention@noreply.github.com>;
Subject: Re: [apache/pulsar] got HTTP 404 error when running "pulsar-admin functions list" on functions-worker (#5947)
webServiceUrl =http://:6750/
The pulsar-admin is using 8080, can you try it again?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [pulsar] wolfstudy edited a comment on issue #5947: got HTTP 404
error when running "pulsar-admin functions list" on functions-worker
Posted by GitBox <gi...@apache.org>.
wolfstudy edited a comment on issue #5947: got HTTP 404 error when running "pulsar-admin functions list" on functions-worker
URL: https://github.com/apache/pulsar/issues/5947#issuecomment-570564726
> webServiceUrl =http://functions-worker ip1:6750/
@wjybupt The pulsar-admin is using `8080`, can you try it again?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [pulsar] wolfstudy commented on issue #5947: got HTTP 404 error
when running "pulsar-admin functions list" on functions-worker
Posted by GitBox <gi...@apache.org>.
wolfstudy commented on issue #5947: got HTTP 404 error when running "pulsar-admin functions list" on functions-worker
URL: https://github.com/apache/pulsar/issues/5947#issuecomment-570564726
> webServiceUrl =http://<functions-worker ip1>:6750/
The pulsar-admin is using `8080`, can you try it again?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [pulsar] wjybupt commented on issue #5947: got HTTP 404 error when
running "pulsar-admin functions list" on functions-worker
Posted by GitBox <gi...@apache.org>.
wjybupt commented on issue #5947: got HTTP 404 error when running "pulsar-admin functions list" on functions-worker
URL: https://github.com/apache/pulsar/issues/5947#issuecomment-570972645
according to the official doc, "pulsar-admin functions list" is support by the functions-worker, and in functions-worker's config file(functions_worker.yml), the workerPort is 6750 and workerPortTls is 6751.
when i use 6750, "pulsar-admin functions list" is unavailable, but "pulsar-admin sinks list" works. and other cmd just like "pulsar-admin functions get/state/stats" works well, that why i am confused.
------------------ 原始邮件 ------------------
发件人: "冉小龙"<notifications@github.com>;
发送时间: 2020年1月3日(星期五) 晚上8:55
收件人: "apache/pulsar"<pulsar@noreply.github.com>;
抄送: "kiss fire"<wjybupt@qq.com>;"Mention"<mention@noreply.github.com>;
主题: Re: [apache/pulsar] got HTTP 404 error when running "pulsar-admin functions list" on functions-worker (#5947)
webServiceUrl =http://:6750/
The pulsar-admin is using 8080, can you try it again?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [pulsar] wolfstudy edited a comment on issue #5947: got HTTP 404
error when running "pulsar-admin functions list" on functions-worker
Posted by GitBox <gi...@apache.org>.
wolfstudy edited a comment on issue #5947: got HTTP 404 error when running "pulsar-admin functions list" on functions-worker
URL: https://github.com/apache/pulsar/issues/5947#issuecomment-570564726
> webServiceUrl =http://<functions-worker ip1>:6750/
@wjybupt The pulsar-admin is using `8080`, can you try it again?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
[GitHub] [pulsar] liangyuanpeng edited a comment on issue #5947: got HTTP
404 error when running "pulsar-admin functions list" on functions-worker
Posted by GitBox <gi...@apache.org>.
liangyuanpeng edited a comment on issue #5947: got HTTP 404 error when running "pulsar-admin functions list" on functions-worker
URL: https://github.com/apache/pulsar/issues/5947#issuecomment-599168067
@wjybupt
You can try :
```
curl http://functions-worker ip1:6750/admin/v2/functions/{TENANT}/{NAMESPACE}
```
Function worker has no ``functions list API (for all tenant)``
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services