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 ?

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

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 user...@gmail.com 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

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

2014-05-29 Thread user 01
100 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 user...@gmail.com wrote: With Hector I used to create a column object

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

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 ?

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

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

2014-05-28 Thread user 01
: On Wed, May 28, 2014 at 7:19 AM, user 01 user...@gmail.com wrote: 2. *What is the future of thrift based APIs *( specifically Astyanax) ? Logic suggests that the thrift based API will ultimately be removed, at the time in the future when the cost of working around its moribund area

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 user...@gmail.com 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 12.04

Re: Which hector version is suitable for cassandra 2.0.6 ?

2014-03-27 Thread user 01
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 01 wrote: Which hector version is suitable

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 user...@gmail.com 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 ?

Re: No output.log is ever generated

2014-03-24 Thread user 01
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 duncan.sa...@gmail.comwrote: Hi user 01, in older versions

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 ?

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 ?

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 mich...@pbandjelly.orgwrote: On 03/11/2014 08:47

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 access

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 user...@gmail.com wrote: Is it safe to remove (pid file folder)* /var/run/cassandra* if I

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

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 user...@gmail.com wrote: I installed DSC 2.0.5 on ubuntu 12.04 with Oracle JRE 7 but dsc 2.0.5 does

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 duncan.sa...@gmail.comwrote: 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.. *$ sudo service cassandra

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
$* 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

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

2014-03-10 Thread user 01
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 DSC 2.0.5 not starting - * could not access pidfile for Cassandra $* sudo su

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: Disabling opscenter data collection in Datastax community 2.0

2014-02-23 Thread user 01
-serves-up-free-portion-of-apach/229402129 On 2/23/14, Tupshin Harper tups...@tupshin.com 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, user 01 user

Re: Disabling opscenter data collection in Datastax community 2.0

2014-02-22 Thread user 01
that it writes data which is unused in case I don't use Opscenter. On 2/22/14, Michael Shuler mich...@pbandjelly.org 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 authorized to use Opscenter

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 user...@gmail.com wrote: What is your

Re: How do you remote backup your cassandra nodes ?

2014-02-21 Thread user 01
directories/files needs to be copied for a remote location backup ? On Sat, Feb 22, 2014 at 1:12 AM, Robert Coli rc...@eventbrite.com wrote: On Thu, Feb 20, 2014 at 12:13 PM, user 01 user...@gmail.com wrote: What is your strategy/tools set to backup your Cassandra nodes, apart from from cluster

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?