[ https://issues.apache.org/jira/browse/HADOOP-8776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13467005#comment-13467005 ]
Jianbin Wei commented on HADOOP-8776: ------------------------------------- In hadoop-common-project/hadoop-common/src/main/conf/hadoop-env.sh the platform check is done through {quote} MAC_OSX=false case "`uname`" in Darwin*) MAC_OSX=true;; esac if $MAC_OSX; then export HADOOP_OPTS="$HADOOP_OPTS -Djava.security.krb5.realm= -Djava.security.krb5.kdc=" fi {quote} > Provide an option in test-patch that can enable / disable compiling native > code > ------------------------------------------------------------------------------- > > Key: HADOOP-8776 > URL: https://issues.apache.org/jira/browse/HADOOP-8776 > Project: Hadoop Common > Issue Type: Improvement > Components: build > Affects Versions: 3.0.0 > Reporter: Hemanth Yamijala > Assignee: Hemanth Yamijala > Priority: Minor > Attachments: HADOOP-8776.patch, HADOOP-8776.patch, HADOOP-8776.patch > > > The test-patch script in Hadoop source runs a native compile with the patch. > On platforms like MAC, there are issues with the native compile that make it > difficult to use test-patch. This JIRA is to try and provide an option to > make the native compilation optional. -- 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