nifi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <>
Subject [jira] [Commented] (NIFI-905) Clean up not occurring when content repository reaches max usage percentage
Date Mon, 31 Aug 2015 15:48:45 GMT


ASF subversion and git services commented on NIFI-905:

Commit 3159cec7825a4085898b64f29a0dc4cc7d803f17 in nifi's branch refs/heads/master from [~markap14]
[;h=3159cec ]

NIFI-905: Ensure that when archive threshold is hit, archived data is destroyed and if no
archived data exists that Processors aren't blocked from updating content repo

> Clean up not occurring when content repository reaches max usage percentage
> ---------------------------------------------------------------------------
>                 Key: NIFI-905
>                 URL:
>             Project: Apache NiFi
>          Issue Type: Bug
>    Affects Versions: 0.3.0
>            Reporter: Bryan Bende
>            Assignee: Mark Payne
>             Fix For: 0.3.0
>         Attachments: 0001-NIFI-905-Ensure-that-when-archive-threshold-is-hit-a.patch,
> Created a 500MB partition and set the content repository to use that partition, then
created a simple Flow with GenerateFlowFile -> UpdateAttribute, using 10kb FlowFiles.
> When the content repository reached approx 224MB it started logging:
> "Unable to write to container default to archive file size constraints; waiting for archive
> It appears that the clean up was never occurring and a thread dump shows a blocked thread:
> {code}
> "FileSystemRepository Workers Thread-2" daemon prio=10 tid=0x00007f78c2660000 nid=0x2ae7
waiting for monitor entry [0x00007f78a907d000]
>    java.lang.Thread.State: BLOCKED (on object monitor)
>         at org.apache.nifi.controller.repository.FileSystemRepository.archive(
>         - waiting to lock <0x00000000e193ae00> (a java.util.concurrent.LinkedBlockingQueue)
>         at org.apache.nifi.controller.repository.FileSystemRepository.access$1200(
>         at org.apache.nifi.controller.repository.FileSystemRepository$
>         at java.util.concurrent.Executors$
>         at java.util.concurrent.FutureTask.runAndReset(
>         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(
>         at java.util.concurrent.ScheduledThreadPoolExecutor$
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(
>         at java.util.concurrent.ThreadPoolExecutor$
>         at
> {code}

This message was sent by Atlassian JIRA

View raw message