specifying listen_address

2016-02-08 Thread Ted Yu
Hi, I downloaded and expanded DSE 4.8.4 When I specify the following in resources/dse/conf/dse.yaml : listen_address: XX.YY I got: INFO 17:43:10 Loading settings from file:/home/cassandra/dse-4.8.4/resources/dse/conf/dse.yaml Exception in thread "main" java.lang.ExceptionInInitializerError at

Re: specifying listen_address

2016-02-08 Thread Ted Yu
e(DSE 4.8.4) it is /etc/dse/cassandra/cassandra.yaml > > On Mon, Feb 8, 2016 at 11:22 PM, Ted Yu wrote: > >> Hi, >> I downloaded and expanded DSE 4.8.4 >> >> When I specify the following in resources/dse/conf/dse.yaml : >> >> listen_address: XX.YY >>

CASSANDRA-8072

2016-02-08 Thread Ted Yu
Hi, I am trying to setup a cluster with DSE 4.8.4 I added the following in resources/cassandra/conf/cassandra.yaml : cluster_name: 'cass' which resulted in: http://pastebin.com/27adxKTM This seems to be resolved by CASSANDRA-8072 My question is whether there is workaround ? If not, when can I

Re: CASSANDRA-8072

2016-02-08 Thread Ted Yu
50 AM, Bhuvan Rawal wrote: > Hi Ted, > > Have you specified the listen_address and rpc_address? What addresses are > there in the seed list? > > Have you started seed first and after waiting for 30 seconds started other > nodes? > > > On Tue, Feb 9, 2016 at 12:14

Re: CASSANDRA-8072

2016-02-08 Thread Ted Yu
Here it is: http://pastebin.com/QEdjtAj6 XX.YY is localhost in this case. On Mon, Feb 8, 2016 at 11:03 AM, Bhuvan Rawal wrote: > could you paste your cassandra.yaml here, except for commented out lines? > > On Tue, Feb 9, 2016 at 12:30 AM, Ted Yu wrote: > >> The issue I desc

Re: CASSANDRA-8072

2016-02-08 Thread Ted Yu
and it worked fine, > I had earlier the node local ip in the 3 fields and it was working fine. > > Looks like there is some other issue here. > > On Tue, Feb 9, 2016 at 12:49 AM, Ted Yu wrote: > >> Here it is: >> http://pastebin.com/QEdjtAj6 >> >> XX.YY is l

Re: CASSANDRA-8072

2016-02-08 Thread Ted Yu
> > If listen_address is localhost then try: > > - seeds: "127.0.0.1" > > > On Tue, Feb 9, 2016 at 5:58 AM, Ted Yu wrote: > >> If I apply the fix from CASSANDRA-8072 onto a 2.1.12 cluster, which >> files should I replace ? >> >> Thanks &g

Re: CASSANDRA-8072

2016-02-09 Thread Ted Yu
d_mbox/cassandra-user/201602.mbox/%3CCAEQiCCVC3AygJAiPOVJJ4uG2wYQbgihEkbA_1BoBNUYc1uKaLw%40mail.gmail.com%3E> > recently that might help. > > On Tue, Feb 9, 2016 at 8:48 AM, Ted Yu wrote: > >> Thanks for the help, Stefania. >> By using "127.0.0.1" , I was able to start

stefania.alborghe...@datastax.com

2016-02-09 Thread Ted Yu
Hi, I am using DSE 4.8.4 Here are the ports Cassandra daemon listens on: tcp0 0 xx.yy:9042 0.0.0.0:* LISTEN 30773/java tcp0 0 127.0.0.1:56498 0.0.0.0:* LISTEN 30773/java tcp0 0 xx.yy:7000 0.0.0.0:*

Re: CASSANDRA-8072

2016-02-09 Thread Ted Yu
the internode port. This is normally 7000, the storage port in the yaml > file. > > If you are still having problems, you can log at TRACE level in > conf/logback.xml, this should log connection errors and gossip exchanges. > > > > > On Wed, Feb 10, 2016 at 2:28 AM, Ted Yu w

Re: CASSANDRA-8072

2016-02-09 Thread Ted Yu
el in > conf/logback.xml, this should log connection errors and gossip exchanges. > > > > > On Wed, Feb 10, 2016 at 2:28 AM, Ted Yu wrote: > >> On XX.YY : >> >> # service iptables status >> iptables: Firewall is not running. >> >> I

