You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by "mountainous-pku (via GitHub)" <gi...@apache.org> on 2023/04/24 06:58:31 UTC

[GitHub] [openwhisk] mountainous-pku opened a new issue, #5399: Invoker crashed due to lack of ZookeeperHost Config

mountainous-pku opened a new issue, #5399:
URL: https://github.com/apache/openwhisk/issues/5399

   <!--
   We use the issue tracker for bugs and feature requests. For general questions and discussion please use https://openwhisk.apache.org/slack.html or https://openwhisk.apache.org/community.html instead.
   
   Do NOT share passwords, credentials or other confidential information.
   
   Before creating a new issue, please check if there is one already open that
   fits the defect you are reporting.
   If you open an issue and realize later it is a duplicate of a pre-existing
   open issue, please close yours and add a comment to the other.
   
   Issues can be created for either defects or enhancement requests. If you are a committer than please add the labels "bug" or "feature". If you are not a committer please make clear in the comments which one it is, so that committers can add these labels later.
   
   If you are reporting a defect, please edit the issue description to include the
   information shown below.
   
   If you are reporting an enhancement request, please include information on what you are trying to achieve and why that enhancement would help you.
   
   For more information about reporting issues, see
   https://github.com/apache/openwhisk/blob/master/CONTRIBUTING.md#raising-issues
   
   Use the commands below to provide key information from your environment:
   You do not have to include this information if this is a feature request.
   -->
   
   ## Environment details:
   
   * local deployment, native ubuntu, Mac OS, Kubernetes, ...
   * version of docker, ubuntu, ...
   
   ## Steps to reproduce the issue:
   
   1.   Deploy the whole stack on k8s, including zookeeper, redis, couchdb and so on.
   
   ## Provide the expected results and outputs:
   
   ```
   
   invoker should work normally.
   
   ```
   
   
   ## Provide the actual results and outputs:
   
   ```
   
   Invoker crashed:
   Exception in thread "main" java.lang.IllegalArgumentException: connectionString cannot be null or empty
           at org.apache.curator.shaded.com.google.common.base.Preconditions.checkArgument(Preconditions.java:141)
           at org.apache.curator.ensemble.fixed.FixedEnsembleProvider.<init>(FixedEnsembleProvider.java:55)
           at org.apache.curator.ensemble.fixed.FixedEnsembleProvider.<init>(FixedEnsembleProvider.java:43)
           at org.apache.curator.framework.CuratorFrameworkFactory$Builder.connectString(CuratorFrameworkFactory.java:234)
           at org.apache.curator.framework.CuratorFrameworkFactory.newClient(CuratorFrameworkFactory.java:109)
           at org.apache.curator.framework.CuratorFrameworkFactory.newClient(CuratorFrameworkFactory.java:94)
           at org.apache.openwhisk.core.invoker.InstanceIdAssigner.setAndGetId(InstanceIdAssigner.scala:37)
           at org.apache.openwhisk.core.invoker.Invoker$.main(Invoker.scala:191)
           at org.apache.openwhisk.core.invoker.Invoker.main(Invoker.scala)
   
   ```
   
   ## Additional information you deem important:
   
   * changes you did or observed in the environment
   
   It seems that invoker crash because `config.ZookeeperHosts` is null string.
   This may be caused by #5375 which remove it from invoker, however, CuratorFrameworkFactory.newClient requires it to be not null when zookeeper is used.
   
   Adding ZookeeperHosts to the requiredProperties solves this 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: issues-unsubscribe@openwhisk.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Invoker crashed due to lack of ZookeeperHost Config [openwhisk]

Posted by "FangyueLiu123 (via GitHub)" <gi...@apache.org>.
FangyueLiu123 closed issue #5399: Invoker crashed due to lack of ZookeeperHost Config
URL: https://github.com/apache/openwhisk/issues/5399


-- 
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: issues-unsubscribe@openwhisk.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Invoker crashed due to lack of ZookeeperHost Config [openwhisk]

Posted by "FangyueLiu123 (via GitHub)" <gi...@apache.org>.
FangyueLiu123 commented on issue #5399:
URL: https://github.com/apache/openwhisk/issues/5399#issuecomment-1746768821

   Thanks you a lot for solving this.


-- 
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: issues-unsubscribe@openwhisk.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [openwhisk] style95 commented on issue #5399: Invoker crashed due to lack of ZookeeperHost Config

Posted by "style95 (via GitHub)" <gi...@apache.org>.
style95 commented on issue #5399:
URL: https://github.com/apache/openwhisk/issues/5399#issuecomment-1578339455

   I met this problem today.
   


-- 
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: issues-unsubscribe@openwhisk.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org