Return-Path: Delivered-To: apmail-hadoop-hbase-user-archive@minotaur.apache.org Received: (qmail 73265 invoked from network); 10 Jan 2010 15:17:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 10 Jan 2010 15:17:38 -0000 Received: (qmail 94134 invoked by uid 500); 10 Jan 2010 15:17:37 -0000 Delivered-To: apmail-hadoop-hbase-user-archive@hadoop.apache.org Received: (qmail 94054 invoked by uid 500); 10 Jan 2010 15:17:37 -0000 Mailing-List: contact hbase-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hbase-user@hadoop.apache.org Delivered-To: mailing list hbase-user@hadoop.apache.org Received: (qmail 94044 invoked by uid 99); 10 Jan 2010 15:17:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 10 Jan 2010 15:17:37 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of lists@nabble.com designates 216.139.236.158 as permitted sender) Received: from [216.139.236.158] (HELO kuber.nabble.com) (216.139.236.158) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 10 Jan 2010 15:17:29 +0000 Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1NTzXQ-0004pe-EG for hbase-user@hadoop.apache.org; Sun, 10 Jan 2010 07:17:08 -0800 Message-ID: <27099222.post@talk.nabble.com> Date: Sun, 10 Jan 2010 07:17:08 -0800 (PST) From: anilkr To: hbase-user@hadoop.apache.org Subject: Re: Basic question about using C# with Hadoop filesystems In-Reply-To: <93baab321001100710h63545d4eoc517f6005579df44@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Nabble-From: kr_anil2@rediffmail.com References: <27096203.post@talk.nabble.com> <78568af11001100254ob01e571r57b070912e663428@mail.gmail.com> <27098395.post@talk.nabble.com> <93baab321001100706i6280784x4db697a18bc2da6a@mail.gmail.com> <93baab321001100710h63545d4eoc517f6005579df44@mail.gmail.com> Aram, where is the discussion about fuse-dfs, could not find the link in yo= ur reply.... thanks Aram Mkhitaryan wrote: >=20 > here is a discussion with subject 'fuse-dfs', > there they discuss problems with mounting hdfs, > probably you can ask your question there >=20 > On Sun, Jan 10, 2010 at 7:06 PM, Aram Mkhitaryan > wrote: >> I'm not an expert here, but >> I read somewhere that it's possible to install a module in linux >> which will allow you to mount hdfs folder as a standard linux folder >> if I'm not wrong it was in one of the claudera's distributions, >> probably you can find something there >> >> >> On Sun, Jan 10, 2010 at 5:42 PM, anilkr wrote: >>> >>> Thank you Ryan, >>> My C# code is also on Linux (as it uses MONO framework on Linux). >>> I understand that some bridging would be required. I am thinking that >>> since >>> Hadoop exposes some C APIs to operate with the Hadoop filesystem. If i >>> write >>> a wrapper in C and make a DLL out of it. Now my C# application will cal= l >>> this DLL for file operations and this DLL will call Hadoop APIs to >>> operate >>> with the files. >>> >>> Do you think this would be a proper way. >>> thanks again >>> >>> >>> Ryan Rawson wrote: >>>> >>>> Hadoop fs is not a typical filesystem, it is rpc oriented and uses a >>>> thick >>>> client in Java. To get access to it from c# would involve bridging to >>>> Java >>>> somehow. The c++ client does this. >>>> >>>> Most of hbase devs use Mac or Linux boxes. We aren't really experts in >>>> windows tech. Maybe the main hadoop list could help you? >>>> >>>> On Jan 9, 2010 11:50 PM, "anilkr" wrote: >>>> >>>> >>>> Currently my application uses C# with MONO on Linux to communicate to >>>> local >>>> file systems (e.g. ext2, ext3). The basic operations are open a file, >>>> write/read from file and close/delete the file. For this currently i >>>> use >>>> C# >>>> native APIs to operate on the file. >>>> =C2=A0 My Question is: If i install Hadoop file system on my Linux box= . Then >>>> what change i need to do to my existing functions so that they >>>> communicate >>>> to hadoop file system to do basic operations on the file. Since Hadoop >>>> infrastructure is based on Java, How any C# (with MONO) application >>>> will >>>> do >>>> basic operations with Hadoop. Do the basic APIs in C# to operate on a >>>> file >>>> (likr File.Open or File.Copy) work well with Hadoop filesystems too? >>>> >>>> Also, If i want to open a file then do i need to mount to Hadoop >>>> filesystem >>>> programmatically? If yes, how? >>>> >>>> Thanks, >>>> Anil >>>> -- >>>> View this message in context: >>>> http://old.nabble.com/Basic-question-about-using-C--with-Hadoop-filesy= stems-tp27096203p27096203.html >>>> Sent from the HBase User mailing list archive at Nabble.com. >>>> >>>> >>> >>> -- >>> View this message in context: >>> http://old.nabble.com/Basic-question-about-using-C--with-Hadoop-filesys= tems-tp27096203p27098395.html >>> Sent from the HBase User mailing list archive at Nabble.com. >>> >>> >> >=20 >=20 --=20 View this message in context: http://old.nabble.com/Basic-question-about-us= ing-C--with-Hadoop-filesystems-tp27096203p27099222.html Sent from the HBase User mailing list archive at Nabble.com.