[jira] [Commented] (MAPREDUCE-6528) Memory leak for HistoryFileManager.getJobSummary()
[ https://issues.apache.org/jira/browse/MAPREDUCE-6528?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14983299#comment-14983299 ] Hudson commented on MAPREDUCE-6528: --- FAILURE: Integrated in Hadoop-Hdfs-trunk #2494 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/2494/]) MAPREDUCE-6528. Memory leak for HistoryFileManager.getJobSummary(). (jlowe: rev 6344b6a7694c70f296392b6462dba452ff762109) * hadoop-mapreduce-project/CHANGES.txt * hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs/src/main/java/org/apache/hadoop/mapreduce/v2/hs/HistoryFileManager.java > Memory leak for HistoryFileManager.getJobSummary() > -- > > Key: MAPREDUCE-6528 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-6528 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: jobhistoryserver >Reporter: Junping Du >Assignee: Junping Du >Priority: Critical > Fix For: 2.7.2, 2.6.3 > > Attachments: MAPREDUCE-6528.patch > > > We meet memory leak issues for JHS in a large cluster which is caused by code > below doesn't release FSDataInputStream in exception case. MAPREDUCE-6273 > should fix most cases that exceptions get thrown. However, we still need to > fix the memory leak for occasional case. > {code} > private String getJobSummary(FileContext fc, Path path) throws IOException { > Path qPath = fc.makeQualified(path); > FSDataInputStream in = fc.open(qPath); > String jobSummaryString = in.readUTF(); > in.close(); > return jobSummaryString; > } > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (MAPREDUCE-6528) Memory leak for HistoryFileManager.getJobSummary()
[ https://issues.apache.org/jira/browse/MAPREDUCE-6528?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14983126#comment-14983126 ] Hudson commented on MAPREDUCE-6528: --- FAILURE: Integrated in Hadoop-Hdfs-trunk-Java8 #556 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/556/]) MAPREDUCE-6528. Memory leak for HistoryFileManager.getJobSummary(). (jlowe: rev 6344b6a7694c70f296392b6462dba452ff762109) * hadoop-mapreduce-project/CHANGES.txt * hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs/src/main/java/org/apache/hadoop/mapreduce/v2/hs/HistoryFileManager.java > Memory leak for HistoryFileManager.getJobSummary() > -- > > Key: MAPREDUCE-6528 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-6528 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: jobhistoryserver >Reporter: Junping Du >Assignee: Junping Du >Priority: Critical > Fix For: 2.7.2, 2.6.3 > > Attachments: MAPREDUCE-6528.patch > > > We meet memory leak issues for JHS in a large cluster which is caused by code > below doesn't release FSDataInputStream in exception case. MAPREDUCE-6273 > should fix most cases that exceptions get thrown. However, we still need to > fix the memory leak for occasional case. > {code} > private String getJobSummary(FileContext fc, Path path) throws IOException { > Path qPath = fc.makeQualified(path); > FSDataInputStream in = fc.open(qPath); > String jobSummaryString = in.readUTF(); > in.close(); > return jobSummaryString; > } > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (MAPREDUCE-6528) Memory leak for HistoryFileManager.getJobSummary()
[ https://issues.apache.org/jira/browse/MAPREDUCE-6528?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14983110#comment-14983110 ] Hudson commented on MAPREDUCE-6528: --- FAILURE: Integrated in Hadoop-Yarn-trunk #1343 (See [https://builds.apache.org/job/Hadoop-Yarn-trunk/1343/]) MAPREDUCE-6528. Memory leak for HistoryFileManager.getJobSummary(). (jlowe: rev 6344b6a7694c70f296392b6462dba452ff762109) * hadoop-mapreduce-project/CHANGES.txt * hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs/src/main/java/org/apache/hadoop/mapreduce/v2/hs/HistoryFileManager.java > Memory leak for HistoryFileManager.getJobSummary() > -- > > Key: MAPREDUCE-6528 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-6528 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: jobhistoryserver >Reporter: Junping Du >Assignee: Junping Du >Priority: Critical > Fix For: 2.7.2, 2.6.3 > > Attachments: MAPREDUCE-6528.patch > > > We meet memory leak issues for JHS in a large cluster which is caused by code > below doesn't release FSDataInputStream in exception case. MAPREDUCE-6273 > should fix most cases that exceptions get thrown. However, we still need to > fix the memory leak for occasional case. > {code} > private String getJobSummary(FileContext fc, Path path) throws IOException { > Path qPath = fc.makeQualified(path); > FSDataInputStream in = fc.open(qPath); > String jobSummaryString = in.readUTF(); > in.close(); > return jobSummaryString; > } > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (MAPREDUCE-6528) Memory leak for HistoryFileManager.getJobSummary()
[ https://issues.apache.org/jira/browse/MAPREDUCE-6528?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14983017#comment-14983017 ] Hudson commented on MAPREDUCE-6528: --- FAILURE: Integrated in Hadoop-Yarn-trunk-Java8 #620 (See [https://builds.apache.org/job/Hadoop-Yarn-trunk-Java8/620/]) MAPREDUCE-6528. Memory leak for HistoryFileManager.getJobSummary(). (jlowe: rev 6344b6a7694c70f296392b6462dba452ff762109) * hadoop-mapreduce-project/CHANGES.txt * hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs/src/main/java/org/apache/hadoop/mapreduce/v2/hs/HistoryFileManager.java > Memory leak for HistoryFileManager.getJobSummary() > -- > > Key: MAPREDUCE-6528 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-6528 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: jobhistoryserver >Reporter: Junping Du >Assignee: Junping Du >Priority: Critical > Fix For: 2.7.2, 2.6.3 > > Attachments: MAPREDUCE-6528.patch > > > We meet memory leak issues for JHS in a large cluster which is caused by code > below doesn't release FSDataInputStream in exception case. MAPREDUCE-6273 > should fix most cases that exceptions get thrown. However, we still need to > fix the memory leak for occasional case. > {code} > private String getJobSummary(FileContext fc, Path path) throws IOException { > Path qPath = fc.makeQualified(path); > FSDataInputStream in = fc.open(qPath); > String jobSummaryString = in.readUTF(); > in.close(); > return jobSummaryString; > } > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (MAPREDUCE-6528) Memory leak for HistoryFileManager.getJobSummary()
[ https://issues.apache.org/jira/browse/MAPREDUCE-6528?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14983012#comment-14983012 ] Hudson commented on MAPREDUCE-6528: --- FAILURE: Integrated in Hadoop-Mapreduce-trunk #2550 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2550/]) MAPREDUCE-6528. Memory leak for HistoryFileManager.getJobSummary(). (jlowe: rev 6344b6a7694c70f296392b6462dba452ff762109) * hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs/src/main/java/org/apache/hadoop/mapreduce/v2/hs/HistoryFileManager.java * hadoop-mapreduce-project/CHANGES.txt > Memory leak for HistoryFileManager.getJobSummary() > -- > > Key: MAPREDUCE-6528 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-6528 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: jobhistoryserver >Reporter: Junping Du >Assignee: Junping Du >Priority: Critical > Fix For: 2.7.2, 2.6.3 > > Attachments: MAPREDUCE-6528.patch > > > We meet memory leak issues for JHS in a large cluster which is caused by code > below doesn't release FSDataInputStream in exception case. MAPREDUCE-6273 > should fix most cases that exceptions get thrown. However, we still need to > fix the memory leak for occasional case. > {code} > private String getJobSummary(FileContext fc, Path path) throws IOException { > Path qPath = fc.makeQualified(path); > FSDataInputStream in = fc.open(qPath); > String jobSummaryString = in.readUTF(); > in.close(); > return jobSummaryString; > } > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (MAPREDUCE-6528) Memory leak for HistoryFileManager.getJobSummary()
[ https://issues.apache.org/jira/browse/MAPREDUCE-6528?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14982974#comment-14982974 ] Hudson commented on MAPREDUCE-6528: --- FAILURE: Integrated in Hadoop-Mapreduce-trunk-Java8 #607 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/607/]) MAPREDUCE-6528. Memory leak for HistoryFileManager.getJobSummary(). (jlowe: rev 6344b6a7694c70f296392b6462dba452ff762109) * hadoop-mapreduce-project/CHANGES.txt * hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs/src/main/java/org/apache/hadoop/mapreduce/v2/hs/HistoryFileManager.java > Memory leak for HistoryFileManager.getJobSummary() > -- > > Key: MAPREDUCE-6528 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-6528 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: jobhistoryserver >Reporter: Junping Du >Assignee: Junping Du >Priority: Critical > Fix For: 2.7.2, 2.6.3 > > Attachments: MAPREDUCE-6528.patch > > > We meet memory leak issues for JHS in a large cluster which is caused by code > below doesn't release FSDataInputStream in exception case. MAPREDUCE-6273 > should fix most cases that exceptions get thrown. However, we still need to > fix the memory leak for occasional case. > {code} > private String getJobSummary(FileContext fc, Path path) throws IOException { > Path qPath = fc.makeQualified(path); > FSDataInputStream in = fc.open(qPath); > String jobSummaryString = in.readUTF(); > in.close(); > return jobSummaryString; > } > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (MAPREDUCE-6528) Memory leak for HistoryFileManager.getJobSummary()
[ https://issues.apache.org/jira/browse/MAPREDUCE-6528?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14982852#comment-14982852 ] Junping Du commented on MAPREDUCE-6528: --- Thanks Jason to review and commit this in! > Memory leak for HistoryFileManager.getJobSummary() > -- > > Key: MAPREDUCE-6528 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-6528 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: jobhistoryserver >Reporter: Junping Du >Assignee: Junping Du >Priority: Critical > Fix For: 2.7.2, 2.6.3 > > Attachments: MAPREDUCE-6528.patch > > > We meet memory leak issues for JHS in a large cluster which is caused by code > below doesn't release FSDataInputStream in exception case. MAPREDUCE-6273 > should fix most cases that exceptions get thrown. However, we still need to > fix the memory leak for occasional case. > {code} > private String getJobSummary(FileContext fc, Path path) throws IOException { > Path qPath = fc.makeQualified(path); > FSDataInputStream in = fc.open(qPath); > String jobSummaryString = in.readUTF(); > in.close(); > return jobSummaryString; > } > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (MAPREDUCE-6528) Memory leak for HistoryFileManager.getJobSummary()
[ https://issues.apache.org/jira/browse/MAPREDUCE-6528?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14982729#comment-14982729 ] Hudson commented on MAPREDUCE-6528: --- FAILURE: Integrated in Hadoop-trunk-Commit #8732 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/8732/]) MAPREDUCE-6528. Memory leak for HistoryFileManager.getJobSummary(). (jlowe: rev 6344b6a7694c70f296392b6462dba452ff762109) * hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs/src/main/java/org/apache/hadoop/mapreduce/v2/hs/HistoryFileManager.java * hadoop-mapreduce-project/CHANGES.txt > Memory leak for HistoryFileManager.getJobSummary() > -- > > Key: MAPREDUCE-6528 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-6528 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: jobhistoryserver >Reporter: Junping Du >Assignee: Junping Du >Priority: Critical > Fix For: 2.7.2, 2.6.3 > > Attachments: MAPREDUCE-6528.patch > > > We meet memory leak issues for JHS in a large cluster which is caused by code > below doesn't release FSDataInputStream in exception case. MAPREDUCE-6273 > should fix most cases that exceptions get thrown. However, we still need to > fix the memory leak for occasional case. > {code} > private String getJobSummary(FileContext fc, Path path) throws IOException { > Path qPath = fc.makeQualified(path); > FSDataInputStream in = fc.open(qPath); > String jobSummaryString = in.readUTF(); > in.close(); > return jobSummaryString; > } > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (MAPREDUCE-6528) Memory leak for HistoryFileManager.getJobSummary()
[ https://issues.apache.org/jira/browse/MAPREDUCE-6528?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14982690#comment-14982690 ] Jason Lowe commented on MAPREDUCE-6528: --- +1, committing this. > Memory leak for HistoryFileManager.getJobSummary() > -- > > Key: MAPREDUCE-6528 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-6528 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: jobhistoryserver >Reporter: Junping Du >Assignee: Junping Du >Priority: Critical > Attachments: MAPREDUCE-6528.patch > > > We meet memory leak issues for JHS in a large cluster which is caused by code > below doesn't release FSDataInputStream in exception case. MAPREDUCE-6273 > should fix most cases that exceptions get thrown. However, we still need to > fix the memory leak for occasional case. > {code} > private String getJobSummary(FileContext fc, Path path) throws IOException { > Path qPath = fc.makeQualified(path); > FSDataInputStream in = fc.open(qPath); > String jobSummaryString = in.readUTF(); > in.close(); > return jobSummaryString; > } > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (MAPREDUCE-6528) Memory leak for HistoryFileManager.getJobSummary()
[ https://issues.apache.org/jira/browse/MAPREDUCE-6528?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14982317#comment-14982317 ] Junping Du commented on MAPREDUCE-6528: --- Thanks [~brahmareddy]! Can someone commit this patch in? It is quite straight-forward. > Memory leak for HistoryFileManager.getJobSummary() > -- > > Key: MAPREDUCE-6528 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-6528 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: jobhistoryserver >Reporter: Junping Du >Assignee: Junping Du >Priority: Critical > Attachments: MAPREDUCE-6528.patch > > > We meet memory leak issues for JHS in a large cluster which is caused by code > below doesn't release FSDataInputStream in exception case. MAPREDUCE-6273 > should fix most cases that exceptions get thrown. However, we still need to > fix the memory leak for occasional case. > {code} > private String getJobSummary(FileContext fc, Path path) throws IOException { > Path qPath = fc.makeQualified(path); > FSDataInputStream in = fc.open(qPath); > String jobSummaryString = in.readUTF(); > in.close(); > return jobSummaryString; > } > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (MAPREDUCE-6528) Memory leak for HistoryFileManager.getJobSummary()
[ https://issues.apache.org/jira/browse/MAPREDUCE-6528?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14982241#comment-14982241 ] Brahma Reddy Battula commented on MAPREDUCE-6528: - Agreed..Since it's planned for 2.6.3 release..Current patch LGTM..+ 1 (nonbinding).. > Memory leak for HistoryFileManager.getJobSummary() > -- > > Key: MAPREDUCE-6528 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-6528 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: jobhistoryserver >Reporter: Junping Du >Assignee: Junping Du >Priority: Critical > Attachments: MAPREDUCE-6528.patch > > > We meet memory leak issues for JHS in a large cluster which is caused by code > below doesn't release FSDataInputStream in exception case. MAPREDUCE-6273 > should fix most cases that exceptions get thrown. However, we still need to > fix the memory leak for occasional case. > {code} > private String getJobSummary(FileContext fc, Path path) throws IOException { > Path qPath = fc.makeQualified(path); > FSDataInputStream in = fc.open(qPath); > String jobSummaryString = in.readUTF(); > in.close(); > return jobSummaryString; > } > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (MAPREDUCE-6528) Memory leak for HistoryFileManager.getJobSummary()
[ https://issues.apache.org/jira/browse/MAPREDUCE-6528?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14982214#comment-14982214 ] Junping Du commented on MAPREDUCE-6528: --- Good point, Vinod! Let's keep the patch as it is now as try-with-resources won't be supported in earlier version of JDKs. > Memory leak for HistoryFileManager.getJobSummary() > -- > > Key: MAPREDUCE-6528 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-6528 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: jobhistoryserver >Reporter: Junping Du >Assignee: Junping Du >Priority: Critical > Attachments: MAPREDUCE-6528.patch > > > We meet memory leak issues for JHS in a large cluster which is caused by code > below doesn't release FSDataInputStream in exception case. MAPREDUCE-6273 > should fix most cases that exceptions get thrown. However, we still need to > fix the memory leak for occasional case. > {code} > private String getJobSummary(FileContext fc, Path path) throws IOException { > Path qPath = fc.makeQualified(path); > FSDataInputStream in = fc.open(qPath); > String jobSummaryString = in.readUTF(); > in.close(); > return jobSummaryString; > } > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (MAPREDUCE-6528) Memory leak for HistoryFileManager.getJobSummary()
[ https://issues.apache.org/jira/browse/MAPREDUCE-6528?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14981508#comment-14981508 ] Vinod Kumar Vavilapalli commented on MAPREDUCE-6528: I'd like to get this put in 2.6.3 too, so it'd be great if we can make this work across JDKs. Thanks. > Memory leak for HistoryFileManager.getJobSummary() > -- > > Key: MAPREDUCE-6528 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-6528 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: jobhistoryserver >Reporter: Junping Du >Assignee: Junping Du >Priority: Critical > Attachments: MAPREDUCE-6528.patch > > > We meet memory leak issues for JHS in a large cluster which is caused by code > below doesn't release FSDataInputStream in exception case. MAPREDUCE-6273 > should fix most cases that exceptions get thrown. However, we still need to > fix the memory leak for occasional case. > {code} > private String getJobSummary(FileContext fc, Path path) throws IOException { > Path qPath = fc.makeQualified(path); > FSDataInputStream in = fc.open(qPath); > String jobSummaryString = in.readUTF(); > in.close(); > return jobSummaryString; > } > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (MAPREDUCE-6528) Memory leak for HistoryFileManager.getJobSummary()
[ https://issues.apache.org/jira/browse/MAPREDUCE-6528?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14980892#comment-14980892 ] Junping Du commented on MAPREDUCE-6528: --- bq. Thanks for reporting this..can you use try-with-resources..? Given code with final block is already there. Any advantage for try-with-resources? > Memory leak for HistoryFileManager.getJobSummary() > -- > > Key: MAPREDUCE-6528 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-6528 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: jobhistoryserver >Reporter: Junping Du >Assignee: Junping Du >Priority: Critical > Attachments: MAPREDUCE-6528.patch > > > We meet memory leak issues for JHS in a large cluster which is caused by code > below doesn't release FSDataInputStream in exception case. MAPREDUCE-6273 > should fix most cases that exceptions get thrown. However, we still need to > fix the memory leak for occasional case. > {code} > private String getJobSummary(FileContext fc, Path path) throws IOException { > Path qPath = fc.makeQualified(path); > FSDataInputStream in = fc.open(qPath); > String jobSummaryString = in.readUTF(); > in.close(); > return jobSummaryString; > } > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (MAPREDUCE-6528) Memory leak for HistoryFileManager.getJobSummary()
[ https://issues.apache.org/jira/browse/MAPREDUCE-6528?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14980833#comment-14980833 ] Brahma Reddy Battula commented on MAPREDUCE-6528: - [~djp] Nice catch..Thanks for reporting this..can you use try-with-resources..? > Memory leak for HistoryFileManager.getJobSummary() > -- > > Key: MAPREDUCE-6528 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-6528 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: jobhistoryserver >Reporter: Junping Du >Assignee: Junping Du >Priority: Critical > Attachments: MAPREDUCE-6528.patch > > > We meet memory leak issues for JHS in a large cluster which is caused by code > below doesn't release FSDataInputStream in exception case. MAPREDUCE-6273 > should fix most cases that exceptions get thrown. However, we still need to > fix the memory leak for occasional case. > {code} > private String getJobSummary(FileContext fc, Path path) throws IOException { > Path qPath = fc.makeQualified(path); > FSDataInputStream in = fc.open(qPath); > String jobSummaryString = in.readUTF(); > in.close(); > return jobSummaryString; > } > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (MAPREDUCE-6528) Memory leak for HistoryFileManager.getJobSummary()
[ https://issues.apache.org/jira/browse/MAPREDUCE-6528?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14980460#comment-14980460 ] Hadoop QA commented on MAPREDUCE-6528: -- | (x) *{color:red}-1 overall{color}* | \\ \\ || Vote || Subsystem || Runtime || Comment || | {color:blue}0{color} | {color:blue} reexec {color} | {color:blue} 0m 7s {color} | {color:blue} docker + precommit patch detected. {color} | | {color:green}+1{color} | {color:green} @author {color} | {color:green} 0m 0s {color} | {color:green} The patch does not contain any @author tags. {color} | | {color:red}-1{color} | {color:red} test4tests {color} | {color:red} 0m 0s {color} | {color:red} The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch. {color} | | {color:green}+1{color} | {color:green} mvninstall {color} | {color:green} 3m 15s {color} | {color:green} trunk passed {color} | | {color:green}+1{color} | {color:green} compile {color} | {color:green} 0m 14s {color} | {color:green} trunk passed with JDK v1.8.0_60 {color} | | {color:green}+1{color} | {color:green} compile {color} | {color:green} 0m 14s {color} | {color:green} trunk passed with JDK v1.7.0_79 {color} | | {color:green}+1{color} | {color:green} checkstyle {color} | {color:green} 0m 8s {color} | {color:green} trunk passed {color} | | {color:green}+1{color} | {color:green} mvneclipse {color} | {color:green} 0m 14s {color} | {color:green} trunk passed {color} | | {color:green}+1{color} | {color:green} findbugs {color} | {color:green} 0m 34s {color} | {color:green} trunk passed {color} | | {color:green}+1{color} | {color:green} javadoc {color} | {color:green} 0m 13s {color} | {color:green} trunk passed with JDK v1.8.0_60 {color} | | {color:green}+1{color} | {color:green} javadoc {color} | {color:green} 0m 15s {color} | {color:green} trunk passed with JDK v1.7.0_79 {color} | | {color:green}+1{color} | {color:green} mvninstall {color} | {color:green} 0m 21s {color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} compile {color} | {color:green} 0m 15s {color} | {color:green} the patch passed with JDK v1.8.0_60 {color} | | {color:green}+1{color} | {color:green} javac {color} | {color:green} 0m 15s {color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} compile {color} | {color:green} 0m 17s {color} | {color:green} the patch passed with JDK v1.7.0_79 {color} | | {color:green}+1{color} | {color:green} javac {color} | {color:green} 0m 17s {color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} checkstyle {color} | {color:green} 0m 8s {color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} mvneclipse {color} | {color:green} 0m 16s {color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} whitespace {color} | {color:green} 0m 0s {color} | {color:green} Patch has no whitespace issues. {color} | | {color:green}+1{color} | {color:green} findbugs {color} | {color:green} 0m 44s {color} | {color:green} the patch passed {color} | | {color:green}+1{color} | {color:green} javadoc {color} | {color:green} 0m 16s {color} | {color:green} the patch passed with JDK v1.8.0_60 {color} | | {color:green}+1{color} | {color:green} javadoc {color} | {color:green} 0m 18s {color} | {color:green} the patch passed with JDK v1.7.0_79 {color} | | {color:green}+1{color} | {color:green} unit {color} | {color:green} 6m 21s {color} | {color:green} hadoop-mapreduce-client-hs in the patch passed with JDK v1.8.0_60. {color} | | {color:green}+1{color} | {color:green} unit {color} | {color:green} 5m 58s {color} | {color:green} hadoop-mapreduce-client-hs in the patch passed with JDK v1.7.0_79. {color} | | {color:red}-1{color} | {color:red} asflicense {color} | {color:red} 0m 20s {color} | {color:red} Patch generated 14 ASF License warnings. {color} | | {color:black}{color} | {color:black} {color} | {color:black} 21m 37s {color} | {color:black} {color} | \\ \\ || Subsystem || Report/Notes || | Docker | Client=1.7.1 Server=1.7.1 Image:test-patch-base-hadoop-date2015-10-29 | | JIRA Patch URL | https://issues.apache.org/jira/secure/attachment/12769533/MAPREDUCE-6528.patch | | JIRA Issue | MAPREDUCE-6528 | | Optional Tests | asflicense javac javadoc mvninstall unit findbugs checkstyle compile | | uname | Linux f71f51e42104 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux | | Build tool | maven | | Personality | /home/jenkins/jenkins-slave/workspace/PreCommit-MAPREDUCE-Build/patchprocess/apache-yetus-67f42f1/precommit/personality/hadoop.sh | | git revision | trunk / c416999 | | Default Java | 1.7.0_79 | | Multi-JDK versions | /usr/lib/jvm/java