[jira] [Commented] (HDFS-7681) Fix ReplicaInputStream constructor to take InputStreams
[ https://issues.apache.org/jira/browse/HDFS-7681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14294162#comment-14294162 ] Hadoop QA commented on HDFS-7681: - {color:red}-1 overall{color}. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12694807/HDFS-7681.patch against trunk revision f56da3c. {color:green}+1 @author{color}. The patch does not contain any @author tags. {color:green}+1 tests included{color}. The patch appears to include 1 new or modified test files. {color:green}+1 javac{color}. The applied patch does not increase the total number of javac compiler warnings. {color:green}+1 javadoc{color}. There were no new javadoc warning messages. {color:green}+1 eclipse:eclipse{color}. The patch built with eclipse:eclipse. {color:green}+1 findbugs{color}. The patch does not introduce any new Findbugs (version 2.0.3) warnings. {color:green}+1 release audit{color}. The applied patch does not increase the total number of release audit warnings. {color:red}-1 core tests{color}. The patch failed these unit tests in hadoop-hdfs-project/hadoop-hdfs: org.apache.hadoop.hdfs.server.balancer.TestBalancer Test results: https://builds.apache.org/job/PreCommit-HDFS-Build/9346//testReport/ Console output: https://builds.apache.org/job/PreCommit-HDFS-Build/9346//console This message is automatically generated. > Fix ReplicaInputStream constructor to take InputStreams > --- > > Key: HDFS-7681 > URL: https://issues.apache.org/jira/browse/HDFS-7681 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: datanode >Affects Versions: 3.0.0 >Reporter: Joe Pallas >Assignee: Joe Pallas > Attachments: HDFS-7681.patch > > > As noted in HDFS-5194, the constructor for {{ReplicaInputStream}} takes > {{FileDescriptor}} s that are immediately turned into {{InputStream}} s, > while the callers already have {{FileInputStream}} s from which they extract > {{FileDescriptor}} s. This seems to have been done as part of a large set of > changes to appease findbugs. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HDFS-7681) Fix ReplicaInputStream constructor to take InputStreams
[ https://issues.apache.org/jira/browse/HDFS-7681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14296090#comment-14296090 ] Tsz Wo Nicholas Sze commented on HDFS-7681: --- The failure of TestBalancer is not related to this. During reviewing the patch, I found that getTmpInputStreams(..) may lead file descriptors in case of exceptions. Will file a JIRA for following up. +1 patch looks good. > Fix ReplicaInputStream constructor to take InputStreams > --- > > Key: HDFS-7681 > URL: https://issues.apache.org/jira/browse/HDFS-7681 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: datanode >Affects Versions: 3.0.0 >Reporter: Joe Pallas >Assignee: Joe Pallas > Attachments: HDFS-7681.patch > > > As noted in HDFS-5194, the constructor for {{ReplicaInputStream}} takes > {{FileDescriptor}} s that are immediately turned into {{InputStream}} s, > while the callers already have {{FileInputStream}} s from which they extract > {{FileDescriptor}} s. This seems to have been done as part of a large set of > changes to appease findbugs. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HDFS-7681) Fix ReplicaInputStream constructor to take InputStreams
[ https://issues.apache.org/jira/browse/HDFS-7681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14296120#comment-14296120 ] Hudson commented on HDFS-7681: -- FAILURE: Integrated in Hadoop-trunk-Commit #6955 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/6955/]) HDFS-7681. Change ReplicaInputStreams constructor to take InputStream(s) instead of FileDescriptor(s). Contributed by Joe Pallas (szetszwo: rev 5a0051f4da6e102846d795a7965a6a18216d74f7) * hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/ReplicaInputStreams.java * hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/extdataset/ExternalDatasetImpl.java * hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt * hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/FsDatasetImpl.java > Fix ReplicaInputStream constructor to take InputStreams > --- > > Key: HDFS-7681 > URL: https://issues.apache.org/jira/browse/HDFS-7681 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: datanode >Affects Versions: 3.0.0 >Reporter: Joe Pallas >Assignee: Joe Pallas > Fix For: 3.0.0 > > Attachments: HDFS-7681.patch > > > As noted in HDFS-5194, the constructor for {{ReplicaInputStream}} takes > {{FileDescriptor}} s that are immediately turned into {{InputStream}} s, > while the callers already have {{FileInputStream}} s from which they extract > {{FileDescriptor}} s. This seems to have been done as part of a large set of > changes to appease findbugs. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HDFS-7681) Fix ReplicaInputStream constructor to take InputStreams
[ https://issues.apache.org/jira/browse/HDFS-7681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14296139#comment-14296139 ] Tsz Wo Nicholas Sze commented on HDFS-7681: --- > During reviewing the patch, I found that getTmpInputStreams(..) may lead file > descriptors in case of exceptions. ... Filed HDFS-7696. > Fix ReplicaInputStream constructor to take InputStreams > --- > > Key: HDFS-7681 > URL: https://issues.apache.org/jira/browse/HDFS-7681 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: datanode >Affects Versions: 3.0.0 >Reporter: Joe Pallas >Assignee: Joe Pallas > Fix For: 3.0.0 > > Attachments: HDFS-7681.patch > > > As noted in HDFS-5194, the constructor for {{ReplicaInputStream}} takes > {{FileDescriptor}} s that are immediately turned into {{InputStream}} s, > while the callers already have {{FileInputStream}} s from which they extract > {{FileDescriptor}} s. This seems to have been done as part of a large set of > changes to appease findbugs. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HDFS-7681) Fix ReplicaInputStream constructor to take InputStreams
[ https://issues.apache.org/jira/browse/HDFS-7681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14296719#comment-14296719 ] Hudson commented on HDFS-7681: -- FAILURE: Integrated in Hadoop-Yarn-trunk-Java8 #88 (See [https://builds.apache.org/job/Hadoop-Yarn-trunk-Java8/88/]) HDFS-7681. Change ReplicaInputStreams constructor to take InputStream(s) instead of FileDescriptor(s). Contributed by Joe Pallas (szetszwo: rev 5a0051f4da6e102846d795a7965a6a18216d74f7) * hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/ReplicaInputStreams.java * hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/FsDatasetImpl.java * hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/extdataset/ExternalDatasetImpl.java * hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt > Fix ReplicaInputStream constructor to take InputStreams > --- > > Key: HDFS-7681 > URL: https://issues.apache.org/jira/browse/HDFS-7681 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: datanode >Affects Versions: 3.0.0 >Reporter: Joe Pallas >Assignee: Joe Pallas > Fix For: 3.0.0 > > Attachments: HDFS-7681.patch > > > As noted in HDFS-5194, the constructor for {{ReplicaInputStream}} takes > {{FileDescriptor}} s that are immediately turned into {{InputStream}} s, > while the callers already have {{FileInputStream}} s from which they extract > {{FileDescriptor}} s. This seems to have been done as part of a large set of > changes to appease findbugs. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HDFS-7681) Fix ReplicaInputStream constructor to take InputStreams
[ https://issues.apache.org/jira/browse/HDFS-7681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14296730#comment-14296730 ] Hudson commented on HDFS-7681: -- FAILURE: Integrated in Hadoop-Yarn-trunk #822 (See [https://builds.apache.org/job/Hadoop-Yarn-trunk/822/]) HDFS-7681. Change ReplicaInputStreams constructor to take InputStream(s) instead of FileDescriptor(s). Contributed by Joe Pallas (szetszwo: rev 5a0051f4da6e102846d795a7965a6a18216d74f7) * hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/extdataset/ExternalDatasetImpl.java * hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/ReplicaInputStreams.java * hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt * hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/FsDatasetImpl.java > Fix ReplicaInputStream constructor to take InputStreams > --- > > Key: HDFS-7681 > URL: https://issues.apache.org/jira/browse/HDFS-7681 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: datanode >Affects Versions: 3.0.0 >Reporter: Joe Pallas >Assignee: Joe Pallas > Fix For: 3.0.0 > > Attachments: HDFS-7681.patch > > > As noted in HDFS-5194, the constructor for {{ReplicaInputStream}} takes > {{FileDescriptor}} s that are immediately turned into {{InputStream}} s, > while the callers already have {{FileInputStream}} s from which they extract > {{FileDescriptor}} s. This seems to have been done as part of a large set of > changes to appease findbugs. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HDFS-7681) Fix ReplicaInputStream constructor to take InputStreams
[ https://issues.apache.org/jira/browse/HDFS-7681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14296805#comment-14296805 ] Hudson commented on HDFS-7681: -- FAILURE: Integrated in Hadoop-Mapreduce-trunk-Java8 #89 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/89/]) HDFS-7681. Change ReplicaInputStreams constructor to take InputStream(s) instead of FileDescriptor(s). Contributed by Joe Pallas (szetszwo: rev 5a0051f4da6e102846d795a7965a6a18216d74f7) * hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/FsDatasetImpl.java * hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/ReplicaInputStreams.java * hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/extdataset/ExternalDatasetImpl.java * hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt > Fix ReplicaInputStream constructor to take InputStreams > --- > > Key: HDFS-7681 > URL: https://issues.apache.org/jira/browse/HDFS-7681 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: datanode >Affects Versions: 3.0.0 >Reporter: Joe Pallas >Assignee: Joe Pallas > Fix For: 3.0.0 > > Attachments: HDFS-7681.patch > > > As noted in HDFS-5194, the constructor for {{ReplicaInputStream}} takes > {{FileDescriptor}} s that are immediately turned into {{InputStream}} s, > while the callers already have {{FileInputStream}} s from which they extract > {{FileDescriptor}} s. This seems to have been done as part of a large set of > changes to appease findbugs. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HDFS-7681) Fix ReplicaInputStream constructor to take InputStreams
[ https://issues.apache.org/jira/browse/HDFS-7681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14296895#comment-14296895 ] Hudson commented on HDFS-7681: -- FAILURE: Integrated in Hadoop-Hdfs-trunk-Java8 #85 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/85/]) HDFS-7681. Change ReplicaInputStreams constructor to take InputStream(s) instead of FileDescriptor(s). Contributed by Joe Pallas (szetszwo: rev 5a0051f4da6e102846d795a7965a6a18216d74f7) * hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/extdataset/ExternalDatasetImpl.java * hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt * hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/FsDatasetImpl.java * hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/ReplicaInputStreams.java > Fix ReplicaInputStream constructor to take InputStreams > --- > > Key: HDFS-7681 > URL: https://issues.apache.org/jira/browse/HDFS-7681 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: datanode >Affects Versions: 3.0.0 >Reporter: Joe Pallas >Assignee: Joe Pallas > Fix For: 3.0.0 > > Attachments: HDFS-7681.patch > > > As noted in HDFS-5194, the constructor for {{ReplicaInputStream}} takes > {{FileDescriptor}} s that are immediately turned into {{InputStream}} s, > while the callers already have {{FileInputStream}} s from which they extract > {{FileDescriptor}} s. This seems to have been done as part of a large set of > changes to appease findbugs. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HDFS-7681) Fix ReplicaInputStream constructor to take InputStreams
[ https://issues.apache.org/jira/browse/HDFS-7681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14296929#comment-14296929 ] Hudson commented on HDFS-7681: -- SUCCESS: Integrated in Hadoop-Hdfs-trunk #2020 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/2020/]) HDFS-7681. Change ReplicaInputStreams constructor to take InputStream(s) instead of FileDescriptor(s). Contributed by Joe Pallas (szetszwo: rev 5a0051f4da6e102846d795a7965a6a18216d74f7) * hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/extdataset/ExternalDatasetImpl.java * hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/FsDatasetImpl.java * hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/ReplicaInputStreams.java * hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt > Fix ReplicaInputStream constructor to take InputStreams > --- > > Key: HDFS-7681 > URL: https://issues.apache.org/jira/browse/HDFS-7681 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: datanode >Affects Versions: 3.0.0 >Reporter: Joe Pallas >Assignee: Joe Pallas > Fix For: 3.0.0 > > Attachments: HDFS-7681.patch > > > As noted in HDFS-5194, the constructor for {{ReplicaInputStream}} takes > {{FileDescriptor}} s that are immediately turned into {{InputStream}} s, > while the callers already have {{FileInputStream}} s from which they extract > {{FileDescriptor}} s. This seems to have been done as part of a large set of > changes to appease findbugs. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HDFS-7681) Fix ReplicaInputStream constructor to take InputStreams
[ https://issues.apache.org/jira/browse/HDFS-7681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14297002#comment-14297002 ] Hudson commented on HDFS-7681: -- FAILURE: Integrated in Hadoop-Mapreduce-trunk #2039 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2039/]) HDFS-7681. Change ReplicaInputStreams constructor to take InputStream(s) instead of FileDescriptor(s). Contributed by Joe Pallas (szetszwo: rev 5a0051f4da6e102846d795a7965a6a18216d74f7) * hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/extdataset/ExternalDatasetImpl.java * hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/FsDatasetImpl.java * hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt * hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/ReplicaInputStreams.java > Fix ReplicaInputStream constructor to take InputStreams > --- > > Key: HDFS-7681 > URL: https://issues.apache.org/jira/browse/HDFS-7681 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: datanode >Affects Versions: 3.0.0 >Reporter: Joe Pallas >Assignee: Joe Pallas > Fix For: 3.0.0 > > Attachments: HDFS-7681.patch > > > As noted in HDFS-5194, the constructor for {{ReplicaInputStream}} takes > {{FileDescriptor}} s that are immediately turned into {{InputStream}} s, > while the callers already have {{FileInputStream}} s from which they extract > {{FileDescriptor}} s. This seems to have been done as part of a large set of > changes to appease findbugs. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HDFS-7681) Fix ReplicaInputStream constructor to take InputStreams
[ https://issues.apache.org/jira/browse/HDFS-7681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14301984#comment-14301984 ] Hudson commented on HDFS-7681: -- FAILURE: Integrated in Hadoop-trunk-Commit #6983 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/6983/]) Move HDFS-5631, HDFS-5782 and HDFS-7681 to branch-2. (szetszwo: rev df01337b80beff09550aac440e31e09f47e1d963) * hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt > Fix ReplicaInputStream constructor to take InputStreams > --- > > Key: HDFS-7681 > URL: https://issues.apache.org/jira/browse/HDFS-7681 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: datanode >Reporter: Joe Pallas >Assignee: Joe Pallas > Fix For: 2.7.0 > > Attachments: HDFS-7681.patch > > > As noted in HDFS-5194, the constructor for {{ReplicaInputStream}} takes > {{FileDescriptor}} s that are immediately turned into {{InputStream}} s, > while the callers already have {{FileInputStream}} s from which they extract > {{FileDescriptor}} s. This seems to have been done as part of a large set of > changes to appease findbugs. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HDFS-7681) Fix ReplicaInputStream constructor to take InputStreams
[ https://issues.apache.org/jira/browse/HDFS-7681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14303106#comment-14303106 ] Hudson commented on HDFS-7681: -- FAILURE: Integrated in Hadoop-Yarn-trunk-Java8 #93 (See [https://builds.apache.org/job/Hadoop-Yarn-trunk-Java8/93/]) Move HDFS-5631, HDFS-5782 and HDFS-7681 to branch-2. (szetszwo: rev df01337b80beff09550aac440e31e09f47e1d963) * hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt > Fix ReplicaInputStream constructor to take InputStreams > --- > > Key: HDFS-7681 > URL: https://issues.apache.org/jira/browse/HDFS-7681 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: datanode >Reporter: Joe Pallas >Assignee: Joe Pallas > Fix For: 2.7.0 > > Attachments: HDFS-7681.patch > > > As noted in HDFS-5194, the constructor for {{ReplicaInputStream}} takes > {{FileDescriptor}} s that are immediately turned into {{InputStream}} s, > while the callers already have {{FileInputStream}} s from which they extract > {{FileDescriptor}} s. This seems to have been done as part of a large set of > changes to appease findbugs. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HDFS-7681) Fix ReplicaInputStream constructor to take InputStreams
[ https://issues.apache.org/jira/browse/HDFS-7681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14303133#comment-14303133 ] Hudson commented on HDFS-7681: -- SUCCESS: Integrated in Hadoop-Yarn-trunk #827 (See [https://builds.apache.org/job/Hadoop-Yarn-trunk/827/]) Move HDFS-5631, HDFS-5782 and HDFS-7681 to branch-2. (szetszwo: rev df01337b80beff09550aac440e31e09f47e1d963) * hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt > Fix ReplicaInputStream constructor to take InputStreams > --- > > Key: HDFS-7681 > URL: https://issues.apache.org/jira/browse/HDFS-7681 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: datanode >Reporter: Joe Pallas >Assignee: Joe Pallas > Fix For: 2.7.0 > > Attachments: HDFS-7681.patch > > > As noted in HDFS-5194, the constructor for {{ReplicaInputStream}} takes > {{FileDescriptor}} s that are immediately turned into {{InputStream}} s, > while the callers already have {{FileInputStream}} s from which they extract > {{FileDescriptor}} s. This seems to have been done as part of a large set of > changes to appease findbugs. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HDFS-7681) Fix ReplicaInputStream constructor to take InputStreams
[ https://issues.apache.org/jira/browse/HDFS-7681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14303294#comment-14303294 ] Hudson commented on HDFS-7681: -- FAILURE: Integrated in Hadoop-Hdfs-trunk #2025 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk/2025/]) Move HDFS-5631, HDFS-5782 and HDFS-7681 to branch-2. (szetszwo: rev df01337b80beff09550aac440e31e09f47e1d963) * hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt > Fix ReplicaInputStream constructor to take InputStreams > --- > > Key: HDFS-7681 > URL: https://issues.apache.org/jira/browse/HDFS-7681 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: datanode >Reporter: Joe Pallas >Assignee: Joe Pallas > Fix For: 2.7.0 > > Attachments: HDFS-7681.patch > > > As noted in HDFS-5194, the constructor for {{ReplicaInputStream}} takes > {{FileDescriptor}} s that are immediately turned into {{InputStream}} s, > while the callers already have {{FileInputStream}} s from which they extract > {{FileDescriptor}} s. This seems to have been done as part of a large set of > changes to appease findbugs. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HDFS-7681) Fix ReplicaInputStream constructor to take InputStreams
[ https://issues.apache.org/jira/browse/HDFS-7681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14303317#comment-14303317 ] Hudson commented on HDFS-7681: -- FAILURE: Integrated in Hadoop-Hdfs-trunk-Java8 #90 (See [https://builds.apache.org/job/Hadoop-Hdfs-trunk-Java8/90/]) Move HDFS-5631, HDFS-5782 and HDFS-7681 to branch-2. (szetszwo: rev df01337b80beff09550aac440e31e09f47e1d963) * hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt > Fix ReplicaInputStream constructor to take InputStreams > --- > > Key: HDFS-7681 > URL: https://issues.apache.org/jira/browse/HDFS-7681 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: datanode >Reporter: Joe Pallas >Assignee: Joe Pallas > Fix For: 2.7.0 > > Attachments: HDFS-7681.patch > > > As noted in HDFS-5194, the constructor for {{ReplicaInputStream}} takes > {{FileDescriptor}} s that are immediately turned into {{InputStream}} s, > while the callers already have {{FileInputStream}} s from which they extract > {{FileDescriptor}} s. This seems to have been done as part of a large set of > changes to appease findbugs. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HDFS-7681) Fix ReplicaInputStream constructor to take InputStreams
[ https://issues.apache.org/jira/browse/HDFS-7681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14303383#comment-14303383 ] Hudson commented on HDFS-7681: -- FAILURE: Integrated in Hadoop-Mapreduce-trunk-Java8 #94 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk-Java8/94/]) Move HDFS-5631, HDFS-5782 and HDFS-7681 to branch-2. (szetszwo: rev df01337b80beff09550aac440e31e09f47e1d963) * hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt > Fix ReplicaInputStream constructor to take InputStreams > --- > > Key: HDFS-7681 > URL: https://issues.apache.org/jira/browse/HDFS-7681 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: datanode >Reporter: Joe Pallas >Assignee: Joe Pallas > Fix For: 2.7.0 > > Attachments: HDFS-7681.patch > > > As noted in HDFS-5194, the constructor for {{ReplicaInputStream}} takes > {{FileDescriptor}} s that are immediately turned into {{InputStream}} s, > while the callers already have {{FileInputStream}} s from which they extract > {{FileDescriptor}} s. This seems to have been done as part of a large set of > changes to appease findbugs. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (HDFS-7681) Fix ReplicaInputStream constructor to take InputStreams
[ https://issues.apache.org/jira/browse/HDFS-7681?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14303425#comment-14303425 ] Hudson commented on HDFS-7681: -- FAILURE: Integrated in Hadoop-Mapreduce-trunk #2044 (See [https://builds.apache.org/job/Hadoop-Mapreduce-trunk/2044/]) Move HDFS-5631, HDFS-5782 and HDFS-7681 to branch-2. (szetszwo: rev df01337b80beff09550aac440e31e09f47e1d963) * hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt > Fix ReplicaInputStream constructor to take InputStreams > --- > > Key: HDFS-7681 > URL: https://issues.apache.org/jira/browse/HDFS-7681 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: datanode >Reporter: Joe Pallas >Assignee: Joe Pallas > Fix For: 2.7.0 > > Attachments: HDFS-7681.patch > > > As noted in HDFS-5194, the constructor for {{ReplicaInputStream}} takes > {{FileDescriptor}} s that are immediately turned into {{InputStream}} s, > while the callers already have {{FileInputStream}} s from which they extract > {{FileDescriptor}} s. This seems to have been done as part of a large set of > changes to appease findbugs. -- This message was sent by Atlassian JIRA (v6.3.4#6332)