Member since
03-14-2016
4721
Posts
1111
Kudos Received
874
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
2448 | 04-27-2020 03:48 AM | |
4885 | 04-26-2020 06:18 PM | |
3976 | 04-26-2020 06:05 PM | |
3220 | 04-13-2020 08:53 PM | |
4927 | 03-31-2020 02:10 AM |
03-02-2017
02:41 PM
@spdvnz Internet is needed to install packages via yum. Else you might want to configure the "Offline Local Repo" as described in the ambari doc: http://docs.hortonworks.com/HDPDocuments/Ambari-2.4.1.0/bk_ambari-installation/content/setting_up_a_local_repository_with_no_internet_access.html
... View more
03-02-2017
02:02 PM
@spdvnz
You are using incorrect ambari version i guess it shows 2.2.2 where as in your very first update you mentioned 2.4.1.0 as following: export ambari_version=2.4.1.0 . Please use the correct ambari repo. If you want to use ambari 2.4.1.0 then you should be using the following: wget -nv http://public-repo-1.hortonworks.com/ambari/centos7/2.x/updates/2.4.1.0/ambari.repo -O /etc/yum.repos.d/ambari.repo . Uninstall 2.2.2 version of ambari and then install it again using the above mentioned repo url.
... View more
03-02-2017
01:36 PM
@spdvnz
Your ambari-server version is 2.4.1 right? Can you please confirm the following: # cat /etc/yum.repos.d/ambari.repo
[AMBARI.2.4.0.0-2.x]
name=Ambari 2.x
baseurl=http://s3.amazonaws.com/dev.hortonworks.com/ambari/centos6/2.x/BUILDS/2.4.0.0-1225/
gpgcheck=1
gpgkey=http://s3.amazonaws.com/dev.hortonworks.com/ambari/centos6/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins
enabled=1
priority=1
and [root@erie1 ~]# ambari-server --version
... View more
03-02-2017
01:15 PM
@spdvnz In the "/usr/sbin/ambari-server" script you should see the option "install-mpack" as mentioned in my previous grep command. Can you please share the output of the following command? # ambari-server install-mpack
Using python /usr/bin/python
Installing management pack
ERROR: Management pack not specified!
ERROR: Exiting with exit code -1.
REASON: Management pack not specified!
.
... View more
03-02-2017
10:46 AM
@spdvnz Also that argument details is present inside the script as following ": # grep -A 3 'install-mpack' /usr/sbin/ambari-server
install-mpack)
echo -e "Installing management pack"
$PYTHON "$AMBARI_PYTHON_EXECUTABLE" $@
;;
.
... View more
03-02-2017
10:41 AM
@spdvnz Have you downloaded "hdf-mpack-name.tar.gz" Please see the links: https://docs.hortonworks.com/HDPDocuments/HDF2/HDF-2.0.0/bk_ambari-installation/content/install-management-pack.html
... View more
03-02-2017
08:53 AM
@Hoang Le
The command "/usr/hdp/current/zookeeper-client/bin/zookeeper-client" should work becase it is able to locate the zookeeper conf directory as following: # cat /usr/hdp/current/zookeeper-client/bin/zookeeper-client
#!/bin/bash
export ZOOKEEPER_HOME=/usr/hdp/2.5.0.0-1245//zookeeper
export ZOOKEEPER_CONF=${ZOOKEEPER_HOME}/conf
export CLASSPATH=$CLASSPATH:$ZOOKEEPER_CONF:$ZOOKEEPER_HOME/*:$ZOOKEEPER_HOME/lib/*
export ZOOCFGDIR=${ZOOCFGDIR:-$ZOOKEEPER_CONF}
env CLASSPATH=$CLASSPATH ${ZOOKEEPER_HOME}/bin/zkCli.sh "$@"
. So as long as it is able to locate the correct "ZOOKEEPER_CONF" it should be able to connect to the local zookeeper.
... View more
03-02-2017
08:24 AM
@Hoang Le Can you please confirm in the following file whatever host/port are mentioned those are accessible from the "Zookeeper Client" machine? /etc/zookeeper/conf/zoo.cfg . This file should show the ZK servers details that should be reachable properly from client. So please check the host/port details and try doing a "telnet" to verify if those are reachable or not? clientPort=2181
initLimit=10
autopurge.purgeInterval=24
syncLimit=5
tickTime=2000
dataDir=/hadoop/zookeeper
autopurge.snapRetainCount=30
server.1=erie1.example.com:2888:3888
server.2=erie2.example.com:2888:3888
server.3=erie3.example.com:2888:3888
server.4=erie4.example.com:2888:3888 .
... View more
03-02-2017
04:37 AM
@Viswa
What error are you getting while starting HDFS via ambari ?
... View more
03-02-2017
04:30 AM
1 Kudo
@Viswa Please make sure that you do ssh to Sandbox as following and then try the hdfs commands: (On port 2222) password "hadoop" # ssh root@localhost -p 2222
root@localhost's password: hadoop
. Which Sandbox version is it? Can you open the "http://localhost:4200" web terminal?
... View more