[ 
https://issues.apache.org/jira/browse/MINIFI-452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16461413#comment-16461413
 ] 

ASF GitHub Bot commented on MINIFI-452:
---------------------------------------

Github user jzonthemtn commented on a diff in the pull request:

    https://github.com/apache/nifi-minifi/pull/123#discussion_r185586648
  
    --- Diff: 
minifi-nar-bundles/minifi-provenance-repository-bundle/minifi-persistent-provenance-repository/src/main/java/org/apache/nifi/provenance/MiNiFiPersistentProvenanceRepository.java
 ---
    @@ -2065,6 +2065,21 @@ public void run() {
             }
         }
     
    +    @Override
    +    public String getContainerFileStoreName(final String containerName) {
    +        final Map<String, File> map = 
configuration.getStorageDirectories();
    +        final File container = map.get(containerName);
    +        if (container == null) {
    +            return null;
    +        }
    +
    +        try {
    +            return Files.getFileStore(container.toPath()).name();
    +        } catch (IOException e) {
    +            return null;
    --- End diff --
    
    Wondering if there's any use in logging the error?


> Update to NiFi 1.6.0
> --------------------
>
>                 Key: MINIFI-452
>                 URL: https://issues.apache.org/jira/browse/MINIFI-452
>             Project: Apache NiFi MiNiFi
>          Issue Type: Task
>            Reporter: Aldrin Piri
>            Assignee: Aldrin Piri
>            Priority: Major
>             Fix For: 0.5.0
>
>
> We should update the codebase to make use of the latest NiFi framework 
> libraries.  As of this ticket, this would be the recently release 1.6.0.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to