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 2021/01/04 08:29:46 UTC

[GitHub] [pulsar] lichuan6 commented on issue #9092: Function worker service is not done initializing

lichuan6 commented on issue #9092:
URL: https://github.com/apache/pulsar/issues/9092#issuecomment-753835188


   After changing the token generated from pulsar UI to the one in `broker.conf`, I can call `functions list` successfully. 
   
   Then I tried to create a sink using `sinks create`, however, I got this error when trying to stats the sink.
   
   In toolset pod:
   
   ```shell
   bin/pulsar-admin --admin-url http://pulsar-broker.pulsar:8080 --auth-params "token:${TOKEN}" --auth-plugin "org.apache.pulsar.client.impl.auth.AuthenticationToken" sinks status --tenant public --namespace default --name my-elasticsearch-sink
   {
     "numInstances" : 1,
     "numRunning" : 0,
     "instances" : [ {
       "instanceId" : 0,
       "status" : {
         "running" : false,
         "error" : "UNAVAILABLE: Unable to resolve host pf-public-default-my-elasticsearch-sink-0.pf-public-default-my-elasticsearch-sink.pulsar.svc.cluster.local",
         "numRestarts" : 0,
         "numReadFromPulsar" : 0,
         "numSystemExceptions" : 0,
         "latestSystemExceptions" : [ ],
         "numSinkExceptions" : 0,
         "latestSinkExceptions" : [ ],
         "numWrittenToSink" : 0,
         "lastReceivedTime" : 0,
         "workerId" : "c-2.6.1-pulsar-fw-pulsar-broker-4.pulsar-broker.pulsar.svc.cluster.local-8080"
       }
     } ]
   }
   ```
   
   
   


----------------------------------------------------------------
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