Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-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 5DF144C1C for ; Wed, 8 Jun 2011 18:41:18 +0000 (UTC) Received: (qmail 57069 invoked by uid 500); 8 Jun 2011 18:41:17 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 57006 invoked by uid 500); 8 Jun 2011 18:41:17 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 56715 invoked by uid 99); 8 Jun 2011 18:41:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Jun 2011 18:41:17 +0000 X-ASF-Spam-Status: No, hits=2.6 required=5.0 tests=FREEMAIL_FROM,FROM_LOCAL_NOVOWEL,HK_RANDOM_ENVFROM,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jnbdzjnbdz@gmail.com designates 209.85.213.44 as permitted sender) Received: from [209.85.213.44] (HELO mail-yw0-f44.google.com) (209.85.213.44) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Jun 2011 18:41:11 +0000 Received: by ywp31 with SMTP id 31so465444ywp.31 for ; Wed, 08 Jun 2011 11:40:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=8eyuUvSIsgGuF3m/BQ7qIlemxg8bUQ2QKXPJa+YOjgM=; b=K9Cgpv50HIWiCCCL5Kgk8LTiwPAgEDYntGKlGA4Bnk98RchUeNmLGB0yJ1RbNwuLXt 1wliJ2fL/+GCvUBTY7WePUlWfpPSm/PhqkUCiJV6Q3D7f2gwP8K2aT7xaNnG3dKyxjfC idTzCDXa5aIWVjTyKPUxIcyJOWWlgKPnb1p40= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=bcP4D+Ky30L9W8ZfB/M2Rs7cB0i7ZQZ2719vtqb5Lu2+ytRgdfPPO6S8pu/dT7ewIy kP95dXYvPSlrWZow1WZCs/wdae0ZmnVgYWobu2ex07vrdtp8xL0UziEbRBlPPMZ6GJSQ XZiGq1dcX5aHGJoZjHcYl16WgA4Zn5X0on6RU= MIME-Version: 1.0 Received: by 10.236.200.134 with SMTP id z6mr2451483yhn.478.1307558449601; Wed, 08 Jun 2011 11:40:49 -0700 (PDT) Received: by 10.236.46.233 with HTTP; Wed, 8 Jun 2011 11:40:49 -0700 (PDT) In-Reply-To: References: Date: Wed, 8 Jun 2011 14:40:49 -0400 Message-ID: Subject: Re: Installing Thrift with Solandra From: Jean-Nicolas Boulay Desjardins To: user@cassandra.apache.org Content-Type: multipart/alternative; boundary=20cf305e2443e95da504a537ac39 X-Virus-Checked: Checked by ClamAV on apache.org --20cf305e2443e95da504a537ac39 Content-Type: text/plain; charset=ISO-8859-1 Also how can I backup the data that I loaded. Because in the next reboot I am going to loose all the data that I loaded and like you know it takes time... I tried to copy the folder Solandra in another folder outside the /tmp... But I am not sure that is enough. Thanks! On Wed, Jun 8, 2011 at 2:39 PM, Jean-Nicolas Boulay Desjardins < jnbdzjnbdz@gmail.com> wrote: > Thanks again... > > Here it gets a bit more complex. > > I added Solandra to /tmp folder like you told me. > > And the data also... > > Everything seems to work. > > The problem is I am running Solandra in a VM on my Mac OS X the VM is > Ubuntu Server. > > On that VM I have a DNS server... And one of my domain names is > jean-nicolas.name... > > I put the website folder in it, to test out Solandra. The page loads, but > no content. > > So I want in the code to find where it was getting the content. > > Then I found reutors.js and in it was an address: > http://localhost:8983/solandra/reutors > > So I used this command in the terminal (in my VM obviously): > > curl http://localhost:8983/solandra/reutors > > Then I got: > > NOT FOUND... In some HTML code... > > So it seems it cannot find the data... > > Also it was followed by a series of
nothing between them... > > So does that mean Solandra is not working? Or is it something else? > > Thanks again for your time and help... > > I know I am a bit slow :) Thanks again... > > > On Wed, Jun 8, 2011 at 12:55 PM, Krish Pan wrote: > >> looks like it is running, >> >> you can verify by running jps it will show you a process with name "jar" >> >> try this, >> >> cd ../reuters-demo >> ./1-download_data.sh >> ./2-import_data.sh >> While data is loading, open the file ./website/index.html in your favorite browser. >> >> >> >> On Wed, Jun 8, 2011 at 8:04 AM, Jean-Nicolas Boulay Desjardins < >> jnbdzjnbdz@gmail.com> wrote: >> >>> Krish Pan THANKS! >>> >>> Also thank you for making build successful in uppercase :) >>> >>> But it seems it is still not working. >>> >>> This time when I go into solandra-app directory I get the >>> start-solandra.sh and when I use the command: ./start-solandra.sh I get >>> this: >>> >>> >>> http://dl.dropbox.com/u/20599297/Screen%20shot%202011-06-08%20at%2011.00.15%20AM.png >>> >>> And it just stays stuck there. Any ideas? >>> >>> Thanks again. >>> >>> On Wed, Jun 8, 2011 at 2:32 AM, Krish Pan wrote: >>> >>>> you are trying to run solandra from resources directory, >>>> >>>> follow these steps >>>> >>>> 1) don't use root - use a regular user >>>> 2) cd /tmp/ >>>> 3) git clone git://github.com/tjake/Solandra.git >>>> 4) cd Solandra >>>> 5) ant >>>> >>>> once you get BUILD SUCCESSFUL >>>> >>>> 6) cd solandra-app >>>> 7) ./start-solandra.sh >>>> >>>> >>>> >>>> On Tue, Jun 7, 2011 at 10:29 PM, Jean-Nicolas Boulay Desjardins < >>>> jnbdzjnbdz@gmail.com> wrote: >>>> >>>>> I found start-solandra.sh in resources folder. But when I execute it. I >>>>> still get an error. >>>>> >>>>> >>>>> http://dl.dropbox.com/u/20599297/Screen%20shot%202011-06-08%20at%201.27.26%20AM.png >>>>> >>>>> >>>>> Thanks >>>>> again. >>>>> >>>>> On Tue, Jun 7, 2011 at 12:23 PM, Jean-Nicolas Boulay Desjardins < >>>>> jnbdzjnbdz@gmail.com> wrote: >>>>> >>>>>> Ok >>>>>> >>>>>> So I have to install Thrift and Cassandra than Solandra. >>>>>> >>>>>> I am asking because I followed the instructions in your Git page but I >>>>>> get this error: >>>>>> >>>>>> # cd solandra-app; ./start-solandra.sh >>>>>> >>>>>> -bash: ./start-solandra.sh: No such file or directory >>>>>> >>>>>> Thanks again :) >>>>>> >>>>>> On Tue, Jun 7, 2011 at 7:55 AM, Jake Luciani wrote: >>>>>> >>>>>>> This seems to be a common cause of confusion. Let me try again. >>>>>>> >>>>>>> Solandra doesn't integrate your Cassandra data into solr. It simply >>>>>>> provides a scalable backend for solr by >>>>>>> Building on Cassandra. The inverted index lives in it's own Cassandra >>>>>>> keyspace. >>>>>>> >>>>>>> What you have in the end is two functionally different components >>>>>>> (Cassandra and solr) in one logical service. >>>>>>> >>>>>>> Jake >>>>>>> >>>>>>> On Tuesday, June 7, 2011, Jean-Nicolas Boulay Desjardins >>>>>>> wrote: >>>>>>> > I just saw a post you made on Stackoverflow, where you said: >>>>>>> > "The Solandra project which is replacing Lucandra no longer uses >>>>>>> thrift, only Solr." >>>>>>> > >>>>>>> > So I use Solr to access my data in Cassandra? >>>>>>> > Thanks again... >>>>>>> > On Tue, Jun 7, 2011 at 1:39 AM, Jean-Nicolas Boulay Desjardins < >>>>>>> jnbdzjnbdz@gmail.com> wrote: >>>>>>> > Thanks again :) >>>>>>> > Ok... But in the tutorial it says that I need to build a Thrift >>>>>>> interface for Cassandra: >>>>>>> > >>>>>>> > >>>>>>> > ./compiler/cpp/thrift -gen php >>>>>>> ../PATH-TO-CASSANDRA/interface/cassandra.thrift >>>>>>> > How do I do this? >>>>>>> > Where is the interface folder? >>>>>>> > >>>>>>> > >>>>>>> > Again, tjake thanks allot for your time and help. >>>>>>> > On Mon, Jun 6, 2011 at 11:13 PM, Jake Luciani >>>>>>> wrote: >>>>>>> > To access Cassandra in Solandra it's the same as regular cassandra. >>>>>>> To access Solr you use one of the Php Solr libraries >>>>>>> http://wiki.apache.org/solr/SolPHP >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > On Mon, Jun 6, 2011 at 11:04 PM, Jean-Nicolas Boulay Desjardins < >>>>>>> jnbdzjnbdz@gmail.com> wrote: >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > I am trying to install Thrift with Solandra. >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > Normally when I just want to install Thrift with Cassandra, I >>>>>>> followed this tutorial: >>>>>>> https://wiki.fourkitchens.com/display/PF/Using+Cassandra+with+PHP >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > But how can I do the same for Solandra? >>>>>>> > >>>>>>> > >>>>>>> > >>>>>>> > Thrift with PHP...-- >>>>>>> > Name / Nom: Boulay Desjardins, Jean-Nicolas >>>>>>> > Website / Site Web: www.jeannicolas.com >>>>>>> > >>>>>>> > >>>>>>> >>>>>>> -- >>>>>>> http://twitter.com/tjake >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Name / Nom: Boulay Desjardins, Jean-Nicolas >>>>>> Website / Site Web: www.jeannicolas.com >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> Name / Nom: Boulay Desjardins, Jean-Nicolas >>>>> Website / Site Web: www.jeannicolas.com >>>>> >>>> >>>> >>> >>> >>> -- >>> Name / Nom: Boulay Desjardins, Jean-Nicolas >>> Website / Site Web: www.jeannicolas.com >>> >> >> > > > -- > Name / Nom: Boulay Desjardins, Jean-Nicolas > Website / Site Web: www.jeannicolas.com > -- Name / Nom: Boulay Desjardins, Jean-Nicolas Website / Site Web: www.jeannicolas.com --20cf305e2443e95da504a537ac39 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Also how can I backup the data that I loaded.

