Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 3A2D6200BD0 for ; Wed, 30 Nov 2016 18:34:53 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 38D1E160B19; Wed, 30 Nov 2016 17:34:53 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 56A30160B13 for ; Wed, 30 Nov 2016 18:34:52 +0100 (CET) Received: (qmail 8232 invoked by uid 500); 30 Nov 2016 17:34:46 -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 8203 invoked by uid 99); 30 Nov 2016 17:34:46 -0000 Received: from mail-relay.apache.org (HELO mail-relay.apache.org) (140.211.11.15) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Nov 2016 17:34:46 +0000 Received: from [10.1.10.15] (c-73-222-138-29.hsd1.ca.comcast.net [73.222.138.29]) by mail-relay.apache.org (ASF Mail Server at mail-relay.apache.org) with ESMTPSA id A0C6A1A0185; Wed, 30 Nov 2016 17:34:45 +0000 (UTC) From: Denis Magda Message-Id: Content-Type: multipart/alternative; boundary="Apple-Mail=_12E8446B-344D-43E7-B4D6-343B184FC9DD" Mime-Version: 1.0 (Mac OS X Mail 10.1 \(3251\)) Subject: Re: Cassandra basic setup Date: Wed, 30 Nov 2016 09:34:44 -0800 In-Reply-To: Cc: dev@ignite.apache.org, Igor Rudyak To: user@ignite.apache.org References: <5D8BAE22-1454-4D85-AD6F-E086CD111ED0@apache.org> <07D7A196-9259-4493-83AE-4DC86900CEDD@apache.org> X-Mailer: Apple Mail (2.3251) archived-at: Wed, 30 Nov 2016 17:34:53 -0000 --Apple-Mail=_12E8446B-344D-43E7-B4D6-343B184FC9DD Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Cross-posting to the dev list. Igor R., is this something that has to be fixed for 1.8 as well? The = community is planning to send the new release for vote by the end of = Friday, could you look into this issue by that time? =E2=80=94 Denis > On Nov 30, 2016, at 3:00 AM, Riccardo Iacomini = wrote: >=20 > Hi Igor, > I would like to highlight to you another discrepancy I noticed while = trying to build the cassandra/ignite/ganglia cluster test in AWS using = the provided framework. I've build Ignite 1.7 from source, but the = version hard-coded for the modules in the cassandra-bootstrap.sh and = ignite-bootstrap.sh script is the 1.6.=20 >=20 > Best Regards >=20 > Riccardo Iacomini > RDSLab >=20 >=20 > On Tue, Nov 29, 2016 at 11:18 PM, Igor Rudyak > wrote: > Ok, thanks for the info. >=20 > Igor >=20 > On Tue, Nov 29, 2016 at 12:56 PM, Denis Magda > wrote: > Igor, >=20 > The documentation has been moved to the new integrations related site > https://apacheignite-mix.readme.io/docs/ignite-with-apache-cassandra = >=20 > You=E2=80=99re free to update it there. >=20 > =E2=80=94 > Denis >=20 >> On Nov 29, 2016, at 11:49 AM, Denis Magda > wrote: >>=20 >> Igor, >>=20 >> Please hold on for a while. I=E2=80=99ve just started moving all the = integrations related documentation to a new domain. I=E2=80=99ll let you = know when it=E2=80=99s safe to update the doc. >>=20 >> =E2=80=94 >> Denis >>=20 >>> On Nov 29, 2016, at 10:46 AM, Igor Rudyak > wrote: >>>=20 >>> Hi Riccardo, >>>=20 >>> Thanks for noticing this. There were number of refactorings done and = it looks like we need to update the documentation. >>>=20 >>> I'll update the documentation for the module. >>>=20 >>> Igor >>>=20 >>> On Tue, Nov 29, 2016 at 9:26 AM, Denis Magda > wrote: >>> Igor, >>>=20 >>> Would you mind looking through the documentation and updating it = whenever is needed? >>>=20 >>> =E2=80=94 >>> Denis >>>=20 >>>> On Nov 29, 2016, at 1:58 AM, Riccardo Iacomini = > = wrote: >>>>=20 >>>> Hi Igor, >>>> I finally discovered what was causing the issue. The example = provided in the Ignite = documentation page has a subtle difference in the package structure of = several classes, for example: >>>>=20 >>>> org.apache.ignite.cache.store.cassandra.datasource.DataSource (the = class in the ignite-cassandra.jar) vs = org.apache.ignite.cache.store.cassandra.utils.datasource.DataSource (in = the example). The same applies also for other classes in the example. I = do not know if this is due to a refactoring performed on the code which = did not propagates through the examples, or simply I used a different = version of the documentation in contrast with the one I was running. >>>>=20 >>>> Anyway, thank you for your time. >>>>=20 >>>> Best regards >>>>=20 >>>> Riccardo Iacomini >>>> RDSLab >>>>=20 >>>>=20 >>>> On Mon, Nov 28, 2016 at 5:34 PM, Igor Rudyak > wrote: >>>> If you are using ignite.sh it should be fine. >>>>=20 >>>> Igor >>>>=20 >>>>=20 >>>> On Nov 28, 2016 8:29 AM, "Riccardo Iacomini" = > = wrote: >>>> I will try. Yes I am using the ignite.sh command. Any drawbacks? >>>>=20 >>>> Il 28 nov 2016 5:26 PM, "Igor Rudyak" > ha scritto: >>>> Try to check your classpath. Find ignite process usig something = like ps -es | grep Ignite and check java command used to launch = ignite. >>>>=20 >>>> By the way, how you launching Ignite? Do you use ignite.sh script = for this? >>>>=20 >>>> Igor >>>>=20 >>>>=20 >>>> On Nov 28, 2016 8:05 AM, "Riccardo Iacomini" = > = wrote: >>>> Hi Igor, >>>> I tried your suggestion, but it does find the class. I've also read = from the README files that optional modules must be copied into the libs = folder: same outcome. I've tried also the docker image, adding my = configuration xml files to it, and running the image as specified here = in the = documentation. Do you have any other suggestion? >>>>=20 >>>> Thanks for your patience. >>>>=20 >>>> Best regards >>>>=20 >>>> Riccardo Iacomini >>>> RDSLab >>>>=20 >>>>=20 >>>> On Sun, Nov 27, 2016 at 8:46 PM, Igor Rudyak > wrote: >>>> Try to include required jars into IGNITE_LIBS environment variable. >>>>=20 >>>> Igor=20 >>>>=20 >>>> On Thu, Nov 24, 2016 at 5:21 AM, Riccardo Iacomini = > = wrote: >>>> Hi Igor, >>>> thanks for your reply. I've both tried building ignite from source = and removing CassandraAdminCredentials class specifying username and = password in the bean's properties. Anyway, I cannot get it work. Ignite = still cannot find the required classes, this time = org.apache.ignite.cache.store.cassandra.utils.datasource.DataSource. The = class is indeed located in the jar ignite-cassandra-1.7.0.jar in = IGNITE_HOME/modules/cassandra/target. I tried adding the path to = USER_LIBS and CLASSPATH, no different behavior. Maybe the environment = variables got ignored? >>>>=20 >>>>=20 >>>> Riccardo Iacomini >>>> RDSLab >>>>=20 >>>>=20 >>>> On Wed, Nov 23, 2016 at 7:41 PM, Igor Rudyak > wrote: >>>> Hi Riccardo, >>>>=20 >>>> CassandraAdminCredentials class is only available in Ignite unit = tests sources. If you want to use it you should build Ignite from source = code. Such way, it will create = ignite-cassandra-tests-${project.version}.zip where jar may find jar = file containing all the test classes. >>>>=20 >>>> Also if you want to use Cassandra as a persistent store you = actually don't need CassandraAdminCredentials cause it's just used for = tests. >>>>=20 >>>> Igor >>>>=20 >>>> On Wed, Nov 23, 2016 at 7:33 AM, Riccardo Iacomini = > = wrote: >>>> Following the example = provided in the docs, I = am trying to setup a basic Ignite cluster using Cassandra as persistent = store. I've downloaded ignite 1.7 and created the configuration files. = Ignite does read them at startup, but I get this error message: >>>>=20 >>>> class org.apache.ignite.IgniteException: Failed to instantiate = Spring XML application context (make sure all classes used in Spring = configuration are present at CLASSPATH >>>>=20 >>>> CassandraAdminCredentials is the class not being found. Commenting = the bean, I get the same for the next class. I tried adding the path to = the jar ignite-cassandra-1.7.0.jar to both CLASSPATH and USER_LIBS, = still not getting found. Opening the jar I cannot find the requested = class. Am I missing some dependencies? >>>>=20 >>>> Thank you for your help. >>>>=20 >>>> Riccardo Iacomini >>>> RDSLab >>>>=20 >>>>=20 >>>>=20 >>>>=20 >>>>=20 >>>>=20 >>>>=20 >>>=20 >>>=20 >>=20 >=20 >=20 >=20 --Apple-Mail=_12E8446B-344D-43E7-B4D6-343B184FC9DD--