Member since
05-04-2016
5
Posts
0
Kudos Received
0
Solutions
09-14-2018
08:32 PM
This is all it shows me when looking at details. We tried setting the version in the Ambari database, but made no difference. {"hosts":["hadoopmgmt2.bet.fiscnet.ihost.com"],"host_detail":{"hadoopmgmt2.bet.fiscnet.ihost.com":[{"service":"SOLR","component":"SOLR_SERVER","version":"UNKNOWN","targetVersion":"2.6.5.0-292"}]}}
... View more
09-14-2018
08:04 PM
Trying to upgrade HDP 2.6.4 to HDP 2.6.5. Gets 99% done and then I get an error about Solr. {"hosts":["hadoopmgmt2.bet.fiscnet.ihost.com"],"host_detail":{"hadoopmgmt2.bet.fiscnet.ihost.com":[{"service":"SOLR","component":"SOLR_SERVER","version":"UNKNOWN","targetVersion":"2.6.5.0-292"}]}} We tried setting the version in the Ambari database, didn't seem to make any difference. If I try to start Solr now I get the following error. Traceback (most recent call last):
File "/var/lib/ambari-agent/cache/common-services/SOLR/5.5.2.2.5/package/scripts/solr.py", line 101, in <module>
Solr().execute()
File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", line 375, in execute
method(env)
File "/var/lib/ambari-agent/cache/common-services/SOLR/5.5.2.2.5/package/scripts/solr.py", line 46, in start
self.configure(env)
File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", line 120, in locking_configure
original_configure(obj, *args, **kw)
File "/var/lib/ambari-agent/cache/common-services/SOLR/5.5.2.2.5/package/scripts/solr.py", line 22, in configure
setup_solr()
File "/var/lib/ambari-agent/cache/common-services/SOLR/5.5.2.2.5/package/scripts/setup_solr.py", line 28, in setup_solr
content=InlineTemplate(params.solr_config_in_sh),
File "/usr/lib/ambari-agent/lib/resource_management/core/source.py", line 150, in __init__
super(InlineTemplate, self).__init__(name, extra_imports, **kwargs)
File "/usr/lib/ambari-agent/lib/resource_management/core/source.py", line 137, in __init__
self.template = self.template_env.get_template(self.name)
File "/usr/lib/ambari-agent/lib/ambari_jinja2/environment.py", line 716, in get_template
return self._load_template(name, self.make_globals(globals))
File "/usr/lib/ambari-agent/lib/ambari_jinja2/environment.py", line 686, in _load_template
template = self.cache.get(name)
File "/usr/lib/ambari-agent/lib/ambari_jinja2/utils.py", line 405, in get
return self[key]
File "/usr/lib/ambari-agent/lib/ambari_jinja2/utils.py", line 448, in __getitem__
rv = self._mapping[key]
File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/config_dictionary.py", line 73, in __getattr__
raise Fail("Configuration parameter '" + self.name + "' was not found in configurations dictionary!")
resource_management.core.exceptions.Fail: Configuration parameter 'content' was not found in configurations dictionary!
<br> Anyone have any idea what's going on and how we might get past this?
... View more
Labels:
- Labels:
-
Apache Solr
02-20-2018
02:28 PM
Hi Pavan -- that did indeed allow the install to proceed, but something must be wrong somewhere. It can't seem to configure the database for Hive. I get an error on startup about how the database can't be accessed by the node. Sigh....this all worked in 2.6.3...... org.apache.hadoop.hive.metastore.HiveMetaException:Failed to get schema version. Underlying cause: java.sql.SQLException:null, message from server:"Host 'rh74-full.ibm.com' is not allowed to connect to this MySQL server" SQL Error code:1130 org.apache.hadoop.hive.metastore.HiveMetaException:Failed to get schema version.
... View more
02-19-2018
09:12 PM
In a fresh install, HDP will attempt to install MySQL using the command above. I have not found a clean way to create a working repository for MySQL (I either get the above error or a conflict). Has anyone found a way to get this to work within the context of the HDP install or must it always be installed and configured *before* installing HDP?
... View more