Because in= the next reboot I am going to loose all the data that I loaded and like yo= u know it takes time...

I tried to copy the folder= Solandra in another folder outside the /tmp... But I am not sure that is e= nough.

Thanks!

On Wed, Jun 8= , 2011 at 2:39 PM, Jean-Nicolas Boulay Desjardins <jnbdzjnbdz@gmail.com> wr= ote:
Thanks again...

Here it = gets a bit more complex.

I added Solandra to /tmp = folder like you told me.

And the data also...

Everythin= g seems to work.

The problem is I am running Solandra in a VM on my Mac = OS X the VM is Ubuntu Server.

On that VM I have a = DNS server... And one of my domain names is jean-nicolas.name...

I put the website folder in it, to test out Solandra. The pa= ge loads, but no content.

So I want in the code to= find where it was getting the content.

Then I fou= nd reutors.js and in it was an address: http://localhost:8983/solandra/reutors

So I used this command in the terminal (in my VM obviou= sly):

curl http://localhost:8983/solandra/reutors

Then I got:

NOT FOUND... In so= me HTML code...

So it seems it cannot find the dat= a...

Also it was followed by a series of <br/&g= t; nothing between them...

So does that mean Solandra is not working? Or is it som= ething else?

Thanks again for your time and help..= .

I know I am a bit slow :) Thanks again...


