You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "sunilkumar (Jira)" <ji...@apache.org> on 2020/12/11 21:46:00 UTC
[jira] [Created] (MINIFICPP-1431) Minifi cpp putfile error for
replace strategy
sunilkumar created MINIFICPP-1431:
-------------------------------------
Summary: Minifi cpp putfile error for replace strategy
Key: MINIFICPP-1431
URL: https://issues.apache.org/jira/browse/MINIFICPP-1431
Project: Apache NiFi MiNiFi C++
Issue Type: Bug
Affects Versions: 0.7.0
Environment: windows 10
Reporter: sunilkumar
Attachments: minifi-app.log
The minifi cpp 0.7.0 version uses nifi core libraries of version 0.7.0 here the putfile processor works fine in nifi env, but when the same flow is converted to config.yml and run on the minifi cpp agent the replace file strategy is giving
error: can not rename()
[2020-12-11 12:54:32.464] [org::apache::nifi::minifi::processors::PutFile] [warning] Destination file C:\\Program Files (x86)\\ApacheNiFiMiNiFi\\nifi-minifi-cpp\\NewConfigYML\\Generate_FF\GEN.txt exists; applying Conflict Resolution Strategy: replace
[2020-12-11 12:54:32.480] [org::apache::nifi::minifi::processors::PutFile::ReadCallback] [info] PutFile committing put file operation to C:\\Program Files (x86)\\ApacheNiFiMiNiFi\\nifi-minifi-cpp\\NewConfigYML\\Generate_FF\GEN.txt
[2020-12-11 12:54:32.482] [org::apache::nifi::minifi::processors::PutFile::ReadCallback] [info] PutFile commit put file operation to C:\\Program Files (x86)\\ApacheNiFiMiNiFi\\nifi-minifi-cpp\\NewConfigYML\\Generate_FF\GEN.txt failed because rename() call failed
Can anyone tell this error resolution? i need to replace the same file with new one funtionality.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)