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

libhdfs only accepts O_WRONLY and O_RDONLY so does not accept things like O_WRONLY | O_CREAT

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.19.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      hdfs.c in the hdfsOpenFile method checks for flags == O_WRONLY rather than flags & O_WRONLY and same for reads.

        Attachments

        1. patch0.txt
          2 kB
          Pete Wyckoff
        2. patch0.txt
          2 kB
          Pete Wyckoff
        3. patch0.txt
          2 kB
          Pete Wyckoff
        4. patch0.txt
          2 kB
          Pete Wyckoff

          Activity

            People

            • Assignee:
              pi_song Pi Song
              Reporter:
              wyckoff Pete Wyckoff
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: