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 "Jayesh (JIRA)" <ji...@apache.org> on 2013/08/19 20:16:52 UTC
[jira] [Commented] (HADOOP-9693) Shell should add a probe for OSX
[ https://issues.apache.org/jira/browse/HADOOP-9693?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13744082#comment-13744082 ]
Jayesh commented on HADOOP-9693:
--------------------------------
Hi, There is static field for WINDOWS but didnt see any for Linux in Shell class.
I ll add the same for OSX
Thanks
Jay
> 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