ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Onischuk" <aonis...@hortonworks.com>
Subject Review Request 35177: Flume start with configured flume agents, and flume status fail in non-root agent mode
Date Sat, 06 Jun 2015 16:12:50 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/35177/
-----------------------------------------------------------

Review request for Ambari and Myroslav Papirkovskyy.


Bugs: AMBARI-11759
    https://issues.apache.org/jira/browse/AMBARI-11759


Repository: ambari


Description
-------

Traceback (most recent call last):
      File "/var/lib/ambari-agent/cache/common-services/FLUME/1.4.0.2.0/package/scripts/flume_handler.py",
line 127, in <module>
        FlumeHandler().execute()
      File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 216, in execute
        method(env)
      File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 448, in restart
        self.start(env)
      File "/usr/lib/python2.6/site-packages/ambari_commons/os_family_impl.py", line 89, in
thunk
        return fn(*args, **kwargs)
      File "/var/lib/ambari-agent/cache/common-services/FLUME/1.4.0.2.0/package/scripts/flume_handler.py",
line 57, in start
        flume(action='start')
      File "/usr/lib/python2.6/site-packages/ambari_commons/os_family_impl.py", line 89, in
thunk
        return fn(*args, **kwargs)
      File "/var/lib/ambari-agent/cache/common-services/FLUME/1.4.0.2.0/package/scripts/flume.py",
line 178, in flume
        try_sleep=10)
      File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 157,
in __init__
        self.env.run()
      File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line
152, in run
        self.run_action(resource, action)
      File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line
118, in run_action
        provider_action()
      File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py",
line 260, in action_run
        raise ex
    resource_management.core.exceptions.Fail: Execution of 'pgrep -o -u flume -f ^/usr/jdk64/jdk1.8.0_40.*a3_group1.*
> /var/run/flume/a3_group1.pid' returned 1. /bin/bash: /var/run/flume/a3_group1.pid: Permission
denied


Diffs
-----

  ambari-server/src/main/resources/common-services/FLUME/1.4.0.2.0/package/scripts/flume.py
9d97662 
  ambari-server/src/main/resources/common-services/FLUME/1.4.0.2.0/package/scripts/flume_handler.py
c7df0d8 
  ambari-server/src/main/resources/common-services/FLUME/1.4.0.2.0/package/scripts/params.py
4b2666b 
  ambari-server/src/test/python/stacks/2.0.6/FLUME/test_flume.py 0d806bd 

Diff: https://reviews.apache.org/r/35177/diff/


Testing
-------

mvn clean test


Thanks,

Andrew Onischuk


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message