<?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 Relative path in absolute URI error in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Relative-path-in-absolute-URI-error/m-p/141720#M56322</link>
    <description>&lt;P&gt;I am attempting to use the UpdateAttribute processor to update the filename of my incoming files dynamically according to date.  I am getting this error on the PutHDFS processor: Relative path in absolute URI: (then it has the code Im using to create the relative path).  I have uploaded screenshots of both my UpdateAttribute and PutHDFS processors config page as well as a screenshot of the error&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="13296-screen-shot-2017-03-06-at-31850-pm.png" style="width: 764px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/21710i6019F7879395DC06/image-size/medium?v=v2&amp;amp;px=400" role="button" title="13296-screen-shot-2017-03-06-at-31850-pm.png" alt="13296-screen-shot-2017-03-06-at-31850-pm.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="13298-screen-shot-2017-03-06-at-31912-pm.png" style="width: 754px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/21711i72497127B8715564/image-size/medium?v=v2&amp;amp;px=400" role="button" title="13298-screen-shot-2017-03-06-at-31912-pm.png" alt="13298-screen-shot-2017-03-06-at-31912-pm.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="13299-screen-shot-2017-03-06-at-32142-pm.png" style="width: 527px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/21712iCFAE402D227047F1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="13299-screen-shot-2017-03-06-at-32142-pm.png" alt="13299-screen-shot-2017-03-06-at-32142-pm.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 19 Aug 2019 08:13:21 GMT</pubDate>
    <dc:creator>elloyd</dc:creator>
    <dc:date>2019-08-19T08:13:21Z</dc:date>
    <item>
      <title>Relative path in absolute URI error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Relative-path-in-absolute-URI-error/m-p/141720#M56322</link>
      <description>&lt;P&gt;I am attempting to use the UpdateAttribute processor to update the filename of my incoming files dynamically according to date.  I am getting this error on the PutHDFS processor: Relative path in absolute URI: (then it has the code Im using to create the relative path).  I have uploaded screenshots of both my UpdateAttribute and PutHDFS processors config page as well as a screenshot of the error&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="13296-screen-shot-2017-03-06-at-31850-pm.png" style="width: 764px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/21710i6019F7879395DC06/image-size/medium?v=v2&amp;amp;px=400" role="button" title="13296-screen-shot-2017-03-06-at-31850-pm.png" alt="13296-screen-shot-2017-03-06-at-31850-pm.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="13298-screen-shot-2017-03-06-at-31912-pm.png" style="width: 754px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/21711i72497127B8715564/image-size/medium?v=v2&amp;amp;px=400" role="button" title="13298-screen-shot-2017-03-06-at-31912-pm.png" alt="13298-screen-shot-2017-03-06-at-31912-pm.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="13299-screen-shot-2017-03-06-at-32142-pm.png" style="width: 527px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/21712iCFAE402D227047F1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="13299-screen-shot-2017-03-06-at-32142-pm.png" alt="13299-screen-shot-2017-03-06-at-32142-pm.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 08:13:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Relative-path-in-absolute-URI-error/m-p/141720#M56322</guid>
      <dc:creator>elloyd</dc:creator>
      <dc:date>2019-08-19T08:13:21Z</dc:date>
    </item>
    <item>
      <title>Re: Relative path in absolute URI error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Relative-path-in-absolute-URI-error/m-p/141721#M56323</link>
      <description>&lt;P&gt;Can you verify that after the UpdateAttribute processor the "filename" attribute is set correctly?&lt;/P&gt;&lt;P&gt;You could do this by either sticking a LogAttribute processor between UpdateAttribute and PutHDFS, or by stopping PutHDFS and listing the queue before it, and looking at the attributes of one of the flow files.&lt;/P&gt;&lt;P&gt;I think that maybe the expression was somehow entered incorrectly in UpdateAttribute (possibly copied/pasted) because in the error message its showing your closing bracket as %7D. I would try going into UpdateAttribute and editing the filename property and deleting and retyping the closing bracket at the end of the expression to see what happens.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Mar 2017 04:56:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Relative-path-in-absolute-URI-error/m-p/141721#M56323</guid>
      <dc:creator>bbende</dc:creator>
      <dc:date>2017-03-07T04:56:08Z</dc:date>
    </item>
    <item>
      <title>Re: Relative path in absolute URI error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Relative-path-in-absolute-URI-error/m-p/141722#M56324</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/15261/elloyd.html" nodeid="15261"&gt;@Eric Lloyd&lt;/A&gt;&lt;P&gt;Start troubleshooting your flow by stepping a FlowFile through one processor at a time.  Try right clicking on the connections and select "list queue".  Clicking the "details" icon to the far left of a FlowFile in the queue list to get details of that FlowFile in that connection.

