You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Rajesh Balamohan (JIRA)" <ji...@apache.org> on 2017/10/27 02:42:01 UTC

[jira] [Created] (HADOOP-14988) WASB: Expose WASB status metrics as counters in Hadoop

Rajesh Balamohan created HADOOP-14988:
-----------------------------------------

             Summary: 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: Bug
          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-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-dev-help@hadoop.apache.org