FAQ
Hi Ashish,
(moving to scm-user)

If you're using CM, then you should restart the Impala service using
the CM management interface. Here's the CM documentation regarding
starting, stopping, and restarting services:
https://www.cloudera.com/content/cloudera-content/cloudera-docs/CM4Ent/latest/Cloudera-Manager-Managing-Clusters/cmmc_start_stop_service.html

-Matt

On Fri, Jan 24, 2014 at 12:36 AM, Ashish Agrawal
wrote:
Hi,

Does anyone know the exact commands to restart Impala Service
(impala-state-store and impala daemons) from command line. CDH cluster has
been installed via Cloudera Manager and by packages not parcels. I tried it
via "service impala-state-store start" command, but that doesn't work for me
because I dont find relevant files in /etc/init.d

I tried starting via statestored and impalad binaries(without any parameter)
but seems I am missing something, it is not starting that way either.

Then I tried executing it via

/usr/lib/cmf/service/impala/impala.sh statestored state-store-flags false

But that doesnt work either. Got below mentioned output:-

/usr/lib/cmf/service/impala/impala.sh statestore state_store_flags false
+ date
Fri Jan 24 08:34:43 UTC 2014
+ date
Fri Jan 24 08:34:43 UTC 2014
++ dirname /usr/lib/cmf/service/impala/impala.sh
+ cloudera_config=/usr/lib/cmf/service/impala
++ cd /usr/lib/cmf/service/impala/../common
++ pwd
+ cloudera_config=/usr/lib/cmf/service/common
+ . /usr/lib/cmf/service/common/cloudera-config.sh
++ set -x
+ source_parcel_environment
+ '[' '!' -z '' ']'
+ export IMPALA_HOME=
+ IMPALA_HOME=
+ export IMPALA_CONF_DIR=/impala-conf
+ IMPALA_CONF_DIR=/impala-conf
+ export HADOOP_CONF_DIR=/hadoop-conf
+ HADOOP_CONF_DIR=/hadoop-conf
+ export HIVE_CONF_DIR=/hive-conf
+ HIVE_CONF_DIR=/hive-conf
+ export HBASE_CONF_DIR=/hbase-conf
+ HBASE_CONF_DIR=/hbase-conf
+ JDBC_JARS=::
+ [[ -z '' ]]
+ export AUX_CLASSPATH=::
+ AUX_CLASSPATH=::
+ [[ -z '' ]]
+ export CLASSPATH=::
+ CLASSPATH=::
+ FLAG_FILE=/impala-conf/state_store_flags
+ USE_DEBUG_BUILD=false
+ perl -pi -e 's#{{CMF_CONF_DIR}}##g' /impala-conf/state_store_flags
Can't open /impala-conf/state_store_flags: No such file or directory.
+ '[' -f /impala-conf/.htpasswd ']'
+ false
+ export IMPALA_BIN=/sbin-retail
+ IMPALA_BIN=/sbin-retail
+ '[' impalad = statestore ']'
+ '[' statestore = statestore ']'
+ exec /../../bin/statestored --flagfile=/impala-conf/state_store_flags
/usr/lib/cmf/service/impala/impala.sh: line 64: /../../bin/statestored: No
such file or directory

Not sure, what am I missing here.

Any help is much appreciated!

Thanks
Ashish

To unsubscribe from this group and stop receiving emails from it, send an
email to [email protected].
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].

Search Discussions

  • Darren Lo at Jan 24, 2014 at 8:51 pm
    Hi Ashish,

    You can also use the Cloudera Manager API. There's several threads on this
    exact topic if you search the google group:
    https://groups.google.com/a/cloudera.org/forum/#!forum/scm-users

    Thanks,
    Darren

    On Fri, Jan 24, 2014 at 12:18 PM, Matthew Jacobs wrote:

    Hi Ashish,
    (moving to scm-user)

    If you're using CM, then you should restart the Impala service using
    the CM management interface. Here's the CM documentation regarding
    starting, stopping, and restarting services:

    https://www.cloudera.com/content/cloudera-content/cloudera-docs/CM4Ent/latest/Cloudera-Manager-Managing-Clusters/cmmc_start_stop_service.html

    -Matt

    On Fri, Jan 24, 2014 at 12:36 AM, Ashish Agrawal
    wrote:
    Hi,

    Does anyone know the exact commands to restart Impala Service
    (impala-state-store and impala daemons) from command line. CDH cluster has
    been installed via Cloudera Manager and by packages not parcels. I tried it
    via "service impala-state-store start" command, but that doesn't work for me
    because I dont find relevant files in /etc/init.d

    I tried starting via statestored and impalad binaries(without any
    parameter)
    but seems I am missing something, it is not starting that way either.

    Then I tried executing it via

    /usr/lib/cmf/service/impala/impala.sh statestored state-store-flags false

    But that doesnt work either. Got below mentioned output:-

    /usr/lib/cmf/service/impala/impala.sh statestore state_store_flags false
    + date
    Fri Jan 24 08:34:43 UTC 2014
    + date
    Fri Jan 24 08:34:43 UTC 2014
    ++ dirname /usr/lib/cmf/service/impala/impala.sh
    + cloudera_config=/usr/lib/cmf/service/impala
    ++ cd /usr/lib/cmf/service/impala/../common
    ++ pwd
    + cloudera_config=/usr/lib/cmf/service/common
    + . /usr/lib/cmf/service/common/cloudera-config.sh
    ++ set -x
    + source_parcel_environment
    + '[' '!' -z '' ']'
    + export IMPALA_HOME=
    + IMPALA_HOME=
    + export IMPALA_CONF_DIR=/impala-conf
    + IMPALA_CONF_DIR=/impala-conf
    + export HADOOP_CONF_DIR=/hadoop-conf
    + HADOOP_CONF_DIR=/hadoop-conf
    + export HIVE_CONF_DIR=/hive-conf
    + HIVE_CONF_DIR=/hive-conf
    + export HBASE_CONF_DIR=/hbase-conf
    + HBASE_CONF_DIR=/hbase-conf
    + JDBC_JARS=::
    + [[ -z '' ]]
    + export AUX_CLASSPATH=::
    + AUX_CLASSPATH=::
    + [[ -z '' ]]
    + export CLASSPATH=::
    + CLASSPATH=::
    + FLAG_FILE=/impala-conf/state_store_flags
    + USE_DEBUG_BUILD=false
    + perl -pi -e 's#{{CMF_CONF_DIR}}##g' /impala-conf/state_store_flags
    Can't open /impala-conf/state_store_flags: No such file or directory.
    + '[' -f /impala-conf/.htpasswd ']'
    + false
    + export IMPALA_BIN=/sbin-retail
    + IMPALA_BIN=/sbin-retail
    + '[' impalad = statestore ']'
    + '[' statestore = statestore ']'
    + exec /../../bin/statestored --flagfile=/impala-conf/state_store_flags
    /usr/lib/cmf/service/impala/impala.sh: line 64: /../../bin/statestored: No
    such file or directory

    Not sure, what am I missing here.

    Any help is much appreciated!

    Thanks
    Ashish

    To unsubscribe from this group and stop receiving emails from it, send an
    email to [email protected].
    To unsubscribe from this group and stop receiving emails from it, send an
    email to [email protected].


    --
    Thanks,
    Darren

    To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupimpala-user @
categorieshadoop
postedJan 24, '14 at 8:19p
activeJan 24, '14 at 8:51p
posts2
users2
websitecloudera.com
irc#hadoop

2 users in discussion

Darren Lo: 1 post Matthew Jacobs: 1 post

People

Translate

site design / logo © 2023 Grokbase