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

setnetgrent in native code is not portable

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 0.22.0, 0.23.0
    • None
    • native
    • None

    Description

      HADOOP-6864 uses the setnetgrent function in a way which is not compatible with BSD APIs, where the call returns void rather than int. This prevents the native libs from building on OSX, for example.

      Attachments

        1. HADOOP-7147.patch
          5 kB
          Allen Wittenauer
        2. hadoop-7147.patch
          2 kB
          Allen Wittenauer

        Issue Links

          Activity

            People

              Unassigned Unassigned
              tlipcon Todd Lipcon
              Votes:
              0 Vote for this issue
              Watchers:
              15 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: