[ 
https://issues.apache.org/jira/browse/TWILL-248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16199368#comment-16199368
 ] 

ASF GitHub Bot commented on TWILL-248:
--------------------------------------

Github user chtyim commented on a diff in the pull request:

    https://github.com/apache/twill/pull/62#discussion_r143854276
  
    --- Diff: 
twill-yarn/src/main/java/org/apache/twill/yarn/ResourceReportClient.java ---
    @@ -52,12 +54,16 @@
       public ResourceReport get() {
         for (URL url : resourceUrls) {
           try {
    -        Reader reader = new BufferedReader(new 
InputStreamReader(url.openStream(), Charsets.UTF_8));
    -        try {
    +        HttpURLConnection urlConn = (HttpURLConnection) 
url.openConnection();
    --- End diff --
    
    Not entirely. This is to enable compression when fetching the report.


> Upgrade to latest Netty 4.1
> ---------------------------
>
>                 Key: TWILL-248
>                 URL: https://issues.apache.org/jira/browse/TWILL-248
>             Project: Apache Twill
>          Issue Type: Task
>          Components: core
>            Reporter: Terence Yim
>            Assignee: Terence Yim
>
> Netty 3.x has been EOL



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

Reply via email to