Return-Path: X-Original-To: apmail-hadoop-yarn-dev-archive@minotaur.apache.org Delivered-To: apmail-hadoop-yarn-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 97B4F10C0E for ; Fri, 18 Apr 2014 11:49:23 +0000 (UTC) Received: (qmail 60608 invoked by uid 500); 18 Apr 2014 11:49:20 -0000 Delivered-To: apmail-hadoop-yarn-dev-archive@hadoop.apache.org Received: (qmail 60511 invoked by uid 500); 18 Apr 2014 11:49:17 -0000 Mailing-List: contact yarn-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: yarn-dev@hadoop.apache.org Delivered-To: mailing list yarn-dev@hadoop.apache.org Received: (qmail 60463 invoked by uid 99); 18 Apr 2014 11:49:15 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 18 Apr 2014 11:49:15 +0000 Date: Fri, 18 Apr 2014 11:49:15 +0000 (UTC) From: "Daniel Darabos (JIRA)" To: yarn-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (YARN-1960) LocalFSFileInputStream should support mark() MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Daniel Darabos created YARN-1960: ------------------------------------ Summary: LocalFSFileInputStream should support mark() Key: YARN-1960 URL: https://issues.apache.org/jira/browse/YARN-1960 Project: Hadoop YARN Issue Type: New Feature Components: api Reporter: Daniel Darabos Priority: Minor This is easily done by wrapping the FileInputStream in a BufferedInputStream. I wish for this feature because Apache Commons Compress's CompressorStreamFactory relies on it. There is benefit to being able to open local compressed file during testing. I'll send a patch for this if it's okay. -- This message was sent by Atlassian JIRA (v6.2#6252)