FAQ
Hello,

Has anyone experienced flume start issue from cloudera manager.
I am getting below error when i try to start flume agent from cloudera
manager

Supervisor returned FATAL: /usr/lib64/cmf/service/flume/flume.sh: line 24:
exec: /bin/flume: cannot execute: No such file or directory****

Fri Apr 19 03:55:37 UTC 2013****

+ perl -pi -e
's#{{CMF_CONF_DIR}}#/var/run/cloudera-scm-agent/process/700-flume-AGENT#g'
'/var/run/cloudera-scm-agent/process/700-flume-AGENT/*.xml'****

Can't open /var/run/cloudera-scm-agent/process/700-flume-AGENT/*.xml: No
such file or directory.****

+ export FLUME_CONF_DIR=/var/run/cloudera-scm-agent/process/700-flume-AGENT*
***

+ FLUME_CONF_DIR=/var/run/cloudera-scm-agent/process/700-flume-AGENT****

+ exec /bin/flume****

/usr/lib64/cmf/service/flume/flume.sh: line 24: /bin/flume: No such file or
directory****

/usr/lib64/cmf/service/flume/flume.sh: line 24: exec: /bin/flume: cannot
execute: No such file or directory****

Fri Apr 19 03:55:39 UTC 2013****

+ perl -pi -e
's#{{CMF_CONF_DIR}}#/var/run/cloudera-scm-agent/process/700-flume-AGENT#g'
'/var/run/cloudera-scm-agent/process/700-flume-AGENT/*.xml'****

Can't open /var/run/cloudera-scm-agent/process/700-flume-AGENT/*.xml: No
such file or directory.****

+ export FLUME_CONF_DIR=/var/run/cloudera-scm-agent/process/700-flume-AGENT*
***

+ FLUME_CONF_DIR=/var/run/cloudera-scm-agent/process/700-flume-AGENT****

+ exec /bin/flume****

/usr/lib64/cmf/service/flume/flume.sh: line 24: /bin/flume: No such file or
directory****

/usr/lib64/cmf/service/flume/flume.sh: line 24: exec: /bin/flume: cannot
execute: No such file or directory****

Fri Apr 19 03:55:42 UTC 2013****

+ perl -pi -e
's#{{CMF_CONF_DIR}}#/var/run/cloudera-scm-agent/process/700-flume-AGENT#g'
'/var/run/cloudera-scm-agent/process/700-flume-AGENT/*.xml'****

Can't open /var/run/cloudera-scm-agent/process/700-flume-AGENT/*.xml: No
such file or directory.****

+ export FLUME_CONF_DIR=/var/run/cloudera-scm-agent/process/700-flume-AGENT*
***

+ FLUME_CONF_DIR=/var/run/cloudera-scm-agent/process/700-flume-AGENT****

+ exec /bin/flume****

/usr/lib64/cmf/service/flume/flume.sh: line 24: /bin/flume: No such file or
directory****

/usr/lib64/cmf/service/flume/flume.sh: line 24: exec: /bin/flume: cannot
execute: No such file or directory

