[
https://issues.apache.org/jira/browse/HADOOP-5237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13848359#comment-13848359
]
zhu commented on HADOOP-5237:
-----------------------------
I meet the same problem like Ramesh R N
[exec]
/Users/JuneMAC/hadoop/release-2.2.0/hadoop-common-project/hadoop-common/src/main/native/src/org/apache/hadoop/security/JniBasedUnixGroupsNetgroupMapping.c:77: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 [1.443s]
[INFO] Apache Hadoop Project POM ......................... SUCCESS [1.356s]
[INFO] Apache Hadoop Annotations ......................... SUCCESS [2.329s]
[INFO] Apache Hadoop Assemblies .......................... SUCCESS [0.380s]
[INFO] Apache Hadoop Project Dist POM .................... SUCCESS [2.239s]
[INFO] Apache Hadoop Maven Plugins ....................... SUCCESS [3.169s]
[INFO] Apache Hadoop Auth ................................ SUCCESS [2.894s]
[INFO] Apache Hadoop Auth Examples ....................... SUCCESS [2.029s]
[INFO] Apache Hadoop Common .............................. FAILURE [10.743s]
I don't know how to deal with this problem. Please let me know if there any
workaround for this issue available.
ps: OS X 10.9
> 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 was sent by Atlassian JIRA
(v6.1.4#6159)