Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-11985 Improve Solaris support in Hadoop
  3. HADOOP-12184

Remove unused Linux-specific constants in NativeIO

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.7.0
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: native
    • Labels:
      None
    • Environment:

      Solaris

    • Target Version/s:

      Description

      The POSIX subclass in NativeIO contains the following constants that are not defined in POSIX:

      O_ASYNC, O_FSYNC, O_NDELAY

      Stat.S_IFWHT

      These constants are not used within Hadoop, as far as I could tell. As they are not part of the POSIX specification, they should be removed as part of an effort to create portable code.

        Attachments

        1. HADOOP-12184.001.patch
          1 kB
          Martin Walsh

        Issue Links

          Activity

            People

            • Assignee:
              martinw Martin Walsh
              Reporter:
              martinw Martin Walsh

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment