Github user apiri commented on a diff in the pull request:
https://github.com/apache/nifi-minifi/pull/123#discussion_r185608884
--- 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 --
Combing through source, I don't think there is a lot to glean from this
scenario. If I am overlooking something let me know and we should be sure to
make the appropriate changes in NiFi, where this is grabbed from; one of the
unfortunate idiosyncrasies of the current model that minifi is.
---