<?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: invalid base url while registering version in Ambari in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/invalid-base-url-while-registering-version-in-Ambari/m-p/199660#M161693</link>
    <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/19015/xpelive.html" nodeid="19015"&gt;@forest lin&lt;/A&gt; ,&lt;/P&gt;&lt;P&gt;By the exception trace, I understand you are installing the HDP-2.6.5 in Ambari-2.5.x versions. &lt;/P&gt;&lt;P&gt;Please correct if my understanding is not correct.&lt;/P&gt;&lt;P&gt;Ambari-2.5.x versions are not supposed to work with HDP-2.6.4 + versions. but it can be working with following workaround.&lt;/P&gt;&lt;P&gt;you need to remove the GPL-repo tag from VDF File , place the Hadoop lzo packages(GPL RELATED)  inside of the cloned HDP repo only  After placing the RPMs in the repo, the repo should be rebuilt so that the metadata includes them and yum can find everything.&lt;/P&gt;&lt;P&gt;Also, rename the HDP-UTILS-1.1.0.22 to HDP-UTILS-1.1.0.21.&lt;/P&gt;&lt;P&gt;i have once faced the same issue and tweaked in this way.&lt;/P&gt;&lt;P&gt;Hope this works. &lt;/P&gt;&lt;P&gt;If no if you can upgrade to Ambari-2.6.2 that will be best solution to upgrade to HDP-2.6.5 &lt;/P&gt;</description>
    <pubDate>Thu, 26 Jul 2018 18:39:31 GMT</pubDate>
    <dc:creator>akhilsnaik</dc:creator>
    <dc:date>2018-07-26T18:39:31Z</dc:date>
    <item>
      <title>invalid base url while registering version in Ambari</title>
      <link>https://community.cloudera.com/t5/Support-Questions/invalid-base-url-while-registering-version-in-Ambari/m-p/199657#M161690</link>
      <description>&lt;P&gt;hi there,&lt;/P&gt;&lt;P&gt;I'd like to upgrade HDP2.6.3 to HDP2.6.5 without internet access in the cluster (OS: ubuntu).  Local repot files are downloaded,extraced and accessiable by the cluster.&lt;/P&gt;&lt;P&gt;In the last step, The base url are :&lt;/P&gt;&lt;DIV&gt;HDP-2.6 : &lt;A href="http://10.2.26.11/hdp2.6.5/HDP/ubuntu16/2.6.5.0-292" target="_blank" rel="nofollow noopener noreferrer"&gt;http://10.2.26.11/hdp2.6.5/HDP/ubuntu16/2.6.5.0-292&lt;/A&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;HDP-2.6-GPL :   &lt;A href="http://10.2.26.11/hdp2.6.5/HDP-GPL/ubuntu16/2.6.5.0-292/hdp-gpl.gpl.list" target="_blank" rel="nofollow noopener noreferrer"&gt;http://10.2.26.11/hdp2.6.5/HDP-GPL/ubuntu16/2.6.5.0-292/hdp-gpl.gpl.list&lt;/A&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;HDP-UTILS-1.1.0.22: &lt;A href="http://10.2.26.11/hdp2.6.5/HDP-UTILS/ubuntu16/1.1.0.22" target="_blank" rel="nofollow noopener noreferrer"&gt;http://10.2.26.11/hdp2.6.5/HDP-UTILS/ubuntu16/1.1.0.22&lt;/A&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV&gt;"HDP-2.6"  is successfully, but  "HDP-2.6-GPL" and "HDP-UTILS-1.1.0.22"  are encoutering error: "Some of the repositories failed validation. Make changes to the base url or skip validation..."         &lt;/DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="83438-hdp-ambari-2.png" style="width: 889px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/17623i2A645D0121F1F1FA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="83438-hdp-ambari-2.png" alt="83438-hdp-ambari-2.png" /&gt;&lt;/span&gt;&lt;/P&gt;Any advice?&lt;/DIV&gt;&lt;DIV&gt;Thanks&lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="83437-hdp-ambari-1.png" style="width: 627px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/17624i8DEE030258519F65/image-size/medium?v=v2&amp;amp;px=400" role="button" title="83437-hdp-ambari-1.png" alt="83437-hdp-ambari-1.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 05:52:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/invalid-base-url-while-registering-version-in-Ambari/m-p/199657#M161690</guid>
      <dc:creator>xpelive</dc:creator>
      <dc:date>2019-08-18T05:52:32Z</dc:date>
    </item>
    <item>
      <title>Re: invalid base url while registering version in Ambari</title>
      <link>https://community.cloudera.com/t5/Support-Questions/invalid-base-url-while-registering-version-in-Ambari/m-p/199658#M161691</link>
      <description>&lt;P&gt;Hi &lt;SPAN class="autotaguser-autocomplete-box"&gt;@&lt;/SPAN&gt;&lt;A href="https://community.hortonworks.com/users/19015/xpelive.html" style="background-color: initial;"&gt;forest lin&lt;/A&gt;&lt;/P&gt;&lt;P&gt;It looks like server-side validation of This URL's is failing.&lt;/P&gt;&lt;P&gt;can you try to perform the operation with tailf of ambari-server.log you will know whats going wrong.&lt;/P&gt;&lt;PRE&gt;[root@asnaik1 ~]# tail -f /var/log/ambari-server/ambari-server.log		&lt;/PRE&gt;&lt;P&gt;hope this helps.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jul 2018 17:09:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/invalid-base-url-while-registering-version-in-Ambari/m-p/199658#M161691</guid>
      <dc:creator>akhilsnaik</dc:creator>
      <dc:date>2018-07-26T17:09:31Z</dc:date>
    </item>
    <item>
      <title>Re: invalid base url while registering version in Ambari</title>
      <link>https://community.cloudera.com/t5/Support-Questions/invalid-base-url-while-registering-version-in-Ambari/m-p/199659#M161692</link>
      <description>&lt;PRE&gt;26 Jul 2018 19:00:38,853 ERROR [ambari-client-thread-52774] BaseManagementHandler:61 - Caught a system exception while attempting to create a resource: An internal system exception occurred: Stack data, stackName=HDP, stackVersion= 2.6, osType=ubuntu16, repoId= HDP-UTILS-1.1.0.22
org.apache.ambari.server.controller.spi.SystemException: An internal system exception occurred: Stack data, stackName=HDP, stackVersion= 2.6, osType=ubuntu16, repoId= HDP-UTILS-1.1.0.22
        at org.apache.ambari.server.controller.internal.AbstractResourceProvider.createResources(AbstractResourceProvider.java:287)
        at org.apache.ambari.server.controller.internal.RepositoryResourceProvider.createResources(RepositoryResourceProvider.java:217)
        at org.apache.ambari.server.controller.internal.ClusterControllerImpl.createResources(ClusterControllerImpl.java:298)
        at org.apache.ambari.server.api.services.persistence.PersistenceManagerImpl.create(PersistenceManagerImpl.java:97)
        at org.apache.ambari.server.api.handlers.CreateHandler.persist(CreateHandler.java:37)
        at org.apache.ambari.server.api.handlers.BaseManagementHandler.handleRequest(BaseManagementHandler.java:73)
        at org.apache.ambari.server.api.services.BaseRequest.process(BaseRequest.java:144)
        at org.apache.ambari.server.api.services.BaseService.handleRequest(BaseService.java:126)
        at org.apache.ambari.server.api.services.BaseService.handleRequest(BaseService.java:90)
        at org.apache.ambari.server.api.services.RepositoryService.createRepository(RepositoryService.java:100)
        at sun.reflect.GeneratedMethodAccessor763.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)



Caused by: org.apache.ambari.server.StackAccessException: Stack data, stackName=HDP, stackVersion= 2.6, osType=ubuntu16, repoId= HDP-UTILS-1.1.0.22
        at org.apache.ambari.server.api.services.AmbariMetaInfo.getRepository(AmbariMetaInfo.java:411)
        at org.apache.ambari.server.controller.AmbariManagementControllerImpl.verifyRepository(AmbariManagementControllerImpl.java:4621)
        at org.apache.ambari.server.controller.AmbariManagementControllerImpl.verifyRepositories(AmbariManagementControllerImpl.java:4607)
        at org.apache.ambari.server.controller.internal.RepositoryResourceProvider$6.invoke(RepositoryResourceProvider.java:221)
        at org.apache.ambari.server.controller.internal.RepositoryResourceProvider$6.invoke(RepositoryResourceProvider.java:217)
        at org.apache.ambari.server.controller.internal.AbstractResourceProvider.invokeWithRetry(AbstractResourceProvider.java:455)
        at org.apache.ambari.server.controller.internal.AbstractResourceProvider.createResources(AbstractResourceProvider.java:278)
        ... 95 more
&lt;/PRE&gt;&lt;PRE&gt;26 Jul 2018 11:42:00,631 ERROR [ambari-client-thread-50569] BaseManagementHandler:61 - Caught a system exception while attempting to create a resource: An internal system exception occurred: Stack data, stackName=HDP, stackVersion= 2.6, osType=ubuntu16, repoId= HDP-2.6-GPL
org.apache.ambari.server.controller.spi.SystemException: An internal system exception occurred: Stack data, stackName=HDP, stackVersion= 2.6, osType=ubuntu16, repoId= HDP-2.6-GPL
        at org.apache.ambari.server.controller.internal.AbstractResourceProvider.createResources(AbstractResourceProvider.java:287)
        at org.apache.ambari.server.controller.internal.RepositoryResourceProvider.createResources(RepositoryResourceProvider.java:217)
        at org.apache.ambari.server.controller.internal.ClusterControllerImpl.createResources(ClusterControllerImpl.java:298)
        at org.apache.ambari.server.api.services.persistence.PersistenceManagerImpl.create(PersistenceManagerImpl.java:97)
        at org.apache.ambari.server.api.handlers.CreateHandler.persist(CreateHandler.java:37)
        at org.apache.ambari.server.api.handlers.BaseManagementHandler.handleRequest(BaseManagementHandler.java:73)
        at org.apache.ambari.server.api.services.BaseRequest.process(BaseRequest.java:144)
        at org.apache.ambari.server.api.services.BaseService.handleRequest(BaseService.java:126)
        at org.apache.ambari.server.api.services.BaseService.handleRequest(BaseService.java:90)
        at org.apache.ambari.server.api.services.RepositoryService.createRepository(RepositoryService.java:100)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java



Caused by: org.apache.ambari.server.StackAccessException: Stack data, stackName=HDP, stackVersion= 2.6, osType=ubuntu16, repoId= HDP-2.6-GPL
        at org.apache.ambari.server.api.services.AmbariMetaInfo.getRepository(AmbariMetaInfo.java:411)
        at org.apache.ambari.server.controller.AmbariManagementControllerImpl.verifyRepository(AmbariManagementControllerImpl.java:4621)
        at org.apache.ambari.server.controller.AmbariManagementControllerImpl.verifyRepositories(AmbariManagementControllerImpl.java:4607)
        at org.apache.ambari.server.controller.internal.RepositoryResourceProvider$6.invoke(RepositoryResourceProvider.java:221)
        at org.apache.ambari.server.controller.internal.RepositoryResourceProvider$6.invoke(RepositoryResourceProvider.java:217)
        at org.apache.ambari.server.controller.internal.AbstractResourceProvider.invokeWithRetry(AbstractResourceProvider.java:455)
        at org.apache.ambari.server.controller.internal.AbstractResourceProvider.createResources(AbstractResourceProvider.java:278)
        ... 96 more
&lt;/PRE&gt;</description>
      <pubDate>Thu, 26 Jul 2018 18:13:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/invalid-base-url-while-registering-version-in-Ambari/m-p/199659#M161692</guid>
      <dc:creator>xpelive</dc:creator>
      <dc:date>2018-07-26T18:13:06Z</dc:date>
    </item>
    <item>
      <title>Re: invalid base url while registering version in Ambari</title>
      <link>https://community.cloudera.com/t5/Support-Questions/invalid-base-url-while-registering-version-in-Ambari/m-p/199660#M161693</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/19015/xpelive.html" nodeid="19015"&gt;@forest lin&lt;/A&gt; ,&lt;/P&gt;&lt;P&gt;By the exception trace, I understand you are installing the HDP-2.6.5 in Ambari-2.5.x versions. &lt;/P&gt;&lt;P&gt;Please correct if my understanding is not correct.&lt;/P&gt;&lt;P&gt;Ambari-2.5.x versions are not supposed to work with HDP-2.6.4 + versions. but it can be working with following workaround.&lt;/P&gt;&lt;P&gt;you need to remove the GPL-repo tag from VDF File , place the Hadoop lzo packages(GPL RELATED)  inside of the cloned HDP repo only  After placing the RPMs in the repo, the repo should be rebuilt so that the metadata includes them and yum can find everything.&lt;/P&gt;&lt;P&gt;Also, rename the HDP-UTILS-1.1.0.22 to HDP-UTILS-1.1.0.21.&lt;/P&gt;&lt;P&gt;i have once faced the same issue and tweaked in this way.&lt;/P&gt;&lt;P&gt;Hope this works. &lt;/P&gt;&lt;P&gt;If no if you can upgrade to Ambari-2.6.2 that will be best solution to upgrade to HDP-2.6.5 &lt;/P&gt;</description>
      <pubDate>Thu, 26 Jul 2018 18:39:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/invalid-base-url-while-registering-version-in-Ambari/m-p/199660#M161693</guid>
      <dc:creator>akhilsnaik</dc:creator>
      <dc:date>2018-07-26T18:39:31Z</dc:date>
    </item>
    <item>
      <title>Re: invalid base url while registering version in Ambari</title>
      <link>https://community.cloudera.com/t5/Support-Questions/invalid-base-url-while-registering-version-in-Ambari/m-p/199661#M161694</link>
      <description>&lt;P&gt;my Ambari version is 2.6.0.0. &lt;/P&gt;&lt;P&gt;The &amp;lt;tag&amp;gt;  is commetted in the VDF file HDP-2.6.5.0-292.xml  to fix the "invalid tag" issue while uploading the VDF in the 1st  step..  Is it causing error afterwards?&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/83444-hdp-2650-292.xml"&gt;hdp-2650-292.xml&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jul 2018 22:30:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/invalid-base-url-while-registering-version-in-Ambari/m-p/199661#M161694</guid>
      <dc:creator>xpelive</dc:creator>
      <dc:date>2018-07-26T22:30:54Z</dc:date>
    </item>
    <item>
      <title>Re: invalid base url while registering version in Ambari</title>
      <link>https://community.cloudera.com/t5/Support-Questions/invalid-base-url-while-registering-version-in-Ambari/m-p/199662#M161695</link>
      <description>&lt;P&gt;It's caused by missing file in folder dists in HDP-UTILS-1.1.0.22-ubuntu16.tar.gz and fixed as following after getting the advice from a HDP consultant&lt;/P&gt;&lt;P&gt;1. extract HDP-UTILS-1.1.0.22-ubuntu16.tar.gz&lt;/P&gt;&lt;P&gt;2. mkdir HDP-UTILS under folder dists&lt;/P&gt;&lt;P&gt;3. copy all files from HDP repot  /hdp/HDP/ubuntu16/2.6.5.0-292/dists/HDP/  to above HDP-UTILS folder&lt;/P&gt;&lt;P&gt;4 update the HDP-UTILS repo base url according to &lt;A href="https://docs.hortonworks.com/HDPDocuments/Ambari-2.7.0.0/bk_ambari-installation/content/setting_up_a_local_repository_with_no_internet_access.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/Ambari-2.7.0.0/bk_ambari-installation/content/setting_up_a_local_repository_with_no_internet_access.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Aug 2018 19:05:11 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/invalid-base-url-while-registering-version-in-Ambari/m-p/199662#M161695</guid>
      <dc:creator>xpelive</dc:creator>
      <dc:date>2018-08-06T19:05:11Z</dc:date>
    </item>
  </channel>
</rss>

