spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Yu <yuzhih...@gmail.com>
Subject Re: failure to display logs on YARN UI with log aggregation on
Date Mon, 09 Mar 2015 16:15:24 GMT
See http://search-hadoop.com/m/JW1q5AneoE1

Cheers

On Mon, Mar 9, 2015 at 7:29 AM, rok <rokroskar@gmail.com> wrote:

> I'm using log aggregation on YARN with Spark and I am not able to see the
> logs through the YARN web UI after the application completes:
>
> Failed redirect for container_1425390894284_0066_01_000001
>
> Failed while trying to construct the redirect url to the log server. Log
> Server url may not be configured
> java.lang.Exception: Unknown container. Container either has not started or
> has already completed or doesn't belong to this node at all.
>
> I tried setting
>
>
> log4j.appender.file_appender.File=${spark.yarn.app.container.log.dir}/spark.log
>
> in log4j.properties as suggested in the documentation, but didn't seem to
> change anything.
>
> Note that I can see the logs fine using "yarn logs" from the command line,
> so aggregation is working properly. For regular mapreduce jobs, the YARN UI
> displays the logs correctly as well. Is there a spark configuration option
> that needs to be set if aggregation is used?
>
>
>
> --
> View this message in context:
> http://apache-spark-user-list.1001560.n3.nabble.com/failure-to-display-logs-on-YARN-UI-with-log-aggregation-on-tp21974.html
> Sent from the Apache Spark User List mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@spark.apache.org
> For additional commands, e-mail: user-help@spark.apache.org
>
>

Mime
View raw message