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 2E9FE17361 for ; Wed, 1 Oct 2014 01:01:35 +0000 (UTC) Received: (qmail 83867 invoked by uid 500); 1 Oct 2014 01:01:34 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 83818 invoked by uid 500); 1 Oct 2014 01:01:34 -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 83803 invoked by uid 99); 1 Oct 2014 01:01:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 01 Oct 2014 01:01:34 +0000 Date: Wed, 1 Oct 2014 01:01:34 +0000 (UTC) From: "Zhanwei Wang (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDFS-7011) Implement basic utilities for libhdfs3 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-7011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14154149#comment-14154149 ] Zhanwei Wang commented on HDFS-7011: ------------------------------------ Hi Abraham Both FileWrapper and CFileWrapper have read interface. {code} class FileWrapper { public: virtual ~FileWrapper() { } virtual bool open(int fd, bool delegate) = 0; virtual bool open(const std::string &path) = 0; virtual void close() = 0; virtual const char *read(std::vector &buffer, int32_t size) = 0; virtual void copy(char *buffer, int32_t size) = 0; virtual void seek(int64_t position) = 0; }; {code} > Implement basic utilities for libhdfs3 > -------------------------------------- > > Key: HDFS-7011 > URL: https://issues.apache.org/jira/browse/HDFS-7011 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: hdfs-client > Reporter: Zhanwei Wang > Assignee: Colin Patrick McCabe > Attachments: HDFS-7011-pnative.001.patch, HDFS-7011-pnative.002.patch, HDFS-7011.patch > > > Implement basic utilities such as hash, exception handling, logger, configure parser, checksum calculate and so on. -- This message was sent by Atlassian JIRA (v6.3.4#6332)