<?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: There is an error in installing HDF 3.0.2.0 in HDP 2.6.4.0 cluster. I installed Registry 0.3.0 with &amp;quot;Add Service&amp;quot; and the service does not run due to &amp;quot;ClassNotFoundException&amp;quot; error. How do I install the Schema Registry service? in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/There-is-an-error-in-installing-HDF-3-0-2-0-in-HDP-2-6-4-0/m-p/190122#M152211</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/56155/cwchoi.html" nodeid="56155"&gt;@Changwon Choi&lt;/A&gt;&lt;/P&gt;&lt;P&gt;When you installed the mpack then While running the "install-mpack" command have you used &lt;STRONG&gt;"--purge"&lt;/STRONG&gt; option?&lt;/P&gt;&lt;PRE&gt;# ambari-server install-mpack \
--mpack=/tmp/hdf-ambari-mpack-&amp;lt;version&amp;gt;.tar.gz \
--verbose
--purge&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Also You should try the following as well:&lt;BR /&gt;&lt;BR /&gt;1. Remove Schema Registry service.&lt;/P&gt;&lt;P&gt;2. Following the steps mentioned in the Doc&lt;STRONG&gt; "Update the HDF Base URL"&lt;/STRONG&gt;&lt;BR /&gt;&lt;A href="https://docs.hortonworks.com/HDPDocuments/HDF3/HDF-3.0.2/bk_installing-hdf-on-hdp/content/ch_base-url.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/HDF3/HDF-3.0.2/bk_installing-hdf-on-hdp/content/ch_base-url.html&lt;/A&gt; &lt;/P&gt;&lt;P&gt;3. Add Schema Registry Service again.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;</description>
    <pubDate>Tue, 16 Jan 2018 11:41:49 GMT</pubDate>
    <dc:creator>jsensharma</dc:creator>
    <dc:date>2018-01-16T11:41:49Z</dc:date>
    <item>
      <title>There is an error in installing HDF 3.0.2.0 in HDP 2.6.4.0 cluster. I installed Registry 0.3.0 with "Add Service" and the service does not run due to "ClassNotFoundException" error. How do I install the Schema Registry service?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/There-is-an-error-in-installing-HDF-3-0-2-0-in-HDP-2-6-4-0/m-p/190121#M152210</link>
      <description>&lt;P&gt;Exception in thread "main" java.lang.RuntimeException: java.lang.ClassNotFoundException: com.hortonworks.registries.schemaregistry.webservice.RewriteUriFilter
        at com.hortonworks.registries.webservice.RegistryApplication.addServletFilters(RegistryApplication.java:218)
        at com.hortonworks.registries.webservice.RegistryApplication.run(RegistryApplication.java:75)
        at com.hortonworks.registries.webservice.RegistryApplication.run(RegistryApplication.java:58)
        at io.dropwizard.cli.EnvironmentCommand.run(EnvironmentCommand.java:43)
        at io.dropwizard.cli.ConfiguredCommand.run(ConfiguredCommand.java:85)
        at io.dropwizard.cli.Cli.run(Cli.java:75)
        at io.dropwizard.Application.run(Application.java:79)
        at com.hortonworks.registries.webservice.RegistryApplication.main(RegistryApplication.java:226)
Caused by: java.lang.ClassNotFoundException: com.hortonworks.registries.schemaregistry.webservice.RewriteUriFilter
        at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        at java.lang.Class.forName0(Native Method)
        at java.lang.Class.forName(Class.java:264)
        at com.hortonworks.registries.webservice.RegistryApplication.addServletFilters(RegistryApplication.java:213)&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jan 2018 11:36:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/There-is-an-error-in-installing-HDF-3-0-2-0-in-HDP-2-6-4-0/m-p/190121#M152210</guid>
      <dc:creator>cwchoi</dc:creator>
      <dc:date>2018-01-16T11:36:56Z</dc:date>
    </item>
    <item>
      <title>Re: There is an error in installing HDF 3.0.2.0 in HDP 2.6.4.0 cluster. I installed Registry 0.3.0 with "Add Service" and the service does not run due to "ClassNotFoundException" error. How do I install the Schema Registry service?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/There-is-an-error-in-installing-HDF-3-0-2-0-in-HDP-2-6-4-0/m-p/190122#M152211</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/56155/cwchoi.html" nodeid="56155"&gt;@Changwon Choi&lt;/A&gt;&lt;/P&gt;&lt;P&gt;When you installed the mpack then While running the "install-mpack" command have you used &lt;STRONG&gt;"--purge"&lt;/STRONG&gt; option?&lt;/P&gt;&lt;PRE&gt;# ambari-server install-mpack \
--mpack=/tmp/hdf-ambari-mpack-&amp;lt;version&amp;gt;.tar.gz \
--verbose
--purge&lt;/PRE&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Also You should try the following as well:&lt;BR /&gt;&lt;BR /&gt;1. Remove Schema Registry service.&lt;/P&gt;&lt;P&gt;2. Following the steps mentioned in the Doc&lt;STRONG&gt; "Update the HDF Base URL"&lt;/STRONG&gt;&lt;BR /&gt;&lt;A href="https://docs.hortonworks.com/HDPDocuments/HDF3/HDF-3.0.2/bk_installing-hdf-on-hdp/content/ch_base-url.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/HDF3/HDF-3.0.2/bk_installing-hdf-on-hdp/content/ch_base-url.html&lt;/A&gt; &lt;/P&gt;&lt;P&gt;3. Add Schema Registry Service again.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jan 2018 11:41:49 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/There-is-an-error-in-installing-HDF-3-0-2-0-in-HDP-2-6-4-0/m-p/190122#M152211</guid>
      <dc:creator>jsensharma</dc:creator>
      <dc:date>2018-01-16T11:41:49Z</dc:date>
    </item>
    <item>
      <title>Re: There is an error in installing HDF 3.0.2.0 in HDP 2.6.4.0 cluster. I installed Registry 0.3.0 with "Add Service" and the service does not run due to "ClassNotFoundException" error. How do I install the Schema Registry service?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/There-is-an-error-in-installing-HDF-3-0-2-0-in-HDP-2-6-4-0/m-p/190123#M152212</link>
      <description>&lt;P&gt;I did not include the "--purge" option when I first installed the HDF.&lt;/P&gt;&lt;P&gt; # ambari-server install-mpack --mpack=/tmp/hdf-ambari-mpack-3.0.2.0-76.tar.gz --verbose&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.cloudera.com/legacyfs/online/attachments/51388-캡처.jpg" /&gt;&lt;/P&gt;&lt;P&gt;You have only deleted the Registry service as you have noticed.&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.cloudera.com/legacyfs/online/attachments/51390-캡처3.jpg" /&gt;&lt;/P&gt;&lt;P&gt;And, I have an error installing it, including the "--purge" option.&lt;/P&gt;&lt;P&gt;# ambari-server install-mpack --mpack=/tmp/hdf-ambari-mpack-3.0.2.0-76.tar.gz --verbose --purge&lt;/P&gt;&lt;P&gt;======= Error Message ===========&lt;/P&gt;&lt;P&gt;ERROR: This Ambari instance is already managing the cluster HDP that has the HDP-2.6 stack installed on it. The management pack you are attempting to install only contains stack definitions for [HDF]. Since this management pack does not contain a stack that has already being deployed by Ambari, the --purge option would cause your existing Ambari installation to be unusable. Due to that we cannot install this management pack.
