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

when setnetgrent returns 0 in linux, exception should be thrown

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.8.0, 2.7.3, 3.0.0-alpha1
    • None
    • None
    • Reviewed

    Description

      In linux, setnetgrent returns 0 in linux when something wrong is happen, such as out of memory, unknown group, unavailable service, etc. So errorMessage should be set and exception should be thrown

      Attachments

        1. HADOOP-12296.patch
          1.0 kB
          Chang Li
        2. HADOOP-12296.3.patch
          2 kB
          Chang Li
        3. HADOOP-12296.3.patch
          2 kB
          Chang Li
        4. HADOOP-12296.2.patch
          0.9 kB
          Chang Li

        Activity

          People

            lichangleo Chang Li
            lichangleo Chang Li
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: