[ 
https://issues.apache.org/jira/browse/CASSANDRA-795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12834186#action_12834186
 ] 

ruslan.usifov commented on CASSANDRA-795:
-----------------------------------------

On WinXp this patch doesn't work. Help only reduce CHUNK_SIZE

java.lang.RuntimeException: java.io.IOException: Невозможно выполнить операцию 
на сокете, т.к. буфер слишком мал или очередь переполнена
        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:619)
Caused by: java.io.IOException: Невозможно выполнить операцию на сокете, т.к. 
буфер слишком мал или очередь переполнена
        at sun.nio.ch.SocketDispatcher.write0(Native Method)
        at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:33)
        at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:104)
        at sun.nio.ch.IOUtil.write(IOUtil.java:60)
        at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:334)
        at 
sun.nio.ch.FileChannelImpl.transferToTrustedChannel(FileChannelImpl.java:449)
        at sun.nio.ch.FileChannelImpl.transferTo(FileChannelImpl.java:520)
        at 
org.apache.cassandra.net.FileStreamTask.stream(FileStreamTask.java:96)
        at 
org.apache.cassandra.net.FileStreamTask.runMayThrow(FileStreamTask.java:64)
        at 
org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:30)
        ... 3 more
ERROR [MESSAGE-STREAMING-POOL:1] 2010-02-16 15:21:34,234 CassandraDaemon.java 
(line 78) Fatal exception in thread Thread[MESSAGE-STREAMING-POOL:1,5,main]
java.lang.RuntimeException: java.io.IOException: Невозможно выполнить операцию 
на сокете, т.к. буфер слишком мал или очередь переполнена
        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:619)
Caused by: java.io.IOException: Невозможно выполнить операцию на сокете, т.к. 
буфер слишком мал или очередь переполнена
        at sun.nio.ch.SocketDispatcher.write0(Native Method)
        at sun.nio.ch.SocketDispatcher.write(SocketDispatcher.java:33)
        at sun.nio.ch.IOUtil.writeFromNativeBuffer(IOUtil.java:104)
        at sun.nio.ch.IOUtil.write(IOUtil.java:60)
        at sun.nio.ch.SocketChannelImpl.write(SocketChannelImpl.java:334)
        at 
sun.nio.ch.FileChannelImpl.transferToTrustedChannel(FileChannelImpl.java:449)
        at sun.nio.ch.FileChannelImpl.transferTo(FileChannelImpl.java:520)
        at 
org.apache.cassandra.net.FileStreamTask.stream(FileStreamTask.java:96)
        at 
org.apache.cassandra.net.FileStreamTask.runMayThrow(FileStreamTask.java:64)
        at 
org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:30)
        ... 3 more


> Streaming broken on windows (FileStreamTask.CHUNK_SIZE is too big).
> -------------------------------------------------------------------
>
>                 Key: CASSANDRA-795
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-795
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 0.6
>            Reporter: Gary Dusbabek
>            Assignee: Gary Dusbabek
>            Priority: Minor
>             Fix For: 0.6
>
>         Attachments: 0001-set-SO_SNDBUF-bigger.patch, 
> 0002-unit-test-for-streaming-a-big-file.patch
>
>
> Setting chunk size smaller addresses the problem.  We should explore setting 
> SO_SNDBUF higher to see if that fixes the problem.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to