Does the filename look correct?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;</description>
      <pubDate>Tue, 07 Mar 2017 05:02:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Relative-path-in-absolute-URI-error/m-p/141722#M56324</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2017-03-07T05:02:59Z</dc:date>
    </item>
    <item>
      <title>Re: Relative path in absolute URI error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Relative-path-in-absolute-URI-error/m-p/141723#M56325</link>
      <description>&lt;P&gt;The filename attribute set in the UpdateAttribute processor looks to have the wrong quote character, probably a backtick instead of a single quote. &lt;/P&gt;&lt;P&gt;You can tell by the colour of the trailing ')}'; The ')' is the rusty string colour instead of the control character black, and the '}' is bright red, indicating an error instead of the attribute grey.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Mar 2017 16:58:12 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Relative-path-in-absolute-URI-error/m-p/141723#M56325</guid>
      <dc:creator>dchaffey</dc:creator>
      <dc:date>2017-03-07T16:58:12Z</dc:date>
    </item>
    <item>
      <title>Re: Relative path in absolute URI error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Relative-path-in-absolute-URI-error/m-p/141724#M56326</link>
      <description>&lt;P&gt;Great catch.  I fixed the incorrect quote character but still getting the same error on PutHDFS&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2017 00:21:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Relative-path-in-absolute-URI-error/m-p/141724#M56326</guid>
      <dc:creator>elloyd</dc:creator>
      <dc:date>2017-03-08T00:21:54Z</dc:date>
    </item>
    <item>
      <title>Re: Relative path in absolute URI error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Relative-path-in-absolute-URI-error/m-p/141725#M56327</link>
      <description>&lt;P&gt;Well, I have altered the text in the filename attribute so that there isn't any errors but still getting the same error in PutHDFS.  It does look slightly different now (see screenshot)  it is producing the correct filename when I look at the list queue and the output of the filename in the error (with the odd exception there is a dot before the first letter of the filename... not sure if thats the issue)&lt;/P&gt;&lt;P&gt;A consideration was possibly that the I was creating the directory structure dynamically in PutHDFS (see original screenshot) but I changed it to a non-dynamic directory specification and it still produced the same error.  &lt;/P&gt;&lt;P&gt;Its interesting to me that the error is produced on the PutHDFS processor yet its complaining about the filename that is dynamically created in UpdateAttribute.&lt;/P&gt;&lt;P&gt;I have attached more screenshots.  I appreciate any help.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="13333-screen-shot-2017-03-07-at-112846-am.png" style="width: 743px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/21707i195202F7568C384C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="13333-screen-shot-2017-03-07-at-112846-am.png" alt="13333-screen-shot-2017-03-07-at-112846-am.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="13334-screen-shot-2017-03-07-at-112904-am.png" style="width: 526px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/21708i11BA34019817FC73/image-size/medium?v=v2&amp;amp;px=400" role="button" title="13334-screen-shot-2017-03-07-at-112904-am.png" alt="13334-screen-shot-2017-03-07-at-112904-am.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="13335-screen-shot-2017-03-07-at-113344-am.png" style="width: 191px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/21709iFDB055472E0A35C6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="13335-screen-shot-2017-03-07-at-113344-am.png" alt="13335-screen-shot-2017-03-07-at-113344-am.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 08:13:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Relative-path-in-absolute-URI-error/m-p/141725#M56327</guid>
      <dc:creator>elloyd</dc:creator>
      <dc:date>2019-08-19T08:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: Relative path in absolute URI error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Relative-path-in-absolute-URI-error/m-p/141726#M56328</link>
      <description>&lt;P&gt;I haven't tested this recently, but I'm pretty sure that it won't like the ':' in the filename, and having spaces is bad practice generally.
I suggest you use 'yyyy-MM-dd_HH-mm-ss'&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2017 01:07:00 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Relative-path-in-absolute-URI-error/m-p/141726#M56328</guid>
      <dc:creator>dchaffey</dc:creator>
      <dc:date>2017-03-08T01:07:00Z</dc:date>
    </item>
    <item>
      <title>Re: Relative path in absolute URI error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Relative-path-in-absolute-URI-error/m-p/141727#M56329</link>
      <description>&lt;P&gt;That was it!   Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2017 02:25:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Relative-path-in-absolute-URI-error/m-p/141727#M56329</guid>
      <dc:creator>elloyd</dc:creator>
      <dc:date>2017-03-08T02:25:31Z</dc:date>
    </item>
    <item>
      <title>Re: Relative path in absolute URI error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Relative-path-in-absolute-URI-error/m-p/141728#M56330</link>
      <description>&lt;P&gt;I accepted this because your solution was in a comment down below, for future reference for others.  Using the colon in the filename was the problem.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2017 02:26:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Relative-path-in-absolute-URI-error/m-p/141728#M56330</guid>
      <dc:creator>elloyd</dc:creator>
      <dc:date>2017-03-08T02:26:09Z</dc:date>
    </item>
  </channel>
</rss>

