You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2021/05/20 07:14:41 UTC

[GitHub] [skywalking] DeadLion opened a new issue #6983: apm-cassandra-java-driver-3.x-plugin stament can't get host bug

DeadLion opened a new issue #6983:
URL: https://github.com/apache/skywalking/issues/6983


   Please answer these questions before submitting your issue.
   
   - Why do you submit this issue?
   - [ ] Question or discussion
   - [x] Bug
   - [ ] Requirement
   - [ ] Feature or performance improvement
   
   
   ___
   ### Bug
   SkyWalking 8.5.0
   
   now the cassandra version is  3.7.2 ,we use 3.4.0
   
   
   ```
           String remotePeer = statement.getHost() == null ? connectionInfo.getContactPoints() : (statement.getHost()
                                                                                                           .getSocketAddress()
                                                                                                           .getHostName() + ":" + statement
               .getHost()
               .getSocketAddress()
               .getPort());
   
   ```
   
    statement.getHost() will throw NPE on 3.4.0 ,maybe we should check null before geting host to adapter low version's driver. 
   
   
   


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



[GitHub] [skywalking] kezhenxu94 commented on issue #6983: apm-cassandra-java-driver-3.x-plugin stament can't get host bug

Posted by GitBox <gi...@apache.org>.
kezhenxu94 commented on issue #6983:
URL: https://github.com/apache/skywalking/issues/6983#issuecomment-844788863


   The supported versions is 3.7.0-3.7.2, you're using 3.4.0, that's not adapted by our contributors, if you want, you need to enhance that.


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



[GitHub] [skywalking] kezhenxu94 closed issue #6983: apm-cassandra-java-driver-3.x-plugin stament can't get host bug

Posted by GitBox <gi...@apache.org>.
kezhenxu94 closed issue #6983:
URL: https://github.com/apache/skywalking/issues/6983


   


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