Wednesday, January 16, 2019

check if ambari is ready


https://ambari.apache.org/1.2.0/installing-hadoop-using-ambari/content/ambari-chap2-3.html\

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

https://cwiki.apache.org/confluence/display/AMBARI/Ambari+Shell


Pin It

Tuesday, January 1, 2019

Install mysql on hortonworks sandbox


https://community.hortonworks.com/questions/78566/where-is-mysql-in-hdp-25.html

https://community.hortonworks.com/questions/203206/mysql-default-password-first-time-sandbox-login.html 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 root@sandbox-hdp.hortonworks.com:/tmp/data

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


https://tecadmin.net/find-all-files-containing-specific-text-on-linux/

Pin It