incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Nicolas Boulay Desjardins <jnbdzjn...@gmail.com>
Subject Re: Installing Thrift with Solandra
Date Wed, 08 Jun 2011 18:40:49 GMT
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 <br/> 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 <ceo.coder@gmail.com> 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 <ceo.coder@gmail.com> 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
>>>>>
>>>>>
>>>>> <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 <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
>>>>>>> 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
>>>>>>> <jnbdzjnbdz@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
>>>>>>> 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 <jakers@gmail.com>
>>>>>>> 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

Mime
View raw message