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 0FF0310A1C for ; Fri, 13 Feb 2015 10:26:34 +0000 (UTC) Received: (qmail 22480 invoked by uid 500); 13 Feb 2015 10:26:18 -0000 Delivered-To: apmail-ignite-dev-archive@ignite.apache.org Received: (qmail 22436 invoked by uid 500); 13 Feb 2015 10:26:18 -0000 Mailing-List: contact dev-help@ignite.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.incubator.apache.org Delivered-To: mailing list dev@ignite.incubator.apache.org Received: (qmail 22421 invoked by uid 99); 13 Feb 2015 10:26:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Feb 2015 10:26:18 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=RCVD_IN_DNSWL_NONE,URIBL_DBL_ABUSE_REDIR X-Spam-Check-By: apache.org Received-SPF: error (nike.apache.org: local policy) Received: from [96.114.154.170] (HELO resqmta-po-11v.sys.comcast.net) (96.114.154.170) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Feb 2015 10:25:52 +0000 Received: from resomta-po-08v.sys.comcast.net ([96.114.154.232]) by resqmta-po-11v.sys.comcast.net with comcast id rmQN1p002516pyw01mQVuh; Fri, 13 Feb 2015 10:24:29 +0000 Received: from tinybb.boudnik.org ([24.130.135.131]) by resomta-po-08v.sys.comcast.net with comcast id rmQU1p0062qGB6001mQUkL; Fri, 13 Feb 2015 10:24:28 +0000 Received: by tinybb.boudnik.org (Postfix, from userid 1002) id 8D0192D24; Fri, 13 Feb 2015 10:25:28 +0000 (UTC) Date: Fri, 13 Feb 2015 10:25:28 +0000 From: Konstantin Boudnik To: dev@ignite.incubator.apache.org Subject: Fwd: How to support "Secondary Hadoop FS URI" Message-ID: <20150213102528.GL4732@boudnik.org> Reply-To: dev@ignite.incubator.apache.org MIME-Version: 1.0 Content-Type: message/rfc822 Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20140121; t=1423823069; bh=YT8XzoaNLaT4uxFb6GlaR6gDxIgFZ5UmzMHLmCi6dwU=; h=Received:Received:Received:Date:From:To:Subject:Message-ID: Reply-To:MIME-Version:Content-Type; b=u3OSuFqeE0FHO63JxUb4Zl8NPzNKNULMql0+QC3OdFekwO+PrjhloqxWdmRJO1As/ FtaOPZihJicpYLqHocgiEAC+V6a0ZjykEBEgJB+07s/v5s6I1HiE13LR9UzKu5C1ij n7DE4Ft+vCFBJP5XkNC4C9dhXpWa8WPh8OlkyhJjUhutuJq6hMzXubc9uXSj737Ksc oSlo5WdcAXqCm4bvgI+8vu7cdKwczIwoe2aglymYPiLqi4lvjwOyge4AXE50a3pdvS wGAuYM6TGeINkEF0pmctHCLly5ZcuR34o6Bkt9fjg1hJgRSOqPXqAZN+VblNdw0Ke9 M2GYxavbjm5KA== X-Virus-Checked: Checked by ClamAV on apache.org Return-Path: Delivered-To: moderator for private@ignite.incubator.apache.org Received: (qmail 46988 invoked by uid 99); 12 Feb 2015 08:32:36 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Feb 2015 08:32:36 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS,URIBL_DBL_ABUSE_REDIR X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of qinxinwei@huawei.com designates 119.145.14.66 as permitted sender) Received: from [119.145.14.66] (HELO szxga03-in.huawei.com) (119.145.14.66) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Feb 2015 08:32:11 +0000 Received: from 172.24.2.119 (EHLO szxeml433-hub.china.huawei.com) ([172.24.2.119]) by szxrg03-dlp.huawei.com (MOS 4.4.3-GA FastPath queued) with ESMTP id BBV61369; Thu, 12 Feb 2015 16:25:49 +0800 (CST) Received: from [127.0.0.1] (10.177.36.157) by szxeml433-hub.china.huawei.com (10.82.67.210) with Microsoft SMTP Server id 14.3.158.1; Thu, 12 Feb 2015 16:25:46 +0800 Message-ID: <54DC636E.7040805@huawei.com> Date: Thu, 12 Feb 2015 16:25:18 +0800 From: Qin Xinwei User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: Subject: How to support "Secondary Hadoop FS URI" Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.177.36.157] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020204.54DC638D.0142,ss=1,re=0.001,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2013-05-26 15:14:31, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: a2485a5fb9eb7680440532c8942ec005 X-Virus-Checked: Checked by ClamAV on apache.org Hi, all Under the guidance of http://hadoop.gridgain.org/latest/Configuration, I add the following configuration items into default-config.xml to set DUAL_ASYNC mode and use Apache HDFS as my secondary file system: But there is following error when I run bin/ggstart.sh: class org.gridgain.grid.GridException: Failed to instantiate Spring XML application context [springUrl=file:/home/qxw/gridgain/gridgain-hadoop-os-6.6.2/config/default-config.xml, err=Error creating bean with name 'grid.cfg' defined in URL [file:/home/qxw/gridgain/gridgain-hadoop-os-6.6.2/config/default-config.xml]: Cannot create inner bean 'org.gridgain.grid.ggfs.GridGgfsConfiguration#1602c861' of type [org.gridgain.grid.ggfs.GridGgfsConfiguration] while setting bean property 'ggfsConfiguration' with key [0]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.gridgain.grid.ggfs.GridGgfsConfiguration#1602c861' defined in URL [file:/home/qxw/gridgain/gridgain-hadoop-os-6.6.2/config/default-config.xml]: Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'secondaryHadoopFileSystemUri' of bean class [org.gridgain.grid.ggfs.GridGgfsConfiguration]: B! ean prop erty 'secondaryHadoopFileSystemUri' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?] For more information see: Troubleshooting: http://bit.ly/GridGain-Troubleshooting Documentation Center: http://bit.ly/GridGain-Documentation at org.gridgain.grid.kernal.processors.spring.GridSpringProcessorImpl.loadConfigurations(GridSpringProcessorImpl.java:98) at org.gridgain.grid.kernal.GridGainEx.loadConfigurations(GridGainEx.java:560) at org.gridgain.grid.kernal.GridGainEx.start(GridGainEx.java:742) at org.gridgain.grid.kernal.GridGainEx.start(GridGainEx.java:709) at org.gridgain.grid.kernal.GridGainEx.start(GridGainEx.java:663) at org.gridgain.grid.kernal.GridGainEx.start(GridGainEx.java:523) at org.gridgain.grid.kernal.GridGainEx.start(GridGainEx.java:493) at org.gridgain.grid.GridGain.start(GridGain.java:314) at org.gridgain.grid.startup.cmdline.GridCommandLineStartup.main(GridCommandLineStartup.java:293) Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'grid.cfg' defined in URL [file:/home/qxw/gridgain/gridgain-hadoop-os-6.6.2/config/default-config.xml] The execption shows Bean property 'secondaryHadoopFileSystemUri' is not writable or has an invalid setter method, and I don't find "secondaryHadoopFileSystemUri" field and relevant method in GridGgfsConfiguration.java. The gridgain version I used is gridgain-hadoop-os-6.6.2. So, does "secondaryHadoopFileSystemUri" have been renamed? or, could it be said that the opensource version don't support secondary file system, only support ggfs PRIMARY mode? Thanks.