Re: Anyone using Astyanax in production besides Netflix itself?

2014-05-30 Thread user 01
Anyone who's already using Astyanax in production cluster? What C* do you use with Astyanax ?

Anyone using Astyanax in production besides Netflix itself?

2014-05-29 Thread user 01
What version of Astyanax(thrift based impl. or beta Java driver one?) are you using ? With what cassandra version ? Would you still recommend Astyanax at this point when DS Java Driver is out? My intentions are to use Astyanax over thrift based impl for now, & later switch to Astyanax over Java dr

Re: With Astyanax, How do I write same column to multiple rows efficiently ?

2014-05-29 Thread user 01
00 times" --> is it really an issue ? Even if Astyanax creates 1 > millions of column objects, as long as they die young and respect the > generational hypothesis of the JVM, it's fine. > > > On Thu, May 29, 2014 at 4:05 PM, user 01 wrote: > >> With Hecto

Re: With Astyanax, How do I write same column to multiple rows efficiently ?

2014-05-29 Thread user 01
I am using Astyanax over thrift driver. On Thu, May 29, 2014 at 7:35 PM, user 01 wrote: > With Hector I used to create a column object once & add that to multiple > row mutations but with Astyanax it creates a new column object for each row > mutation in a mutation batch so if I

With Astyanax, How do I write same column to multiple rows efficiently ?

2014-05-29 Thread user 01
With Hector I used to create a column object once & add that to multiple row mutations but with Astyanax it creates a new column object for each row mutation in a mutation batch so if I need to add a same column to 1000 rows, it creates the column object 100 times. Isn't there a better way to add s

Re: Migrate from Hector(unmaintained) to Astyanax for Cassandra 2.0.7, (delaying thrift to CQL migration plan) ?

2014-05-28 Thread user 01
why things like > LINQ came into existence. > > > > On Wed, May 28, 2014 at 2:44 PM, Robert Coli wrote: > >> On Wed, May 28, 2014 at 7:19 AM, user 01 wrote: >> >>> 2. *What is the future of thrift based APIs *(& specifically Astyanax) >>> ? >

Migrate from Hector(unmaintained) to Astyanax for Cassandra 2.0.7, (delaying thrift to CQL migration plan) ?

2014-05-28 Thread user 01
Currently I am using Hector which is no longer maintained by its developers. So, for the past few days I have been looking at Astyanax & to be fair, I think I'm just loving its API. For sometime now I also had a look at CQL Java driver maintained by Datastax but right now, I don't very much love/u

What are the advantages of static column family over a dynamic column family?

2014-05-28 Thread user 01
What are the advantages of static column family over a dynamic column family? Otherwise why shouldn't I just make all my column families just dynamic for the reasons of ease? Do static column families save diskspace or offer better reads/writes performance ?

Re: No output.log is ever generated

2014-03-29 Thread user 01
Can anyone please confirm, whether output.log is completely deprecated now ? On Mon, Mar 24, 2014 at 6:53 PM, user 01 wrote: > > *@Jonathan Lacefield, * > Yes I am seeing the logs in system.log. I installed cassandra 2.0.6 using > latest Datastax Community package on Ubuntu 1

Re: Which hector version is suitable for cassandra 2.0.6 ?

2014-03-27 Thread user 01
ich the only one who supports C* v2. Also you can use Astyanax > in order to switch to its API but having something like DS JavaDriver under > the hood. > It may be interesting for you http://techblog.netflix.com/ > 2013/12/astyanax-update.html > > > On 03/27/2014 11:17 AM, user

Which hector version is suitable for cassandra 2.0.6 ?

2014-03-27 Thread user 01
Which hector version is suitable for cassandra 2.0.6 ? I am seeing that version 1.1-4(which I believe is latest release?) has been there around since very long time even before C* 2.x.x series wasn't out. So is it the latest release suitable for 2.0 series? Is Hector under active development now

Re: No output.log is ever generated

