[
https://issues.apache.org/jira/browse/HADOOP-5237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13662990#comment-13662990
]
Ramesh R N commented on HADOOP-5237:
------------------------------------
The error is still appearing while we build source on Mac OS X before and after
applying the patch.
Please let me know if there any workaround for this issue available.
[exec]
/Users/hadoop/Works/hadoop-2.0.0-cdh4.2.1/src/hadoop-common-project/hadoop-common/src/main/native/src/org/apache/hadoop/security/JniBasedUnixGroupsNetgroupMapping.c:75:26:
error: invalid operands to binary expression ('void' and 'int')
[exec] if(setnetgrent(cgroup) == 1) {
[exec] ~~~~~~~~~~~~~~~~~~~ ^ ~
[exec] 1 error generated.
[exec] make[2]: ***
[CMakeFiles/hadoop.dir/main/native/src/org/apache/hadoop/security/JniBasedUnixGroupsNetgroupMapping.c.o]
Error 1
[exec] make[1]: *** [CMakeFiles/hadoop.dir/all] Error 2
[exec] make: *** [all] Error 2
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Hadoop Main ................................ SUCCESS [29.709s]
[INFO] Apache Hadoop Project POM ......................... SUCCESS [1.754s]
[INFO] Apache Hadoop Annotations ......................... SUCCESS [2.762s]
[INFO] Apache Hadoop Assemblies .......................... SUCCESS [0.294s]
[INFO] Apache Hadoop Project Dist POM .................... SUCCESS [6.168s]
[INFO] Apache Hadoop Auth ................................ SUCCESS [10.628s]
[INFO] Apache Hadoop Auth Examples ....................... SUCCESS [4.095s]
[INFO] Apache Hadoop Common .............................. FAILURE [34.818s]
> MBeanUtil should log errors using the logging API
> -------------------------------------------------
>
> Key: HADOOP-5237
> URL: https://issues.apache.org/jira/browse/HADOOP-5237
> Project: Hadoop Common
> Issue Type: Improvement
> Components: metrics
> Reporter: Tom White
> Labels: jmx, mbean, newbie, patch
> Attachments: HADOOP-5237.patch
>
>
> MBeanUtil prints stack traces to standard error. It should use commons
> logging instead.
--
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