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

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.19.0
    • None
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: