[
https://issues.apache.org/jira/browse/HADOOP-14518?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16095415#comment-16095415
]
Jitendra Nath Pandey commented on HADOOP-14518:
-----------------------------------------------
The patch looks ok to me, however it needs to be rebased to latest trunk. Also,
the latest patch has many unintended diff lines that make the patch look large.
[~Georgi], please upload a rebased patch.
> 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: Sub-task
> Components: fs/azure
> Affects Versions: 3.0.0-alpha3
> Reporter: Georgi Chalakov
> Assignee: Georgi Chalakov
> Priority: Minor
> Attachments: HADOOP-14518-01.patch, HADOOP-14518-01-test.txt,
> HADOOP-14518-02.patch, HADOOP-14518-03.patch, HADOOP-14518-04.patch,
> HADOOP-14518-05.patch
>
>
> 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.prefix</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.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]