cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Liu (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-6084) Could not get input splits
Date Wed, 25 Sep 2013 17:28:03 GMT


Alex Liu commented on CASSANDRA-6084:

The following is the error from pig log

Caused by: java.util.concurrent.ExecutionException: failed connecting
to all endpoints, connections: rpc_endpoint:, listen_endpoint:,
host:, port: 9160
, errors: Unable to connect to server
        at org.apache.cassandra.hadoop.ConfigHelper.createConnection(
        at org.apache.cassandra.hadoop.AbstractColumnFamilyInputFormat.getSubSplits(
        at org.apache.cassandra.hadoop.AbstractColumnFamilyInputFormat.access$200(
        at org.apache.cassandra.hadoop.AbstractColumnFamilyInputFormat$
        at org.apache.cassandra.hadoop.AbstractColumnFamilyInputFormat$
        at java.util.concurrent.FutureTask$Sync.innerRun(
        at java.util.concurrent.ThreadPoolExecutor.runWorker(
        at java.util.concurrent.ThreadPoolExecutor$
Caused by: org.apache.thrift.transport.TTransportException: Connection
reset by peer
        at org.apache.cassandra.thrift.TFramedTransportFactory.openTransport(
        at org.apache.cassandra.hadoop.ConfigHelper.createConnection(
        ... 9 more
Caused by: Connection reset by peer
        at Method)
        ... 12 more
        at java.util.concurrent.FutureTask$Sync.innerGet(
        at java.util.concurrent.FutureTask.get(
        at org.apache.cassandra.hadoop.AbstractColumnFamilyInputFormat.getSplits(
        ... 21 more

There is no error in Cassandra system log.

It can't connection to sometimes when vnode is enable where there are more
connection requests. Can it be something related to rpc_* settings in cassandra.yaml?
rpc_server_type: sync
# rpc_min_threads: 16
# rpc_max_threads: 2048
# rpc_send_buff_size_in_bytes:
# rpc_recv_buff_size_in_bytes:
rpc_keepalive: true

Note: the issue is gone when vnode is disable where there is much less rpc connections

> Could not get input splits
> -----------------------------------------------
>                 Key: CASSANDRA-6084
>                 URL:
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Hadoop
>         Environment: Osx 10.8.5
> Java 1.7
> Cassandra 1.2.10
> Pig 0.9.2/0.11.1
>            Reporter: Cyril Scetbon
>            Assignee: Alex Liu
>         Attachments: 6084_debug.txt
> see
> I've noticed that if I restart Cassandra I get more errors for the first minutes, although
it's accessible through cqlsh without issue.
> I have tested on a 1-node (Osx Laptop) and 4-nodes (Ubuntu servers) and got the same
error. I tried with version 1.2.6, 1.2.8, 1.2.9, 1.2.10 without success

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message