Posts

Ambari Name Node Startup Fails when safe mode is on.

I'm having a weird issue trying to restart my hadoop cluster in Ambari after a reboot of all nodes. Despite not making any configuration changes the name node service fails to start with the error below. > Fail: Execution of 'su -s /bin/bash - hdfs -c 'export > PATH=$PATH:/usr/hdp/current/hadoop-client/bin ; hdfs --config > /etc/hadoop/conf dfsadmin -safemode get' | grep 'Safe mode is OFF'' > returned 1. I have looked around and found someone pointing to a non UTF-8 encoding issue but have not had any luck resolving this. Can someone tell me what this error means or how to debug it? Solution The name node service was failing to start because safe mode was on. After reading up on safe mode I realized that is turned on when read only mode is necessary for the name node. I'm not sure what caused it to stay in safe mode but running this command below resolved my issue. sudo -u hdfs hdfs dfsadmin -safemode leave

WAS Federated repositories - Not able to login when any one of the repositories is down

Scenario: In IBM IIS, when the user registry is configured as Federated repositories , we cannot login to WebSphere and any of the IIS components when any one of the repositories is down. Cause: If one or more configured repository is down, we cannot log in (even as admin) or stop WebSphere Application Server, regardless of the repository in which your particular ID is stored. Virtual member manager (VMM) always checks whether all repositories are up before authenticating. Resolution: To disable this feature, we must set allowOperationIfReposDown to true in wimconfig.xml file . Note: After updating wimconfig.xml, the services must be restarted for the changes to take effect. Reference Links: http://www.ibm.com/support/ knowledgecenter/SSAW57_8.5.5/ com.ibm.websphere.wim.doc/ UnableToAuthenticateWhenReposi toryIsDown.html https://developer.ibm.com/ answers/questions/242364/why- do-errors-cwwim2009e-and- secj0281e-occur-in-sy.html ​​

IGC - Not showing the steward and IGC rest explorer url not working

SystemOut.log says. Caused by: java.io.IOException: Permission denied at java.io.File.createTempFile(File.java:2013) at com.ibm.is.vr.client.impl.FileObjectStore.createTempFile (FileObjectStore.java:72) at com.ibm.is.vr.client.impl.FileObjectStore.ensureFilesOpen (FileObjectStore.java:58)  Solution: The exception is arising from a problem writing to vr.temp.location with the user WAS is running under. We have seen this before when WAS is running as non-root. Is your websphere process running as non-root? You can check by doing a ps as follows: ps -ef|grep AppServer on the services tier machine. Check the permissions on the temporary directory /tmp/*vrdata cd /tmp ls -ltr|grep vrdata If needed, the instructions on setting the location of vr.temp.location are here: http://www.ibm.com/support/knowledgecenter/SSZJPZ_11.5.0/com.ibm.swg.im.iis.mdwb.doc/topics/t_defining_search_directory.html The user the WAS is running under should have write per...

TNS-12560: Message 12560 not found; No message file for product=network, facility=TNS

​​ problem:               Message 1053 not found; No message file for product=network, facility=TNSTNS-12541:         Message 12541 not found; No message file for product=network, facility=TNS             TNS-12560: Message 12560 not found; No message file for product=network, facility=TNS           TNS-00511: Message 511 not found; No message file for product=network, facility=TNS          Linux Error: 111: Connection refused  solution:                set below variable on OS  level :     #export ORACLE_SID=<oracle db name>     #export ORACLE_HOME=<oracle_home> <take oracle home location from /etc/oratab file>     #export PATH=/usr/sbin:$PATH      #export PATH=$ORACLE_HOME/bin:$PATH                then run the command which giving the error after execution.

Oracle installation 11GR2 installation on RHEL7/ Centos7 errors and fixes

This article will list all errors/issues I encounter during Oracle installation with their fix. It will be updated with all new errors I will encounter. In this article ... ... " Fix prior install" needs jar binary. Install it with the following command: $ yum -y install java-devel memcpy error in ins_ctx.mk Operating System: Oracle Enterprise Linux 7 Oracle version: 11.2.0.1 Error output INFO: gcc -o ctxhx -m64 -L/u01/app/oracle/product/11.2.0/db_1/ctx/lib/ -L/u01/app/oracle/product/11.2.0/db_1/lib/ -L/u01/app/oracle/product/11.2.0/db_1/lib/stubs/  /u01/app/oracle/product/11.2.0/db_1/ctx/lib/ctxhx.o -L/u01/app/oracle/product/11.2.0/db_1/ctx/lib/ -lm -lsc_fa -lsc_ex -lsc_da -lsc_ca -lz  -lctxhx -Wl,-rpath,/u01/app/oracle/product/11.2.0/db_1/ctx/lib -lsnls11 -lnls11  -lcore11 -lsnls11 -lnls11 -lcore11 -lsnls11 -lnls11 -lxml11 -lcore11 -lunls11 -lsnls11 -lnls11 -lcore11 -lnls11  `cat /u01/app/oracle INFO: /product/11.2.0/db_1/lib/sysliblist`   INFO: /lib64/...

IBM IIS datastage MSSQL dsn to use domain authentication

AuthenticationMethod=9 Domain=DomainName

XMeta Healthchecker failed

ISALIte XMeta Healthchecker failed with OutOfMemory error.   Please increase java heapspace for xmetaAdmin command as below and run ISALite XMeta Healthchecker: Edit the <ISHOME>/ASBServer/bin/xmetaAdmin.sh Add -Xmx parameter to Java command in xmetaAdmin.sh file as below to increase heapsize to 4GB(i.e, 4096MB): "$JAVA" -Xmx4096m $EFFECTIVE_JAVA_OPTS -classpath "$CLASSPATH" com.ibm.xmeta.admin.AdminCommand "$@" Now, run ISALite XMeta Healthchecker.   If it still fails with OutOfMemory error, please increase the heapspace further, say 8GB(i.e, 8192MB) , run ISALite XMeta HealthChecker and get the report.