Topic
  • 2 replies
  • Latest Post - ‏2012-10-29T21:20:07Z by SystemAdmin
SystemAdmin
SystemAdmin
603 Posts

Pinned topic Installation problem

‏2012-10-29T17:01:33Z |
Hi,

I'm trying to install BigInsights enterprise evaluation version 1.4.0.1 on single node with CentOS5 x86_64 and I run into following problems:

web installer fails on system check with unknown error (password-less ssh access and sudo is configured, installation directories are created). Simple install shows this error:

root@centos5 silent-install# ./silent-install.sh
Beginning the silent installation of BigInsights. For more information, see the log /opt/biginsights-enterprise-linux64_b20120822_2100/silent-install/silent-install_2012-10-29T10.09.05.584_MDT.log.

INFO Running as root, /opt/biginsights-enterprise-linux64_b20120822_2100/installer/bin/install.sh
INFO Distribution Vendor :
INFO Progress - Initializing install properties
INFO Progress - 0%
INFO HadoopConf - Hadoop Configuration class is not on classpath
INFO MgmtConfInitializer - Biginsights nodes http://centos5.server
INFO MgmtConfInitializer - install mode : install
INFO MgmtConfInitializer - distro vendor : null
INFO MgmtConfInitializer - dfs.name.dir=/hadoop/hdfs/name
INFO MgmtConfInitializer - fs.checkpoint.dir=/hadoop/hdfs/namesecondary
INFO MgmtConfInitializer - default dfs.data.dir=/hadoop/hdfs/data
INFO MgmtConfInitializer - mapred.system.dir=/hadoop/mapred/system
INFO MgmtConfInitializer - mapred.local.dir=/hadoop/mapred/local
INFO MgmtConfInitializer - hadoop.log.dir=/var/ibm/biginsights/hadoop/logs
INFO MgmtConfInitializer - hadoop.proxyuser.biadmin.hosts=*
INFO MgmtConfInitializer - hadoop.proxyuser.biadmin.groups=*
INFO MgmtConfInitializer - centos5.server is NameNode
INFO MgmtConfInitializer - centos5.server is Secondary NameNode
INFO MgmtConfInitializer - centos5.server is JobTracker
INFO MgmtConfInitializer - centos5.server is DataNode
INFO MgmtConfInitializer - biginsights.home=/opt/ibm/biginsights
INFO MgmtConfInitializer - biginsights.var=/var/ibm/biginsights
INFO MgmtConfInitializer - mgmt.ssh.config=by_root_ssh
INFO MgmtConfInitializer - mgmt.user=biadmin
INFO MgmtConfInitializer - mgmt.group=biadmin
INFO MgmtConfInitializer - biginsights.virtualnodes=null
INFO HadoopConf - Hadoop conf saved to /opt/biginsights-enterprise-linux64_b20120822_2100/installer/hdm/hadoop-conf-staging
INFO Progress - Check cluster environment
INFO Progress - 2%
INFO HadoopConf - Hadoop Configuration class is not on classpath
INFO @centos5.server - Check directories succeed.
INFO Progress - 3%
INFO PriorChecker - Pre-check on Biginsights Directories Check : succeed.
Exception in thread "main" java.lang.NullPointerException
at com.ibm.xap.mgmt.hdm.PriorChecker.initPortsOnNode(PriorChecker.java:362)
at com.ibm.xap.mgmt.hdm.PriorChecker.getPortsByNode(PriorChecker.java:298)
at com.ibm.xap.mgmt.hdm.PriorChecker$ServicePortChecker.check(PriorChecker.java:267)
at com.ibm.xap.mgmt.hdm.PriorChecker.checkAll(PriorChecker.java:128)
at com.ibm.xap.mgmt.hdm.PriorChecker.main(PriorChecker.java:99)
FATAL System pre-check fails, some prerequisite is not fulfilled. Check log for detail.

FATAL Failed to silent install BigInsights.

When the com.ibm.xap.mgmt.hdm.PriorChecker component in the installer is commented, it goes a little bit further:

