Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-1530

TarMK thread logs warning

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.18
    • 0.19
    • core, segmentmk
    • None
    • Windows 7, JDK 1.7.0_51 64 Bit

    Description

      From time to time I see warnings from the TarMK flush thread. I'm not sure if this is caused by my environment. In any case it would be good to at least know why it happens and then fix or document it.

      12.03.2014 10:54:45.752 *WARN* [TarMK flush thread: repository] org.apache.jackrabbit.oak.plugins.segment.file.FileStore
      Failed to flush the TarMK at repository
      java.io.IOException: The process cannot access the file because another process has locked a portion of the file
              at java.nio.MappedByteBuffer.force0(Native Method)
              at java.nio.MappedByteBuffer.force(MappedByteBuffer.java:203)
              at org.apache.jackrabbit.oak.plugins.segment.file.MappedAccess.flush(MappedAccess.java:73)
              at org.apache.jackrabbit.oak.plugins.segment.file.TarFile.flush(TarFile.java:181)
              at org.apache.jackrabbit.oak.plugins.segment.file.FileStore.flush(FileStore.java:225)
              at org.apache.jackrabbit.oak.plugins.segment.file.FileStore$1.run(FileStore.java:196)
              at java.lang.Thread.run(Thread.java:744)
      

      Attachments

        Activity

          People

            jukkaz Jukka Zitting
            mreutegg Marcel Reutegger
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: