OTOH, if the application is still running, the logs are not yet uploaded,
you certainly can not see the logs.
Jian
On Tue, Mar 18, 2014 at 1:57 AM, Rohith Sharma K S <
rohithsharm...@huawei.com> wrote:
> Just for confirmation,
>
> 1. Does NodeManager is restarted after enabling LogAggregation? If
> Yes, check for NodeManager start up logs for Log Aggregation Service start
> is success.
>
>
>
>
>
> Thanks & Regards
>
> Rohith Sharma K S
>
>
>
> *From:* ch huang [mailto:justlo...@gmail.com]
> *Sent:* 18 March 2014 13:09
> *To:* user@hadoop.apache.org
> *Subject:* issue of "Log aggregation has not completed or is not enabled."
>
>
>
> hi,maillist:
>
> i try look application log use the following process
>
>
>
> # yarn application -list
> Application-Id Application-Name
> User Queue State
> Final-State Tracking-URL
> application_1395126130647_0014 select user_id as userid,
> adverti...stattime(Stage-1) hivehive
> FINISHED SUCCEEDED
> ch18:19888/jobhistory/job/job_1395126130647_0014
>
> # yarn logs -applicationId application_1395126130647_0014
> Logs not available at
> /var/log/hadoop-yarn/apps/root/logs/application_1395126130647_0014
> Log aggregation has not completed or is not enabled.
>
>
>
> but i do enable Log aggregation function ,here is my yarn-site.xml
> configuration about log aggregation
>
>
>
>
> yarn.log-aggregation-enable
> true
>
>
>
> Where to aggregate logs to.
> yarn.nodemanager.remote-app-log-dir
> /var/log/hadoop-yarn/apps
>
>
>
>
> the application logs is not put on hdfs successfully,why?
>
>
>
> # hadoop fs -ls
> /var/log/hadoop-yarn/apps/root/logs/application_1395126130647_0014
> ls: `/var/log/hadoop-yarn/apps/root/logs/application_1395126130647_0014':
> No such file or directory
>
--
CONFIDENTIALITY NOTICE
NOTICE: This message is intended for the use of the individual or entity to
which it is addressed and may contain information that is confidential,
privileged and exempt from disclosure under applicable law. If the reader
of this message is not the intended recipient, you are hereby notified that
any printing, copying, dissemination, distribution, disclosure or
forwarding of this communication is strictly prohibited. If you have
received this communication in error, please contact the sender immediately
and delete it from your system. Thank You.