XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • hdfs-client
    • None

    Description

      The libhdfs++ implementation of hdfsRead appears to be out-of-spec. The header says it will return 0 at eof, but the current implementation returns -1 with an errno of 261 (invalid offset).

      The basic posix-y read loop of
      while ( (bytesRead = hdsfRead(...)) != 0)

      {...}

      won't work with with libhdfs++'s hdfsRead method.

      Attachments

        Activity

          People

            Unassigned Unassigned
            bobhansen Bob Hansen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: