Crontab not working for kerberized hadoop

ISSUE:- Cronjobs not working for kerberos enabled hadoop. Throwing below error. ERROR tool.ImportTool: Encountered IOException running import job: Failed on local exception: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)];   Solution:- This is because there is no TTY, Profile setup for the … Continue reading Crontab not working for kerberized hadoop


How to resize the Linux VM OS disk in Azure

The default OS disk size for most Linux distros in Azure is 30GB and in certain circumstances you may need to increase the size of it. The steps below helps in achieving this. Note: Before proceeding it’s highly recommended that you backup your Azure VM first. You can do this using Azure Backup or use AzCopy … Continue reading How to resize the Linux VM OS disk in Azure

Yum Error: Peer cert cannot be verified or peer cert invalid

When you face an error with yum as below ============ [root@tnode1~]# yum repolist all Loaded plugins: product-id, security, subscription-manager : [Errno 14] Peer cert cannot be verified or peer cert invalid ============ Add “sslverify=false” in the ‘/etc/yum.conf’ file to solve this.  


Enable root access on Azure Linux Virtual Machine

  Login via ssh Enter sudo su – Check whether root access is configured or not by command grep root /etc/shadow (LOCK means root access is disabled (default)) [root@node1 ~]# grep root /etc/shadow root:*LOCK*:3600:::::: 4. Enable root access by command passwd [root@node1 ~]# passwd  


How To Install Apache Tomcat 8 on CentOS 7

1.Install JAVA #yum install java-1.7.0-openjdk-devel 2.Install tomcat We are going to install Tomcat in  /usr/local #cd /usr/local #wget #tar zxvf apache-tomcat-8.5.9.tar.gz 3.  Start tomcat #cd /usr/local/apache-tomcat-8.5.9/bin #./ 4. Check the Tomcat web UI with http://server_IP_address:8080 5. Configure Tomcat Web Management Interface by adding the user as below Open the conf file #vi /usr/local/apache-tomcat/conf/tomcat-users.xml add the below entry … Continue reading How To Install Apache Tomcat 8 on CentOS 7


How to Disable SELinux

In the command line type the following as root # echo 0 >/selinux/enforce We can also use the setenforce command to effectively disable it as below # setenforce Permissive OR # setenforce 0 With the above command selinux will be turned off temporarily. But to permanently disable it we have to edit /etc/sysconfig/selinux as below vi /etc/sysconfig/selinux … Continue reading How to Disable SELinux