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

Steve Loughran updated HADOOP-14988:
------------------------------------
    Issue Type: Sub-task  (was: Bug)
        Parent: HADOOP-15132

> WASB: Expose WASB status metrics as counters in Hadoop
> ------------------------------------------------------
>
>                 Key: HADOOP-14988
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14988
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/azure
>            Reporter: Rajesh Balamohan
>            Priority: Minor
>
> It would be good to expose WASB status metrics (e.g 503) as Hadoop counters. 
> Here is an example from a spark job, where it ends up spending large amount 
> of time in retries. Adding hadoop counters would help in analyzing and tuning 
> long running tasks.
> {noformat}
> 2017-10-23 23:07:20,876 DEBUG [Executor task launch worker for task 2463] 
> azure.SelfThrottlingIntercept:  SelfThrottlingIntercept:: SendingRequest:   
> threadId=99, requestType=read , isFirstRequest=false, sleepDuration=0
> 2017-10-23 23:07:20,877 DEBUG [Executor task launch worker for task 2463] 
> azure.SelfThrottlingIntercept: SelfThrottlingIntercept:: ResponseReceived: 
> threadId=99, Status=503, Elapsed(ms)=1, ETAG=null, contentLength=198, 
> requestMethod=GET
> 2017-10-23 23:07:21,877 DEBUG [Executor task launch worker for task 2463] 
> azure.SelfThrottlingIntercept:  SelfThrottlingIntercept:: SendingRequest:   
> threadId=99, requestType=read , isFirstRequest=false, sleepDuration=0
> 2017-10-23 23:07:21,879 DEBUG [Executor task launch worker for task 2463] 
> azure.SelfThrottlingIntercept: SelfThrottlingIntercept:: ResponseReceived: 
> threadId=99, Status=503, Elapsed(ms)=2, ETAG=null, contentLength=198, 
> requestMethod=GET
> 2017-10-23 23:07:24,070 DEBUG [Executor task launch worker for task 2463] 
> azure.SelfThrottlingIntercept:  SelfThrottlingIntercept:: SendingRequest:   
> threadId=99, requestType=read , isFirstRequest=false, sleepDuration=0
> 2017-10-23 23:07:24,073 DEBUG [Executor task launch worker for task 2463] 
> azure.SelfThrottlingIntercept: q:: ResponseReceived: threadId=99, Status=503, 
> Elapsed(ms)=3, ETAG=null, contentLength=198, requestMethod=GET
> 2017-10-23 23:07:27,917 DEBUG [Executor task launch worker for task 2463] 
> azure.SelfThrottlingIntercept:  SelfThrottlingIntercept:: SendingRequest:   
> threadId=99, requestType=read , isFirstRequest=false, sleepDuration=0
> 2017-10-23 23:07:27,920 DEBUG [Executor task launch worker for task 2463] 
> azure.SelfThrottlingIntercept: SelfThrottlingIntercept:: ResponseReceived: 
> threadId=99, Status=503, Elapsed(ms)=2, ETAG=null, contentLength=198, 
> requestMethod=GET
> 2017-10-23 23:07:36,879 DEBUG [Executor task launch worker for task 2463] 
> azure.SelfThrottlingIntercept:  SelfThrottlingIntercept:: SendingRequest:   
> threadId=99, requestType=read , isFirstRequest=false, sleepDuration=0
> 2017-10-23 23:07:36,881 DEBUG [Executor task launch worker for task 2463] 
> azure.SelfThrottlingIntercept: SelfThrottlingIntercept:: ResponseReceived: 
> threadId=99, Status=503, Elapsed(ms)=1, ETAG=null, contentLength=198, 
> requestMethod=GET
> 2017-10-23 23:07:54,786 DEBUG [Executor task launch worker for task 2463] 
> azure.SelfThrottlingIntercept:  SelfThrottlingIntercept:: SendingRequest:   
> threadId=99, requestType=read , isFirstRequest=false, sleepDuration=0
> 2017-10-23 23:07:54,789 DEBUG [Executor task launch worker for task 2463] 
> azure.SelfThrottlingIntercept: SelfThrottlingIntercept:: ResponseReceived: 
> threadId=99, Status=503, Elapsed(ms)=3, ETAG=null, contentLength=198, 
> requestMethod=GET
> 2017-10-23 23:08:24,790 DEBUG [Executor task launch worker for task 2463] 
> azure.SelfThrottlingIntercept:  SelfThrottlingIntercept:: SendingRequest:   
> threadId=99, requestType=read , isFirstRequest=false, sleepDuration=0
> 2017-10-23 23:08:24,794 DEBUG [Executor task launch worker for task 2463] 
> azure.SelfThrottlingIntercept: SelfThrottlingIntercept:: ResponseReceived: 
> threadId=99, Status=503, Elapsed(ms)=4, ETAG=null, contentLength=198, 
> requestMethod=GET
> 2017-10-23 23:08:54,794 DEBUG [Executor task launch worker for task 2463] 
> azure.SelfThrottlingIntercept:  SelfThrottlingIntercept:: SendingRequest:   
> threadId=99, requestType=read , isFirstRequest=false, sleepDuration=0
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to