<?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: HDF 2.1:   Warnings, frequently, can't track down in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDF-2-1-Warnings-frequently-can-t-track-down/m-p/152635#M52953</link>
    <description>&lt;P&gt;Tim,&lt;/P&gt;&lt;P&gt;It looks like the regex you're using might need more work to account for optional matches. The ReplaceText processor is complaining about missing match groups and has no context to do the replacement.&lt;/P&gt;</description>
    <pubDate>Tue, 31 Jan 2017 01:12:43 GMT</pubDate>
    <dc:creator>andrewg</dc:creator>
    <dc:date>2017-01-31T01:12:43Z</dc:date>
    <item>
      <title>HDF 2.1:   Warnings, frequently, can't track down</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDF-2-1-Warnings-frequently-can-t-track-down/m-p/152634#M52952</link>
      <description>&lt;P&gt;2017-01-30 16:38:39,425 WARN [Timer-Driven Process Thread-9] o.a.n.c.t.ContinuallyRunProcessorTask
java.lang.IndexOutOfBoundsException: No group 1
at java.util.regex.Matcher.start(Matcher.java:375) ~[na:1.8.0_77]
at java.util.regex.Matcher.appendReplacement(Matcher.java:880) ~[na:1.8.0_77]
at java.util.regex.Matcher.replaceAll(Matcher.java:955) ~[na:1.8.0_77]
at java.lang.String.replaceAll(String.java:2223) ~[na:1.8.0_77]
at org.apache.nifi.processors.standard.ReplaceText$RegexReplace.replace(ReplaceText.java:518) ~[na:na]
at org.apache.nifi.processors.standard.ReplaceText.onTrigger(ReplaceText.java:263) ~[na:na]
at org.apache.nifi.processor.AbstractProcessor.onTrigger(AbstractProcessor.java:27) ~[nifi-api-1.1.0.2.1.1.0-2.jar:1.1.0.2.1.1.0-2]
at org.apache.nifi.controller.StandardProcessorNode.onTrigger(StandardProcessorNode.java:1099) ~[nifi-framework-core-1.1.0.2.1.1.0-2.jar:1.1.0.2.1.1.0-2]
at org.apache.nifi.controller.tasks.ContinuallyRunProcessorTask.call(ContinuallyRunProcessorTask.java:136) [nifi-framework-core-1.1.0.2.1.1.0-2.jar:1.1.0.2.1.1.0-2]
at org.apache.nifi.controller.tasks.ContinuallyRunProcessorTask.call(ContinuallyRunProcessorTask.java:47) [nifi-framework-core-1.1.0.2.1.1.0-2.jar:1.1.0.2.1.1.0-2]
at org.apache.nifi.controller.scheduling.TimerDrivenSchedulingAgent$1.run(TimerDrivenSchedulingAgent.java:132) [nifi-framework-core-1.1.0.2.1.1.0-2.jar:1.1.0.2.1.1.0-2]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_77]
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [na:1.8.0_77]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [na:1.8.0_77]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [na:1.8.0_77]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_77]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_77]
at java.lang.Thread.run(Thread.java:745) [na:1.8.0_77]&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2026 12:25:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDF-2-1-Warnings-frequently-can-t-track-down/m-p/152634#M52952</guid>
      <dc:creator>TimothySpann</dc:creator>
      <dc:date>2026-04-21T12:25:29Z</dc:date>
    </item>
    <item>
      <title>Re: HDF 2.1:   Warnings, frequently, can't track down</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDF-2-1-Warnings-frequently-can-t-track-down/m-p/152635#M52953</link>
      <description>&lt;P&gt;Tim,&lt;/P&gt;&lt;P&gt;It looks like the regex you're using might need more work to account for optional matches. The ReplaceText processor is complaining about missing match groups and has no context to do the replacement.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Jan 2017 01:12:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDF-2-1-Warnings-frequently-can-t-track-down/m-p/152635#M52953</guid>
      <dc:creator>andrewg</dc:creator>
      <dc:date>2017-01-31T01:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: HDF 2.1:   Warnings, frequently, can't track down</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDF-2-1-Warnings-frequently-can-t-track-down/m-p/152636#M52954</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/9304/tspann.html" nodeid="9304" target="_blank"&gt;@Timothy Spann&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;I don't have a solution, yet, but I think that ReplaceText is doing recursive replacement of some sort.  It is replacing the value with the requested attribute, but it is then evaluating that replacement again, including a new $2, but there is no group 2 captured in the search.&lt;/P&gt;&lt;P&gt;I find that this happens if the attribute I'm replacing has a dollar sign followed by a number in it.  For instance, the following replace text is going to put the user.name attribute into the flowfile:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="11983-screen-shot-2017-02-01-at-42944-pm.png" style="width: 1426px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/21095i7FDF84107EECAC6F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="11983-screen-shot-2017-02-01-at-42944-pm.png" alt="11983-screen-shot-2017-02-01-at-42944-pm.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;However, when the attribute has a $2 in it, I get an IndexOutOfBounds error and the offending flowfile stays in the upstream queue.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="11984-screen-shot-2017-02-01-at-43331-pm.png" style="width: 800px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/21096iBE0F4677C3C8328F/image-size/medium?v=v2&amp;amp;px=400" role="button" title="11984-screen-shot-2017-02-01-at-43331-pm.png" alt="11984-screen-shot-2017-02-01-at-43331-pm.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Here are the flowfile attributes that show a $2 in the middle of the user.name attribute.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="11985-screen-shot-2017-02-01-at-43116-pm.png" style="width: 1180px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/21097iC04A2A6DCFD9D7A0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="11985-screen-shot-2017-02-01-at-43116-pm.png" alt="11985-screen-shot-2017-02-01-at-43116-pm.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I get the same issue with "no group 6" if the name has $6 in it.&lt;/P&gt;&lt;P&gt;I'm going to try some of the quoting functions to see if that changes the behavior.&lt;/P&gt;&lt;P&gt;John&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 12:45:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/HDF-2-1-Warnings-frequently-can-t-track-down/m-p/152636#M52954</guid>
      <dc:creator>jwhitmore</dc:creator>
      <dc:date>2019-08-18T12:45:25Z</dc:date>
    </item>
  </channel>
</rss>

