[ 
https://issues.apache.org/jira/browse/HDFS-4831?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Colin Patrick McCabe updated HDFS-4831:
---------------------------------------

    Attachment: HDFS-4831.003.patch

I did the compile on FreeBSD 9.1.  Spotted that it needed to include string.h, 
and also MSG_NOSIGPIPE should be SO_NOSIGPIPE.
                
> Performing direct read using libhdfs sometimes raises SIGPIPE (which in turn 
> throws SIGABRT) causing client crashes
> -------------------------------------------------------------------------------------------------------------------
>
>                 Key: HDFS-4831
>                 URL: https://issues.apache.org/jira/browse/HDFS-4831
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: libhdfs
>    Affects Versions: 2.0.4-alpha
>            Reporter: Lenni Kuff
>         Attachments: HDFS-4831.001.patch, HDFS-4831.003.patch
>
>
> Reading using libhdfs sometimes raises SIGPIPE (which in turn throws SIGABRT 
> from JVM_handle_linux_signal). This can lead to crashes in the client 
> application. It would be nice if libhdfs handled this signal internally.

--
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: http://www.atlassian.com/software/jira

Reply via email to