[ https://issues.apache.org/jira/browse/HADOOP-14518?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16045445#comment-16045445 ]
Mingliang Liu commented on HADOOP-14518: ---------------------------------------- Are the stats available to customers, or for Azure internal team only? Either way, I'm +1 on the proposal. The patch: # {{USER_AGENT_ID_NAME}} -> {{USER_AGENT_ID_KEY}}, and {{DEFAULT_USER_AGENT_ID}} -> {{USER_AGENT_ID_DEFAULT}} # Add doc to index.md and default values to {{core-default.xml}} > Customize User-Agent header sent in HTTP/HTTPS requests by WASB. > ---------------------------------------------------------------- > > Key: HADOOP-14518 > URL: https://issues.apache.org/jira/browse/HADOOP-14518 > Project: Hadoop Common > Issue Type: Improvement > Components: fs/azure > Affects Versions: 3.0.0-alpha3 > Reporter: Georgi Chalakov > Priority: Minor > Attachments: HADOOP-14518-01.patch, HADOOP-14518-01-test.txt > > > WASB passes a User-Agent header to the Azure back-end. Right now, it uses the > default value set by the Azure Client SDK, so Hadoop traffic doesn't appear > any different from general Blob traffic. If we customize the User-Agent > header, then it will enable better troubleshooting and analysis by Azure > service. > The following configuration > <property> > <name>fs.azure.user.agent.id</name> > <value>MSFT</value> > </property> > set the user agent to > User-Agent: WASB/3.0.0-alpha4-SNAPSHOT (MSFT) Azure-Storage/4.2.0 > (JavaJRE 1.8.0_131; WindowsServer2012R2 6.3) > Test Results : > Tests run: 703, Failures: 0, Errors: 0, Skipped: 119 -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org