<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:46:07 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>OpenDaylight JIRA</title>
    <link>https://jira.opendaylight.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>8.20.10</version>
        <build-number>820010</build-number>
        <build-date>22-06-2022</build-date>
    </build-info>


<item>
            <title>[TSDR-8] tsdr:list FlowTablStats command hungs the karaf console on HBase DataStore</title>
                <link>https://jira.opendaylight.org/browse/TSDR-8</link>
                <project id="10179" key="TSDR">tsdr</project>
                    <description>&lt;p&gt;Environment:&lt;br/&gt;
Build#2135 (Integration Build)&lt;br/&gt;
Topology#Tree&lt;br/&gt;
sudo mn --topo tree,5 --switch ovsk,protocols=OpenFlow13 --controller remote,ip=10.16.148.232&lt;/p&gt;


&lt;p&gt;Problem:&lt;br/&gt;
On HBase datastore,&quot;tsdr:list FlowTableStats&quot; doesn&apos;t returns the output on karaf console.Its hungs karaf console.&lt;/p&gt;

&lt;p&gt;Step to Reproduce:&lt;br/&gt;
1.Install odl-tsdr-hbase on ODL controller&lt;br/&gt;
2.Once HBase collector started,start the tree topology (as given in environment) on mininet VM &lt;span class=&quot;error&quot;&gt;&amp;#91;Note: Mininet VM running on remotely&amp;#93;&lt;/span&gt;&lt;br/&gt;
3.Wait for 1~1.30 hours collection.&lt;br/&gt;
4.Issue &quot;tsdr:list FlowTableStats&quot; on karaf console doesn&apos;t return output/thrown any error.Waited for almost 16 minutes.&lt;/p&gt;

&lt;p&gt;However &quot;tsdr:list Portstats&quot; returns output  on 75 seconds.&lt;br/&gt;
         &quot;tsdr:list FlowStats&quot; returns output  on 30 seconds &lt;/p&gt;

&lt;p&gt;TSDR collection doesn&apos;t broken and also updated in HBase DB.&lt;/p&gt;

&lt;p&gt;Note:&lt;br/&gt;
===&lt;br/&gt;
During problematic time HBase row counts are,&lt;br/&gt;
FlowTableMetrics : 2255901 rows&lt;br/&gt;
InterfaceMetrics: 127320  rows&lt;br/&gt;
FlowMetrics:      27716  rows&lt;/p&gt;</description>
                <environment>&lt;p&gt;Operating System: All&lt;br/&gt;
Platform: All&lt;/p&gt;</environment>
        <key id="26772">TSDR-8</key>
            <summary>tsdr:list FlowTablStats command hungs the karaf console on HBase DataStore</summary>
                <type id="10104" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10303&amp;avatarType=issuetype">Bug</type>
                                                <status id="10004" iconUrl="https://jira.opendaylight.org/images/icons/status_generic.gif" description="">Verified</status>
                    <statusCategory id="3" key="done" colorName="green"/>
                                    <resolution id="10000">Done</resolution>
                                        <assignee username="yulingchen54@gmail.com">YuLing Chen</assignee>
                                    <reporter username="vasanthan_balasubram@dell.com">Vasanthan Balasubramaniyan</reporter>
                        <labels>
                    </labels>
                <created>Tue, 2 Jun 2015 09:40:57 +0000</created>
                <updated>Fri, 19 Jun 2015 05:34:44 +0000</updated>
                            <resolved>Fri, 19 Jun 2015 05:34:44 +0000</resolved>
                                    <version>unspecified</version>
                                                    <component>General</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="53774" author="hariharan_sethuraman@dell.com" created="Tue, 16 Jun 2015 06:15:10 +0000"  >&lt;p&gt;Reduced the maximum result size from default (java.lang.Long.MAX_VALUE) to 1000 (Bytes). Unit tested against 4.5 lakhs entries which took 7-8 seconds to respond. This response time is consistent irrespective of entries count.&lt;/p&gt;</comment>
                            <comment id="53778" author="vasanthan_balasubram@dell.com" created="Tue, 16 Jun 2015 17:12:39 +0000"  >&lt;p&gt;Attachment hs_err_pid21378.log has been added with description: crash hs_err_pid log&lt;/p&gt;</comment>
                            <comment id="53775" author="vasanthan_balasubram@dell.com" created="Tue, 16 Jun 2015 17:13:31 +0000"  >&lt;p&gt;On RC1 build: distribution-karaf-0.3.0-Lithium-RC1-v201506160017&lt;/p&gt;

&lt;p&gt;Still this issue reproduciable&lt;br/&gt;
1.Sometimes generated outofMemory&lt;br/&gt;
2.Sometime crashed the ODL Controller.&lt;/p&gt;</comment>
                            <comment id="53776" author="yulingchen54@gmail.com" created="Wed, 17 Jun 2015 21:05:21 +0000"  >&lt;p&gt;The root cause was that 1) when inserting into hbase, for each row we requested a connection to hbase and 2) we didn&apos;t return the connection to the connection pool after the thread is done. This caused a huge number of insertion threads in memory that led to OOM issue.&lt;/p&gt;

&lt;p&gt;Fixes: 1) get one connection and insert the list of rows into hbase, 2) return the connection to the pool so that there would not be so many insertion threads in memory that caused the OOM issue.&lt;/p&gt;</comment>
                            <comment id="53777" author="vasanthan_balasubram@dell.com" created="Fri, 19 Jun 2015 05:34:44 +0000"  >&lt;p&gt;Environment:&lt;br/&gt;
Build#RC1 (distribution-karaf-0.3.0-Lithium-RC1-v201506180115.zip)&lt;br/&gt;
Topology: Tree&lt;br/&gt;
sudo mn --controller=remote,ip=10.16.148.232 --topo=tree,6 --switch ovsk,protocols=OpenFlow13&lt;br/&gt;
DataStore: odl-tsdr-hbase&lt;/p&gt;

&lt;p&gt;Verification details&lt;br/&gt;
====================&lt;br/&gt;
Tested with 64 ovsk switches with collection of ~18 hours.&lt;br/&gt;
Karaf console command respond within 5 seconds (after 18 hrs)&lt;/p&gt;

&lt;p&gt;After ~18 hours datastore records (in hbase),&lt;/p&gt;

&lt;p&gt;PortStats : 4015288 row(s)&lt;br/&gt;
FlowTableStats: 64304667 row(s)&lt;br/&gt;
FlowStats: 841882 row(s)&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                            <attachment id="13770" name="hs_err_pid21378.log" size="1602" author="vasanthan_balasubram@dell.com" created="Tue, 16 Jun 2015 17:12:39 +0000"/>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                            <customfield id="customfield_11400" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10208" key="com.atlassian.jira.plugin.system.customfieldtypes:textfield">
                        <customfieldname>External issue ID</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>3542</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10201" key="com.atlassian.jira.plugin.system.customfieldtypes:url">
                        <customfieldname>External issue URL</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue><![CDATA[https://bugs.opendaylight.org/show_bug.cgi?id=3542]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_10206" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Issue Type</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10300"><![CDATA[Bug]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_10204" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>ODL SR Target Milestone</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10377"><![CDATA[Lithium-RC2]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                        <customfield id="customfield_10202" key="com.atlassian.jira.plugin.system.customfieldtypes:select">
                        <customfieldname>Priority</customfieldname>
                        <customfieldvalues>
                                <customfieldvalue key="10312"><![CDATA[High]]></customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i02vdz:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>