2014-03-24 Thread user 01
output.log supposed to contain? Is it completely a deprecated now ? I am surprised why does this page exists : http://www.datastax.com/documentation/cassandra/2.0/cassandra/configuration/configOutputLog_t.html On Mon, Mar 24, 2014 at 6:27 PM, Duncan Sands wrote: > Hi user 01, in older versions of

Re: No output.log is ever generated

2014-03-24 Thread user 01
Hints please, anyone ? On Mon, Mar 24, 2014 at 2:13 AM, user 01 wrote: > No output.log is ever generated by my cassandra installation(DSC20 with C* > 2.0.6 on Ubuntu 12.04). Do I need to configure anything to enable logs to > output.log ? >

Can't modify 'vm.swapiness' or 'vm.max_map_count' for Cassandra

2014-03-23 Thread user 01
While installing Datastax community Cassandra I got the error: *error: permission denied on key 'vm.max_map_count'* > Because I 'm running cassandra in an OpenVZ container my host does not allow changing *vm.swapiness* or *vm.max_map_count* due to shared kernel. Is it OK to ignore these errors ?

No output.log is ever generated

2014-03-23 Thread user 01
No output.log is ever generated by my cassandra installation(DSC20 with C* 2.0.6 on Ubuntu 12.04). Do I need to configure anything to enable logs to output.log ?

Re: Is it safe to remove (pid file folder) /var/run/cassandra

2014-03-18 Thread user 01
I've verified that problem is solvable by deleting * /var/run/cassandra*folder on my test server. Should I remove the pid folder from my new production server ? On Wed, Mar 19, 2014 at 10:54 AM, user 01 wrote: > Is it safe to remove (pid file folder)* /var/run/cassandra* if I think

Is it safe to remove (pid file folder) /var/run/cassandra

2014-03-18 Thread user 01
Is it safe to remove (pid file folder)* /var/run/cassandra* if I think it has got wrong permissions, will it be recreated by process as before ? folder permissions seem to be incorrect immediately after I installed dsc20 & due to this "sudo service cassandra start" fails saying - "* could not acc

Re: Cassandra DSC 2.0.5 not starting - "* could not access pidfile for Cassandra"

2014-03-18 Thread user 01
For others who get stuck with this in future, here is fix that worked for me: http://askubuntu.com/questions/435749/cant-start-an-application-as-service-but-running-as-standalone-process-simply On Tue, Mar 11, 2014 at 9:24 PM, Michael Shuler wrote: > On 03/11/2014 08:47 AM, Ken Hancock wrote: >

Re: Cassandra DSC 2.0.5 not starting - "* could not access pidfile for Cassandra"

2014-03-10 Thread user 01
> > > On 03/10/2014 12:50 PM, Sholes, Joshua wrote: > >> Depending on how it was installed, try making sure that the cassandra >> user has an actual login shell defined in /etc/passwd and not something >> like /sbin/nologin or /bin/false. >> >> >> From: us

Re: Cassandra DSC 2.0.5 not starting - "* could not access pidfile for Cassandra"

2014-03-10 Thread user 01
@Sholes, Joshua: It was installed using Datastax DSC20 package for cassandra 2.0.5. Checked out * /etc/passwd . *An entry for cassandra user does seem to exist. Looks like this: *cassandra:x:107:113:Cassandra database,,,:/var/lib/cassandra:/bin/false* On Mon, Mar 10, 2014 at 11:21 PM, user 01

Re: Cassandra DSC 2.0.5 not starting - "* could not access pidfile for Cassandra"

2014-03-10 Thread user 01
> You may need to do "chown -R cassandra /var/lib/cassandra > /var/log/cassandra" . > > > > Don > > > > *From:* user 01 [mailto:user...@gmail.com] > *Sent:* Monday, March 10, 2014 10:23 AM > *To:* user@cassandra.apache.org > *Subject:* Re: Cassandra

Re: Cassandra DSC 2.0.5 not starting - "* could not access pidfile for Cassandra"

