Return-Path: X-Original-To: apmail-commons-user-archive@www.apache.org Delivered-To: apmail-commons-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 C726B17537 for ; Wed, 27 May 2015 03:24:25 +0000 (UTC) Received: (qmail 24898 invoked by uid 500); 27 May 2015 03:24:24 -0000 Delivered-To: apmail-commons-user-archive@commons.apache.org Received: (qmail 24774 invoked by uid 500); 27 May 2015 03:24:24 -0000 Mailing-List: contact user-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Users List" Delivered-To: mailing list user@commons.apache.org Received: (qmail 24762 invoked by uid 99); 27 May 2015 03:24:24 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 May 2015 03:24:24 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id C1B3FC093B for ; Wed, 27 May 2015 03:24:23 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.901 X-Spam-Level: ** X-Spam-Status: No, score=2.901 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id rK76YAJ2BDRa for ; Wed, 27 May 2015 03:24:12 +0000 (UTC) Received: from mail-ig0-f178.google.com (mail-ig0-f178.google.com [209.85.213.178]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id E05CE47BD6 for ; Wed, 27 May 2015 03:24:11 +0000 (UTC) Received: by igbhj9 with SMTP id hj9so76788250igb.1 for ; Tue, 26 May 2015 20:22:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=PZI32FeiS4zCHDlKysIXoR1qdFccCucRtzkcmFCCq2o=; b=RZXqy2Vr8wickSf6QQiAGeEDhmtay2aJmGiHZs0jZ+VzqZwj1sTXHilMkXb8PMCbdK RzEEgFkHTG2PFmt18cGmjZRu3YDKlXmRjMiAjnRv6ZYJZZMHhXZf06shgErk6Bp1+njo 2nwyiHiytp0W9z1SuTXO73bs3qY+gD6srVbWaRoFGoilbaZSXaJ+2pHuIC6er8VK8jo0 vaKToYcVCPFSlA8w1mRgyfw9hkx3j/GQnKnb5kclEbzgvXJh478R08i0T/vhsAVWfDWp 4UYBXZuRcQmKaI8ZlkqxqkSfCBPfi5nv9lSMBP4Z8iJpC3XvTlS9xUByUZXhm//GEmMS YblQ== X-Received: by 10.107.7.195 with SMTP id g64mr8904321ioi.81.1432696961380; Tue, 26 May 2015 20:22:41 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.176.210 with HTTP; Tue, 26 May 2015 20:22:11 -0700 (PDT) In-Reply-To: References: <5a06gn4fny2ptrt8vet3fa0q.1432680480374@email.android.com> From: Ted Dunning Date: Tue, 26 May 2015 20:22:11 -0700 Message-ID: Subject: Re: [VFS] Could the HDFS connector work with MapR systems? To: Commons Users List Content-Type: multipart/alternative; boundary=001a113f280a74366d051707c1c2 --001a113f280a74366d051707c1c2 Content-Type: text/plain; charset=UTF-8 The NFS mount trick allows all of the files to appear via the local://* file system. Otherwise, it is true that the wire protocol for MapR FS is different from HDFS. In fact, the wire protocol for different versions of HDFS are different as well. But what is standard is how different implementations of a Hadoop compatible file system are plugged into the file space. That should work for any reasonable application if you have the right jars in your search path. One possibility where this would break would be if the client code assumes, for instance, that all file paths must have a server address. Otherwise, well-behaved HDFS client applications should work. The null host name exception sounds like there is a format exception going on. Can I see the some test code and stack traces somewhere? On Tue, May 26, 2015 at 4:32 PM, Roger Whitcomb wrote: > So, I'm pretty sure (now) that it DOESN'T work. There are comments here: > http://answers.mapr.com/questions/9224/apache-hadoop-client-connecting-to-namenode.html > and here: > http://doc.mapr.com/display/MapR/Accessing+MapR-FS+in+Java+Applications > plus the connector here: https://github.com/pentaho/pentaho-hdfs-vfs > that all point to special MapR code being needed, and the standard HDFS > client protocols not working. Plus all my testing seemed to confirm this. > > We have figured out a workaround for our configuration, though (we're > basically requiring an NFS mount of the MapR file system, so we can just > browse the MapR files as native). > > Thanks, > ~Roger > > -----Original Message----- > From: Gary Gregory [mailto:garydgregory@gmail.com] > Sent: Tuesday, May 26, 2015 3:48 PM > To: Commons Users List > Subject: RE: [VFS] Could the HDFS connector work with MapR systems? > > I've not seen VFS used in this configuration before. You could try > updating to the current HDFS jar files. > Gary > > -------- Original message -------- > From: Roger Whitcomb > Date: 05/26/2015 10:39 (GMT-08:00) > To: Commons Users List > Subject: [VFS] Could the HDFS connector work with MapR systems? > > Hi all, > I'm using Commons VFS 2.1 along with the HDFS connector > and everything is working brilliantly ... until, that is, trying to access > HDFS on a MapR system. Then I get things like null host name exceptions > and the like. So, anyone have any idea whether the HDFS connector even > COULD work against MapR? And if not, anyone tried to build a MapR > connector to Commons VFS 2.1? > > Thanks in advance, > ~Roger Whitcomb > --001a113f280a74366d051707c1c2--