Member since
06-17-2019
5
Posts
0
Kudos Received
1
Solution
My Accepted Solutions
Title | Views | Posted |
---|---|---|
1539 | 06-21-2019 06:02 AM |
06-21-2019
06:02 AM
I found the solution. So the link above really works - the installation was proper. I had to go through the logs /var/log/janusgraph . Found out a java error there. So I got to know that if you install java using Ambari's automatic install, it does not sets up the environment variable in your pc. So I followed these steps:- Open /etc/environment in a text editor and add the
following line: JAVA_HOME="/usr/jdk64/jdk1.8.0_112/” Use source to load the variable by running:- source /etc/environment Then restart JanusGraph. It works perfectly this time.
... View more
06-18-2019
05:31 PM
Can anyone tell me the way to install JanusGraph on Ambari. I tried the link https://github.com/JanusGraph/janusgraph-ambari but it didn't work out for me. I have Ubuntu 14.04 and Ambari 2.6 and have already installed Solr 6.6.2 on Ambari. Is there a way to make a connection between the two? Or, is there any other alternative to this (JanusGraph) which might run on Ambari with the same functionality? Actually JanusGraph installed properly on Ambari using the link above. It also starts without any error, but then within 10 seconds it automatically closes. During the final check it says "can't connect to port 8182". What can be the fault in this case?
... View more
Labels:
- Labels:
-
Apache Ambari
-
Apache Solr
06-18-2019
05:15 AM
Thank you for letting me know about the support matrix as its really very helpful. I will prefer to install ubuntu 14.04 as I also need JanusGraph on Ambari which by this link https://github.com/JanusGraph/janusgraph-ambari is not compatible on Ambari 2.7.
... View more
06-17-2019
12:55 PM
I tried sudo apt-get install lucidworks-hdpsearch. That also gives the same error. My OS is ubuntu 16.04 and I have ambari 2.6 installed. Traceback (most recent call last):
File "/var/lib/ambari-agent/cache/common-services/SOLR/6.6.2/package/scripts/solr.py", line 139, 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/6.6.2/package/scripts/solr.py", line 20, in install
self.install_packages(env)
File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", line 821, in install_packages
retry_count=agent_stack_retry_count)
File "/usr/lib/ambari-agent/lib/resource_management/core/base.py", line 166, in __init__
self.env.run()
File "/usr/lib/ambari-agent/lib/resource_management/core/environment.py", line 160, in run
self.run_action(resource, action)
File "/usr/lib/ambari-agent/lib/resource_management/core/environment.py", line 124, in run_action
provider_action()
File "/usr/lib/ambari-agent/lib/resource_management/core/providers/package/__init__.py", line 53, in action_install
self.install_package(package_name, self.resource.use_repos, self.resource.skip_repos)
File "/usr/lib/ambari-agent/lib/resource_management/core/providers/package/apt.py", line 75, in wrapper
return function_to_decorate(self, name, *args[2:])
File "/usr/lib/ambari-agent/lib/resource_management/core/providers/package/apt.py", line 376, in install_package
self.checked_call_with_retries(cmd, sudo=True, env=INSTALL_CMD_ENV, logoutput=self.get_logoutput())
File "/usr/lib/ambari-agent/lib/resource_management/core/providers/package/__init__.py", line 266, in checked_call_with_retries
return self._call_with_retries(cmd, is_checked=True, **kwargs)
File "/usr/lib/ambari-agent/lib/resource_management/core/providers/package/__init__.py", line 283, in _call_with_retries
code, out = func(cmd, **kwargs)
File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 72, in inner
result = function(command, **kwargs)
File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 102, in checked_call
tries=tries, try_sleep=try_sleep, timeout_kill_strategy=timeout_kill_strategy)
File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 150, in _call_wrapper
result = _call(command, **kwargs_copy)
File "/usr/lib/ambari-agent/lib/resource_management/core/shell.py", line 303, in _call
raise ExecutionFailed(err_msg, code, out, err)
resource_management.core.exceptions.ExecutionFailed: Execution of '/usr/bin/apt-get -q -o Dpkg::Options::=--force-confdef --allow-unauthenticated --assume-yes install lucidworks-hdpsearch' returned 100. Reading package lists...
Building dependency tree...
Reading state information...
E: Unable to locate package lucidworks-hdpsearch
... View more
Labels:
- Labels:
-
Apache Ambari
-
Apache Solr