Return-Path: X-Original-To: apmail-hadoop-common-user-archive@www.apache.org Delivered-To: apmail-hadoop-common-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2A5E1101EB for ; Fri, 6 Dec 2013 06:28:08 +0000 (UTC) Received: (qmail 13324 invoked by uid 500); 6 Dec 2013 05:58:40 -0000 Delivered-To: apmail-hadoop-common-user-archive@hadoop.apache.org Received: (qmail 13204 invoked by uid 500); 6 Dec 2013 05:58:40 -0000 Mailing-List: contact user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hadoop.apache.org Delivered-To: mailing list user@hadoop.apache.org Received: (qmail 13197 invoked by uid 99); 6 Dec 2013 05:58:39 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Dec 2013 05:58:39 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of raofengyun@gmail.com designates 209.85.128.177 as permitted sender) Received: from [209.85.128.177] (HELO mail-ve0-f177.google.com) (209.85.128.177) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Dec 2013 05:58:35 +0000 Received: by mail-ve0-f177.google.com with SMTP id db12so263172veb.36 for ; Thu, 05 Dec 2013 21:58:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=TVoaT6le7MwIiUnjMGX9QXZGiCuJ64m+sphytwFWTaM=; b=EdA6ErLLfiw6wZptRyVbYbHmfLRMuhPbBveqtscz8OKKky0TMZW1RcmjCHGPaxBRSC zh/4h1UX0F6QEMRak5zotv7ijZXg3tpUtBZnwr85rg2iq5bCrRI7iHedKXlICuSz4RdO yP7lNmGYg8d1Y/CA4bf2mTnZiJMLkyQ17ngdMD16dlm2z3r6cQbzHZFsneZatNEZXJqM zhKWI64mDmxFq20vyD1j5zPVVPwmePyqcDp8082gAEaZn/9RKl/y44hjBd47hLS91v13 4ZVWbkkzX1ZjxjQf8k3JlnvsKXNTNnIhIeGw9tqHpFZa69kGIJkhRVa3jIbG9VYdIotW B6aw== MIME-Version: 1.0 X-Received: by 10.59.10.227 with SMTP id ed3mr1191555ved.43.1386309494318; Thu, 05 Dec 2013 21:58:14 -0800 (PST) Received: by 10.221.66.69 with HTTP; Thu, 5 Dec 2013 21:58:14 -0800 (PST) In-Reply-To: References: Date: Fri, 6 Dec 2013 13:58:14 +0800 Message-ID: Subject: Re: Writing to remote HDFS using C# on Windows From: Fengyun RAO To: user@hadoop.apache.org Content-Type: multipart/alternative; boundary=047d7bf0d7aef55ef204ecd754a4 X-Virus-Checked: Checked by ClamAV on apache.org --047d7bf0d7aef55ef204ecd754a4 Content-Type: text/plain; charset=ISO-8859-1 Thanks! I tried WebHDFS, which also work well if I copy local files to HDFS, but still can't find a way to open a filestream, and write to it. 2013/12/6 Vinod Kumar Vavilapalli > You can try using WebHDFS. > > Thanks, > +Vinod > > > On Thu, Dec 5, 2013 at 6:04 PM, Fengyun RAO wrote: > >> Hi, All >> >> Is there a way to write files into remote HDFS on Linux using C# on >> Windows? We want to use HDFS as data storage. >> >> We know there is HDFS java API, but not C#. We tried SAMBA for file >> sharing and FUSE for mounting HDFS. It worked if we simply copy files to >> HDFS, but if we open a filestream and write to it, it always throws >> exceptions. >> >> Best regards! >> > > CONFIDENTIALITY NOTICE > NOTICE: This message is intended for the use of the individual or entity > to which it is addressed and may contain information that is confidential, > privileged and exempt from disclosure under applicable law. If the reader > of this message is not the intended recipient, you are hereby notified that > any printing, copying, dissemination, distribution, disclosure or > forwarding of this communication is strictly prohibited. If you have > received this communication in error, please contact the sender immediately > and delete it from your system. Thank You. --047d7bf0d7aef55ef204ecd754a4 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Thanks!

I tried WebHDFS, which al= so work well if I copy local files to HDFS, but still can't find a way = to open a filestream, and write to it.

2013/12/6 Vinod Kumar Vavilapalli <vinodk= v@hortonworks.com>
You can try using WebHDFS.

Thanks,
+Vinod

On Thu, Dec 5, 2013 at 6:04 PM, Fengyun RAO <raofengyun@gmail.com> wrote:
Hi, All

= Is there a way to write files into remote HDFS on Linux using C# on Windows= ? We want to use HDFS as data storage.=A0

We know there is HDFS java API, but not C#. We tried SA= MBA for file sharing and FUSE for mounting HDFS. It worked if we simply cop= y files to HDFS, but if we open a filestream and write to it, it always thr= ows exceptions.

Best regards!

CONFIDENTIALITY NOTICE
NOTICE: This message is = intended for the use of the individual or entity to which it is addressed a= nd may contain information that is confidential, privileged and exempt from= disclosure under applicable law. If the reader of this message is not the = intended recipient, you are hereby notified that any printing, copying, dis= semination, distribution, disclosure or forwarding of this communication is= strictly prohibited. If you have received this communication in error, ple= ase contact the sender immediately and delete it from your system. Thank Yo= u.

--047d7bf0d7aef55ef204ecd754a4--