Search Discussions

  • Harsh J at Apr 19, 2013 at 7:47 am
    Have you set FLUME_HOME or so in your machine's global environment somewhere?
    On Fri, Apr 19, 2013 at 9:32 AM, Madhu M wrote:
    Hello,

    Has anyone experienced flume start issue from cloudera manager.
    I am getting below error when i try to start flume agent from cloudera
    manager

    Supervisor returned FATAL: /usr/lib64/cmf/service/flume/flume.sh: line 24:
    exec: /bin/flume: cannot execute: No such file or directory

    Fri Apr 19 03:55:37 UTC 2013

    + perl -pi -e
    's#{{CMF_CONF_DIR}}#/var/run/cloudera-scm-agent/process/700-flume-AGENT#g'
    '/var/run/cloudera-scm-agent/process/700-flume-AGENT/*.xml'

    Can't open /var/run/cloudera-scm-agent/process/700-flume-AGENT/*.xml: No
    such file or directory.

    + export FLUME_CONF_DIR=/var/run/cloudera-scm-agent/process/700-flume-AGENT

    + FLUME_CONF_DIR=/var/run/cloudera-scm-agent/process/700-flume-AGENT

    + exec /bin/flume

    /usr/lib64/cmf/service/flume/flume.sh: line 24: /bin/flume: No such file or
    directory

    /usr/lib64/cmf/service/flume/flume.sh: line 24: exec: /bin/flume: cannot
    execute: No such file or directory

    Fri Apr 19 03:55:39 UTC 2013

    + perl -pi -e
    's#{{CMF_CONF_DIR}}#/var/run/cloudera-scm-agent/process/700-flume-AGENT#g'
    '/var/run/cloudera-scm-agent/process/700-flume-AGENT/*.xml'

    Can't open /var/run/cloudera-scm-agent/process/700-flume-AGENT/*.xml: No
    such file or directory.

    + export FLUME_CONF_DIR=/var/run/cloudera-scm-agent/process/700-flume-AGENT

    + FLUME_CONF_DIR=/var/run/cloudera-scm-agent/process/700-flume-AGENT

    + exec /bin/flume

    /usr/lib64/cmf/service/flume/flume.sh: line 24: /bin/flume: No such file or
    directory

    /usr/lib64/cmf/service/flume/flume.sh: line 24: exec: /bin/flume: cannot
    execute: No such file or directory

    Fri Apr 19 03:55:42 UTC 2013

    + perl -pi -e
    's#{{CMF_CONF_DIR}}#/var/run/cloudera-scm-agent/process/700-flume-AGENT#g'
    '/var/run/cloudera-scm-agent/process/700-flume-AGENT/*.xml'

    Can't open /var/run/cloudera-scm-agent/process/700-flume-AGENT/*.xml: No
    such file or directory.

    + export FLUME_CONF_DIR=/var/run/cloudera-scm-agent/process/700-flume-AGENT

    + FLUME_CONF_DIR=/var/run/cloudera-scm-agent/process/700-flume-AGENT

    + exec /bin/flume

    /usr/lib64/cmf/service/flume/flume.sh: line 24: /bin/flume: No such file or
    directory

    /usr/lib64/cmf/service/flume/flume.sh: line 24: exec: /bin/flume: cannot
    execute: No such file or directory


    --
    Harsh J
  • Philip Zeyliger at Apr 19, 2013 at 3:26 pm
    Madhu,

    One thing to check is to see if there's an
    /etc/default/cloudera-scm-agent.rpmsave in addition to
    /etc/default/cloudera-scm-agent. Replace the latter with the former, or at
    least check that:

    export CMF_AGENT_CDH_FLUME_HOME=/usr/lib/flume-ng

    is in /etc/cloduera-scm-agent. Depending on your upgrade path, that file
    might be incorrect. (This is a bug that we're fixing.)

    Cheers,

    -- Philip

    On Fri, Apr 19, 2013 at 12:46 AM, Harsh J wrote:

    Have you set FLUME_HOME or so in your machine's global environment
    somewhere?
    On Fri, Apr 19, 2013 at 9:32 AM, Madhu M wrote:
    Hello,

    Has anyone experienced flume start issue from cloudera manager.
    I am getting below error when i try to start flume agent from cloudera
    manager

    Supervisor returned FATAL: /usr/lib64/cmf/service/flume/flume.sh: line 24:
    exec: /bin/flume: cannot execute: No such file or directory

    Fri Apr 19 03:55:37 UTC 2013

    + perl -pi -e
    's#{{CMF_CONF_DIR}}#/var/run/cloudera-scm-agent/process/700-flume-AGENT#g'
    '/var/run/cloudera-scm-agent/process/700-flume-AGENT/*.xml'

    Can't open /var/run/cloudera-scm-agent/process/700-flume-AGENT/*.xml: No
    such file or directory.

    + export
    FLUME_CONF_DIR=/var/run/cloudera-scm-agent/process/700-flume-AGENT
    + FLUME_CONF_DIR=/var/run/cloudera-scm-agent/process/700-flume-AGENT

    + exec /bin/flume

    /usr/lib64/cmf/service/flume/flume.sh: line 24: /bin/flume: No such file or
    directory

    /usr/lib64/cmf/service/flume/flume.sh: line 24: exec: /bin/flume: cannot
    execute: No such file or directory

    Fri Apr 19 03:55:39 UTC 2013

    + perl -pi -e
    's#{{CMF_CONF_DIR}}#/var/run/cloudera-scm-agent/process/700-flume-AGENT#g'
    '/var/run/cloudera-scm-agent/process/700-flume-AGENT/*.xml'

    Can't open /var/run/cloudera-scm-agent/process/700-flume-AGENT/*.xml: No
    such file or directory.

    + export
    FLUME_CONF_DIR=/var/run/cloudera-scm-agent/process/700-flume-AGENT
    + FLUME_CONF_DIR=/var/run/cloudera-scm-agent/process/700-flume-AGENT

    + exec /bin/flume

    /usr/lib64/cmf/service/flume/flume.sh: line 24: /bin/flume: No such file or
    directory

    /usr/lib64/cmf/service/flume/flume.sh: line 24: exec: /bin/flume: cannot
    execute: No such file or directory

    Fri Apr 19 03:55:42 UTC 2013

    + perl -pi -e
    's#{{CMF_CONF_DIR}}#/var/run/cloudera-scm-agent/process/700-flume-AGENT#g'
    '/var/run/cloudera-scm-agent/process/700-flume-AGENT/*.xml'

    Can't open /var/run/cloudera-scm-agent/process/700-flume-AGENT/*.xml: No
    such file or directory.

    + export
    FLUME_CONF_DIR=/var/run/cloudera-scm-agent/process/700-flume-AGENT
    + FLUME_CONF_DIR=/var/run/cloudera-scm-agent/process/700-flume-AGENT

    + exec /bin/flume

    /usr/lib64/cmf/service/flume/flume.sh: line 24: /bin/flume: No such file or
    directory

    /usr/lib64/cmf/service/flume/flume.sh: line 24: exec: /bin/flume: cannot
    execute: No such file or directory


    --
    Harsh J
  • Madhu Gmail at Apr 19, 2013 at 4:32 pm
    Philip,

    Thanks

    You are right.
    Below line is missing in /etc/default/cloudera-scm-agent
    export CMF_AGENT_CDH_FLUME_HOME=/usr/lib/flume-ng


    Madhu Munagala

    On Apr 19, 2013, at 10:26 AM, Philip Zeyliger wrote:

    Madhu,

    One thing to check is to see if there's an /etc/default/cloudera-scm-agent.rpmsave in addition to /etc/default/cloudera-scm-agent. Replace the latter with the former, or at least check that:

    export CMF_AGENT_CDH_FLUME_HOME=/usr/lib/flume-ng

    is in /etc/cloduera-scm-agent. Depending on your upgrade path, that file might be incorrect. (This is a bug that we're fixing.)

    Cheers,

    -- Philip

    On Fri, Apr 19, 2013 at 12:46 AM, Harsh J wrote:
    Have you set FLUME_HOME or so in your machine's global environment somewhere?
    On Fri, Apr 19, 2013 at 9:32 AM, Madhu M wrote:
    Hello,

    Has anyone experienced flume start issue from cloudera manager.
    I am getting below error when i try to start flume agent from cloudera
    manager

    Supervisor returned FATAL: /usr/lib64/cmf/service/flume/flume.sh: line 24:
    exec: /bin/flume: cannot execute: No such file or directory

    Fri Apr 19 03:55:37 UTC 2013

    + perl -pi -e
    's#{{CMF_CONF_DIR}}#/var/run/cloudera-scm-agent/process/700-flume-AGENT#g'
    '/var/run/cloudera-scm-agent/process/700-flume-AGENT/*.xml'

    Can't open /var/run/cloudera-scm-agent/process/700-flume-AGENT/*.xml: No
    such file or directory.

    + export FLUME_CONF_DIR=/var/run/cloudera-scm-agent/process/700-flume-AGENT

    + FLUME_CONF_DIR=/var/run/cloudera-scm-agent/process/700-flume-AGENT

    + exec /bin/flume

    /usr/lib64/cmf/service/flume/flume.sh: line 24: /bin/flume: No such file or
    directory

    /usr/lib64/cmf/service/flume/flume.sh: line 24: exec: /bin/flume: cannot
    execute: No such file or directory

    Fri Apr 19 03:55:39 UTC 2013

    + perl -pi -e
    's#{{CMF_CONF_DIR}}#/var/run/cloudera-scm-agent/process/700-flume-AGENT#g'
    '/var/run/cloudera-scm-agent/process/700-flume-AGENT/*.xml'

    Can't open /var/run/cloudera-scm-agent/process/700-flume-AGENT/*.xml: No
    such file or directory.

    + export FLUME_CONF_DIR=/var/run/cloudera-scm-agent/process/700-flume-AGENT

    + FLUME_CONF_DIR=/var/run/cloudera-scm-agent/process/700-flume-AGENT

    + exec /bin/flume

    /usr/lib64/cmf/service/flume/flume.sh: line 24: /bin/flume: No such file or
    directory

    /usr/lib64/cmf/service/flume/flume.sh: line 24: exec: /bin/flume: cannot
    execute: No such file or directory

    Fri Apr 19 03:55:42 UTC 2013

    + perl -pi -e
    's#{{CMF_CONF_DIR}}#/var/run/cloudera-scm-agent/process/700-flume-AGENT#g'
    '/var/run/cloudera-scm-agent/process/700-flume-AGENT/*.xml'

    Can't open /var/run/cloudera-scm-agent/process/700-flume-AGENT/*.xml: No
    such file or directory.

    + export FLUME_CONF_DIR=/var/run/cloudera-scm-agent/process/700-flume-AGENT

    + FLUME_CONF_DIR=/var/run/cloudera-scm-agent/process/700-flume-AGENT

    + exec /bin/flume

    /usr/lib64/cmf/service/flume/flume.sh: line 24: /bin/flume: No such file or
    directory

    /usr/lib64/cmf/service/flume/flume.sh: line 24: exec: /bin/flume: cannot
    execute: No such file or directory


    --
    Harsh J

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupscm-users @
categorieshadoop
postedApr 19, '13 at 4:02a
activeApr 19, '13 at 4:32p
posts4
users3
websitecloudera.com
irc#hadoop

People

Translate

site design / logo © 2022 Grokbase