hadoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Jackson <Ian_Jack...@trilliumsoftware.com>
Subject RE: Writing to remote HDFS using C# on Windows
Date Fri, 06 Dec 2013 21:46:24 GMT
If you using HDFS on 2.2, you could use a nfs. More recent versions of  Windows include an
NFS client. The exclamation mark is used to refer to the root directory of HDFS. For example:
     net use * \\hostname_or_ip\<file:///\\hostname_or_ip\>!
The downside of using the NFS gateway, is that you may only use NFS for communicating with
Hadoop and not any of the real directories.
From: Marco Shaw [mailto:marco.shaw@gmail.com]
Sent: Friday, December 06, 2013 11:34 AM
To: user
Subject: Re: Writing to remote HDFS using C# on Windows

Does this help?

I'm assuming you can use Microsoft's .NET SDK to write to a non-HDInsight cluster...


On Fri, Dec 6, 2013 at 1:58 AM, Fengyun RAO <raofengyun@gmail.com<mailto:raofengyun@gmail.com>>

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 <vinodkv@hortonworks.com<mailto:vinodkv@hortonworks.com>>
You can try using WebHDFS.


On Thu, Dec 5, 2013 at 6:04 PM, Fengyun RAO <raofengyun@gmail.com<mailto:raofengyun@gmail.com>>
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!

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.

View raw message