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

Thomas Graves updated MAPREDUCE-3691:
-------------------------------------

    Attachment: MAPREDUCE-3691.patch

Unfortunately I don't see an easy way to add a unit test for this. The test 
framework now is setup to test particular web services, like RM, NM, etc. And 
there is no unit test framework in place for the core webapp functionality.
                
> webservices add support to compress response
> --------------------------------------------
>
>                 Key: MAPREDUCE-3691
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3691
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>          Components: mrv2
>    Affects Versions: 0.23.0
>            Reporter: Thomas Graves
>            Assignee: Thomas Graves
>            Priority: Critical
>         Attachments: MAPREDUCE-3691.patch
>
>
>  The web services currently don't support header 'Accept-Encoding: gzip'
> Given that the responses have a lot of duplicate data like the property names 
> in JSON or the tag names in XML, it should
> compress very well, and would save on bandwidth and download time when 
> fetching a potentially large response, like the
> ones from ws/v1/cluster/apps and ws/v1/history/mapreduce/jobs

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to