<?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 SAM cannot  run properly. Running Any test case gives NoSuchMethodException and StorageException !! in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/SAM-cannot-run-properly-Running-Any-test-case-gives/m-p/242582#M204383</link>
    <description>&lt;P&gt;
 &lt;A rel="user" href="https://community.cloudera.com/users/172/schintalapani.html" nodeid="172" target="_blank"&gt;@Sriharsha Chintalapani&lt;/A&gt; &lt;A rel="user" href="https://community.cloudera.com/users/2564/aiyer.html" nodeid="2564" target="_blank"&gt;@Arun Mahadevan&lt;/A&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;A rel="user" href="https://community.cloudera.com/users/535/pshah.html" nodeid="535" target="_blank"&gt;@pshah&lt;/A&gt;&lt;A rel="user" href="https://community.cloudera.com/users/18929/yaswanthmuppireddy.html" nodeid="18929" target="_blank"&gt;@Shu&lt;/A&gt;&lt;A rel="user" href="https://community.cloudera.com/users/11/gvetticaden.html" nodeid="11" target="_blank"&gt;@George Vetticaden&lt;/A&gt; &lt;A rel="user" href="https://community.cloudera.com/users/10969/mqureshi.html" nodeid="10969" target="_blank"&gt;@mqureshi&lt;/A&gt; &lt;A rel="user" href="https://community.cloudera.com/users/11311/apappu.html" nodeid="11311" target="_blank"&gt;@amarnath reddy pappu&lt;/A&gt;&lt;A rel="user" href="https://community.cloudera.com/users/62418/sreecharanreddy94.html" nodeid="62418" target="_blank"&gt;@sree charan&lt;/A&gt; &lt;A rel="user" href="https://community.cloudera.com/users/1146/bsuresh.html" nodeid="1146" target="_blank"&gt;@Suresh Bonam&lt;/A&gt; &lt;A rel="user" href="https://community.cloudera.com/users/2648/sshimpi.html" nodeid="2648" target="_blank"&gt;@Sagar Shimpi&lt;/A&gt; &lt;A rel="user" href="https://community.cloudera.com/users/90/sduggana.html" nodeid="90" target="_blank"&gt;@Satish Duggana&lt;/A&gt; &lt;A rel="user" href="https://community.cloudera.com/users/10159/snemuri.html" nodeid="10159" target="_blank"&gt;@Sandeep Nemuri&lt;/A&gt; &lt;A rel="user" href="https://community.cloudera.com/users/15863/satishsvap.html" nodeid="15863" target="_blank"&gt;@Satish Anjaneyappa&lt;/A&gt;  &lt;BR /&gt;    &lt;A rel="user" href="https://community.cloudera.com/users/14637/sevakrishit.html" nodeid="14637" target="_blank"&gt;@Rishit shah&lt;/A&gt; &lt;A rel="user" href="https://community.cloudera.com/users/13945/rbalakrishnantce.html" nodeid="13945" target="_blank"&gt;@Balakrishnan Ramasamy&lt;/A&gt;  &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I am running a basic Kafka source and sink with one rule in between&lt;/P&gt;&lt;P&gt;
 &lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="96775-screenshot-from-2019-01-22-14-16-11.png" style="width: 939px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/13571iBABB93507FC95C80/image-size/medium?v=v2&amp;amp;px=400" role="button" title="96775-screenshot-from-2019-01-22-14-16-11.png" alt="96775-screenshot-from-2019-01-22-14-16-11.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;
 both have different schemas and i am using a console consumer to read out the sink .&lt;BR /&gt;
 While I am adding the test data in the test case it throws the following exception :-&lt;/P&gt;