On Wed, Jun 8, 2011 at 12:55 PM, Krish Pan <= span dir=3D"ltr"><ceo.coder@gmail.com> wrote:
looks like it is running,=A0

you can verify by running j= ps it will show you a process with name "jar"=A0

try this,=A0

cd ../reuters-demo
./1-download_data.sh
./2-import_data.sh
While data is loading, open the file ./website/index.html in your favorite =
browser.


On = Wed, Jun 8, 2011 at 8:04 AM, Jean-Nicolas Boulay Desjardins <jnbdzjnbdz= @gmail.com> wrote:
Krish Pan THANKS!

Also thank you for making b= uild successful in=A0uppercase=A0:)

But it seems i= t is still not working.

This time when I go into s= olandra-app directory I get the start-solandra.sh and when I use the comman= d:=A0./start-solandra.sh I get this:


And it just stays stuck there. Any ideas?

Thanks again.

On Wed, Jun 8, 201= 1 at 2:32 AM, Krish Pan <ceo.coder@gmail.com> wrote:
you are trying to run solandra from resources directory,

follo= w these steps

1) don't use root - use a regula= r user
2) cd /tmp/
4) cd Solandra
5) ant

once you get = BUILD SUCCESSFUL=A0

6) cd solandra-app
7= ) ./start-solandra.sh



