<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: How to change the nifi processor properties with nifi rest api? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-change-the-nifi-processor-properties-with-nifi-rest/m-p/218267#M84264</link>
    <description>&lt;P&gt;@Jonathan Sneep &lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/articles/87217/change-nifi-flow-using-rest-api-part-1.html"&gt;https://community.hortonworks.com/articles/87217/change-nifi-flow-using-rest-api-part-1.html&lt;/A&gt; as per step 7 I used the below command :&lt;/P&gt;&lt;P&gt;curl -X PUT -H 'Content-Type: application/json' -d '{"component":{"id":"1ffd1b86-0165-1000-ffff-ffffe8f36d71","name":"GetFile","config":{"Input Directory":"/tmp/hortontest","Keep Source File":"false"},"revision":{"clientId":"5f10fbca-0166-1000-ae68-13829a991131","version":2}}' &lt;A href="http://nifinode:9090/nifi-api/processors/1ffcfa18-0165-1000-ffff-ffffa779f243" target="_blank"&gt;http://nifinode:9090/nifi-api/processors/1ffcfa18-0165-1000-ffff-ffffa779f243&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Output:&lt;/P&gt;&lt;P&gt;Unrecognized field "Input Directory" (class org.apache.nifi.web.api.dto.ProcessorConfigDTO), not marked as ignorable (17 known properties: "yieldDuration", "descriptors", "runDurationMillis", "concurrentlySchedulableTaskCount", "schedulingStrategy", "autoTerminatedRelationships", "customUiUrl", "lossTolerant", "properties", "comments", "schedulingPeriod", "defaultConcurrentTasks", "annotationData", "executionNode", "penaltyDuration", "defaultSchedulingPeriod", "bulletinLevel"]) at [Source: (org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$UnCloseableInputStream); line: 1, column: 105] (through reference chain: org.apache.nifi.web.api.entity.ProcessorEntity["component"]-&amp;gt;org.apache.nifi.web.api.dto.ProcessorDTO["config"]-&amp;gt;org.apache.nifi.web.api.dto.ProcessorConfigDTO["Input Directory"])&lt;/P&gt;</description>
    <pubDate>Thu, 11 Oct 2018 23:47:00 GMT</pubDate>
    <dc:creator>Jasthi</dc:creator>
    <dc:date>2018-10-11T23:47:00Z</dc:date>
    <item>
      <title>How to change the nifi processor properties with nifi rest api?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-change-the-nifi-processor-properties-with-nifi-rest/m-p/218263#M84260</link>
      <description>&lt;P&gt;I have been trying to change the GetFile processor properties (Input Directory,keep resource file...etc) using rest api call but getting below response :&lt;/P&gt;&lt;P&gt;Command:&lt;/P&gt;&lt;P&gt;curl -i -X PUT -H 'Content-Type: application/json' -d '{"revision":{"version":3,"clientId":"5f10fbca-0166-1000-ae68-13829a991131"},"processor":{"id":"1ffcfa18-0165-1000-ffff-ffffa779f243","parentGroupId":"1fe8ebbf-0165-1000-0000-00003595dafd","config":{"properties":{"Input Directory":"/tmp/hortontest"}}}}' &lt;A href="http://node1:9090/nifi-api/controller/process-groups/1fe8ebbf-0165-1000-0000-00003595dafd/processors/1ffcfa18-0165-1000-ffff-ffffa779f243" target="_blank"&gt;http://node1:9090/nifi-api/controller/process-groups/1fe8ebbf-0165-1000-0000-00003595dafd/processors/1ffcfa18-0165-1000-ffff-ffffa779f243&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Output:&lt;/P&gt;&lt;P&gt;HTTP/1.1 404 Not Found
