Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.8.0
    • Fix Version/s: 0.8.0
    • Component/s: core, log
    • Labels:
    • Environment:
      Windows, Linux, Mac OS

      Description

      While I was studying how MappedByteBuffer works, I saw a sharing runtime exception on Windows. I applied what I learned to generate a patch which uses an internal open JDK API to solve this problem.

      Following Jay's advice, I made a helper method called tryUnmap().

      1. unmap-v5.patch
        12 kB
        Elizabeth Wei
      2. KAFKA-trunk-1008-v7.patch
        32 kB
        Elizabeth Wei
      3. KAFKA-1008-v9-trunk.patch
        20 kB
        Jay Kreps
      4. KAFKA-1008-v6.patch
        15 kB
        Jay Kreps
      5. KAFKA-0.8-1008-v8.patch
        18 kB
        Jay Kreps
      6. KAFKA-0.8-1008-v7.patch
        17 kB
        Jay Kreps

        Issue Links

          Activity

          Elizabeth Wei created issue -
          Elizabeth Wei made changes -
          Field Original Value New Value
          Attachment unmap-v1.patch [ 12597653 ]
          Elizabeth Wei made changes -
          Attachment unmap-v1.patch [ 12597653 ]
          Elizabeth Wei made changes -
          Attachment unmap-v2.patch [ 12597870 ]
          Elizabeth Wei made changes -
          Attachment unmap-v2.patch [ 12597870 ]
          Elizabeth Wei made changes -
          Attachment unmap-v3.patch [ 12597999 ]
          Elizabeth Wei made changes -
          Attachment unmap-v3.patch [ 12597999 ]
          Elizabeth Wei made changes -
          Attachment unmap-v4.patch [ 12598008 ]
          Elizabeth Wei made changes -
          Attachment unmap-v4.patch [ 12598008 ]
          Elizabeth Wei made changes -
          Attachment unmap-v5.patch [ 12598572 ]
          Jay Kreps made changes -
          Attachment KAFKA-1008-v6.patch [ 12599263 ]
          Elizabeth Wei made changes -
          Attachment KAFKA-trunk-1008-v7.patch [ 12599592 ]
          Jay Kreps made changes -
          Attachment KAFKA-0.8-1008-v7.patch [ 12600516 ]
          Jay Kreps made changes -
          Attachment KAFKA-0.8-1008-v8.patch [ 12604322 ]
          Jun Rao made changes -
          Link This issue duplicates KAFKA-1065 [ KAFKA-1065 ]
          Jay Kreps made changes -
          Attachment KAFKA-1008-v9-trunk.patch [ 12607697 ]
          Jay Kreps made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]

            People

            • Assignee:
              Jay Kreps
              Reporter:
              Elizabeth Wei
            • Votes:
              2 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified

                  Development