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

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.7.0
    • 2.8.0, 3.0.0-alpha1
    • native
    • None
    • Solaris

    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

              martinw Martin Walsh
              martinw Martin Walsh
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: