<?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 Solr server unexpected version in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Solr-server-unexpected-version/m-p/198903#M78473</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I've installed SOLR service on HDP 2.6.3 by following this guide:&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.3/bk_solr-search-installation/content/ch_hdp-search-install-ambari.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.3/bk_solr-search-installation/content/ch_hdp-search-install-ambari.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;After successfully installed and started the the SOLR service, this alert is displayed in Ambari:&lt;/P&gt;&lt;PRE&gt;The following components are reporting unexpected versions: 
  host.fqdn
    SOLR_SERVER: UNKNOWN&lt;/PRE&gt;&lt;P&gt;Does someone know how to fix this issue? Any suggestions would be appreciated.&lt;/P&gt;&lt;P&gt;Many thanks in advance,&lt;/P&gt;&lt;P&gt;Jorge.&lt;/P&gt;</description>
    <pubDate>Thu, 17 May 2018 22:08:43 GMT</pubDate>
    <dc:creator>jorge_florencio</dc:creator>
    <dc:date>2018-05-17T22:08:43Z</dc:date>
    <item>
      <title>Solr server unexpected version</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Solr-server-unexpected-version/m-p/198903#M78473</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I've installed SOLR service on HDP 2.6.3 by following this guide:&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.3/bk_solr-search-installation/content/ch_hdp-search-install-ambari.html" target="_blank"&gt;https://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.6.3/bk_solr-search-installation/content/ch_hdp-search-install-ambari.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;After successfully installed and started the the SOLR service, this alert is displayed in Ambari:&lt;/P&gt;&lt;PRE&gt;The following components are reporting unexpected versions: 
  host.fqdn
    SOLR_SERVER: UNKNOWN&lt;/PRE&gt;&lt;P&gt;Does someone know how to fix this issue? Any suggestions would be appreciated.&lt;/P&gt;&lt;P&gt;Many thanks in advance,&lt;/P&gt;&lt;P&gt;Jorge.&lt;/P&gt;</description>
      <pubDate>Thu, 17 May 2018 22:08:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Solr-server-unexpected-version/m-p/198903#M78473</guid>
      <dc:creator>jorge_florencio</dc:creator>
      <dc:date>2018-05-17T22:08:43Z</dc:date>
    </item>
    <item>
      <title>Re: Solr server unexpected version</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Solr-server-unexpected-version/m-p/198904#M78474</link>
      <description>&lt;P&gt;This happens since the "version" fields in the DB remain un-updated. You can follow:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;1. Login into Ambari DB.&lt;/P&gt;&lt;P&gt;2. Look out for the "version" column in "hostcomponentstate" table.&lt;/P&gt;&lt;P&gt;3. Update the column with the current active version of your cluster.&lt;/P&gt;&lt;P&gt;4. Restart ambari server process.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;This is an example from my test cluster:&lt;/P&gt;&lt;PRE&gt;ambari=&amp;gt; select * from hostcomponentstate where component_name='SOLR_SERVER';
&amp;nbsp;id | cluster_id| component_name| version| current_state| host_id| service_name| upgrade_state|security_state
----+-----------+---------------+--------+--------------+--------+-------------+--------------+---------------
&amp;nbsp;100| &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2| SOLR_SERVER &amp;nbsp; | UNKNOWN| INSTALLED &amp;nbsp; &amp;nbsp;| &amp;nbsp; &amp;nbsp; &amp;nbsp; 2| SOLR &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;| NONE &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; |SECURED_KERBEROS
(1 row)&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;ambari=&amp;gt; update hostcomponentstate set version = '2.6.5.108-1' 
where component_name = 'SOLR_SERVER';
UPDATE 1&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;ambari=&amp;gt; select * from hostcomponentstate where component_name='SOLR_SERVER';
 id |cluster_id| component_name|  version  |current_state|host_id|service_name|upgrade_state| security_state
----+----------+---------------+-----------+-------------+-------+------------+-------------+---------------
 100|         2| SOLR_SERVER   |2.6.5.108-1|INSTALLED    |      2|SOLR        |NONE         |SECURED_KERBEROS
(1 row)&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;# ambari-server restart&lt;/PRE&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Hope this addresses your concern.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Mar 2019 21:01:46 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Solr-server-unexpected-version/m-p/198904#M78474</guid>
      <dc:creator>Parth_Pathak</dc:creator>
      <dc:date>2019-03-28T21:01:46Z</dc:date>
    </item>
  </channel>
</rss>

