Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-8707 Implement an async pure c++ HDFS client
  3. HDFS-9679

libhdfs++: Fix inconsistencies with libhdfs C API

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • hdfs-client
    • None

    Description

      There is at least 1 minor inconsistency with the libhdfs api. Currently hdfsSeek returns a 32 bit int to indicate the result offset of a seek, similar to a posix lseek. It should return 1 and 0 as error codes. If someone starts using hdfsSeek like they would lseek everything works great - until you have an >4GB offset and the upper bits are truncated.

      Attachments

        1. HDFS-9679.HDFS-8707.000.patch
          2 kB
          James Clampffer

        Activity

          People

            James Clampffer James Clampffer
            James Clampffer James Clampffer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: