[jira] [Updated] (YARN-1780) Improve logging in timeline service

2014-03-04 Thread Zhijie Shen (JIRA)

 [ 
https://issues.apache.org/jira/browse/YARN-1780?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Zhijie Shen updated YARN-1780:
--

Attachment: YARN-1780.1.patch

Create a patch to do the following things:

1. In TimelineClientImpl, make info level log of the timeline service address.

2. In TimelineClientImpl, capture the runtime of jersey client posting 
entities, and make error level log. The reason of doing this is that some 
important error, such as the connect refused exception, is wrapped in runtime 
exception by jersey client.

3. In TimlineWebServices, make info level log of the posted entities' ID to 
know whether the requests have been processed by the timeline service, and, 
make debug level log of the complete posted json content if necessary.

By do this, it will be more easier to trace whether an entity has been 
successfully posted to the timeline service.

 Improve logging in timeline service
 ---

 Key: YARN-1780
 URL: https://issues.apache.org/jira/browse/YARN-1780
 Project: Hadoop YARN
  Issue Type: Sub-task
Reporter: Zhijie Shen
Assignee: Zhijie Shen
 Attachments: YARN-1780.1.patch


 The server side of timeline service is lacking logging information, which 
 makes debugging difficult



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (YARN-1780) Improve logging in timeline service

2014-03-04 Thread Zhijie Shen (JIRA)

 [ 
https://issues.apache.org/jira/browse/YARN-1780?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Zhijie Shen updated YARN-1780:
--

Description: It's difficult to trace whether the client has successfully 
posted the entity to the timeline service or not.  (was: The server side of 
timeline service is lacking logging information, which makes debugging 
difficult)

 Improve logging in timeline service
 ---

 Key: YARN-1780
 URL: https://issues.apache.org/jira/browse/YARN-1780
 Project: Hadoop YARN
  Issue Type: Sub-task
Reporter: Zhijie Shen
Assignee: Zhijie Shen
 Attachments: YARN-1780.1.patch


 It's difficult to trace whether the client has successfully posted the entity 
 to the timeline service or not.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Updated] (YARN-1780) Improve logging in timeline service

2014-03-04 Thread Zhijie Shen (JIRA)

 [ 
https://issues.apache.org/jira/browse/YARN-1780?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Zhijie Shen updated YARN-1780:
--

Attachment: YARN-1780.1.patch

 Improve logging in timeline service
 ---

 Key: YARN-1780
 URL: https://issues.apache.org/jira/browse/YARN-1780
 Project: Hadoop YARN
  Issue Type: Sub-task
Reporter: Zhijie Shen
Assignee: Zhijie Shen
 Attachments: YARN-1780.1.patch, YARN-1780.1.patch


 It's difficult to trace whether the client has successfully posted the entity 
 to the timeline service or not.



--
This message was sent by Atlassian JIRA
(v6.2#6252)