You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@ambari.apache.org by Dmytro Sen <ds...@hortonworks.com> on 2017/02/24 15:51:19 UTC
Review Request 57042: Service Flume failed to start with "cannot open
/grid/0/log/flume/a1.out for reading: Permission denied"
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/57042/
-----------------------------------------------------------
Review request for Ambari, Sumit Mohanty, Sid Wagle, and Vitalyi Brodetskyi.
Bugs: AMBARI-19180
https://issues.apache.org/jira/browse/AMBARI-19180
Repository: ambari
Description
-------
STR:
-> Delete the following services on the cluster : Flume, Atlas, Hbase, Sqoop, Storm, Knox, AMS
-> Add them back using add service wizard
Flume fails to start with
2016-12-12 03:47:12,640 - Execute['ambari-sudo.sh -H -E pgrep -o -u cstm-flume -f '^/usr/jdk64/jdk1.8.0_77.*a1.*' | ambari-sudo.sh -H -E tee /var/run/flume/a1.pid && test ${PIPESTATUS[0]} -eq 0'] {'logoutput': True, 'tries': 20, 'try_sleep': 10}
2016-12-12 03:47:12,667 - Retrying after 10 seconds. Reason: Execution of 'ambari-sudo.sh -H -E pgrep -o -u cstm-flume -f '^/usr/jdk64/jdk1.8.0_77.*a1.*' | ambari-sudo.sh -H -E tee /var/run/flume/a1.pid && test ${PIPESTATUS[0]} -eq 0' returned 1.
2016-12-12 03:47:22,706 - Retrying after 10 seconds. Reason: Execution of 'ambari-sudo.sh -H -E pgrep -o -u cstm-flume -f '^/usr/jdk64/jdk1.8.0_77.*a1.*' | ambari-sudo.sh -H -E tee /var/run/flume/a1.pid && test ${PIPESTATUS[0]} -eq 0' returned 1.
2016-12-12 03:49:23,237 - Retrying after 10 seconds. Reason: Execution of 'ambari-sudo.sh -H -E pgrep -o -u cstm-flume -f '^/usr/jdk64/jdk1.8.0_77.*a1.*' | ambari-sudo.sh -H -E tee /var/run/flume/a1.pid && test ${PIPESTATUS[0]} -eq 0' returned 1.
2016-12-12 03:49:33,277 - Retrying after 10 seconds. Reason: Execution of 'ambari-sudo.sh -H -E pgrep -o -u cstm-flume -f '^/usr/jdk64/jdk1.8.0_77.*a1.*' | ambari-sudo.sh -H -E tee /var/run/flume/a1.pid && test ${PIPESTATUS[0]} -eq 0' returned 1.
2016-12-12 03:49:43,318 - Retrying after 10 seconds. Reason: Execution of 'ambari-sudo.sh -H -E pgrep -o -u cstm-flume -f '^/usr/jdk64/jdk1.8.0_77.*a1.*' | ambari-sudo.sh -H -E tee /var/run/flume/a1.pid && test ${PIPESTATUS[0]} -eq 0' returned 1.
2016-12-12 03:49:53,366 - Retrying after 10 seconds. Reason: Execution of 'ambari-sudo.sh -H -E pgrep -o -u cstm-flume -f '^/usr/jdk64/jdk1.8.0_77.*a1.*' | ambari-sudo.sh -H -E tee /var/run/flume/a1.pid && test ${PIPESTATUS[0]} -eq 0' returned 1.
2016-12-12 03:50:03,401 - Retrying after 10 seconds. Reason: Execution of 'ambari-sudo.sh -H -E pgrep -o -u cstm-flume -f '^/usr/jdk64/jdk1.8.0_77.*a1.*' | ambari-sudo.sh -H -E tee /var/run/flume/a1.pid && test ${PIPESTATUS[0]} -eq 0' returned 1.
2016-12-12 03:50:13,449 - Retrying after 10 seconds. Reason: Execution of 'ambari-sudo.sh -H -E pgrep -o -u cstm-flume -f '^/usr/jdk64/jdk1.8.0_77.*a1.*' | ambari-sudo.sh -H -E tee /var/run/flume/a1.pid && test ${PIPESTATUS[0]} -eq 0' returned 1.
2016-12-12 03:50:23,498 - Execute['find /grid/0/log/flume -maxdepth 1 -type f -name '*' -exec echo '==> {} <==' \; -exec tail -n 40 {} \;'] {'logoutput': True, 'ignore_failures': True, 'user': None}
==> /grid/0/log/flume/a1.out <==
tail: cannot open `/grid/0/log/flume/a1.out' for reading: Permission denied
==> /grid/0/log/flume/flume-a1.log <==
tail: cannot open `/grid/0/log/flume/flume-a1.log' for reading: Permission denied
==> /grid/0/log/flume/a2.out <==
tail: cannot open `/grid/0/log/flume/a2.out' for reading: Permission denied
==> /grid/0/log/flume/flume-a2.log <==
tail: cannot open `/grid/0/log/flume/flume-a2.log' for reading: Permission denied
Command failed after 1 tries
Diffs
-----
ambari-server/src/main/resources/common-services/FLUME/1.4.0.2.0/package/scripts/flume.py e1d1874
Diff: https://reviews.apache.org/r/57042/diff/
Testing
-------
Unit tests passed
Thanks,
Dmytro Sen
Re: Review Request 57042: Service Flume failed to start with "cannot
open /grid/0/log/flume/a1.out for reading: Permission denied"
Posted by Vitalyi Brodetskyi <vb...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/57042/#review166715
-----------------------------------------------------------
Ship it!
Ship It!
- Vitalyi Brodetskyi
On \u041b\u044e\u0442. 24, 2017, 3:51 \u043f\u0456\u0441\u043b\u044f \u043f\u043e\u043b\u0443\u0434\u043d\u044f, Dmytro Sen wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/57042/
> -----------------------------------------------------------
>
> (Updated \u041b\u044e\u0442. 24, 2017, 3:51 \u043f\u0456\u0441\u043b\u044f \u043f\u043e\u043b\u0443\u0434\u043d\u044f)
>
>
> Review request for Ambari, Sumit Mohanty, Sid Wagle, and Vitalyi Brodetskyi.
>
>
> Bugs: AMBARI-19180
> https://issues.apache.org/jira/browse/AMBARI-19180
>
>
> Repository: ambari
>
>
> Description
> -------
>
> STR:
> -> Delete the following services on the cluster : Flume, Atlas, Hbase, Sqoop, Storm, Knox, AMS
> -> Add them back using add service wizard
> Flume fails to start with
>
>
> 2016-12-12 03:47:12,640 - Execute['ambari-sudo.sh -H -E pgrep -o -u cstm-flume -f '^/usr/jdk64/jdk1.8.0_77.*a1.*' | ambari-sudo.sh -H -E tee /var/run/flume/a1.pid && test ${PIPESTATUS[0]} -eq 0'] {'logoutput': True, 'tries': 20, 'try_sleep': 10}
> 2016-12-12 03:47:12,667 - Retrying after 10 seconds. Reason: Execution of 'ambari-sudo.sh -H -E pgrep -o -u cstm-flume -f '^/usr/jdk64/jdk1.8.0_77.*a1.*' | ambari-sudo.sh -H -E tee /var/run/flume/a1.pid && test ${PIPESTATUS[0]} -eq 0' returned 1.
> 2016-12-12 03:47:22,706 - Retrying after 10 seconds. Reason: Execution of 'ambari-sudo.sh -H -E pgrep -o -u cstm-flume -f '^/usr/jdk64/jdk1.8.0_77.*a1.*' | ambari-sudo.sh -H -E tee /var/run/flume/a1.pid && test ${PIPESTATUS[0]} -eq 0' returned 1.
> 2016-12-12 03:49:23,237 - Retrying after 10 seconds. Reason: Execution of 'ambari-sudo.sh -H -E pgrep -o -u cstm-flume -f '^/usr/jdk64/jdk1.8.0_77.*a1.*' | ambari-sudo.sh -H -E tee /var/run/flume/a1.pid && test ${PIPESTATUS[0]} -eq 0' returned 1.
> 2016-12-12 03:49:33,277 - Retrying after 10 seconds. Reason: Execution of 'ambari-sudo.sh -H -E pgrep -o -u cstm-flume -f '^/usr/jdk64/jdk1.8.0_77.*a1.*' | ambari-sudo.sh -H -E tee /var/run/flume/a1.pid && test ${PIPESTATUS[0]} -eq 0' returned 1.
> 2016-12-12 03:49:43,318 - Retrying after 10 seconds. Reason: Execution of 'ambari-sudo.sh -H -E pgrep -o -u cstm-flume -f '^/usr/jdk64/jdk1.8.0_77.*a1.*' | ambari-sudo.sh -H -E tee /var/run/flume/a1.pid && test ${PIPESTATUS[0]} -eq 0' returned 1.
> 2016-12-12 03:49:53,366 - Retrying after 10 seconds. Reason: Execution of 'ambari-sudo.sh -H -E pgrep -o -u cstm-flume -f '^/usr/jdk64/jdk1.8.0_77.*a1.*' | ambari-sudo.sh -H -E tee /var/run/flume/a1.pid && test ${PIPESTATUS[0]} -eq 0' returned 1.
> 2016-12-12 03:50:03,401 - Retrying after 10 seconds. Reason: Execution of 'ambari-sudo.sh -H -E pgrep -o -u cstm-flume -f '^/usr/jdk64/jdk1.8.0_77.*a1.*' | ambari-sudo.sh -H -E tee /var/run/flume/a1.pid && test ${PIPESTATUS[0]} -eq 0' returned 1.
> 2016-12-12 03:50:13,449 - Retrying after 10 seconds. Reason: Execution of 'ambari-sudo.sh -H -E pgrep -o -u cstm-flume -f '^/usr/jdk64/jdk1.8.0_77.*a1.*' | ambari-sudo.sh -H -E tee /var/run/flume/a1.pid && test ${PIPESTATUS[0]} -eq 0' returned 1.
> 2016-12-12 03:50:23,498 - Execute['find /grid/0/log/flume -maxdepth 1 -type f -name '*' -exec echo '==> {} <==' \; -exec tail -n 40 {} \;'] {'logoutput': True, 'ignore_failures': True, 'user': None}
> ==> /grid/0/log/flume/a1.out <==
> tail: cannot open `/grid/0/log/flume/a1.out' for reading: Permission denied
> ==> /grid/0/log/flume/flume-a1.log <==
> tail: cannot open `/grid/0/log/flume/flume-a1.log' for reading: Permission denied
> ==> /grid/0/log/flume/a2.out <==
> tail: cannot open `/grid/0/log/flume/a2.out' for reading: Permission denied
> ==> /grid/0/log/flume/flume-a2.log <==
> tail: cannot open `/grid/0/log/flume/flume-a2.log' for reading: Permission denied
>
> Command failed after 1 tries
>
>
> Diffs
> -----
>
> ambari-server/src/main/resources/common-services/FLUME/1.4.0.2.0/package/scripts/flume.py e1d1874
>
> Diff: https://reviews.apache.org/r/57042/diff/
>
>
> Testing
> -------
>
> Unit tests passed
>
>
> Thanks,
>
> Dmytro Sen
>
>