reducing disk space consumption

2016-02-10 Thread Ted Yu
Hi, I am using DSE 4.8.4 On one node, disk space is low where: 42G /var/lib/cassandra/data/usertable/data-0abea7f0cf9211e5a355bf8dafbfa99c Using CLI, I dropped keyspace usertable but the data dir above still consumes 42G. What action would free this part of disk (I don't need the data) ? Thanks

distributing load across cluster

2016-02-10 Thread Ted Yu
Hi, I am following this guide on a 5 node cluster: https://github.com/cloudius-systems/osv/wiki/Benchmarking-Cassandra-and-other-NoSQL-databases-with-YCSB I am using ycsb-0.5.0 I found that some node receives above average writes, leading to disk full condition. I want to get some suggestion on

Re: distributing load across cluster

2016-02-10 Thread Ted Yu
. > Also check nodetool tablehistograms to see if you have a lot of too-wide > rows due to the balance of data between the partition key and clustering > columns. > > -- Jack Krupansky > > On Wed, Feb 10, 2016 at 2:54 PM, Ted Yu wrote: > >> Hi, >> I am fol

Re: distributing load across cluster

2016-02-10 Thread Ted Yu
wrote: > Sorry, I didn't realize you were still living in the stone age with DSE - > and Cassandra 2.1. Chnage "table" to "cf" (column family.) > > -- Jack Krupansky > > On Wed, Feb 10, 2016 at 3:23 PM, Ted Yu wrote: > >> I don't see t

Re: reducing disk space consumption

2016-02-11 Thread Ted Yu
Thanks, Mohammed and Romain. On Thu, Feb 11, 2016 at 12:54 AM, Romain Hardouin wrote: > As Mohammed said "nodetool clearsnaphost" will do the trick. > Cassandra takes a snapshot by default before keyspace/table dropping or > truncation. > You can disable this feature if it's a dev node (see auto

OpsCenter 5.2

2016-02-11 Thread Ted Yu
n install > process. > > Check out our documentation on the subject: > > > http://docs.datastax.com/en/opscenter/5.2/opsc/install/opscInstallOpsc_g.html > > all the best, > > Sebastián > On Feb 9, 2016 8:01 PM, "Ted Yu" wrote: > >> Hi, >> I a

Re: OpsCenter 5.2

2016-02-11 Thread Ted Yu
script to /usr/bin Installing pip3.5 script to /usr/bin Installing pip3 script to /usr/bin On Thu, Feb 11, 2016 at 9:45 AM, Sebastian Estevez < sebastian.este...@datastax.com> wrote: > Confirmed. > > all the best, > > Sebastián > On Feb 11, 2016 12:44 PM, "Ted Yu&

installing DSE

2016-02-12 Thread Ted Yu
Hi, I followed this guide: https://docs.datastax.com/en/datastax_enterprise/4.5/datastax_enterprise/install/installRHELdse.html and populated /etc/yum.repos.d/datastax.repo with DataStax Academy account info. [Errno 14] PYCURL ERROR 6 - "Couldn't resolve host 'gmail.com:p as...@rpm.datastax.com'"

Re: installing DSE

2016-02-12 Thread Ted Yu
is used in your operating system's command line. Examples: >\! and \|. > > > On Sat, Feb 13, 2016 at 3:15 AM, Ted Yu wrote: > >> Hi, >> I followed this guide: >> >> https://docs.datastax.com/en/datastax_enterprise/4.5/datastax_enterprise/insta

Re: installing DSE

2016-02-12 Thread Ted Yu
I have one seed node and one non-seed node managed by opscenter. I previously ran Cassandra daemons on 3 other non-seed nodes. How do I let opscenter discover these 3 other nodes ? Thanks On Fri, Feb 12, 2016 at 2:17 PM, Ted Yu wrote: > When I retried node addition from opscenter UI, I

Re: Accessing Cassandra data from Spark Shell

2016-05-09 Thread Ted Yu
bq. Can you use HiveContext for Cassandra data? Most likely the above cannot be done. On Mon, May 9, 2016 at 9:08 PM, Cassa L wrote: > Hi, > Has anyone tried accessing Cassandra data using SparkShell? How do you do > it? Can you use HiveContext for Cassandra data? I'm using community version >