You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tez.apache.org by "Jeff Zhang (JIRA)" <ji...@apache.org> on 2015/06/18 02:58:00 UTC

[jira] [Commented] (TEZ-2562) Multiline log event generated on recovery.

    [ https://issues.apache.org/jira/browse/TEZ-2562?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14591057#comment-14591057 ] 

Jeff Zhang commented on TEZ-2562:
---------------------------------

Would it be more readable with multiline log ? Especially when we display the diagnostics on tez-ui  

> Multiline log event generated on recovery.
> ------------------------------------------
>
>                 Key: TEZ-2562
>                 URL: https://issues.apache.org/jira/browse/TEZ-2562
>             Project: Apache Tez
>          Issue Type: Bug
>            Reporter: Hitesh Shah
>
> Should strip out newline chars to aid easy parsing if needed. 
> {code}
> 2015-06-17 08:51:17,143 INFO [main] app.RecoveryParser: Recovering from event, eventType=TASK_ATTEMPT_FINISHED, event=vertexName=null, taskAttemptId=attempt_1434529481901_0002_1_06_000024_0, startTime=0, finishTime=1434530664278, timeTaken=1434530664278, status=FAILED, errorEnum=CONTAINER_EXITED, diagnostics=Container container_e08_1434529481901_0002_02_000004 finished with diagnostics set to [Container failed, exitCode=1. Exception from container-launch.
> Container id: container_e08_1434529481901_0002_02_000004
> Exit code: 1
> Stack trace: ExitCodeException exitCode=1:
>         at org.apache.hadoop.util.Shell.runCommand(Shell.java:545)
>         at org.apache.hadoop.util.Shell.run(Shell.java:456)
>         at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(Shell.java:722)
>         at org.apache.hadoop.yarn.server.nodemanager.LinuxContainerExecutor.launchContainer(LinuxContainerExecutor.java:367)
>         at org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:302)
>         at org.apache.hadoop.yarn.server.nodemanager.containermanager.launcher.ContainerLaunch.call(ContainerLaunch.java:82)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:266)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
>         at java.lang.Thread.run(Thread.java:745)
> Shell output: main : command provided 1
> main : run as user is hrt_qa
> main : requested yarn user is hrt_qa
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)