...
INFO @centos5.server - RHEL
Added existing user biadmin to group biadmin
SSH pub key already exists in /home/biadmin/.ssh/authorized_keys
Skip ID file generation as they exist
INFO @centos5.server - clean up /tmp/_root-setup-biadmin-remote.sh /tmp/id_rsa.pub
INFO Progress - 11%
INFO Cluster - Check biadmin passwordless SSH setup
INFO @centos5.server - OK, password-less SSH has setup.
INFO Progress - 13%
INFO DupHostDefender - Add other known names to ~/.ssh/known_hosts.
INFO Progress - 14%
INFO Install as HADOOP_USER biadmin
INFO Progress - Checking directories permission
INFO Progress - 17%
INFO HadoopConf - Hadoop Configuration class is not on classpath
INFO HadoopMgmtCmdline - Running configDirs
INFO HadoopConf - Hadoop Configuration class is not on classpath
INFO @centos5.server -
INFO Progress - 18%
INFO HadoopConf - Hadoop Configuration class is not on classpath
INFO HadoopMgmtCmdline - Running check32or64
INFO HadoopConf - Hadoop Configuration class is not on classpath
INFO Progress - Deploying IBM Hadoop Cluster
INFO Progress - 18%
INFO HadoopConf - Hadoop Configuration class is not on classpath
INFO HadoopMgmtCmdline - Running deployForceAll
INFO HadoopConf - Hadoop Configuration class is not on classpath
INFO Cluster - Repack ... /opt/ibm/biginsights/hdm/todeploy/hdm.tar.gz
INFO HadoopConf - Reset includes (dfs.hosts)
INFO HadoopConf - Reset includes (mapred.hosts)
INFO HadoopConf - Auto set mapred.fairscheduler.allocation.file=/opt/ibm/biginsights/hadoop-conf/fair-scheduler.xml
INFO HadoopConf - Hadoop conf saved to /opt/ibm/biginsights/hdm/hadoop-conf-staging
INFO Cluster - Repack ... /opt/ibm/biginsights/hdm/todeploy/ihc-conf.tar.gz
INFO Cluster - Repack ... /opt/ibm/biginsights/hdm/todeploy/ihc-conf.tar.gz@centos5.server
FATAL null
java.lang.NullPointerException
at com.ibm.xap.mgmt.hdm.ClusterContext.repackHadoopIfNeeded(ClusterContext.java:362)
at com.ibm.xap.mgmt.hdm.ClusterContext.prepareConfAndPackagesForDeploy(ClusterContext.java:184)
at com.ibm.xap.mgmt.hdm.HadoopMgmtFacade.deploy(HadoopMgmtFacade.java:347)
at com.ibm.xap.mgmt.hdm.HadoopMgmtFacade.deployForceAll(HadoopMgmtFacade.java:339)
at com.ibm.xap.mgmt.hdm.HadoopMgmtCmdline.run(HadoopMgmtCmdline.java:108)
at com.ibm.xap.mgmt.hdm.HadoopMgmtCmdline.main(HadoopMgmtCmdline.java:36)
FATAL deploy failed

The install.xml file is attached. Thank you for your help
Updated on 2012-10-29T21:20:07Z at 2012-10-29T21:20:07Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    603 Posts

    Re: Installation problem

    ‏2012-10-29T17:21:16Z  
    Hi,

    It looks like you're installing BigInsights silently.

    Syntax should look like this:

    ./silent-install.sh sample-install-*.xml

    Please see documentation:

    http://pic.dhe.ibm.com/infocenter/bigins/v1r4/topic/com.ibm.swg.im.infosphere.biginsights.install.doc/doc/c0057847.htm

    Also, sample response files provided with the installation are missing vendor tag. This is a known issue.

    To fix that, please edit your response file and add <vendor>ibm</vendor> tag as follows:

    <?xml version="1.0" encoding="UTF-8"?>
    <!-- The sample-install-noSecurity.xml file is used for silently
    installing BigInsights without security. -->
    <cluster-configuration>
    <operation>install</operation>
    <vendor>ibm</vendor>
    <general>

    Hope this helps.

    Thanks,

    Zach
  • SystemAdmin
    SystemAdmin
    603 Posts

    Re: Installation problem

    ‏2012-10-29T21:20:07Z  
    Hi,

    It looks like you're installing BigInsights silently.

    Syntax should look like this:

    ./silent-install.sh sample-install-*.xml

    Please see documentation:

    http://pic.dhe.ibm.com/infocenter/bigins/v1r4/topic/com.ibm.swg.im.infosphere.biginsights.install.doc/doc/c0057847.htm

    Also, sample response files provided with the installation are missing vendor tag. This is a known issue.

    To fix that, please edit your response file and add <vendor>ibm</vendor> tag as follows:

    <?xml version="1.0" encoding="UTF-8"?>
    <!-- The sample-install-noSecurity.xml file is used for silently
    installing BigInsights without security. -->
    <cluster-configuration>
    <operation>install</operation>
    <vendor>ibm</vendor>
    <general>

    Hope this helps.

    Thanks,

    Zach
    Thank you very much Zach, it was the missing vendor tag.