I'm using RHEL 6.5 and proceeded as per the latest documentation.
I getting an error(the first time as well as in successive attempts) regarding the jdk installation during the ambari server set-up.
ambari-server setup
Using python /usr/bin/python2.6
Setup ambari-server
Checking SELinux...
SELinux status is 'enabled'
SELinux mode is 'permissive'
WARNING: SELinux is set to 'permissive' mode and temporarily disabled.
OK to continue [y/n] (y)? y
Ambari-server daemon is configured to run under user 'root'. Change this setting [y/n] (n)? n
Adjusting ambari-server permissions and ownership...
Checking firewall...
Checking JDK...
[1] - Oracle JDK 1.7 + Java Cryptography Extension (JCE) Policy Files 7
[2] - Oracle JDK 1.6 + Java Cryptography Extension (JCE) Policy Files 6
[3] - Custom JDK
==============================================================================
Enter choice (1):1
JDK already exists, using /var/lib/ambari-server/resources/jdk-7u67-linux-x64.tar.gz
Installing JDK to /usr/jdk64
Installation of JDK has failed: 'Fatal exception: Installation of JDK returned exit code 2, exit code 2'
JDK found at /var/lib/ambari-server/resources/jdk-7u67-linux-x64.tar.gz. Would you like to re-download the JDK [y/n] (y)? y
jdk-7u67-linux-x64.tar.gz... 100% (135.8 MB of 135.8 MB)
Successfully re-downloaded JDK distribution to /var/lib/ambari-server/resources/jdk-7u67-linux-x64.tar.gz
Installing JDK to /usr/jdk64
Installation of JDK was failed: 'Fatal exception: Installation of JDK returned exit code 2, exit code 2'
ERROR: Exiting with exit code 1.
REASON: Downloading or installing JDK failed: 'Fatal exception: Unable to install JDK. Please remove JDK, file found at /var/lib/ambari-server/resources/jdk-7u67-linux-x64.tar.gz and re-run Ambari Server setup, exit code 1'. Exiting.
What am I missing ?
I had the same issue so I went went with the "yum install java-1.7.0-openjdk" option.
1.) Install openjdk: yum install java-1.7.0-openjdk
2.) Tell it to use the openjdk: ambari-server setup -j /usr/lib/jvm/jre-1.7.0-openjdk.x86_64
Good Luck!
Related
I am using JRE - 1.8 and databricks-connect version 9.1.15 with python version - Python 3.7.9
openjdk version "1.8.0_41"
OpenJDK Runtime Environment (build 1.8.0_41-b04)
Python 3.7.9 (tags/v3.7.9:13c94747c7, Aug 17 2020, 16:30:00)
I see that command - databricks-connect always returns below error even when I invoke commands-
databricks-connect configure or databricks-connect test
"Access is denied."
I do not receive prompt for configuring cluster details.
Did I miss anything in configuration?
Note- databricks cli is working fine with above setup
As per official documentation, The minor version of your client Python installation must be the same as the minor Python version of your Databricks cluster. The table shows the Python version installed with each Databricks Runtime.
I have
OS Red Hat Enterprise Linux Server release 7.4 (Maipo)
Ambari Version 2.5.1.0
HDP 2.6
Tried to start Zeppelin Server returned error:
raise ExecutionFailed(err_msg, code, out, err)
resource_management.core.exceptions.ExecutionFailed: Execution of '/usr/hdp/current/zeppelin-server/bin/zeppelin-daemon.sh start >> /var/log/zeppelin/zeppelin-setup.log' returned 1.
after step
2018-02-28 22:09:17,946 - Execute['/usr/hdp/current/zeppelin-server/bin/zeppelin-daemon.sh start >> /var/log/zeppelin/zeppelin-setup.log'] {'user': 'zeppelin'}
In log found exception:
ZEPPELIN_CLASSPATH: ::/usr/hdp/current/zeppelin-server/lib/interpreter/*:/usr/hdp/current/zeppelin-server/lib/*:/usr/hdp/current/zeppelin-server/*::/usr/hdp/current/zeppelin-server/conf
OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=512m; support was removed in 8.0
Error: Could not find or load main class org.apache.zeppelin.server.ZeppelinServer
How solve this problem?
Checked folder
/usr/hdp/current/zeppelin-server
erased folders /conf
reinstall zeppelin:
yum erase zeppelin
after more installed
yum install zeppelin
Tried more start Zeppelin - OK
When I write jmeter in my terminal I have this error.
An error occurred: Unable to make field private static java.lang.String sun.awt.X11.XToolkit.awtAppClassName accessible: module java.desktop does not "opens sun.awt.X11" to unnamed module #4d3167f4
Download latest Oracle JRE or JDK and unpack it somewhere, i.e. to /opt/java folder
Download latest JMeter and unpack it to /opt/jmeter folder
Amend PATH environment variable to start with the "bin" folder of Oracle JDK installation like:
PATH=/opt/java/bin:$PATH && export PATH
In the same terminal window navigate to JMeter folder
pushd /opt/jmeter
Execute JMeter
./jmeter
More information: How to Get Started With JMeter: Part 1 - Installation & Test Plans
Check which version of Java you are running. I received this same error on another java application when I started using Java 9 EA. I downloaded jmeter just out of curiosity and get the same error.
I had this same issue installing openjdk-9-jre on
Ubuntu Gnome 17.04
installing the "older" Version via
sudo apt-get install openjdk-8-jre
worked for me right away.
https://wiki.ubuntuusers.de/Java/Installation/OpenJDK/
Error message from Ambari Server setup
Transaction check error:
file /etc/sudoers.d from install of ambari-agent-2.0.0-151.x86_64 conflicts with file from package sudo-1.8.6p7-13.el7.x86_64
Systems
Red Hat Enterprise Linux (RHEL) 7.1 (HVM)
m3.larget
Action
Running Ambari 2.0.0 server setup
Ambari Repo:
http://public-repo-1.hortonworks.com/ambari/centos6/2.x/updates/2.0.0/ambari.repo
RHEL 7.x is not supported by Ambari 2.0.0. See OS requirements here:
http://docs.hortonworks.com/HDPDocuments/Ambari-2.0.0.0/bk_Installing_HDP_AMB/content/_operating_systems_requirements.html
I am installing predictionIO from source code. I have downloaded and done the predictionIO installation successfully. I am now trying to install the dependencies (Spark, Elasticsearch, HBase) but I am running into errors for each of them. Below are the issues I am facing when I execute pio status:
1 - Unable to locate a proper Apache Spark installation
2 - It is also unable to find metadata files.
I have not changed any default settings. I'm using windows 8.1. On localhost, I have running IIS. On 127.0.0.1:8888 I run ipython notebook.
Please help on how I can get predictionIO up and running on my machine.
Thanks
If you are on Windows, you can install with Vagrant.
http://docs.prediction.io/community/projects/#vagrant-installation-for-predictionio
I believe the discussion has moved to the google group.
https://groups.google.com/forum/#!searchin/predictionio-user/SAS/predictionio-user/ZamBr1ZaQ3o/fyNkXh3zsv0J
https://groups.google.com/forum/#!searchin/predictionio-user/SAS/predictionio-user/0awaASUR8lE/JkLtPeRrNt4J
This is the relevant thread.
https://groups.google.com/forum/#!searchin/predictionio-user/SAS/predictionio-user/0awaASUR8lE/JkLtPeRrNt4J
Moreover, PredictionIO docs had a few errors. Below are some of them and their corrected versions.
1 - Actual line: PATH=$PATH:/home/yourname/predictionio/bin; export PATH
Corrected Version PATH=$PATH:/home/yourname/PredictionIO/bin; export PATH
2 - Actual Line: $ pio eventserver
Corrected Version: $ pio eventserver --ip 0.0.0.0
3 - Actual Line pio template get PredictionIO/templates-scala-parallel-recommendation MyRecommendation
Corrected Version pio template get PredictionIO/template-scala-parallel-recommendation MyRecommendation