How to know from which node the data is coming, in cassandra using Java

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

How to know from which node the data is coming, in cassandra using Java

Vijayalakshmi
This post has NOT been accepted by the mailing list yet.
This post was updated on .
Hii,

I am using cassandra 3.2.1 And now I wanted to ensure that data is coming from which node, using any library called datastax or astyanax in Java.

For example suppose, 10 records i am fetching from database and i have 6 nodes with replication factor 4 with one datacenter. i want see each record is coming from which node.

Like,

  Firstname    lastname     Node

     abc            xyz          10.163.14.61
     pqr            stv           10.163.14.78
     ....             ...            .....

Or at least show the nodes that whole records are fetching from.

Is it possible?

Thanks in Advance.