You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2021/08/27 02:20:12 UTC

[GitHub] [dubbo] frlzk opened a new issue #8614: telnet org.apache.dubbo.registry.client.ServiceDiscoveryRegistry cannot be cast to org.apache.dubbo.registry.support.AbstractRegistry

frlzk opened a new issue #8614:
URL: https://github.com/apache/dubbo/issues/8614


   - [*] I have searched the [issues](https://github.com/apache/dubbo/issues) of this repository and believe that this is not a duplicate.
   - [*] I have checked the [FAQ](https://github.com/apache/dubbo/blob/master/FAQ.md) of this repository and believe that this is not a duplicate.
   
   ### Environment
   
   * Dubbo version: 3.0.2.1
   * Operating System version: Ubuntu20
   * Java version: 1.8
   
   ### Steps to reproduce this issue
   
   1.  telnet localhost 22222
   2. dubbo>ls service
   
   
   Pls. provide [GitHub address] to reproduce this issue.
   
   ### Expected Result
   list services
   
   ### Actual Result
   
   ```
   ls service :fail to execute commandContext by org.apache.dubbo.registry.client.ServiceDiscoveryRegistry cannot be cast to org.apache.dubbo.registry.support.AbstractRegistry
   ```
   


-- 
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: notifications-unsubscribe@dubbo.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] leizhiyuan commented on issue #8614: telnet org.apache.dubbo.registry.client.ServiceDiscoveryRegistry cannot be cast to org.apache.dubbo.registry.support.AbstractRegistry

Posted by GitBox <gi...@apache.org>.
leizhiyuan commented on issue #8614:
URL: https://github.com/apache/dubbo/issues/8614#issuecomment-906894937


   org.apache.dubbo.qos.command.util.ServiceCheckUtils#isRegistered
   
   it seems 
   
               AbstractRegistry abstractRegistry = (AbstractRegistry) registries.iterator().next();
   
   
   this line is not right, for ServiceDiscoveryRegistry which is not AbstractRegistry type


-- 
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: notifications-unsubscribe@dubbo.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] leizhiyuan commented on issue #8614: telnet org.apache.dubbo.registry.client.ServiceDiscoveryRegistry cannot be cast to org.apache.dubbo.registry.support.AbstractRegistry

Posted by GitBox <gi...@apache.org>.
leizhiyuan commented on issue #8614:
URL: https://github.com/apache/dubbo/issues/8614#issuecomment-906896314


   in dubbo 2.7.6 ServiceDiscoveryRegistry extends FailbackRegistry extends AbstractRegistry


-- 
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: notifications-unsubscribe@dubbo.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org


[GitHub] [dubbo] AlbumenJ closed issue #8614: telnet org.apache.dubbo.registry.client.ServiceDiscoveryRegistry cannot be cast to org.apache.dubbo.registry.support.AbstractRegistry

Posted by GitBox <gi...@apache.org>.
AlbumenJ closed issue #8614:
URL: https://github.com/apache/dubbo/issues/8614


   


-- 
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: notifications-unsubscribe@dubbo.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org