&lt;PRE&gt; Caused by: com.hortonworks.registries.storage.exception.StorageException: java.lang.NoSuchMethodException: com.hortonworks.streamline.streams.catalog.TopologyTestRunCaseSource.setOccurrence(javalang.Long) at com.hortonworks.registries.storage.catalog.AbstractStorable.fromMap(AbstractStorable.java:93) atcom.hortonworks.registries.storage.impl.jdbc.provider.sql.factory.AbstractQueryExecutor$QueryExecution.getStorablesFromResultSet(AbstractQueryExecutor.java:480) at com.hortonworks.registries.storage.impl.jdbc.provider.sql.factory.AbstractQueryExecutor$QueryExecution.executeQuery(AbstractQueryExecutor.java:363) at com.hortonworks.registries.storage.impl.jdbc.provider.sql.factory.AbstractQueryExecutor.executeQuery(AbstractQueryExecutor.java:344) at com.hortonworks.registries.storage.impl.jdbc.provider.postgresql.factory.PostgresqlExecutor.select(PostgresqlExecutor.java:121) at com.hortonworks.registries.storage.impl.jdbc.JdbcStorageManager.find(JdbcStorageManager.java:128) ... 61 common frames omittedCaused by: java.lang.NoSuchMethodException: com.hortonworks.streamline.streams.catalog.TopologyTestRunCaseSource.setOccurrence(java.lang.Long)
&lt;/PRE&gt;&lt;P&gt;
 Also why I am not being able to delete the test cases ???(it throws an exception in this case as well !!!!!)&lt;/P&gt;
&lt;PRE&gt; ERROR  [2019-01-22 14:21:58.894] [dw-288 - DELETE /api/v1/catalog/topologies/2/testcases/7] c.h.s.s.s.TopologyTestRunResource -  Got exception: [StorageException] / message [com.hortonworks.registries.storage.exception.StorageException: java.lang.NoSuchMethodException: com.hortonworks.streamline.streams.catalog.TopologyTestRunCaseSource.setOccurrence(java.lang.Long)] / related resource location: [com.hortonworks.streamline.streams.service.TopologyTestRunResource.removeTestRunCase](TopologyTestRunResource.java:548) 
com.hortonworks.registries.storage.exception.StorageException: com.hortonworks.registries.storage.exception.StorageException: java.lang.NoSuchMethodException: com.hortonworks.streamline.streams.catalog.TopologyTestRunCaseSource.setOccurrence(java.lang.Long)
&lt;/PRE&gt;&lt;P&gt; Is there something wrong with my database configuration ???&lt;BR /&gt;
 I am using postgresql 9.5 which came with Ambari (I used the embedded DB option  and created the registry and streamline DBs in the same)&lt;BR /&gt;
 Any help is much appreciated !!!!&lt;/P&gt;</description>
    <pubDate>Tue, 21 Apr 2026 11:38:58 GMT</pubDate>
    <dc:creator>qwikbaba</dc:creator>
    <dc:date>2026-04-21T11:38:58Z</dc:date>
    <item>
      <title>SAM cannot  run properly. Running Any test case gives NoSuchMethodException and StorageException !!</title>
      <link>https://community.cloudera.com/t5/Support-Questions/SAM-cannot-run-properly-Running-Any-test-case-gives/m-p/242582#M204383</link>
      <description>&lt;P&gt;
 &lt;A rel="user" href="https://community.cloudera.com/users/172/schintalapani.html" nodeid="172" target="_blank"&gt;@Sriharsha Chintalapani&lt;/A&gt; &lt;A rel="user" href="https://community.cloudera.com/users/2564/aiyer.html" nodeid="2564" target="_blank"&gt;@Arun Mahadevan&lt;/A&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;A rel="user" href="https://community.cloudera.com/users/535/pshah.html" nodeid="535" target="_blank"&gt;@pshah&lt;/A&gt;&lt;A rel="user" href="https://community.cloudera.com/users/18929/yaswanthmuppireddy.html" nodeid="18929" target="_blank"&gt;@Shu&lt;/A&gt;&lt;A rel="user" href="https://community.cloudera.com/users/11/gvetticaden.html" nodeid="11" target="_blank"&gt;@George Vetticaden&lt;/A&gt; &lt;A rel="user" href="https://community.cloudera.com/users/10969/mqureshi.html" nodeid="10969" target="_blank"&gt;@mqureshi&lt;/A&gt; &lt;A rel="user" href="https://community.cloudera.com/users/11311/apappu.html" nodeid="11311" target="_blank"&gt;@amarnath reddy pappu&lt;/A&gt;&lt;A rel="user" href="https://community.cloudera.com/users/62418/sreecharanreddy94.html" nodeid="62418" target="_blank"&gt;@sree charan&lt;/A&gt; &lt;A rel="user" href="https://community.cloudera.com/users/1146/bsuresh.html" nodeid="1146" target="_blank"&gt;@Suresh Bonam&lt;/A&gt; &lt;A rel="user" href="https://community.cloudera.com/users/2648/sshimpi.html" nodeid="2648" target="_blank"&gt;@Sagar Shimpi&lt;/A&gt; &lt;A rel="user" href="https://community.cloudera.com/users/90/sduggana.html" nodeid="90" target="_blank"&gt;@Satish Duggana&lt;/A&gt; &lt;A rel="user" href="https://community.cloudera.com/users/10159/snemuri.html" nodeid="10159" target="_blank"&gt;@Sandeep Nemuri&lt;/A&gt; &lt;A rel="user" href="https://community.cloudera.com/users/15863/satishsvap.html" nodeid="15863" target="_blank"&gt;@Satish Anjaneyappa&lt;/A&gt;  &lt;BR /&gt;    &lt;A rel="user" href="https://community.cloudera.com/users/14637/sevakrishit.html" nodeid="14637" target="_blank"&gt;@Rishit shah&lt;/A&gt; &lt;A rel="user" href="https://community.cloudera.com/users/13945/rbalakrishnantce.html" nodeid="13945" target="_blank"&gt;@Balakrishnan Ramasamy&lt;/A&gt;  &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I am running a basic Kafka source and sink with one rule in between&lt;/P&gt;&lt;P&gt;
 &lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="96775-screenshot-from-2019-01-22-14-16-11.png" style="width: 939px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/13571iBABB93507FC95C80/image-size/medium?v=v2&amp;amp;px=400" role="button" title="96775-screenshot-from-2019-01-22-14-16-11.png" alt="96775-screenshot-from-2019-01-22-14-16-11.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;
 both have different schemas and i am using a console consumer to read out the sink .&lt;BR /&gt;
 While I am adding the test data in the test case it throws the following exception :-&lt;/P&gt;
