Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-727

bug setting block size hdfsOpenFile

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.20.2
    • 0.20.3, 0.22.0
    • libhdfs
    • None
    • Reviewed

    Description

      In hdfsOpenFile in libhdfs invokeMethod needs to cast the block size argument to a jlong so a full 8 bytes are passed (rather than 4 plus some garbage which causes writes to fail due to a bogus block size).

      Attachments

        1. hdfs727.patch
          1 kB
          Eli Collins
        2. hdfs727.patch
          2 kB
          Eli Collins

        Issue Links

          Activity

            People

              eli Eli Collins
              eli Eli Collins
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: