You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Chang Li (JIRA)" <ji...@apache.org> on 2015/11/02 18:58:27 UTC

[jira] [Commented] (HADOOP-12296) when setnetgrent returns 0 in linux, exception should be thrown

    [ https://issues.apache.org/jira/browse/HADOOP-12296?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14985639#comment-14985639 ] 

Chang Li commented on HADOOP-12296:
-----------------------------------

[~jlowe], thanks for review and valuable feedback! But for architecture of Solaris/Illumos, setnetgrent return 0 upon success. So should we limit the scope of fix of this patch only to linux? 

> when setnetgrent returns 0 in linux, exception should be thrown
> ---------------------------------------------------------------
>
>                 Key: HADOOP-12296
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12296
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Chang Li
>            Assignee: Chang Li
>         Attachments: HADOOP-12296.2.patch, HADOOP-12296.3.patch, HADOOP-12296.3.patch, HADOOP-12296.patch
>
>
> In linux, setnetgrent returns 0 in linux when something wrong is happen, such as out of memory, unknown group, unavailable service, etc. So errorMessage should be set and exception should be thrown



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)