[ https://issues.apache.org/jira/browse/HADOOP-9693?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13745192#comment-13745192 ]
Steve Loughran commented on HADOOP-9693: ---------------------------------------- Jayesh -where is it? I don't see it in trunk or 206-alpha [[https://github.com/apache/hadoop-common/blob/branch-2.0.6-alpha/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/util/Shell.java]] I see some check in {{org.apache.hadoop.fs.HardLink}}, which is something that should be moved to Shell, and as you say, moved to "OS X" > Shell should add a probe for OSX > -------------------------------- > > Key: HADOOP-9693 > URL: https://issues.apache.org/jira/browse/HADOOP-9693 > Project: Hadoop Common > Issue Type: Improvement > Reporter: Steve Loughran > Priority: Trivial > > the {{Shell}} class looks for Windows and Linux and sets static fields to > show this. For tests, it's sometimes useful to know if a host is OS/X, as its > filesystem is different. Although this is easy to test in code > [https://developer.apple.com/library/mac/#technotes/tn2002/tn2110.html], > having this in one place makes it easier to maintain if future java versions > ever behave differently -- 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