Connection closed unexpectantly when running Riak's sample TasteOfRiak.java

Luke Bakken lbakken at basho.com
Thu Oct 8 12:50:40 EDT 2015


8098 is typically the HTTP port for Riak. The Java client only uses
Protocol Buffers to communicate, and I suspect that port is 8087 in
your setup.
--
Luke Bakken
Engineer
lbakken at basho.com


On Thu, Oct 8, 2015 at 9:10 AM, Dz Lab <dzlabs at outlook.com> wrote:
> I'm getting started with Riak, when I run the sample TasteOfRiak.java (I
> changed node port from 10017 to 8098) I get a Connection closed exception.
> Here is the logs:
>
> Basic object created
> Location object created for quote object
> StoreValue operation created
> 15/10/08 15:11:14 INFO RiakNode: RiakNode started; 127.0.0.1:8098
> 15/10/08 15:11:14 INFO RiakCluster: RiakCluster is starting.
> Client object successfully created
> 15/10/08 15:11:14 ERROR RiakNode: Channel closed while operation in
> progress; id:321606938 127.0.0.1:8098
> 15/10/08 15:11:14 ERROR RiakNode: Channel closed while operation in
> progress; id:479772062 127.0.0.1:8098
> 15/10/08 15:11:14 ERROR RiakNode: Channel closed while operation in
> progress; id:1665941140 127.0.0.1:8098
> java.lang.Exception: Connection closed unexpectantly
>
> I'm running Riak KV 2.1.1-1 and using the Java client SDK 2.0.0. What's
> wrong with the sample?
>
>
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>




More information about the riak-users mailing list