批量加载期间的例外做Cassandra 1.1

时间:2012-12-06 10:29:30

标签: cassandra bulk-load

我在使用sstableloader进行批量加载时遇到异常。我正在使用JDK 1.6.0_25 64位,Ubuntu 12.04服务器。 Ipv6已关闭。主机之间的网络通信正常工作。我疯了; - (

Exception in thread "Streaming to /192.168.219.36:1" java.lang.RuntimeException: java.net.SocketException: Invalid argument or cannot assign requested address
    at org.apache.cassandra.utils.FBUtilities.unchecked(FBUtilities.java:628)
    at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:34)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:662)
Caused by: java.net.SocketException: Invalid argument or cannot assign requested address
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:351)
    at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:213)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:200)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    at java.net.Socket.connect(Socket.java:529)
    at java.net.Socket.connect(Socket.java:478)
    at java.net.Socket.<init>(Socket.java:375)
    at java.net.Socket.<init>(Socket.java:276)
    at org.apache.cassandra.net.OutboundTcpConnectionPool.newSocket(OutboundTcpConnectionPool.java:96)
    at org.apache.cassandra.streaming.FileStreamTask.connectAttempt(FileStreamTask.java:245)
    at org.apache.cassandra.streaming.FileStreamTask.runMayThrow(FileStreamTask.java:91)
    at org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:30)

所有主机都运行Cassandra 1.1(datastax edition)。港口7000,7199,9160开业。任何想法??

1 个答案:

答案 0 :(得分:0)

为什么要流式传输到端口1?它应该是RPC_PORT,默认值为9160。

  

/192.168.219.36: 1

你传递给批量加载器有什么参数?