Thursday, April 26, 2018

ERROR: Attempting to operate on hdfs datanode as root

Getting error when we tried to start hadoop as a root user

To resolve this navigate to /usr/hdf/
open file
Add the below lines
export HDFS_NAMENODE_USER="root"
export HDFS_DATANODE_USER="root"

Start hadoop now

Monday, March 26, 2018

How to skip prerequisite check while installing oracle softwares on linux operating system

Installing obiee software on linux throwing prerequisite check failed error

To install the software by ignoring the prerequisite check , issue the command as below

Sunday, March 25, 2018

Running 32 bit software on Linux 64 bit operating system

Installing NIFI

Downloading the software

Extracting the software

Configuring Nifi

Open for updating configurations

Save and close the file

Starting the Nifi server

Connect to Nifi data flow management url in your browser: http://localhost:8090/nifi/

Disable Archive Log Mode in Oracle Database

Connect to the database

Checking for the database log mode and its status

To disable the archive log mode shutdown the database first

Now start the database in mount

Now alter the database to non archive log mode

Now open the database

Check for the database log mode and its status now

java.lang.OutOfMemoryError: Java heap space, Running OOM killer script for process 11420 for Solr on port 8983, hortonworks

In Hortonworks cluster environment Ambari Infra Solr service failed to start with below error:

# java.lang.OutOfMemoryError: Java heap space
# -XX:OnOutOfMemoryError="/usr/lib/ambari-infra-solr/bin/ 8983 /var/log/ambari-infra-solr"
#   Executing /bin/sh -c "/usr/lib/ambari-infra-solr/bin/ 8983 /var/log/ambari-infra-solr"...
Running OOM killer script for process 11420 for Solr on port 8983
Killed process 11420


To resolve this

1. Login to Ambari management console.
2. Goto Ambari Infra
3. Click on Configs
4. Under settings tab increase the Infra Solr Minimum and Maximum heap size and click on save.
5. Start the service now.

Sunday, March 11, 2018

How to automatically start mysql after server reboot linux machine

If we want mysql server to start automatically on reboot

Issue the below command:

chkconfig --level 345 mysqld on

Reboot the machine and check now.

  Opatch reports 'Cyclic Dependency Detected' error when patching ODI   Issue: When applying a Patch Set Update (PSU) to WebLogic Se...