elgca commented on issue #6408:
URL: https://github.com/apache/pulsar/issues/6408#issuecomment-683426735
> @vishalananth07 it will still work in a distributed manner. but the
initial topic lookup will hit service unavailability if the broker goes down.
@zymap is fixing the issue. we hopefully will merge this issue soon next week.
When I run the official tutorial, I got the same problem, right?
```shell
[pulsar@pulsar-node3 apache-pulsar-2.6.1]$ bin/pulsar-admin functions create
\
> --jar examples/api-examples.jar \
> --classname org.apache.pulsar.functions.api.examples.ExclamationFunction
\
> --inputs persistent://public/default/exclamation-input \
> --output persistent://public/default/exclamation-output \
> --tenant public \
> --namespace default \
> --name exclamation
java.lang.ClassCastException: java.lang.NumberFormatException cannot be cast
to org.apache.pulsar.client.admin.PulsarAdminException
at
org.apache.pulsar.client.admin.internal.FunctionsImpl.createFunction(FunctionsImpl.java:324)
at
org.apache.pulsar.admin.cli.CmdFunctions$CreateFunction.runCmd(CmdFunctions.java:657)
at
org.apache.pulsar.admin.cli.CmdFunctions$BaseCommand.run(CmdFunctions.java:97)
at org.apache.pulsar.admin.cli.CmdBase.run(CmdBase.java:71)
at
org.apache.pulsar.admin.cli.PulsarAdminTool.run(PulsarAdminTool.java:240)
at
org.apache.pulsar.admin.cli.PulsarAdminTool.main(PulsarAdminTool.java:282)
```
----------------------------------------------------------------
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:
[email protected]