&lt;PRE&gt; Caused by: com.hortonworks.registries.storage.exception.StorageException: java.lang.NoSuchMethodException: com.hortonworks.streamline.streams.catalog.TopologyTestRunCaseSource.setOccurrence(javalang.Long) at com.hortonworks.registries.storage.catalog.AbstractStorable.fromMap(AbstractStorable.java:93) atcom.hortonworks.registries.storage.impl.jdbc.provider.sql.factory.AbstractQueryExecutor$QueryExecution.getStorablesFromResultSet(AbstractQueryExecutor.java:480) at com.hortonworks.registries.storage.impl.jdbc.provider.sql.factory.AbstractQueryExecutor$QueryExecution.executeQuery(AbstractQueryExecutor.java:363) at com.hortonworks.registries.storage.impl.jdbc.provider.sql.factory.AbstractQueryExecutor.executeQuery(AbstractQueryExecutor.java:344) at com.hortonworks.registries.storage.impl.jdbc.provider.postgresql.factory.PostgresqlExecutor.select(PostgresqlExecutor.java:121) at com.hortonworks.registries.storage.impl.jdbc.JdbcStorageManager.find(JdbcStorageManager.java:128) ... 61 common frames omittedCaused by: java.lang.NoSuchMethodException: com.hortonworks.streamline.streams.catalog.TopologyTestRunCaseSource.setOccurrence(java.lang.Long)
&lt;/PRE&gt;&lt;P&gt;
 Also why I am not being able to delete the test cases ???(it throws an exception in this case as well !!!!!)&lt;/P&gt;
