Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BC7F311FD6 for ; Mon, 4 Aug 2014 14:13:13 +0000 (UTC) Received: (qmail 82954 invoked by uid 500); 4 Aug 2014 14:13:13 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 82898 invoked by uid 500); 4 Aug 2014 14:13:13 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 82814 invoked by uid 99); 4 Aug 2014 14:13:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Aug 2014 14:13:13 +0000 Date: Mon, 4 Aug 2014 14:13:12 +0000 (UTC) From: "Tsz Wo Nicholas Sze (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-6813) WebHdfsFileSystem#OffsetUrlInputStream should implement PositionedReadable with thead-safe. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HDFS-6813?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14084688#comment-14084688 ] Tsz Wo Nicholas Sze commented on HDFS-6813: ------------------------------------------- The javadoc in PositionedReadable may be out dated. Even DFSInputStream does not seem to be thread safe. > WebHdfsFileSystem#OffsetUrlInputStream should implement PositionedReadable with thead-safe. > ------------------------------------------------------------------------------------------- > > Key: HDFS-6813 > URL: https://issues.apache.org/jira/browse/HDFS-6813 > Project: Hadoop HDFS > Issue Type: Bug > Components: webhdfs > Affects Versions: 2.6.0 > Reporter: Yi Liu > Assignee: Yi Liu > Attachments: HDFS-6813.001.patch > > > {{PositionedReadable}} definition requires the implementations for its interfaces should be thread-safe. > OffsetUrlInputStream(WebHdfsFileSystem inputstream) doesn't implement these interfaces with tread-safe, this JIRA is to fix this. -- This message was sent by Atlassian JIRA (v6.2#6252)