Mpack installation checker failed!&lt;/P&gt;&lt;P&gt;ERROR: Exiting with exit code 1.
REASON: This Ambari instance is already managing the cluster HDP that has the HDP-2.6 stack installed on it. The management pack you are attempting to install only contains stack definitions for [HDF]. Since this management pack does not contain a stack that has already being deployed by Ambari, the --purge option would cause your existing Ambari installation to be unusable. Due to that we cannot install this management pack.
Mpack installation checker failed!&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jan 2018 17:24:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/There-is-an-error-in-installing-HDF-3-0-2-0-in-HDP-2-6-4-0/m-p/190123#M152212</guid>
      <dc:creator>cwchoi</dc:creator>
      <dc:date>2018-01-16T17:24:10Z</dc:date>
    </item>
    <item>
      <title>Re: There is an error in installing HDF 3.0.2.0 in HDP 2.6.4.0 cluster. I installed Registry 0.3.0 with "Add Service" and the service does not run due to "ClassNotFoundException" error. How do I install the Schema Registry service?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/There-is-an-error-in-installing-HDF-3-0-2-0-in-HDP-2-6-4-0/m-p/190124#M152213</link>
      <description>&lt;P style="margin-left: 40px;"&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/56155/cwchoi.html" nodeid="56155"&gt;@Changwon Choi&lt;/A&gt; ,&lt;/P&gt;&lt;P style="margin-left: 80px;"&gt;As &lt;A rel="user" href="https://community.cloudera.com/users/3418/jsensharma.html" nodeid="3418"&gt;@Jay Kumar SenSharma&lt;/A&gt; mentioned the important part was updating the base url first.  The problem is that without that update Ambari downloaded the older version of the registry (and other components).  You can check this by doing  the following on each host that has registry components installed:&lt;/P&gt;&lt;P style="margin-left: 80px;"&gt;1) Confirm that the correct version of registry was installed&lt;/P&gt;&lt;P style="margin-left: 80px;"&gt; yum list info | grep registry&lt;/P&gt;&lt;P style="margin-left: 80px;"&gt;This command should show the installed repositories for registry as shown below:&lt;/P&gt;&lt;P style="margin-left: 80px;"&gt;registry_3_0_2_0_76  &lt;/P&gt;&lt;P style="margin-left: 80px;"&gt; If that version is not in the list then perform the following (on each host missing correct version). If it is installed skip to step 2.&lt;/P&gt;&lt;P style="margin-left: 100px;"&gt;a) Verify that /etc/yum.repos.d/ambari-hdp-*.repo has the updated HDF BASE URL (* denotes number 1 or two depending on your setup). If it does not, you will need to manually edit this file to set the correct BASE URL for HDF&lt;/P&gt;&lt;P style="margin-left: 100px;"&gt;b) Install the newest library&lt;/P&gt;&lt;P style="margin-left: 100px;"&gt;yum install -y registry_3_0_2_0_76*&lt;/P&gt;&lt;P style="margin-left: 100px;"&gt;c) Ensure the stack recognizes the latest version&lt;/P&gt;&lt;P style="margin-left: 100px;"&gt;hdf-select set registry 3.0.2.0-76&lt;/P&gt;&lt;P style="margin-left: 100px;"&gt;d) Continue to step 2 to check stack has the appropriate version selected&lt;/P&gt;&lt;P style="margin-left: 80px;"&gt;2) Check the version of the component recognized by the stack:&lt;/P&gt;&lt;P style="margin-left: 100px;"&gt;hdf-select status | grep registry&lt;/P&gt;&lt;P style="margin-left: 100px;"&gt;This should show registry as the following:&lt;/P&gt;&lt;P style="margin-left: 100px;"&gt;registry - 3.0.2.0-76&lt;/P&gt;&lt;P style="margin-left: 100px;"&gt;If the version is not accurate (e.g. showing 3.0.0.0-453) then perform step 1c above and check the version again.&lt;/P&gt;&lt;P style="margin-left: 80px;"&gt;&lt;/P&gt;&lt;P style="margin-left: 80px;"&gt;Once the above is performed on all hosts affected, return to Ambari and restart Registry.&lt;/P&gt;&lt;P style="margin-left: 80px;"&gt;One thing to note is that the above can be performed to manual correct other HDF components (e.g. nifi, SAM as well)&lt;/P&gt;&lt;P style="margin-left: 80px;"&gt;Please let me know if this helps!&lt;/P&gt;</description>
      <pubDate>Sat, 20 Jan 2018 06:46:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/There-is-an-error-in-installing-HDF-3-0-2-0-in-HDP-2-6-4-0/m-p/190124#M152213</guid>
      <dc:creator>ydavis</dc:creator>
      <dc:date>2018-01-20T06:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: There is an error in installing HDF 3.0.2.0 in HDP 2.6.4.0 cluster. I installed Registry 0.3.0 with "Add Service" and the service does not run due to "ClassNotFoundException" error. How do I install the Schema Registry service?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/There-is-an-error-in-installing-HDF-3-0-2-0-in-HDP-2-6-4-0/m-p/190125#M152214</link>
      <description>&lt;P&gt;Very helpful response Yolanda. One minor typo - In 1.a) the path is - /etc/yum.repos.d/ambari-hdp-*.repo&lt;/P&gt;&lt;P&gt;For those who are not familiar with yum repo location. &lt;/P&gt;&lt;P&gt;BTW - This solutuion works for me. &lt;/P&gt;</description>
      <pubDate>Sat, 20 Jan 2018 08:22:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/There-is-an-error-in-installing-HDF-3-0-2-0-in-HDP-2-6-4-0/m-p/190125#M152214</guid>
      <dc:creator>bsaini</dc:creator>
      <dc:date>2018-01-20T08:22:03Z</dc:date>
    </item>
    <item>
      <title>Re: There is an error in installing HDF 3.0.2.0 in HDP 2.6.4.0 cluster. I installed Registry 0.3.0 with "Add Service" and the service does not run due to "ClassNotFoundException" error. How do I install the Schema Registry service?</title>
      <link>https://community.cloudera.com/t5/Support-Questions/There-is-an-error-in-installing-HDF-3-0-2-0-in-HDP-2-6-4-0/m-p/190126#M152215</link>
      <description>&lt;P style="margin-left: 40px;"&gt;Thanks &lt;A rel="user" href="https://community.cloudera.com/users/191/bsaini.html" nodeid="191"&gt;@bsaini&lt;/A&gt;, I've made the correction. Glad this worked for you!&lt;/P&gt;</description>
      <pubDate>Sun, 21 Jan 2018 03:12:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/There-is-an-error-in-installing-HDF-3-0-2-0-in-HDP-2-6-4-0/m-p/190126#M152215</guid>
      <dc:creator>ydavis</dc:creator>
      <dc:date>2018-01-21T03:12:02Z</dc:date>
    </item>
  </channel>
</rss>