On Tue, Jun 7, 2011 at 10:29 PM, Jean-Nicolas Boulay Desjardins <jnbd= zjnbdz@gmail.com> wrote:
I found start-solandra.sh in resources folder. But when I execute it. I sti= ll get an error.


Thanks again= .

On Tue, Jun 7= , 2011 at 12:23 PM, Jean-Nicolas Boulay Desjardins <jnbdzjnbdz@gmail.co= m> wrote:
Ok

So I have to install T= hrift and Cassandra than Solandra.

I am asking bec= ause I followed the instructions in your Git page but I get this error:

# cd solandra-app; ./start-solandra.sh

-bash: ./start-solandra.sh: No such file or directory

Thanks again :)=A0
<= br>
On Tue, Jun 7, 2011 at 7:55 AM, Jake Luciani = <jakers@gmail.com> wrote:
This seems to be a common cause of confusion= . Let me try again.

Solandra doesn't integrate your Cassandra data into solr. It simply
provides a scalable backend for solr by
Building on Cassandra. The inverted index lives in it's own Cassandra k= eyspace.

What you have in the end is two functionally different components
(Cassandra and solr) in one logical service.

Jake

On Tuesday, June 7, 2011, Jean-Nicolas Boulay Desjardins
<jnbdzjnb= dz@gmail.com> wrote:
> I just saw a post you made on Stackoverflow, where you said:
> "The Solandra project which is replacing Lucandra no longer uses = thrift, only Solr."
>
> So I use Solr to access my data in Cassandra?
> Thanks again...
> On Tue, Jun 7, 2011 at 1:39 AM, Jean-Nicolas Boulay Desjardins <jnbdzjnbdz@gmail.com= > wrote:
> Thanks again :)
> Ok... But in the tutorial it says that I need to build a Thrift interf= ace for Cassandra:
>
>
> ./compiler/cpp/thrift -gen php ../PATH-TO-CASSANDRA/interface/cassandr= a.thrift
> How do I do this?
> Where is the interface folder?
>
>
> Again, tjake thanks allot for your time and help.
> On Mon, Jun 6, 2011 at 11:13 PM, Jake Luciani <jakers@gmail.com> wrote:
> To access Cassandra in Solandra it's the same as regular cassandra= . =A0To access Solr you use one of the Php Solr libraries=A0http://wiki.apache.org/so= lr/SolPHP
>
>
>
>
>
> On Mon, Jun 6, 2011 at 11:04 PM, Jean-Nicolas Boulay Desjardins <jnbdzjnbdz@gmail.co= m> wrote:
>
>
>
>
>
> I am trying to install Thrift with Solandra.
>
>
>
> Normally when I just want to install Thrift with Cassandra, I followed= this tutorial:https://wiki.fourkitchens.com/display/P= F/Using+Cassandra+with+PHP
>
>
>
>
>
>
>
> But how can I do the same for Solandra?
>
>
>
> Thrift with PHP...--
> Name / Nom: Boulay Desjardins, Jean-Nicolas
> Website / Site Web: www.jeannicolas.com
>
>

--
http://twitter.com/t= jake



--
Name / Nom: Boulay Desjardins, Jean-Nicolas
Website / Site Web: www.jeannicolas.com



--
Name /= Nom: Boulay Desjardins, Jean-Nicolas
Website / Site Web: www.jeannicolas.com




--
Name /= Nom: Boulay Desjardins, Jean-Nicolas
Website / Site Web: www.jeannicolas.com




--
Name / Nom: Boulay Desjardins, Jean-Nicolas
Website / Site Web: = www.jeannicolas.co= m



--
Name / Nom: Boulay Desj= ardins, Jean-Nicolas
Website / Site Web: www.jeannicolas.com
--20cf305e2443e95da504a537ac39--