FAQ
Hi,

We are trying to install IMPALA on a single node.
Please find below the steps :
1) Installed Cloudera Manager (Free edition)
2) Installed CDH4.1.2
3) Installed Hive Seperately
4) Installed MySQL (Created user for IMPALA,Ran hive-schema-0.9.0.mysql.sql)
5) Configured XML's in HIVE as well as in Impala config folder .Please find
attached configuration files.

While starting impala service we are getting following error :

Service did not start successfully; not all of the required roles started:
The state store is not running.

Child Commands
Command Context Started at Status * Start this Impala StateStore Daemon<http://172.25.7.91:7180/cmf/command/174/details>
* statestore (cldx-1080-975)<http://172.25.7.91:7180/cmf/services/22/instances/44/status> Role
Log File<http://172.25.7.91:7180/cmf/process/all/logs/context?port=9000&host=cldx-1080-975&path=%2Fvar%2Flog%2Fstatestore%2Fstatestored.INFO&roleId=44> Jan 28, 2013 7:47:47 PM IST
Finished , Jan 28, 2013 7:48:04 PM IST

Supervisor returned FATAL: + HBASE_CONF_DIR=/var/run/cloudera-scm-agent/process/80-impala-STATESTORE/hbase-conf
+ FLAG_FILE=/var/run/cloudera-scm-agent/process/80-impala-STATESTORE/impala-conf/state_store_flags
+ perl -pi -e 's#{{CMF_CONF_DIR}}#/var/run/cloudera-scm-agent/process/80-impala-STATESTORE#g' /var/run/cloudera-scm-agent/process/80-impala-STATESTORE/impala-conf/state_store_flags
+ '[' impalad = statestore ']'
+ '[' statestore = statestore ']'
+ exec statestored --flagfile=/var/run/cloudera-scm-agent/process/80-impala-STATESTORE/impala-conf/state_store_flags
/usr/lib/impala/sbin/statestored: error while loading shared libraries: libjvm.so: cannot open shared object file: No such file or directory
+ date
+ date
Mon Jan 28 19:48:03 IST 2013
+ export IMPALA_CONF_DIR=/var/run/cloudera-scm-agent/process/80-impala-STATESTORE/impala-conf
+ IMPALA_CONF_DIR=/var/run/cloudera-scm-agent/process/80-impala-STATESTORE/impala-conf
+ export HADOOP_CONF_DIR=/var/run/cloudera-scm-agent/process/80-impala-STATESTORE/hadoop-conf
+ HADOOP_CONF_DIR=/var/run/cloudera-scm-agent/process/80-impala-STATESTORE/hadoop-conf
+ export HIVE_CONF_DIR=/var/run/cloudera-scm-agent/process/80-impala-STATESTORE/hive-conf
+ HIVE_CONF_DIR=/var/run/cloudera-scm-agent/process/80-impala-STATESTORE/hive-conf
+ export HBASE_CONF_DIR=/var/run/cloudera-scm-agent/process/80-impala-STATESTORE/hbase-conf
+ HBASE_CONF_DIR=/var/run/cloudera-scm-agent/process/80-impala-STATESTORE/hbase-conf
+ FLAG_FILE=/var/run/cloudera-scm-agent/process/80-impala-STATESTORE/impala-conf/state_store_flags
+ perl -pi -e 's#{{CMF_CONF_DIR}}#/var/run/cloudera-scm-agent/process/80-impala-STATESTORE#g' /var/run/cloudera-scm-agent/process/80-impala-STATESTORE/impala-conf/state_store_flags
+ '[' impalad = statestore ']'
+ '[' statestore = statestore ']'
+ exec statestored --flagfile=/var/run/cloudera-scm-agent/process/80-impala-STATESTORE/impala-conf/state_store_flags
/usr/lib/impala/sbin/statestored: error while loading shared libraries: libjvm.so: cannot open shared object file: No such file or directory

