Return-Path: X-Original-To: apmail-ignite-dev-archive@minotaur.apache.org Delivered-To: apmail-ignite-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D19D218303 for ; Mon, 14 Dec 2015 08:12:15 +0000 (UTC) Received: (qmail 67699 invoked by uid 500); 14 Dec 2015 08:12:15 -0000 Delivered-To: apmail-ignite-dev-archive@ignite.apache.org Received: (qmail 67653 invoked by uid 500); 14 Dec 2015 08:12:15 -0000 Mailing-List: contact dev-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.apache.org Delivered-To: mailing list dev@ignite.apache.org Received: (qmail 67634 invoked by uid 99); 14 Dec 2015 08:12:15 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Dec 2015 08:12:15 +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 0D910C0856 for ; Mon, 14 Dec 2015 08:12:15 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.001 X-Spam-Level: X-Spam-Status: No, score=0.001 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gridgain-com.20150623.gappssmtp.com Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id KkHaVR6QpJf7 for ; Mon, 14 Dec 2015 08:12:00 +0000 (UTC) Received: from mail-lb0-f171.google.com (mail-lb0-f171.google.com [209.85.217.171]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id 61508251C6 for ; Mon, 14 Dec 2015 08:12:00 +0000 (UTC) Received: by lbpu9 with SMTP id u9so94538016lbp.2 for ; Mon, 14 Dec 2015 00:11:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gridgain-com.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-type:content-transfer-encoding; bh=P5uQcObnMw9uyCxo0rZT1RumOQe75OOigwOCXEon3jM=; b=lBdeMa1MXEzhC4LPeEH7XSDwQKsHKSpqBPURH1H6k9y5UiYZrr2yhC615ntU5uA2Wo 3cNIrTwAAFFg07kdn9k2sPOPtqw10peBes4ufogz1tGvf4U+OmTke1SJ0P4W7G+U44c7 1WNtuVHBg8LsoBiijvwQteDuw9zRFa57aqlG6NpdPiD/unXsnB6ONNEGh2ns97Y9vJUS CQrrUrLDX6gpMSd3S+OPMGKjH0Uy9SGbqRCXmdEMldilbL2ef75dR9dR1B6xA1a4x0+a 4kto9fI7ppVNgmpGx7G9EdtIphHgBrWO19O3tpMA7Paia5eyFPZS5hKZMD61dLSGFXYo Emsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=P5uQcObnMw9uyCxo0rZT1RumOQe75OOigwOCXEon3jM=; b=dn2XhIfQyaEk4FJryGoyex58AGKY8BtJ5I/RdOo3wTlxVGD+kEeHXEwgaJkzolc9+v ZhQwi6Cs6UIfXyHx6cmWKIV7DR2ARLrsf4LPb08o/sDFr7rHjytcFIpqVOkK39ZdDRmN DwPslAA0/kDsadt5TELrtg+S9s+hivx7ujXQLo5D/iIxg3QMdHv8bKLW81sy4iOW+P9K 20iwjO7G22MbXZp5XcRQKB5I0LVi2aC6acFZK2JTmt6Vg1vgp41MUp5ktsbKNPOz4Mqm EJIDaMF+Nog/2FkcNccVw9hjxHFWVFCmlpTtGU8Ovb9m0v+8E9r6i0vB9/WzZjFNfk9n yD2Q== X-Gm-Message-State: ALoCoQmm9pPO49twBenxmW/40ibR56VTW8lJXQawKquPLZz+WD3xXbil27ERP+FWD9jAidReeX8okOr1BeBa0Ns3vJwefpmDlg== X-Received: by 10.112.236.67 with SMTP id us3mr12625710lbc.64.1450080718648; Mon, 14 Dec 2015 00:11:58 -0800 (PST) Received: from [192.168.1.101] ([79.134.207.98]) by smtp.googlemail.com with ESMTPSA id qb3sm2726258lbb.39.2015.12.14.00.11.57 for (version=TLSv1/SSLv3 cipher=OTHER); Mon, 14 Dec 2015 00:11:57 -0800 (PST) Subject: Re: Using HDFS as a secondary FS To: dev@ignite.apache.org References: From: Denis Magda Message-ID: <566E79CC.8040303@gridgain.com> Date: Mon, 14 Dec 2015 11:11:56 +0300 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Hi Ivan, 1) Yes, I think that it makes sense to have the old versions of the docs while an old version is still considered to be used by someone. 2) Absolutely, the time to add a corresponding article on the readme.io has come. It's not the first time I see the question related to HDFS as a secondary FS. Before and now it's not clear for me what exact steps I should follow to enable such a configuration. Our current suggestions look like a puzzle. I'll assemble the puzzle on my side and prepare the article. Ivan if you don't mind I would reaching you out directly asking for any technical assistance if needed. Regards, Denis On 12/14/2015 10:25 AM, Ivan V. wrote: > Hi, Valentin, > > 1) first of all note that the author of the question uses not the latest > doc page, namely > http://apacheignite.gridgain.org/v1.0/docs/igfs-secondary-file-system . > This is version 1.0, while the latest is 1.5: > https://apacheignite.readme.io/docs/hadoop-accelerator. Besides, it > appeared that some links from the latest doc version point to 1.0 doc > version. I fixed that in several places where I found that. Do we really > need old doc versions (1.0 -1.4)? > > 2) our documentation ( > http://apacheignite.gridgain.org/docs/secondary-file-system) does not > provide any special setup instructions to configure HDFS as secondary file > system in Ignite. Our docs assume that if a user wants to integrate with > Hadoop, (s)he follows generic Hadoop integration instruction (e.g. > http://apacheignite.gridgain.org/docs/installing-on-apache-hadoop). It > looks like the page > http://apacheignite.gridgain.org/docs/secondary-file-system should be more > clear regarding the required configuration steps (in fact, setting up > HADOOP_HOME variable for Ignite node process). > > 3) Hadoop jars are correctly found by Ignite if the following conditions > are met: > (a) The "Hadoop Edition" distribution is used (not a "Fabric" edition). > (b) Either HADOOP_HOME environment variable is set up (for Apache Hadoop > distribution), or file "/etc/default/hadoop" exists and matches the Hadoop > distribution used (BigTop, Cloudera, HDP, etc.) > > The exact mechanism of the Hadoop classpath composition can be found in > files > IGNITE_HOME/bin/include/hadoop-classpath.sh > IGNITE_HOME/bin/include/setenv.sh . > > The issue is discussed in https://issues.apache.org/jira/browse/IGNITE-372 > , https://issues.apache.org/jira/browse/IGNITE-483 . > > On Sat, Dec 12, 2015 at 3:45 AM, Valentin Kulichenko < > valentin.kulichenko@gmail.com> wrote: > >> Igniters, >> >> I'm looking at the question on SO [1] and I'm a bit confused. >> >> We ship ignite-hadoop module only in Hadoop Accelerator and without Hadoop >> JARs, assuming that user will include them from the Hadoop distribution he >> uses. It seems OK for me when accelerator is plugged in to Hadoop to run >> mapreduce jobs, but I can't figure out steps required to configure HDFS as >> a secondary FS for IGFS. Which Hadoop JARs should be on classpath? Is user >> supposed to add them manually? >> >> Can someone with more expertise in our Hadoop integration clarify this? I >> believe there is not enough documentation on this topic. >> >> BTW, any ideas why user gets exception for JobConf class which is in >> 'mapred' package? Why map-reduce class is being used? >> >> [1] >> >> http://stackoverflow.com/questions/34221355/apache-ignite-what-are-the-dependencies-of-ignitehadoopigfssecondaryfilesystem >> >> -Val >>