[
https://issues.apache.org/jira/browse/HDFS-4831?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13660170#comment-13660170
]
Aaron T. Myers commented on HDFS-4831:
--------------------------------------
Good find, and thanks a lot for testing out the fix, Lenni.
+1, the patch looks good to me. I don't think tests are necessary for this
change since the issue is so difficult to reproduce. I also tested this by
running the following, since I'm not sure if test-patch runs with native
support:
{noformat}
$ mvn -Pnative clean test
-Dtest=TestParallelShortCircuitReadUnCached,TestParallelShortCircuitLegacyRead,TestParallelShortCircuitReadNoChecksum,TestShortCircuitLocalRead,TestParallelShortCircuitRead
{noformat}
All the tests passed as expected.
I'm going to commit this momentarily.
> 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