Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-9693

Shell should add a probe for OSX

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.3.0
    • Component/s: None
    • Labels:
      None

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                stevel@apache.org Steve Loughran
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: