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

Xuan Gong commented on YARN-1320:
---------------------------------

Did the test on single node cluster.

Original:  
We have 
# Root logger option
hadoop.root.logger=INFO,console

We will not see any DEBUG messages.

Create a customer log4j.property and set 
# Root logger option
hadoop.root.logger=DEBUG,console

And use --log_properties customer.properties
We can see the DEBUG messages now. 

Part of the output : 
{code}
13/11/21 11:15:42 DEBUG service.AbstractService: Service: 
org.apache.hadoop.yarn.client.api.impl.AMRMClientImpl entered state STOPPED
13/11/21 11:15:42 DEBUG ipc.Client: Stopping client
13/11/21 11:15:42 DEBUG ipc.Client: IPC Client (1122993107) connection to 
localhost/127.0.0.1:9105 from appattempt_1385060881865_0007_000001: closed
13/11/21 11:15:42 DEBUG ipc.Client: IPC Client (1122993107) connection to 
localhost/127.0.0.1:9105 from appattempt_1385060881865_0007_000001: stopped, 
remaining connections 0
13/11/21 11:15:42 DEBUG ipc.Client: IPC Client (1122993107) connection to 
localhost/127.0.0.1:54313 from xuan: closed
13/11/21 11:15:42 DEBUG ipc.Client: IPC Client (1122993107) connection to 
localhost/127.0.0.1:54313 from xuan: stopped, remaining connections 0
13/11/21 11:15:42 INFO distributedshell.ApplicationMaster: Application Master 
completed successfully. exiting
{code}

> Custom log4j properties in Distributed shell does not work properly.
> --------------------------------------------------------------------
>
>                 Key: YARN-1320
>                 URL: https://issues.apache.org/jira/browse/YARN-1320
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: applications/distributed-shell
>            Reporter: Tassapol Athiapinya
>            Assignee: Xuan Gong
>         Attachments: YARN-1320.1.patch, YARN-1320.2.patch, YARN-1320.3.patch, 
> YARN-1320.4.patch, YARN-1320.4.patch, YARN-1320.4.patch, YARN-1320.4.patch, 
> YARN-1320.4.patch, YARN-1320.5.patch, YARN-1320.6.patch, YARN-1320.6.patch, 
> YARN-1320.7.patch, YARN-1320.8.patch, YARN-1320.9.patch
>
>
> Distributed shell cannot pick up custom log4j properties (specified with 
> -log_properties). It always uses default log4j properties.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to