2014-03-10 Thread user 01
> > $* sudo su - cassandra* I don't know why but this isn't actually working. It does not switch me to *cassandra* user[btw .. should this actually switch me to cassandra user?? ]. This user switching on my servers does not work for users like *tomcat7*user, *cassandra* user but works for users t

Re: Cassandra DSC 2.0.5 not starting - "* could not access pidfile for Cassandra"

2014-03-10 Thread user 01
When running as root everything works fine, however when I run your commands a normal user, here is what happens.. > user01@server1:~$ > *sudo -iu cassandra* user01@server1:~$ > * cassandra -f -p /var/run/cassandra/cassandra.pid* *...* ERROR 16:46:09,355 Exception encountered during startup

Re: Cassandra DSC 2.0.5 not starting - "* could not access pidfile for Cassandra"

2014-03-10 Thread user 01
* On Mon, Mar 10, 2014 at 7:04 PM, Duncan Sands wrote: > Hi user 01, > > > On 10/03/14 13:11, user 01 wrote: > >> I installed DSC 2.0.5 on ubuntu 12.04 with Oracle JRE 7 but dsc 2.0.5 >> does not >> start after installation. When I check the running status.. >>

Re: Cassandra DSC 2.0.5 not starting - "* could not access pidfile for Cassandra"

2014-03-10 Thread user 01
If it was not very clear, I could not manually start cassandra *$ sudo service cassandra start* ** could not access pidfile for Cassandra* On Mon, Mar 10, 2014 at 5:41 PM, user 01 wrote: > I installed DSC 2.0.5 on ubuntu 12.04 with Oracle JRE 7 but dsc 2.0.5 does > not start

Cassandra DSC 2.0.5 not starting - "* could not access pidfile for Cassandra"

2014-03-10 Thread user 01
I installed DSC 2.0.5 on ubuntu 12.04 with Oracle JRE 7 but dsc 2.0.5 does not start after installation. When I check the running status.. *$ sudo service cassandra status* it says > ** could not access pidfile for Cassandra* & no other messages or anything in logs. This is happening with 2.

Re: Disabling opscenter data collection in Datastax community 2.0

2014-02-23 Thread user 01
s/datastax-serves-up-free-portion-of-apach/229402129 On 2/23/14, Tupshin Harper wrote: > You can use OpsCenter in production with DSC/Apache Cassandra clusters. > Some features are only enabled with DSE, but the rest work fine with DSC. > > -Tupshin > On Feb 22, 2014 11:20 PM, "us

Re: Disabling opscenter data collection in Datastax community 2.0

2014-02-22 Thread user 01
e no sense that it writes data which is unused in case I don't use Opscenter. On 2/22/14, Michael Shuler wrote: > On 02/22/2014 06:12 AM, user 01 wrote: >> I'm using dsc20 (datastax community edition for cassandra 2.0) in >> production environment. But since I am not author

Disabling opscenter data collection in Datastax community 2.0

2014-02-22 Thread user 01
I'm using dsc20 (datastax community edition for cassandra 2.0) in production environment. But since I am not authorized to use Opscenter for production use. So how do I disable the data recording that is being done for opscenter consumption, as this is just a unusable for me & will put unnecessary

Re: How do you remote backup your cassandra nodes ?

2014-02-21 Thread user 01
emote location, isn't it ? What directories/files needs to be copied for a remote location backup ? On Sat, Feb 22, 2014 at 1:12 AM, Robert Coli wrote: > On Thu, Feb 20, 2014 at 12:13 PM, user 01 wrote: > >> What is your strategy/tools set to backup your Cassandra nodes, apart &

Re: How do you remote backup your cassandra nodes ?

2014-02-21 Thread user 01
I'm wanting to back up my data to amazon S3. Can anyone please tell about which directories should I copy to the remote location for backup so as to restore the entire Cassandra data in the event of any failures? On Fri, Feb 21, 2014 at 1:43 AM, user 01 wrote: > What is your strategy/t

How do you remote backup your cassandra nodes ?

2014-02-20 Thread user 01
What is your strategy/tools set to backup your Cassandra nodes, apart from from cluster replication/ snapshots within cluster?