&lt;PRE&gt; ERROR  [2019-01-22 14:21:58.894] [dw-288 - DELETE /api/v1/catalog/topologies/2/testcases/7] c.h.s.s.s.TopologyTestRunResource -  Got exception: [StorageException] / message [com.hortonworks.registries.storage.exception.StorageException: java.lang.NoSuchMethodException: com.hortonworks.streamline.streams.catalog.TopologyTestRunCaseSource.setOccurrence(java.lang.Long)] / related resource location: [com.hortonworks.streamline.streams.service.TopologyTestRunResource.removeTestRunCase](TopologyTestRunResource.java:548) 
com.hortonworks.registries.storage.exception.StorageException: com.hortonworks.registries.storage.exception.StorageException: java.lang.NoSuchMethodException: com.hortonworks.streamline.streams.catalog.TopologyTestRunCaseSource.setOccurrence(java.lang.Long)
&lt;/PRE&gt;&lt;P&gt; Is there something wrong with my database configuration ???&lt;BR /&gt;
 I am using postgresql 9.5 which came with Ambari (I used the embedded DB option  and created the registry and streamline DBs in the same)&lt;BR /&gt;
 Any help is much appreciated !!!!&lt;/P&gt;</description>
      <pubDate>Tue, 21 Apr 2026 11:38:58 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/SAM-cannot-run-properly-Running-Any-test-case-gives/m-p/242582#M204383</guid>
      <dc:creator>qwikbaba</dc:creator>
      <dc:date>2026-04-21T11:38:58Z</dc:date>
    </item>
    <item>
      <title>Re: SAM cannot  run properly. Running Any test case gives NoSuchMethodException and StorageException !!</title>
      <link>https://community.cloudera.com/t5/Support-Questions/SAM-cannot-run-properly-Running-Any-test-case-gives/m-p/242583#M204384</link>
      <description>&lt;P&gt;See &lt;A href="https://community.hortonworks.com/questions/107816/unable-to-get-schema-registry-working-in-hdf-30.html" target="_blank"&gt;https://community.hortonworks.com/questions/107816/unable-to-get-schema-registry-working-in-hdf-30.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/hortonworks/registry/issues/339" target="_blank"&gt;https://github.com/hortonworks/registry/issues/339&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You need permissions to your database from SAM.   Did you install from HDF Ambari?   Did you setup the database for SAM?&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.hortonworks.com/HDPDocuments/HDF3/HDF-3.3.1/getting-started-with-streaming-analytics/content/building_an_end-to-end_stream_application.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/HDF3/HDF-3.3.1/getting-started-with-streaming-analytics/content/building_an_end-to-end_stream_application.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;SAM needs HDP&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.hortonworks.com/HDPDocuments/HDF3/HDF-3.3.1/installing-hdf-and-hdp/content/deploying_an_hdp_cluster_using_ambari.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/HDF3/HDF-3.3.1/installing-hdf-and-hdp/content/deploying_an_hdp_cluster_using_ambari.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2019 17:34:42 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/SAM-cannot-run-properly-Running-Any-test-case-gives/m-p/242583#M204384</guid>
      <dc:creator>TimothySpann</dc:creator>
      <dc:date>2019-01-24T17:34:42Z</dc:date>
    </item>
    <item>
      <title>Re: SAM cannot  run properly. Running Any test case gives NoSuchMethodException and StorageException !!</title>
      <link>https://community.cloudera.com/t5/Support-Questions/SAM-cannot-run-properly-Running-Any-test-case-gives/m-p/242584#M204385</link>
      <description>&lt;P&gt;I have installed HDF ambari  and also made the database for SAM as streamline. i cross checked in the database streamline all the data of test application is being stored by SAM and it was !!!&lt;BR /&gt;I am able to see the schemas that I have written in schema registry inside SAM when I am configuring Kafka Source and Sink.&lt;/P&gt;&lt;P&gt;Oh SAM needs HDP !!!! Is it ??? &lt;BR /&gt;I did not see in the HDF installation guide that it was necessary for SAM. I have not installed HDP or any of its components.&lt;BR /&gt;&lt;BR /&gt;Thanks for the quick reply its extremely kind of you !!&lt;BR /&gt;I will start working for the same now !!&lt;BR /&gt;They should atleast give a message during the installation that HDP is required for SAM working !!&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2019 17:34:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/SAM-cannot-run-properly-Running-Any-test-case-gives/m-p/242584#M204385</guid>
      <dc:creator>qwikbaba</dc:creator>
      <dc:date>2019-01-24T17:34:43Z</dc:date>
    </item>
    <item>
      <title>Re: SAM cannot  run properly. Running Any test case gives NoSuchMethodException and StorageException !!</title>
      <link>https://community.cloudera.com/t5/Support-Questions/SAM-cannot-run-properly-Running-Any-test-case-gives/m-p/242585#M204386</link>
      <description>&lt;P&gt;Update !!&lt;BR /&gt;The problem still seems to persist as I have installed HDP now as well !&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2019 21:38:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/SAM-cannot-run-properly-Running-Any-test-case-gives/m-p/242585#M204386</guid>
      <dc:creator>qwikbaba</dc:creator>
      <dc:date>2019-01-24T21:38:32Z</dc:date>
    </item>
    <item>
      <title>Re: SAM cannot  run properly. Running Any test case gives NoSuchMethodException and StorageException !!</title>
      <link>https://community.cloudera.com/t5/Support-Questions/SAM-cannot-run-properly-Running-Any-test-case-gives/m-p/242586#M204387</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/1271/sheltong.html" nodeid="1271"&gt;@Geoffrey Shelton Okot&lt;/A&gt; have you been able to reproduce the issue ??&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2019 21:56:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/SAM-cannot-run-properly-Running-Any-test-case-gives/m-p/242586#M204387</guid>
      <dc:creator>qwikbaba</dc:creator>
      <dc:date>2019-01-24T21:56:19Z</dc:date>
    </item>
    <item>
      <title>Re: SAM cannot  run properly. Running Any test case gives NoSuchMethodException and StorageException !!</title>
      <link>https://community.cloudera.com/t5/Support-Questions/SAM-cannot-run-properly-Running-Any-test-case-gives/m-p/242587#M204388</link>
      <description>&lt;P&gt;I changed the column type from bigint to integer for the topology_test_run_case_source.occurence and it was resolved and the test cases also started to run !!!&lt;/P&gt;</description>
      <pubDate>Wed, 13 Feb 2019 19:55:48 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/SAM-cannot-run-properly-Running-Any-test-case-gives/m-p/242587#M204388</guid>
      <dc:creator>qwikbaba</dc:creator>
      <dc:date>2019-02-13T19:55:48Z</dc:date>
    </item>
    <item>
      <title>Re: SAM cannot  run properly. Running Any test case gives NoSuchMethodException and StorageException !!</title>
      <link>https://community.cloudera.com/t5/Support-Questions/SAM-cannot-run-properly-Running-Any-test-case-gives/m-p/242588#M204389</link>
      <description>&lt;P&gt;I changed the column type from bigint to integer for the topology_test_run_case_source.occurence and it was resolved and the test cases also started to run !!!&lt;BR /&gt;&lt;BR /&gt;&lt;A rel="user" href="https://community.cloudera.com/users/9304/tspann.html" nodeid="9304"&gt;@Timothy Spann&lt;/A&gt; &lt;A rel="user" href="https://community.cloudera.com/users/1271/sheltong.html" nodeid="1271"&gt;@Geoffrey Shelton Okot&lt;/A&gt; thanks for the help !!!&lt;/P&gt;</description>
      <pubDate>Wed, 13 Feb 2019 19:56:28 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/SAM-cannot-run-properly-Running-Any-test-case-gives/m-p/242588#M204389</guid>
      <dc:creator>qwikbaba</dc:creator>
      <dc:date>2019-02-13T19:56:28Z</dc:date>
    </item>
  </channel>
</rss>

