Wednesday, January 16, 2019

check if ambari is ready\

3. Start the Ambari Server
To start the Ambari Server:

ambari-server start
To check the Ambari Server processes:

ps -ef | grep Ambari
To stop the Ambari Server:

ambari-server stop

Pin It

Tuesday, January 1, 2019

Install mysql on hortonworks sandbox Pin It

Transfer files from Windows laptop to the Hortonworks VM

On Windows laptop, open a new terminal window, navigate to the folder where you have stored your files.
Execute the following commands to transfer the files from your laptop to your Hortonworks VM

scp -P 2222 * filetotransfer.txt

Pin It

Hortonworks Settings to change

Minimum replicated blocks %

Change to zero

This will prevent HDFS from going into safe mode, which will in turn cause YARN not to run properly Pin It

YARN service starting problem

Check if HDFS is in safe mode

hdfs dfsadmin -safemode get

Force HDFS to leave safe mode

hdfs dfsadmin -safemode leave

HDFS safemode command

hdfs dfsadmin -safemode [enter | leave | get] Pin It

Saturday, December 22, 2018

Install GUI on Debian stretch

apt-get install task-gnome-desktop
Pin It

Saturday, December 8, 2018

find file with contents centos

grep -rlw "tecadmin" /var/log

Pin It