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
--