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

Avoid using sys_errlist on Solaris, which lacks support for it

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.0, 2.3.0, 2.4.0, 2.5.0
    • Fix Version/s: 2.7.0
    • Component/s: None
    • Environment:

      Solaris 11.1 (Sparc, Intel), Linux x86

    • Target Version/s:
    • Hadoop Flags:
      Reviewed
    • Tags:
      sys_errlist

      Description

      sys_errlist has been removed from Solaris. The new interface is strerror. Wherever sys_errlist is accessed we should change to using strerror instead.
      We already have an interface function terror which can contain this functionality, so we should use it instead of directly accessing sys_errlist.

        Attachments

        1. HADOOP-11403.001.patch
          3 kB
          Malcolm Kavalsky
        2. HADOOP-11403.002.patch
          3 kB
          Malcolm Kavalsky
        3. HADOOP-11403.003.patch
          3 kB
          Malcolm Kavalsky

          Issue Links

            Activity

              People

              • Assignee:
                malcolm kavalsky Malcolm Kavalsky
                Reporter:
                malcolm kavalsky Malcolm Kavalsky
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 24h
                  24h
                  Remaining:
                  Remaining Estimate - 24h
                  24h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified