<?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 why is stellar returning empty profile values? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/why-is-stellar-returning-empty-profile-values/m-p/210460#M71914</link>
    <description>&lt;P&gt;I created a squid telemetry following &lt;A href="https://cwiki.apache.org/confluence/display/METRON/Profiling+Your+Streams" target="_blank"&gt;https://cwiki.apache.org/confluence/display/METRON/Profiling+Your+Streams&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I created 2 profiles&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;"profiles": [&lt;BR /&gt;{&lt;BR /&gt;"profile": "squid-miss",&lt;BR /&gt;"foreach": "ip_src_addr",&lt;BR /&gt;"onlyif": "source.type == 'squid' and action == 'TCP_MISS'",&lt;BR /&gt;"update": { "m": "STATS_ADD(m, 1)" },&lt;BR /&gt;"result": "m"&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"profile": "url-length",&lt;BR /&gt;"foreach": "ip_src_addr",&lt;BR /&gt;"onlyif": "source.type == 'squid'",&lt;BR /&gt;"update": { "m": "STATS_ADD(m, LENGTH(url))" },&lt;BR /&gt;"result": "m"&lt;BR /&gt;}&lt;BR /&gt;]&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;I can see the profile values when I scan hbase. However when I run&lt;/P&gt;&lt;P&gt;p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #000000; background-color: #ffffff}
span.s1 {font-variant-ligatures: no-common-ligatures}&lt;/P&gt;&lt;P&gt;PROFILE_GET("url-length", "127.0.0.1", PROFILE_FIXED(5,"HOURS"))&lt;/P&gt;&lt;P&gt;I get an empty result. This is tru for both the profiles and all time windows. There is no other error. How can I get profile values using stellar?&lt;/P&gt;</description>
    <pubDate>Tue, 28 Nov 2017 21:34:28 GMT</pubDate>
    <dc:creator>jnarayanan</dc:creator>
    <dc:date>2017-11-28T21:34:28Z</dc:date>
    <item>
      <title>why is stellar returning empty profile values?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/why-is-stellar-returning-empty-profile-values/m-p/210460#M71914</link>
      <description>&lt;P&gt;I created a squid telemetry following &lt;A href="https://cwiki.apache.org/confluence/display/METRON/Profiling+Your+Streams" target="_blank"&gt;https://cwiki.apache.org/confluence/display/METRON/Profiling+Your+Streams&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I created 2 profiles&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;"profiles": [&lt;BR /&gt;{&lt;BR /&gt;"profile": "squid-miss",&lt;BR /&gt;"foreach": "ip_src_addr",&lt;BR /&gt;"onlyif": "source.type == 'squid' and action == 'TCP_MISS'",&lt;BR /&gt;"update": { "m": "STATS_ADD(m, 1)" },&lt;BR /&gt;"result": "m"&lt;BR /&gt;},&lt;BR /&gt;{&lt;BR /&gt;"profile": "url-length",&lt;BR /&gt;"foreach": "ip_src_addr",&lt;BR /&gt;"onlyif": "source.type == 'squid'",&lt;BR /&gt;"update": { "m": "STATS_ADD(m, LENGTH(url))" },&lt;BR /&gt;"result": "m"&lt;BR /&gt;}&lt;BR /&gt;]&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;I can see the profile values when I scan hbase. However when I run&lt;/P&gt;&lt;P&gt;p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 11.0px Menlo; color: #000000; background-color: #ffffff}
span.s1 {font-variant-ligatures: no-common-ligatures}&lt;/P&gt;&lt;P&gt;PROFILE_GET("url-length", "127.0.0.1", PROFILE_FIXED(5,"HOURS"))&lt;/P&gt;&lt;P&gt;I get an empty result. This is tru for both the profiles and all time windows. There is no other error. How can I get profile values using stellar?&lt;/P&gt;</description>
      <pubDate>Tue, 28 Nov 2017 21:34:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/why-is-stellar-returning-empty-profile-values/m-p/210460#M71914</guid>
      <dc:creator>jnarayanan</dc:creator>
      <dc:date>2017-11-28T21:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: why is stellar returning empty profile values?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/why-is-stellar-returning-empty-profile-values/m-p/210461#M71915</link>
      <description>&lt;P&gt;Did you change the profile duration of the Profiler?  By default, it is 15 minutes, but in the link that you sent it tells you to change the duration to 1 minute.  I would guess that your Profiler configuration probably looks like this.&lt;/P&gt;&lt;PRE&gt;profiler.period.duration=1 
profiler.period.duration.units=MINUTES&lt;/PRE&gt;&lt;P&gt;If so, you also need to change the profiler duration on the client side to match.  You can do this in a couple different ways. For example, change the client-side equivalent settings in global settings first, then fetch the data.&lt;/P&gt;&lt;PRE&gt;%define profiler.client.period.duration := "1"
%define profiler.client.period.duration.units := "MINUTES"
PROFILE_GET("url-length", "127.0.0.1", PROFILE_FIXED(5,"HOURS"))
&lt;/PRE&gt;&lt;P&gt;Or simply override those values when fetching the data. &lt;/P&gt;&lt;PRE&gt;PROFILE_GET("url-length", "127.0.0.1", PROFILE_FIXED(5,"HOURS", {'profiler.client.period.duration' : '1', 'profiler.client.period.duration.units' : 'MINUTES'})&lt;/PRE&gt;</description>
      <pubDate>Wed, 29 Nov 2017 02:41:20 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/why-is-stellar-returning-empty-profile-values/m-p/210461#M71915</guid>
      <dc:creator>nallen</dc:creator>
      <dc:date>2017-11-29T02:41:20Z</dc:date>
    </item>
    <item>
      <title>Re: why is stellar returning empty profile values?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/why-is-stellar-returning-empty-profile-values/m-p/210462#M71916</link>
      <description>&lt;P&gt;this works. Thanks a lot. I have spent hours trying to figure out why the profile is in hbase but not showing up in stellar.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2017 12:48:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/why-is-stellar-returning-empty-profile-values/m-p/210462#M71916</guid>
      <dc:creator>jnarayanan</dc:creator>
      <dc:date>2017-11-29T12:48:21Z</dc:date>
    </item>
    <item>
      <title>Re: why is stellar returning empty profile values?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/why-is-stellar-returning-empty-profile-values/m-p/210463#M71917</link>
      <description>&lt;P&gt;Sorry about the pain.  Feel free to share comments and suggestions as you use the tool.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2017 23:12:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/why-is-stellar-returning-empty-profile-values/m-p/210463#M71917</guid>
      <dc:creator>nallen</dc:creator>
      <dc:date>2017-11-29T23:12:07Z</dc:date>
    </item>
  </channel>
</rss>

