Hadoop Common
  1. Hadoop Common
  2. HADOOP-10194

CLONE - setnetgrent in native code is not portable

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 0.22.0, 0.23.0
    • Fix Version/s: None
    • Component/s: native
    • Labels:
      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.

      1. hadoop-7147.patch
        2 kB
        carltone
      2. HADOOP-7147.patch
        5 kB
        carltone

        Issue Links

          Activity

          Hide
          Colin Patrick McCabe added a comment -

          er, I meant to say HADOOP-7147

          Show
          Colin Patrick McCabe added a comment - er, I meant to say HADOOP-7147
          Hide
          Colin Patrick McCabe added a comment -

          Shouldn't we just discuss this on HADOOP-6864?

          Show
          Colin Patrick McCabe added a comment - Shouldn't we just discuss this on HADOOP-6864 ?

            People

            • Assignee:
              Unassigned
              Reporter:
              carltone
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:

                Development