Date: Thu, 11 Oct 2018 13:48:40 GMT
X-Frame-Options: SAMEORIGIN
Content-Type: text/plain
Vary: Accept-Encoding
Content-Length: 42
Server: Jetty(9.4.3.v20170317)
The specified resource could not be found.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2026 12:14:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-change-the-nifi-processor-properties-with-nifi-rest/m-p/218263#M84260</guid>
      <dc:creator>Jasthi</dc:creator>
      <dc:date>2026-04-21T12:14:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the nifi processor properties with nifi rest api?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-change-the-nifi-processor-properties-with-nifi-rest/m-p/218264#M84261</link>
      <description>&lt;P&gt;Hi &lt;A href="https://community.hortonworks.com/questions/225005/how-to-change-the-nifi-processor-properties-with-n.html#"&gt;@Veerendra Nath Jasthi&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I've tried this myself just now, by first exporting the current settings like so;&lt;/P&gt;&lt;PRE&gt;curl -X GET -H 'Content-Type: application/json' &lt;A href="http://nifibox:9090/nifi-api/processors/6391462d-0166-1000-0000-000002b215e0" target="_blank"&gt;http://nifibox:9090/nifi-api/processors/6391462d-0166-1000-0000-000002b215e0&lt;/A&gt; | python -m json.tool &amp;gt; /tmp/processorconfig.json&lt;/PRE&gt;&lt;P&gt;And then from the resulting json output, I modify the directory listed and post it back like so;&lt;/P&gt;&lt;PRE&gt;curl -X PUT -H 'Content-Type: application/json' &lt;A href="http://nifibox:9090/nifi-api/processors/6391462d-0166-1000-0000-000002b215e0" target="_blank"&gt;http://nifibox:9090/nifi-api/processors/6391462d-0166-1000-0000-000002b215e0&lt;/A&gt; -d @processorconfig.json&lt;/PRE&gt;&lt;P&gt;BTW, specifying the processor ID alone on the PUT operation is enough - even if the processor is part of a different process group the above example still works.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Oct 2018 22:12:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-change-the-nifi-processor-properties-with-nifi-rest/m-p/218264#M84261</guid>
      <dc:creator>JonathanSneep</dc:creator>
      <dc:date>2018-10-11T22:12:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the nifi processor properties with nifi rest api?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-change-the-nifi-processor-properties-with-nifi-rest/m-p/218265#M84262</link>
      <description>&lt;P&gt;Thanks for quick response Jon. Is the only way I could do that or are any other ways I can modify the processor properties with rest api calls ?&lt;/P&gt;</description>
      <pubDate>Thu, 11 Oct 2018 22:44:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-change-the-nifi-processor-properties-with-nifi-rest/m-p/218265#M84262</guid>
      <dc:creator>Jasthi</dc:creator>
      <dc:date>2018-10-11T22:44:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the nifi processor properties with nifi rest api?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-change-the-nifi-processor-properties-with-nifi-rest/m-p/218266#M84263</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/47409/jvnath77.html" nodeid="47409"&gt;@Veerendra Nath  Jasthi&lt;/A&gt;&lt;P&gt;A few more examples are documented here; &lt;A href="https://community.hortonworks.com/articles/87217/change-nifi-flow-using-rest-api-part-1.html" target="_blank"&gt;https://community.hortonworks.com/articles/87217/change-nifi-flow-using-rest-api-part-1.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Otherwise, all the options we have should be listed here; &lt;A href="https://nifi.apache.org/docs/nifi-docs/rest-api/index.html" target="_blank"&gt;https://nifi.apache.org/docs/nifi-docs/rest-api/index.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Oct 2018 22:59:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-change-the-nifi-processor-properties-with-nifi-rest/m-p/218266#M84263</guid>
      <dc:creator>JonathanSneep</dc:creator>
      <dc:date>2018-10-11T22:59:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the nifi processor properties with nifi rest api?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-change-the-nifi-processor-properties-with-nifi-rest/m-p/218267#M84264</link>
      <description>&lt;P&gt;@Jonathan Sneep &lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/articles/87217/change-nifi-flow-using-rest-api-part-1.html"&gt;https://community.hortonworks.com/articles/87217/change-nifi-flow-using-rest-api-part-1.html&lt;/A&gt; as per step 7 I used the below command :&lt;/P&gt;&lt;P&gt;curl -X PUT -H 'Content-Type: application/json' -d '{"component":{"id":"1ffd1b86-0165-1000-ffff-ffffe8f36d71","name":"GetFile","config":{"Input Directory":"/tmp/hortontest","Keep Source File":"false"},"revision":{"clientId":"5f10fbca-0166-1000-ae68-13829a991131","version":2}}' &lt;A href="http://nifinode:9090/nifi-api/processors/1ffcfa18-0165-1000-ffff-ffffa779f243" target="_blank"&gt;http://nifinode:9090/nifi-api/processors/1ffcfa18-0165-1000-ffff-ffffa779f243&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Output:&lt;/P&gt;&lt;P&gt;Unrecognized field "Input Directory" (class org.apache.nifi.web.api.dto.ProcessorConfigDTO), not marked as ignorable (17 known properties: "yieldDuration", "descriptors", "runDurationMillis", "concurrentlySchedulableTaskCount", "schedulingStrategy", "autoTerminatedRelationships", "customUiUrl", "lossTolerant", "properties", "comments", "schedulingPeriod", "defaultConcurrentTasks", "annotationData", "executionNode", "penaltyDuration", "defaultSchedulingPeriod", "bulletinLevel"]) at [Source: (org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$UnCloseableInputStream); line: 1, column: 105] (through reference chain: org.apache.nifi.web.api.entity.ProcessorEntity["component"]-&amp;gt;org.apache.nifi.web.api.dto.ProcessorDTO["config"]-&amp;gt;org.apache.nifi.web.api.dto.ProcessorConfigDTO["Input Directory"])&lt;/P&gt;</description>
      <pubDate>Thu, 11 Oct 2018 23:47:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-change-the-nifi-processor-properties-with-nifi-rest/m-p/218267#M84264</guid>
      <dc:creator>Jasthi</dc:creator>
      <dc:date>2018-10-11T23:47:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the nifi processor properties with nifi rest api?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-change-the-nifi-processor-properties-with-nifi-rest/m-p/218268#M84265</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/47409/jvnath77.html" nodeid="47409"&gt;@Veerendra Nath  Jasthi&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Yeah, that doesn't work because our format should be slightly different. Try this, I just tested and it works fine;&lt;/P&gt;&lt;PRE&gt;curl -i -X PUT -H 'Content-Type: application/json' &lt;A href="http://&amp;lt;nifi-host&amp;gt;:9090/nifi-api/processors/6391462d-0166-1000-0000-000002b215e0" target="_blank"&gt;http://&amp;lt;nifi-host&amp;gt;:9090/nifi-api/processors/6391462d-0166-1000-0000-000002b215e0&lt;/A&gt; -d '{"revision":{"clientId":"63911e66-0166-1000-3f04-f0e4a96a47da","version":"4"},"component":{"id":"6391462d-0166-1000-0000-000002b215e0","config":{"properties":{"Input Directory":"/some/new/dir"}}}}'&lt;/PRE&gt;&lt;P&gt;PS. if you found my answers helpful, please click accept answer &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Oct 2018 13:40:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-change-the-nifi-processor-properties-with-nifi-rest/m-p/218268#M84265</guid>
      <dc:creator>JonathanSneep</dc:creator>
      <dc:date>2018-10-12T13:40:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the nifi processor properties with nifi rest api?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-change-the-nifi-processor-properties-with-nifi-rest/m-p/218269#M84266</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/84313/jsneep.html"&gt;&lt;IMG alt="avatar image" src="https://ip1.i.lithium.com/c78453cc50e8879acdf625102df9938fa2e75f96/68747470733a2f2f636f6d6d756e6974792e686f72746f6e776f726b732e636f6d2f75736572732f38343331332f70686f746f2f766965772e68746d6c3f733d3834" style="border-width: 4px; border-style: solid; border-color: rgb(204, 204, 204); margin-bottom: 8px; width: 100px;" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/users/84313/jsneep.html"&gt;Jonathan Sneep&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Thank you so much for help it is working now.....&lt;/P&gt;</description>
      <pubDate>Fri, 12 Oct 2018 20:57:34 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-change-the-nifi-processor-properties-with-nifi-rest/m-p/218269#M84266</guid>
      <dc:creator>Jasthi</dc:creator>
      <dc:date>2018-10-12T20:57:34Z</dc:date>
    </item>
  </channel>
</rss>

