Having a bit of a problem. Have installed kv-2.0.23 on RHEL 6 64 bit. Everything went smoothly having carefully followed the instructions.
Running the ping command, $JAVA_HOME/java -jar $KVHOME/lib/kvstore-2.0.23.jar ping -port 5003 -host localhost
I get back the correct response. Same is true when using an IP address or name of the server.
However, when I attempt to run the HelloBigData example
$JAVA_HOME/java -cp $KVHOME/lib/kvclient-2.0.23.jar:$KVHOME/examples hello.HelloBigDataWorld -host localhost -port 5003 -store firststore
I get the following...
oracle.kv.FaultException: Could not contact any RepNode at: [localhost:5003] (184.108.40.206.23)
Fault class name: oracle.kv.KVStoreException
Caused by: oracle.kv.KVStoreException: Could not contact any RepNode at: [localhost:5003]
... 2 more
This holds true if I change the host to an IP address or the servers name. Under netstat I see that port 5003 is set to LISTEN as is the Admin port 5004. I also see port 5010 set to LISTEN as well...
Any ideas as to this problem? Much thanks in advance...
The stack trace that you included could also be due to a failure to have completed topology deployment. It would be helpful if you included the output of the kvstore ping command - that help with the diagnosis.
The output of the ping command tells you
firststore comprises 0 partitions and 1 Storage Nodes
Since you have 0 partitions, that means you haven't deployed a topology yet. Your storage node is running and just waiting to be configured. The quickstart guide includes an example of the commands needed to get a store fully configured (included below). You presumably left off somewhere between the "plan deploy-admin" command and the "plan deploy-topology" command.
Take a look and see if you can figure out what steps you missed. You can also use the "show plans" and "show pools" commands to help you figure out what steps were missed.
$ java -jar lib/kvstore.jar runadmin -host host01 -port 5000
kv-> configure -name "mystore"
kv-> plan deploy-datacenter -name MyDC -rf 3 -wait
kv-> plan deploy-sn -dcname MyDC -host host01 -port 5000 -wait
kv-> plan deploy-admin -sn sn1 -port 5001
kv-> pool create -name MyPool
kv-> pool join -name MyPool -sn sn1
kv-> plan deploy-sn -dcname MyDC -host host02 -port 5000 -wait
kv-> pool join -name MyPool -sn sn2
kv-> plan deploy-sn -dcname MyDC -host host03 -port 5000 -wait
kv-> pool join -name MyPool -sn sn3
kv-> topology create -name MyStoreLayout -pool MyPool -partitions 100
kv-> topology preview -name MyStoreLayout
kv-> plan deploy-topology -name MyStoreLayout -wait
kv-> show plans
kv-> show topology