* Start this Impala Daemon<http://172.25.7.91:7180/cmf/command/173/details>
* impalad (cldx-1080-975)<http://172.25.7.91:7180/cmf/services/22/instances/43/status> Role
Log File<http://172.25.7.91:7180/cmf/process/all/logs/context?port=9000&host=cldx-1080-975&path=%2Fvar%2Flog%2Fimpalad%2Fimpalad.INFO&roleId=43> Jan 28, 2013 7:47:47 PM IST
Finished , Jan 28, 2013 7:48:04 PM IST

Supervisor returned FATAL: + CHECK_SHORT_CIRCUIT_READS=true
+ DN_DATA_DIR=/dfs/dn
+ [[ true = \t\r\u\e ]]
+ [[ -e /dfs/dn ]]
+ echo 'Testing readability of DataNode data dirs for short circuit reads'
+ '[' -r /dfs/dn ']'
+ echo 'Valid setup: /dfs/dn is accesible for short circuit reads'
+ exec impalad --flagfile=/var/run/cloudera-scm-agent/process/79-impala-IMPALAD/impala-conf/impalad_flags
/usr/lib/impala/sbin/impalad: error while loading shared libraries: libjsig.so: cannot open shared object file: No such file or directory
+ date
+ date
Mon Jan 28 19:48:03 IST 2013
+ export IMPALA_CONF_DIR=/var/run/cloudera-scm-agent/process/79-impala-IMPALAD/impala-conf
+ IMPALA_CONF_DIR=/var/run/cloudera-scm-agent/process/79-impala-IMPALAD/impala-conf
+ export HADOOP_CONF_DIR=/var/run/cloudera-scm-agent/process/79-impala-IMPALAD/hadoop-conf
+ HADOOP_CONF_DIR=/var/run/cloudera-scm-agent/process/79-impala-IMPALAD/hadoop-conf
+ export HIVE_CONF_DIR=/var/run/cloudera-scm-agent/process/79-impala-IMPALAD/hive-conf
+ HIVE_CONF_DIR=/var/run/cloudera-scm-agent/process/79-impala-IMPALAD/hive-conf
+ export HBASE_CONF_DIR=/var/run/cloudera-scm-agent/process/79-impala-IMPALAD/hbase-conf
+ HBASE_CONF_DIR=/var/run/cloudera-scm-agent/process/79-impala-IMPALAD/hbase-conf
+ FLAG_FILE=/var/run/cloudera-scm-agent/process/79-impala-IMPALAD/impala-conf/impalad_flags
+ perl -pi -e 's#{{CMF_CONF_DIR}}#/var/run/cloudera-scm-agent/process/79-impala-IMPALAD#g' /var/run/cloudera-scm-agent/process/79-impala-IMPALAD/impala-conf/impalad_flags
+ '[' impalad = impalad ']'
+ CHECK_SHORT_CIRCUIT_READS=true
+ DN_DATA_DIR=/dfs/dn
+ [[ true = \t\r\u\e ]]
+ [[ -e /dfs/dn ]]
+ echo 'Testing readability of DataNode data dirs for short circuit reads'
+ '[' -r /dfs/dn ']'
+ echo 'Valid setup: /dfs/dn is accesible for short circuit reads'
+ exec impalad --flagfile=/var/run/cloudera-scm-agent/process/79-impala-IMPALAD/impala-conf/impalad_flags
/usr/lib/impala/sbin/impalad: error while loading shared libraries: libjsig.so: cannot open shared object file: No such file or directory



Kindly Help us,

Best Regards,
Radhakrishnan

Search Discussions

  • bc Wong at Jan 30, 2013 at 6:10 pm
    Seem to be something wrong with your JAVA_HOME. libjvm.so and
    libjsig.so are both found in your Java installation. Can you run this
    and verify that the selected Java home is sane:

    for candidate in \
    /usr/lib/j2sdk1.6-sun \
    /usr/lib/jvm/java-6-sun \
    /usr/lib/jvm/java-1.6.0-sun-1.6.0.* \
    /usr/lib/jvm/java-1.6.0-sun-1.6.0.*/jre/ \
    /usr/lib/jvm/j2sdk1.6-oracle \
    /usr/lib/jvm/j2sdk1.6-oracle/jre \
    /usr/java/jdk1.6* \
    /usr/java/jre1.6* \
    /Library/Java/Home \
    /usr/java/default \
    /usr/lib/jvm/default-java \
    /usr/lib/jvm/java-openjdk \
    /usr/lib/jvm/jre-openjdk \
    /usr/lib/jvm/java-1.6.0-openjdk-1.6.* \
    /usr/lib/jvm/jre-1.6.0-openjdk* ; do if [ -e $candidate/bin/java
    ]; then echo $candidate; break; fi; done

    (This is the order of how CM locates a suitable JAVA_HOME.)

    Cheers,
    bc

    On Mon, Jan 28, 2013 at 1:03 AM, Radhakrishnan Natrajan
    wrote:
    Hi,

    We are trying to install IMPALA on a single node.
    Please find below the steps :
    1) Installed Cloudera Manager (Free edition)
    2) Installed CDH4.1.2
    3) Installed Hive Seperately
    4) Installed MySQL (Created user for IMPALA,Ran hive-schema-0.9.0.mysql.sql)
    5) Configured XML's in HIVE as well as in Impala config folder .Please find attached configuration files.

    While starting impala service we are getting following error :

    Service did not start successfully; not all of the required roles started:
    The state store is not running.

    Child Commands

    Command Context Started at Status
    Start this Impala StateStore Daemon statestore (cldx-1080-975) Role Log File Jan 28, 2013 7:47:47 PM IST Finished , Jan 28, 2013 7:48:04 PM IST

    Supervisor returned FATAL: + HBASE_CONF_DIR=/var/run/cloudera-scm-agent/process/80-impala-STATESTORE/hbase-conf
    + FLAG_FILE=/var/run/cloudera-scm-agent/process/80-impala-STATESTORE/impala-conf/state_store_flags
    + perl -pi -e 's#{{CMF_CONF_DIR}}#/var/run/cloudera-scm-agent/process/80-impala-STATESTORE#g' /var/run/cloudera-scm-agent/process/80-impala-STATESTORE/impala-conf/state_store_flags
    + '[' impalad = statestore ']'
    + '[' statestore = statestore ']'
    + exec statestored --flagfile=/var/run/cloudera-scm-agent/process/80-impala-STATESTORE/impala-conf/state_store_flags
    /usr/lib/impala/sbin/statestored: error while loading shared libraries: libjvm.so: cannot open shared object file: No such file or directory
    + date
    + date
    Mon Jan 28 19:48:03 IST 2013
    + export IMPALA_CONF_DIR=/var/run/cloudera-scm-agent/process/80-impala-STATESTORE/impala-conf
    + IMPALA_CONF_DIR=/var/run/cloudera-scm-agent/process/80-impala-STATESTORE/impala-conf
    + export HADOOP_CONF_DIR=/var/run/cloudera-scm-agent/process/80-impala-STATESTORE/hadoop-conf
    + HADOOP_CONF_DIR=/var/run/cloudera-scm-agent/process/80-impala-STATESTORE/hadoop-conf
    + export HIVE_CONF_DIR=/var/run/cloudera-scm-agent/process/80-impala-STATESTORE/hive-conf
    + HIVE_CONF_DIR=/var/run/cloudera-scm-agent/process/80-impala-STATESTORE/hive-conf
    + export HBASE_CONF_DIR=/var/run/cloudera-scm-agent/process/80-impala-STATESTORE/hbase-conf
    + HBASE_CONF_DIR=/var/run/cloudera-scm-agent/process/80-impala-STATESTORE/hbase-conf
    + FLAG_FILE=/var/run/cloudera-scm-agent/process/80-impala-STATESTORE/impala-conf/state_store_flags
    + perl -pi -e 's#{{CMF_CONF_DIR}}#/var/run/cloudera-scm-agent/process/80-impala-STATESTORE#g' /var/run/cloudera-scm-agent/process/80-impala-STATESTORE/impala-conf/state_store_flags
    + '[' impalad = statestore ']'
    + '[' statestore = statestore ']'
    + exec statestored --flagfile=/var/run/cloudera-scm-agent/process/80-impala-STATESTORE/impala-conf/state_store_flags
    /usr/lib/impala/sbin/statestored: error while loading shared libraries: libjvm.so: cannot open shared object file: No such file or directory

    Start this Impala Daemon impalad (cldx-1080-975) Role Log File Jan 28, 2013 7:47:47 PM IST Finished , Jan 28, 2013 7:48:04 PM IST

    Supervisor returned FATAL: + CHECK_SHORT_CIRCUIT_READS=true
    + DN_DATA_DIR=/dfs/dn
    + [[ true = \t\r\u\e ]]
    + [[ -e /dfs/dn ]]
    + echo 'Testing readability of DataNode data dirs for short circuit reads'
    + '[' -r /dfs/dn ']'
    + echo 'Valid setup: /dfs/dn is accesible for short circuit reads'
    + exec impalad --flagfile=/var/run/cloudera-scm-agent/process/79-impala-IMPALAD/impala-conf/impalad_flags
    /usr/lib/impala/sbin/impalad: error while loading shared libraries: libjsig.so: cannot open shared object file: No such file or directory
    + date
    + date
    Mon Jan 28 19:48:03 IST 2013
    + export IMPALA_CONF_DIR=/var/run/cloudera-scm-agent/process/79-impala-IMPALAD/impala-conf
    + IMPALA_CONF_DIR=/var/run/cloudera-scm-agent/process/79-impala-IMPALAD/impala-conf
    + export HADOOP_CONF_DIR=/var/run/cloudera-scm-agent/process/79-impala-IMPALAD/hadoop-conf
    + HADOOP_CONF_DIR=/var/run/cloudera-scm-agent/process/79-impala-IMPALAD/hadoop-conf
    + export HIVE_CONF_DIR=/var/run/cloudera-scm-agent/process/79-impala-IMPALAD/hive-conf
    + HIVE_CONF_DIR=/var/run/cloudera-scm-agent/process/79-impala-IMPALAD/hive-conf
    + export HBASE_CONF_DIR=/var/run/cloudera-scm-agent/process/79-impala-IMPALAD/hbase-conf
    + HBASE_CONF_DIR=/var/run/cloudera-scm-agent/process/79-impala-IMPALAD/hbase-conf
    + FLAG_FILE=/var/run/cloudera-scm-agent/process/79-impala-IMPALAD/impala-conf/impalad_flags
    + perl -pi -e 's#{{CMF_CONF_DIR}}#/var/run/cloudera-scm-agent/process/79-impala-IMPALAD#g' /var/run/cloudera-scm-agent/process/79-impala-IMPALAD/impala-conf/impalad_flags
    + '[' impalad = impalad ']'
    + CHECK_SHORT_CIRCUIT_READS=true
    + DN_DATA_DIR=/dfs/dn
    + [[ true = \t\r\u\e ]]
    + [[ -e /dfs/dn ]]
    + echo 'Testing readability of DataNode data dirs for short circuit reads'
    + '[' -r /dfs/dn ']'
    + echo 'Valid setup: /dfs/dn is accesible for short circuit reads'
    + exec impalad --flagfile=/var/run/cloudera-scm-agent/process/79-impala-IMPALAD/impala-conf/impalad_flags
    /usr/lib/impala/sbin/impalad: error while loading shared libraries: libjsig.so: cannot open shared object file: No such file or directory



    Kindly Help us,

    Best Regards,
    Radhakrishnan

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupscm-users @
categorieshadoop
postedJan 30, '13 at 5:48p
activeJan 30, '13 at 6:10p
posts2
users2
websitecloudera.com
irc#hadoop

2 users in discussion

bc Wong: 1 post Radhakrishnan Natrajan: 1 post

People

Translate

site design / logo © 2022 Grokbase