You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Michael Vaknine <mi...@citypath.com> on 2012/01/16 11:04:36 UTC

nodetool ring question

Hi,

 

I have a 4 nodes cluster 1.0.3 version

 

This is what I get when I run nodetool ring

 

Address         DC          Rack        Status State   Load            Owns
Token

 
127605887595351923798765477786913079296

10.8.193.87     datacenter1 rack1       Up     Normal  46.47 GB
25.00%  0

10.5.7.76       datacenter1 rack1       Up     Normal  48.01 GB
25.00%  42535295865117307932921825928971026432

10.8.189.197    datacenter1 rack1       Up     Normal  53.7 GB
25.00%  85070591730234615865843651857942052864

10.5.3.17       datacenter1 rack1       Up     Normal  43.49 GB
25.00%  127605887595351923798765477786913079296

 

I have finished running repair on all 4 nodes.

 

I have less then 10 GB on the /var/lib/cassandra/data/ folders

 

My question is Why nodetool reports almost 50 GB on each node?

 

Thanks

Michael


RE: nodetool ring question

Posted by Michael Vaknine <mi...@citypath.com>.
Hi,

 

Om the disk I have this all cassandra data is located under /mnt:

 

Filesystem            Size  Used Avail Use% Mounted on

/dev/sda1             7.9G  2.1G  5.5G  28% /

none                  8.3G  112K  8.3G   1% /dev

none                  8.6G     0  8.6G   0% /dev/shm

none                  8.6G   72K  8.6G   1% /var/run

none                  8.6G     0  8.6G   0% /var/lock

none                  8.6G     0  8.6G   0% /lib/init/rw

/dev/sdb              404G   12G  372G   4% /mnt

 

root@ec2-50-19-254-112:/mnt/cassandra/data# du -h

12K     ./system/snapshots/1326755163466

16K     ./system/snapshots

12K     ./system/backups

118M    ./system

8.8M    ./AttractionIdx/snapshots/1326755163466

8.9M    ./AttractionIdx/snapshots

1.1G    ./AttractionIdx

109M    ./City/snapshots/1326755163466

109M    ./City/snapshots

32K     ./City/backups

1.2G    ./City

8.0K    ./Bedrock/snapshots/1326755163466

12K     ./Bedrock/snapshots

4.0K    ./Bedrock/backups

1.5M    ./Bedrock

32K     ./OpsCenter/snapshots/1326755163466

36K     ./OpsCenter/snapshots

4.0K    ./OpsCenter/backups

96K     ./OpsCenter

71M     ./User/snapshots/1326755163466

71M     ./User/snapshots

36K     ./User/backups

3.3G    ./User

5.6G    .

 

This is not near like nodetool ring

 

10.8.193.87     datacenter1 rack1       Up     Normal  46.54 GB
25.00%  0

10.5.7.76       datacenter1 rack1       Up     Normal  48.08 GB
25.00%  42535295865117307932921825928971026432

10.8.189.197    datacenter1 rack1       Up     Normal  53.81 GB
25.00%  85070591730234615865843651857942052864

10.5.3.17       datacenter1 rack1       Up     Normal  43.57 GB
25.00%  127605887595351923798765477786913079296

 

Nodetool cfstats

 

root@ec2-50-19-254-112:/mnt/cassandra/data# nodetool cfstats

Keyspace: User

        Read Count: 32100066

        Read Latency: 48.22086282342846 ms.

        Write Count: 18946018

        Write Latency: 0.029023063104869844 ms.

        Pending Tasks: 0

                Column Family: SearchHistory

                SSTable count: 1

                Space used (live): 201075311

                Space used (total): 66896835

                Number of Keys (estimate): 55936

                Memtable Columns Count: 0

                Memtable Data Size: 0

                Memtable Switch Count: 30

                Read Count: 905

                Read Latency: NaN ms.

                Write Count: 905

                Write Latency: NaN ms.

                Pending Tasks: 0

                Key cache capacity: 5593

                Key cache size: 5593

                Key cache hit rate: NaN

                Row cache: disabled

                Compacted row minimum size: 180

                Compacted row maximum size: 43388628

                Compacted row mean size: 1319

 

                Column Family: InterestCountersUpdates

                SSTable count: 3

                Space used (live): 2357185

                Space used (total): 497727

                Number of Keys (estimate): 512

                Memtable Columns Count: 1

                Memtable Data Size: 645

                Memtable Switch Count: 32

                Read Count: 0

                Read Latency: NaN ms.

                Write Count: 4408

                Write Latency: NaN ms.

                Pending Tasks: 0

                Key cache capacity: 200000

                Key cache size: 0

                Key cache hit rate: NaN

                Row cache: disabled

                Compacted row minimum size: 125

                Compacted row maximum size: 315852

                Compacted row mean size: 1153

 

                Column Family: UserInterestsCounters

                SSTable count: 3

                Space used (live): 1103379

                Space used (total): 209497

                Number of Keys (estimate): 512

                Memtable Columns Count: 1

                Memtable Data Size: 327

                Memtable Switch Count: 32

                Read Count: 12445

                Read Latency: NaN ms.

                Write Count: 4484

                Write Latency: NaN ms.

                Pending Tasks: 0

                Key cache capacity: 200000

                Key cache size: 327

                Key cache hit rate: NaN

                Row cache: disabled

                Compacted row minimum size: 150

                Compacted row maximum size: 17084

                Compacted row mean size: 557

 

                Column Family: Checkins

                SSTable count: 1

                Space used (live): 20303139

                Space used (total): 20303139

                Number of Keys (estimate): 13056

                Memtable Columns Count: 0

                Memtable Data Size: 0

                Memtable Switch Count: 0

                Read Count: 0

                Read Latency: NaN ms.

                Write Count: 0

                Write Latency: NaN ms.

                Pending Tasks: 0

                Key cache capacity: 1305

                Key cache size: 1305

                Key cache hit rate: NaN

                Row cache: disabled

                Compacted row minimum size: 536

                Compacted row maximum size: 88148

                Compacted row mean size: 1681

 

                Column Family: UserResources

                SSTable count: 1

                Space used (live): 10187116

                Space used (total): 3475604

                Number of Keys (estimate): 13440

                Memtable Columns Count: 0

                Memtable Data Size: 0

                Memtable Switch Count: 14

                Read Count: 3506009

                Read Latency: NaN ms.

                Write Count: 10886

                Write Latency: NaN ms.

                Pending Tasks: 0

                Key cache capacity: 1344

                Key cache size: 1344

                Key cache hit rate: NaN

                Row cache: disabled

                Compacted row minimum size: 104

                Compacted row maximum size: 24601

                Compacted row mean size: 236

 

                Column Family: Logs

                SSTable count: 3

                Space used (live): 3256793

                Space used (total): 112108

                Number of Keys (estimate): 384

                Memtable Columns Count: 36

                Memtable Data Size: 5308

                Memtable Switch Count: 45

                Read Count: 6053

                Read Latency: 10.662 ms.

                Write Count: 4832

                Write Latency: 0.010 ms.

                Pending Tasks: 0

                Key cache capacity: 38

                Key cache size: 14

                Key cache hit rate: 1.0

                Row cache: disabled

                Compacted row minimum size: 87

                Compacted row maximum size: 88148

                Compacted row mean size: 13026

 

                Column Family: Users

                SSTable count: 3

                Space used (live): 4709611277

                Space used (total): 3029499291

                Number of Keys (estimate): 2195200

                Memtable Columns Count: 250542

                Memtable Data Size: 86900547

                Memtable Switch Count: 58

                Read Count: 28568146

                Read Latency: 10.941 ms.

                Write Count: 18915251

                Write Latency: NaN ms.

                Pending Tasks: 0

                Key cache capacity: 219520

                Key cache size: 219520

                Key cache hit rate: 0.68173198482933

                Row cache: disabled

                Compacted row minimum size: 87

                Compacted row maximum size: 3379391

                Compacted row mean size: 761

 

                Column Family: Updates

                SSTable count: 3

                Space used (live): 1327698

                Space used (total): 47256

                Number of Keys (estimate): 384

                Memtable Columns Count: 15

                Memtable Data Size: 1131

                Memtable Switch Count: 44

                Read Count: 6508

                Read Latency: NaN ms.

                Write Count: 5252

                Write Latency: NaN ms.

                Pending Tasks: 0

                Key cache capacity: 38

                Key cache size: 14

                Key cache hit rate: NaN

                Row cache: disabled

                Compacted row minimum size: 87

                Compacted row maximum size: 29521

                Compacted row mean size: 5262

 

----------------

Keyspace: system

        Read Count: 348

        Read Latency: 99.60411781609196 ms.

        Write Count: 2473576

        Write Latency: 0.05921281537337038 ms.

        Pending Tasks: 0

                Column Family: NodeIdInfo

                SSTable count: 1

                Space used (live): 4597

                Space used (total): 4597

                Number of Keys (estimate): 128

                Memtable Columns Count: 0

                Memtable Data Size: 0

                Memtable Switch Count: 1

                Read Count: 1

                Read Latency: NaN ms.

                Write Count: 2

                Write Latency: NaN ms.

                Pending Tasks: 0

                Key cache capacity: 1

                Key cache size: 0

                Key cache hit rate: NaN

                Row cache: disabled

                Compacted row minimum size: 87

                Compacted row maximum size: 103

                Compacted row mean size: 103

 

                Column Family: HintsColumnFamily

                SSTable count: 3

                Space used (live): 1970435273

                Space used (total): 122097448

                Number of Keys (estimate): 384

                Memtable Columns Count: 4537

                Memtable Data Size: 155068720

                Memtable Switch Count: 118

                Read Count: 246

                Read Latency: NaN ms.

                Write Count: 2473559

                Write Latency: NaN ms.

                Pending Tasks: 0

                Key cache capacity: 3

                Key cache size: 1

                Key cache hit rate: NaN

                Row cache: disabled

                Compacted row minimum size: 379023

                Compacted row maximum size: 74975550

                Compacted row mean size: 15221411

 

                Column Family: Migrations

                SSTable count: 1

                Space used (live): 703739

                Space used (total): 233408

                Number of Keys (estimate): 128

                Memtable Columns Count: 0

                Memtable Data Size: 0

                Memtable Switch Count: 3

                Read Count: 0

                Read Latency: NaN ms.

                Write Count: 3

                Write Latency: NaN ms.

                Pending Tasks: 0

                Key cache capacity: 1

                Key cache size: 0

                Key cache hit rate: NaN

                Row cache: disabled

                Compacted row minimum size: 219343

                Compacted row maximum size: 263210

                Compacted row mean size: 263210

 

                Column Family: LocationInfo

                SSTable count: 1

                Space used (live): 17627

                Space used (total): 6049

                Number of Keys (estimate): 128

                Memtable Columns Count: 0

                Memtable Data Size: 0

                Memtable Switch Count: 2

                Read Count: 8

                Read Latency: NaN ms.

                Write Count: 3

                Write Latency: NaN ms.

                Pending Tasks: 0

                Key cache capacity: 1

                Key cache size: 1

                Key cache hit rate: NaN

                Row cache: disabled

                Compacted row minimum size: 73

                Compacted row maximum size: 258

                Compacted row mean size: 177

 

                Column Family: Versions

                SSTable count: 1

                Space used (live): 20112

                Space used (total): 6102

                Number of Keys (estimate): 128

                Memtable Columns Count: 0

                Memtable Data Size: 0

                Memtable Switch Count: 1

                Read Count: 0

                Read Latency: NaN ms.

                Write Count: 3

                Write Latency: NaN ms.

                Pending Tasks: 0

                Key cache capacity: 1

                Key cache size: 0

                Key cache hit rate: NaN

                Row cache: disabled

                Compacted row minimum size: 73

                Compacted row maximum size: 86

                Compacted row mean size: 86

 

                Column Family: Schema

                SSTable count: 1

                Space used (live): 333189

                Space used (total): 165584

                Number of Keys (estimate): 128

                Memtable Columns Count: 0

                Memtable Data Size: 0

                Memtable Switch Count: 3

                Read Count: 3

                Read Latency: NaN ms.

                Write Count: 6

                Write Latency: NaN ms.

                Pending Tasks: 0

                Key cache capacity: 1

                Key cache size: 1

                Key cache hit rate: NaN

                Row cache: disabled

                Compacted row minimum size: 104

                Compacted row maximum size: 17084

                Compacted row mean size: 10274

 

                Column Family: IndexInfo

                SSTable count: 1

                Space used (live): 21051

                Space used (total): 7816

                Number of Keys (estimate): 128

                Memtable Columns Count: 0

                Memtable Data Size: 0

                Memtable Switch Count: 0

                Read Count: 90

                Read Latency: NaN ms.

                Write Count: 0

                Write Latency: NaN ms.

                Pending Tasks: 0

                Key cache capacity: 1

                Key cache size: 1

                Key cache hit rate: NaN

                Row cache: disabled

                Compacted row minimum size: 311

                Compacted row maximum size: 642

                Compacted row mean size: 510

 

----------------

Keyspace: AttractionIdx

        Read Count: 19515948

        Read Latency: 3.2637572461250666 ms.

        Write Count: 4952182

        Write Latency: 0.06187578283673742 ms.

        Pending Tasks: 0

                Column Family: LeaderboardIdx

                SSTable count: 3

                Space used (live): 19433690

                Space used (total): 1437879

                Number of Keys (estimate): 1152

                Memtable Columns Count: 6901

                Memtable Data Size: 2258082

                Memtable Switch Count: 44

                Read Count: 117380

                Read Latency: NaN ms.

                Write Count: 115055

                Write Latency: NaN ms.

                Pending Tasks: 0

                Key cache capacity: 115

                Key cache size: 115

                Key cache hit rate: NaN

                Row cache: disabled

                Compacted row minimum size: 125

                Compacted row maximum size: 5722

                Compacted row mean size: 1460

 

                Column Family: AttractionLocationCategoryLeafIdx

                SSTable count: 1

                Space used (live): 150204608

                Space used (total): 10031899

                Number of Keys (estimate): 35840

                Memtable Columns Count: 0

                Memtable Data Size: 0

                Memtable Switch Count: 25

                Read Count: 1806470

                Read Latency: NaN ms.

                Write Count: 1002895

                Write Latency: NaN ms.

                Pending Tasks: 0

                Key cache capacity: 3584

                Key cache size: 3584

                Key cache hit rate: NaN

                Row cache: disabled

                Compacted row minimum size: 87

                Compacted row maximum size: 35425

                Compacted row mean size: 270

 

                Column Family: AttractionUserIdx

                SSTable count: 3

                Space used (live): 550717050

                Space used (total): 48278628

                Number of Keys (estimate): 158464

                Memtable Columns Count: 13932

                Memtable Data Size: 8970363

                Memtable Switch Count: 43

                Read Count: 1470352

                Read Latency: NaN ms.

                Write Count: 1462047

                Write Latency: NaN ms.

                Pending Tasks: 0

                Key cache capacity: 15846

                Key cache size: 15846

                Key cache hit rate: NaN

                Row cache: disabled

                Compacted row minimum size: 104

                Compacted row maximum size: 73457

                Compacted row mean size: 217

 

                Column Family: AttractionLocationCategoryDateIdx

                SSTable count: 1

                Space used (live): 11528509564

                Space used (total): 991566597

                Number of Keys (estimate): 514816

                Memtable Columns Count: 0

                Memtable Data Size: 0

                Memtable Switch Count: 40

                Read Count: 16121746

                Read Latency: NaN ms.

                Write Count: 2372185

                Write Latency: NaN ms.

                Pending Tasks: 0

                Key cache capacity: 50000

                Key cache size: 50000

                Key cache hit rate: NaN

                Row cache capacity: 50000

                Row cache size: 41103

                Row cache hit rate: NaN

                Compacted row minimum size: 104

                Compacted row maximum size: 263210

                Compacted row mean size: 2080

 

----------------

Keyspace: OpsCenter

        Read Count: 56

        Read Latency: 18.742910714285713 ms.

        Write Count: 71

        Write Latency: 0.11377464788732394 ms.

        Pending Tasks: 0

                Column Family: metrics

                SSTable count: 0

                Space used (live): 0

                Space used (total): 0

                Number of Keys (estimate): 0

                Memtable Columns Count: 0

                Memtable Data Size: 0

                Memtable Switch Count: 0

                Read Count: 26

                Read Latency: NaN ms.

                Write Count: 0

                Write Latency: NaN ms.

                Pending Tasks: 0

                Key cache capacity: 200

                Key cache size: 0

                Key cache hit rate: NaN

                Row cache: disabled

                Compacted row minimum size: 0

                Compacted row maximum size: 0

                Compacted row mean size: 0

 

                Column Family: settings

                SSTable count: 0

                Space used (live): 0

                Space used (total): 0

                Number of Keys (estimate): 0

                Memtable Columns Count: 0

                Memtable Data Size: 0

                Memtable Switch Count: 0

                Read Count: 0

                Read Latency: NaN ms.

                Write Count: 0

                Write Latency: NaN ms.

                Pending Tasks: 0

                Key cache capacity: 50

                Key cache size: 0

                Key cache hit rate: NaN

                Row cache: disabled

                Compacted row minimum size: 0

                Compacted row maximum size: 0

                Compacted row mean size: 0

 

                Column Family: events_timeline

                SSTable count: 1

                Space used (live): 80888

                Space used (total): 6967

                Number of Keys (estimate): 128

                Memtable Columns Count: 0

                Memtable Data Size: 0

                Memtable Switch Count: 14

                Read Count: 30

                Read Latency: NaN ms.

                Write Count: 30

                Write Latency: NaN ms.

                Pending Tasks: 0

                Key cache capacity: 5

                Key cache size: 5

                Key cache hit rate: NaN

                Row cache: disabled

                Compacted row minimum size: 87

                Compacted row maximum size: 446

                Compacted row mean size: 294

 

                Column Family: events

                SSTable count: 2

                Space used (live): 81769

                Space used (total): 22670

                Number of Keys (estimate): 256

                Memtable Columns Count: 0

                Memtable Data Size: 0

                Memtable Switch Count: 28

                Read Count: 0

                Read Latency: NaN ms.

                Write Count: 41

                Write Latency: NaN ms.

                Pending Tasks: 0

                Key cache capacity: 50

                Key cache size: 0

                Key cache hit rate: NaN

                Row cache: disabled

                Compacted row minimum size: 216

                Compacted row maximum size: 258

                Compacted row mean size: 258

 

----------------

Keyspace: Bedrock

        Read Count: 652710

        Read Latency: 0.6006941551378101 ms.

        Write Count: 799

        Write Latency: 0.13282102628285358 ms.

        Pending Tasks: 0

                Column Family: Blog

                SSTable count: 2

                Space used (live): 13976874

                Space used (total): 1374695

                Number of Keys (estimate): 384

                Memtable Columns Count: 0

                Memtable Data Size: 0

                Memtable Switch Count: 26

                Read Count: 652710

                Read Latency: 0.103 ms.

                Write Count: 799

                Write Latency: NaN ms.

                Pending Tasks: 0

                Key cache capacity: 38

                Key cache size: 38

                Key cache hit rate: 0.0029498525073746312

                Row cache: disabled

                Compacted row minimum size: 150

                Compacted row maximum size: 20501

                Compacted row mean size: 8985

 

                Column Family: BlogEntry

                SSTable count: 0

                Space used (live): 0

                Space used (total): 0

                Number of Keys (estimate): 0

                Memtable Columns Count: 0

                Memtable Data Size: 0

                Memtable Switch Count: 0

                Read Count: 0

                Read Latency: NaN ms.

                Write Count: 0

                Write Latency: NaN ms.

                Pending Tasks: 0

                Key cache capacity: 200000

                Key cache size: 0

                Key cache hit rate: NaN

                Row cache: disabled

                Compacted row minimum size: 0

                Compacted row maximum size: 0

                Compacted row mean size: 0

 

----------------

Keyspace: City

        Read Count: 54094613

        Read Latency: 21.997494515525975 ms.

        Write Count: 18584805

        Write Latency: 0.33032174757819627 ms.

        Pending Tasks: 0

                Column Family: Attractions

                SSTable count: 3

                Space used (live): 27542876685

                Space used (total): 1213220387

                Number of Keys (estimate): 117248

                Memtable Columns Count: 1345106

                Memtable Data Size: 529438106

                Memtable Switch Count: 252

                Read Count: 44329696

                Read Latency: 0.056 ms.

                Write Count: 17660295

                Write Latency: NaN ms.

                Pending Tasks: 0

                Key cache capacity: 30000

                Key cache size: 30000

                Key cache hit rate: NaN

                Row cache capacity: 30000

                Row cache size: 30000

                Row cache hit rate: 1.0

                Compacted row minimum size: 87

                Compacted row maximum size: 10090808

                Compacted row mean size: 9418

 

                Column Family: AttractionCheckins

                SSTable count: 1

                Space used (live): 19658897

                Space used (total): 19658897

                Number of Keys (estimate): 5888

                Memtable Columns Count: 0

                Memtable Data Size: 0

                Memtable Switch Count: 0

                Read Count: 3017332

                Read Latency: 0.604 ms.

                Write Count: 0

                Write Latency: NaN ms.

                Pending Tasks: 0

                Key cache capacity: 588

                Key cache size: 588

                Key cache hit rate: 1.0

                Row cache: disabled

                Compacted row minimum size: 536

                Compacted row maximum size: 545791

                Compacted row mean size: 3658

 

                Column Family: CityResources

                SSTable count: 3

                Space used (live): 31872404

                Space used (total): 3228918

                Number of Keys (estimate): 4480

                Memtable Columns Count: 11241

                Memtable Data Size: 12554784

                Memtable Switch Count: 41

                Read Count: 6747585

                Read Latency: 0.015 ms.

                Write Count: 924510

                Write Latency: NaN ms.

                Pending Tasks: 0

                Key cache capacity: 5000

                Key cache size: 5000

                Key cache hit rate: NaN

                Row cache capacity: 5000

                Row cache size: 1616

                Row cache hit rate: 1.0

                Compacted row minimum size: 87

                Compacted row maximum size: 29521

                Compacted row mean size: 849

 

----------------

root@ec2-50-19-254-112:/mnt/cassandra/data#

 

 

is it a bug or a problem?

 

Thanks

Michael

 

 

 

 

From: aaron morton [mailto:aaron@thelastpickle.com] 
Sent: Tuesday, January 17, 2012 2:53 AM
To: user@cassandra.apache.org
Subject: Re: nodetool ring question

 

You can cross check the load with the SSTable Live metric for each CF in
nodetool cfstats. 

 

Can you also double check what you are seeing on disk ? (sorry got to ask :)
)

 

Finally compare du -h and df -h to make sure they match. (Sure they will,
just a simple way to check disk usage makes sense). 

 

Cheers

 

-----------------

Aaron Morton

Freelance Developer

@aaronmorton

http://www.thelastpickle.com

 

On 16/01/2012, at 11:04 PM, Michael Vaknine wrote:





Hi,

 

I have a 4 nodes cluster 1.0.3 version

 

This is what I get when I run nodetool ring

 

Address         DC          Rack        Status State   Load            Owns
Token

 
127605887595351923798765477786913079296

10.8.193.87     datacenter1 rack1       Up     Normal  46.47 GB
25.00%  0

10.5.7.76       datacenter1 rack1       Up     Normal  48.01 GB
25.00%  42535295865117307932921825928971026432

10.8.189.197    datacenter1 rack1       Up     Normal  53.7 GB
25.00%  85070591730234615865843651857942052864

10.5.3.17       datacenter1 rack1       Up     Normal  43.49 GB
25.00%  127605887595351923798765477786913079296

 

I have finished running repair on all 4 nodes.

 

I have less then 10 GB on the /var/lib/cassandra/data/ folders

 

My question is Why nodetool reports almost 50 GB on each node?

 

Thanks

Michael

 


Re: nodetool ring question

Posted by aaron morton <aa...@thelastpickle.com>.
You can cross check the load with the SSTable Live metric for each CF in nodetool cfstats. 

Can you also double check what you are seeing on disk ? (sorry got to ask :) )

Finally compare du -h and df -h to make sure they match. (Sure they will, just a simple way to check disk usage makes sense). 

Cheers

-----------------
Aaron Morton
Freelance Developer
@aaronmorton
http://www.thelastpickle.com

On 16/01/2012, at 11:04 PM, Michael Vaknine wrote:

> Hi,
>  
> I have a 4 nodes cluster 1.0.3 version
>  
> This is what I get when I run nodetool ring
>  
> Address         DC          Rack        Status State   Load            Owns    Token
>                                                                                127605887595351923798765477786913079296
> 10.8.193.87     datacenter1 rack1       Up     Normal  46.47 GB        25.00%  0
> 10.5.7.76       datacenter1 rack1       Up     Normal  48.01 GB        25.00%  42535295865117307932921825928971026432
> 10.8.189.197    datacenter1 rack1       Up     Normal  53.7 GB         25.00%  85070591730234615865843651857942052864
> 10.5.3.17       datacenter1 rack1       Up     Normal  43.49 GB        25.00%  127605887595351923798765477786913079296
>  
> I have finished running repair on all 4 nodes.
>  
> I have less then 10 GB on the /var/lib/cassandra/data/ folders
>  
> My question is Why nodetool reports almost 50 GB on each node?
>  
> Thanks
> Michael


RE: Problems Starting Cassandra Server -

Posted by Asha Subramanian <As...@hcl.com>.
Thank you very much.. The server is up now.. I now hope to get started with my first app on a single cluster Cassandra ...

Asha

From: Dave Brosius [mailto:dbrosius@mebigfatguy.com]
Sent: Wednesday, January 18, 2012 11:23 AM
To: user@cassandra.apache.org; Asha Subramanian
Subject: Re: Problems Starting Cassandra Server -

Change your yaml entry for data_file_directories from

data_file_directories: F:\cassandra\data

to


data_file_directories:
    - F:\cassandra\data


On 01/17/2012 11:54 PM, Asha Subramanian wrote:
Here is the yaml file..

Thanks

From: Dave Brosius [mailto:dbrosius@mebigfatguy.com]
Sent: Wednesday, January 18, 2012 9:07 AM
To: user@cassandra.apache.org<ma...@cassandra.apache.org>; Asha Subramanian
Subject: Re: Problems Starting Cassandra Server -

It probably would be useful to know what your yaml file looks like.

On 01/17/2012 08:58 PM, Asha Subramanian wrote:

I am a new user of Cassandra and want to understand the basics of Cassandra before moving to cluster installations etc..

I picked up the latest version of Cassandra from the home page 1.0.7 released on 2012/01/16. I am installing on Windows 7

I have followed all the instx for changing the Cassandra.yaml and also the environment variables.. However when I start the server, I get the following error -

What could be the problem ???

F:\cassandra\bin>cassandra.bat
Starting Cassandra Server
INFO 07:22:37,766 Logging initialized
INFO 07:22:37,828 JVM vendor/version: Java HotSpot(TM) Client VM/1.6.0_30
INFO 07:22:37,844 Heap size: 1070399488/1070399488
INFO 07:22:37,844 Classpath: F:\cassandra\conf;F:\cassandra\lib\antlr-3.2.jar;F
:\cassandra\lib\apache-cassandra-1.0.6.jar;F:\cassandra\lib\apache-cassandra-cli
entutil-1.0.6.jar;F:\cassandra\lib\apache-cassandra-thrift-1.0.6.jar;F:\cassandr
a\lib\avro-1.4.0-fixes.jar;F:\cassandra\lib\avro-1.4.0-sources-fixes.jar;F:\cass
andra\lib\commons-cli-1.1.jar;F:\cassandra\lib\commons-codec-1.2.jar;F:\cassandr
a\lib\commons-lang-2.4.jar;F:\cassandra\lib\compress-lzf-0.8.4.jar;F:\cassandra\
lib\concurrentlinkedhashmap-lru-1.2.jar;F:\cassandra\lib\guava-r08.jar;F:\cassan
dra\lib\high-scale-lib-1.1.2.jar;F:\cassandra\lib\jackson-core-asl-1.4.0.jar;F:\
cassandra\lib\jackson-mapper-asl-1.4.0.jar;F:\cassandra\lib\jamm-0.2.5.jar;F:\ca
ssandra\lib\jline-0.9.94.jar;F:\cassandra\lib\json-simple-1.1.jar;F:\cassandra\l
ib\libthrift-0.6.jar;F:\cassandra\lib\log4j-1.2.16.jar;F:\cassandra\lib\servlet-
api-2.5-20081211.jar;F:\cassandra\lib\slf4j-api-1.6.1.jar;F:\cassandra\lib\slf4j
-log4j12-1.6.1.jar;F:\cassandra\lib\snakeyaml-1.6.jar;F:\cassandra\lib\snappy-ja
va-1.0.4.1.jar;F:\cassandra\build\classes\main;F:\cassandra\build\classes\thrift
;F:\cassandra\lib\jamm-0.2.5.jar
INFO 07:22:37,859 JNA not found. Native methods will be disabled.
INFO 07:22:37,891 Loading settings from file:/F:/cassandra/conf/cassandra.yaml<file:///F:%5Ccassandra%5Cconf%5Ccassandra.yaml>
ERROR 07:22:38,234 Fatal configuration error error
Can't construct a java object for tag:yaml.org,2002:org.apache.cassandra.config.
Config; exception=Cannot create property=data_file_directories for JavaBean=org.
apache.cassandra.config.Config@1329642; No single argument constructor found for
class [Ljava.lang.String;
in "<reader>", line 10, column 1:
    cluster_name: 'Test Cluster'
    ^

        at org.yaml.snakeyaml.constructor.Constructor$ConstructYamlObject.constr
uct(Constructor.java:372)
        at org.yaml.snakeyaml.constructor.BaseConstructor.constructObject(BaseCo
nstructor.java:177)
        at org.yaml.snakeyaml.constructor.BaseConstructor.constructDocument(Base
Constructor.java:136)
        at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseCons
tructor.java:122)
        at org.yaml.snakeyaml.Loader.load(Loader.java:52)
        at org.yaml.snakeyaml.Yaml.load(Yaml.java:166)
        at org.apache.cassandra.config.DatabaseDescriptor.<clinit>(DatabaseDescr
iptor.java:133)
        at org.apache.cassandra.service.AbstractCassandraDaemon.setup(AbstractCa
ssandraDaemon.java:125)
        at org.apache.cassandra.service.AbstractCassandraDaemon.activate(Abstrac
tCassandraDaemon.java:337)
        at org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java
:107)
Caused by: org.yaml.snakeyaml.error.YAMLException: Cannot create property=data_f
ile_directories for JavaBean=org.apache.cassandra.config.Config@1329642; No sing
le argument constructor found for class [Ljava.lang.String;
        at org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.construct
JavaBean2ndStep(Constructor.java:305)
        at org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.construct
(Constructor.java:184)
        at org.yaml.snakeyaml.constructor.Constructor$ConstructYamlObject.constr
uct(Constructor.java:370)
        ... 9 more
Caused by: org.yaml.snakeyaml.error.YAMLException: No single argument constructo
r found for class [Ljava.lang.String;
        at org.yaml.snakeyaml.constructor.Constructor$ConstructScalar.construct(
Constructor.java:419)
        at org.yaml.snakeyaml.constructor.BaseConstructor.constructObject(BaseCo
nstructor.java:177)
        at org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.construct
JavaBean2ndStep(Constructor.java:298)
        ... 11 more
null; Can't construct a java object for tag:yaml.org,2002:org.apache.cassandra.c
onfig.Config; exception=Cannot create property=data_file_directories for JavaBea
n=org.apache.cassandra.config.Config@1329642; No single argument constructor fou
nd for class [Ljava.lang.String;
Invalid yaml; unable to start server.  See log for stacktrace.




________________________________
::DISCLAIMER::
-----------------------------------------------------------------------------------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in
this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of
this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have
received this email in error please delete it and notify the sender immediately. Before opening any mail and
attachments please check them for viruses and defect.

-----------------------------------------------------------------------------------------------------------------------


Re: Problems Starting Cassandra Server -

Posted by Dave Brosius <db...@mebigfatguy.com>.
Change your yaml entry for data_file_directories from

data_file_directories: F:\cassandra\data

to


data_file_directories:
     - F:\cassandra\data


On 01/17/2012 11:54 PM, Asha Subramanian wrote:
>
> Here is the yaml file..
>
> Thanks
>
> *From:*Dave Brosius [mailto:dbrosius@mebigfatguy.com]
> *Sent:* Wednesday, January 18, 2012 9:07 AM
> *To:* user@cassandra.apache.org; Asha Subramanian
> *Subject:* Re: Problems Starting Cassandra Server -
>
> It probably would be useful to know what your yaml file looks like.
>
> On 01/17/2012 08:58 PM, Asha Subramanian wrote:
>
> I am a new user of Cassandra and want to understand the basics of 
> Cassandra before moving to cluster installations etc..
>
> I picked up the latest version of Cassandra from the home page 1.0.7 
> released on 2012/01/16. I am installing on Windows 7
>
> I have followed all the instx for changing the Cassandra.yaml and also 
> the environment variables.. However when I start the server, I get the 
> following error --
>
> What could be the problem ???
>
> F:\cassandra\bin>cassandra.bat
>
> Starting Cassandra Server
>
> INFO 07:22:37,766 Logging initialized
>
> INFO 07:22:37,828 JVM vendor/version: Java HotSpot(TM) Client VM/1.6.0_30
>
> INFO 07:22:37,844 Heap size: 1070399488/1070399488
>
> INFO 07:22:37,844 Classpath: 
> F:\cassandra\conf;F:\cassandra\lib\antlr-3.2.jar;F
>
> :\cassandra\lib\apache-cassandra-1.0.6.jar;F:\cassandra\lib\apache-cassandra-cli
>
> entutil-1.0.6.jar;F:\cassandra\lib\apache-cassandra-thrift-1.0.6.jar;F:\cassandr
>
> a\lib\avro-1.4.0-fixes.jar;F:\cassandra\lib\avro-1.4.0-sources-fixes.jar;F:\cass
>
> andra\lib\commons-cli-1.1.jar;F:\cassandra\lib\commons-codec-1.2.jar;F:\cassandr
>
> a\lib\commons-lang-2.4.jar;F:\cassandra\lib\compress-lzf-0.8.4.jar;F:\cassandra\
>
> lib\concurrentlinkedhashmap-lru-1.2.jar;F:\cassandra\lib\guava-r08.jar;F:\cassan
>
> dra\lib\high-scale-lib-1.1.2.jar;F:\cassandra\lib\jackson-core-asl-1.4.0.jar;F:\
>
> cassandra\lib\jackson-mapper-asl-1.4.0.jar;F:\cassandra\lib\jamm-0.2.5.jar;F:\ca
>
> ssandra\lib\jline-0.9.94.jar;F:\cassandra\lib\json-simple-1.1.jar;F:\cassandra\l
>
> ib\libthrift-0.6.jar;F:\cassandra\lib\log4j-1.2.16.jar;F:\cassandra\lib\servlet-
>
> api-2.5-20081211.jar;F:\cassandra\lib\slf4j-api-1.6.1.jar;F:\cassandra\lib\slf4j
>
> -log4j12-1.6.1.jar;F:\cassandra\lib\snakeyaml-1.6.jar;F:\cassandra\lib\snappy-ja
>
> va-1.0.4.1.jar;F:\cassandra\build\classes\main;F:\cassandra\build\classes\thrift
>
> ;F:\cassandra\lib\jamm-0.2.5.jar
>
> INFO 07:22:37,859 JNA not found. Native methods will be disabled.
>
> INFO 07:22:37,891 Loading settings from 
> file:/F:/cassandra/conf/cassandra.yaml 
> <file:///F:%5Ccassandra%5Cconf%5Ccassandra.yaml>
>
> ERROR 07:22:38,234 Fatal configuration error error
>
> Can't construct a java object for 
> tag:yaml.org,2002:org.apache.cassandra.config.
>
> Config; exception=Cannot create property=data_file_directories for 
> JavaBean=org.
>
> apache.cassandra.config.Config@1329642; No single argument constructor 
> found for
>
> class [Ljava.lang.String;
>
> in "<reader>", line 10, column 1:
>
>     cluster_name: 'Test Cluster'
>
>     ^
>
>         at 
> org.yaml.snakeyaml.constructor.Constructor$ConstructYamlObject.constr
>
> uct(Constructor.java:372)
>
>         at 
> org.yaml.snakeyaml.constructor.BaseConstructor.constructObject(BaseCo
>
> nstructor.java:177)
>
>         at 
> org.yaml.snakeyaml.constructor.BaseConstructor.constructDocument(Base
>
> Constructor.java:136)
>
>         at 
> org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseCons
>
> tructor.java:122)
>
>         at org.yaml.snakeyaml.Loader.load(Loader.java:52)
>
>         at org.yaml.snakeyaml.Yaml.load(Yaml.java:166)
>
>         at 
> org.apache.cassandra.config.DatabaseDescriptor.<clinit>(DatabaseDescr
>
> iptor.java:133)
>
>         at 
> org.apache.cassandra.service.AbstractCassandraDaemon.setup(AbstractCa
>
> ssandraDaemon.java:125)
>
>         at 
> org.apache.cassandra.service.AbstractCassandraDaemon.activate(Abstrac
>
> tCassandraDaemon.java:337)
>
>         at 
> org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java
>
> :107)
>
> Caused by: org.yaml.snakeyaml.error.YAMLException: Cannot create 
> property=data_f
>
> ile_directories for 
> JavaBean=org.apache.cassandra.config.Config@1329642; No sing
>
> le argument constructor found for class [Ljava.lang.String;
>
>         at 
> org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.construct
>
> JavaBean2ndStep(Constructor.java:305)
>
>         at 
> org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.construct
>
> (Constructor.java:184)
>
>         at 
> org.yaml.snakeyaml.constructor.Constructor$ConstructYamlObject.constr
>
> uct(Constructor.java:370)
>
>         ... 9 more
>
> Caused by: org.yaml.snakeyaml.error.YAMLException: No single argument 
> constructo
>
> r found for class [Ljava.lang.String;
>
>         at 
> org.yaml.snakeyaml.constructor.Constructor$ConstructScalar.construct(
>
> Constructor.java:419)
>
>         at 
> org.yaml.snakeyaml.constructor.BaseConstructor.constructObject(BaseCo
>
> nstructor.java:177)
>
>         at 
> org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.construct
>
> JavaBean2ndStep(Constructor.java:298)
>
>         ... 11 more
>
> null; Can't construct a java object for 
> tag:yaml.org,2002:org.apache.cassandra.c
>
> onfig.Config; exception=Cannot create property=data_file_directories 
> for JavaBea
>
> n=org.apache.cassandra.config.Config@1329642; No single argument 
> constructor fou
>
> nd for class [Ljava.lang.String;
>
> Invalid yaml; unable to start server.  See log for stacktrace.
>
>
> ------------------------------------------------------------------------
> ::DISCLAIMER::
> -----------------------------------------------------------------------------------------------------------------------
>
> The contents of this e-mail and any attachment(s) are confidential and 
> intended for the named recipient(s) only.
> It shall not attach any liability on the originator or HCL or its 
> affiliates. Any views or opinions presented in
> this email are solely those of the author and may not necessarily 
> reflect the opinions of HCL or its affiliates.
> Any form of reproduction, dissemination, copying, disclosure, 
> modification, distribution and / or publication of
> this message without the prior written consent of the author of this 
> e-mail is strictly prohibited. If you have
> received this email in error please delete it and notify the sender 
> immediately. Before opening any mail and
> attachments please check them for viruses and defect.
>
> -----------------------------------------------------------------------------------------------------------------------


RE: Problems Starting Cassandra Server -

Posted by Asha Subramanian <As...@hcl.com>.
Here is the yaml file..

Thanks

From: Dave Brosius [mailto:dbrosius@mebigfatguy.com]
Sent: Wednesday, January 18, 2012 9:07 AM
To: user@cassandra.apache.org; Asha Subramanian
Subject: Re: Problems Starting Cassandra Server -

It probably would be useful to know what your yaml file looks like.

On 01/17/2012 08:58 PM, Asha Subramanian wrote:

I am a new user of Cassandra and want to understand the basics of Cassandra before moving to cluster installations etc..

I picked up the latest version of Cassandra from the home page 1.0.7 released on 2012/01/16. I am installing on Windows 7

I have followed all the instx for changing the Cassandra.yaml and also the environment variables.. However when I start the server, I get the following error -

What could be the problem ???

F:\cassandra\bin>cassandra.bat
Starting Cassandra Server
INFO 07:22:37,766 Logging initialized
INFO 07:22:37,828 JVM vendor/version: Java HotSpot(TM) Client VM/1.6.0_30
INFO 07:22:37,844 Heap size: 1070399488/1070399488
INFO 07:22:37,844 Classpath: F:\cassandra\conf;F:\cassandra\lib\antlr-3.2.jar;F
:\cassandra\lib\apache-cassandra-1.0.6.jar;F:\cassandra\lib\apache-cassandra-cli
entutil-1.0.6.jar;F:\cassandra\lib\apache-cassandra-thrift-1.0.6.jar;F:\cassandr
a\lib\avro-1.4.0-fixes.jar;F:\cassandra\lib\avro-1.4.0-sources-fixes.jar;F:\cass
andra\lib\commons-cli-1.1.jar;F:\cassandra\lib\commons-codec-1.2.jar;F:\cassandr
a\lib\commons-lang-2.4.jar;F:\cassandra\lib\compress-lzf-0.8.4.jar;F:\cassandra\
lib\concurrentlinkedhashmap-lru-1.2.jar;F:\cassandra\lib\guava-r08.jar;F:\cassan
dra\lib\high-scale-lib-1.1.2.jar;F:\cassandra\lib\jackson-core-asl-1.4.0.jar;F:\
cassandra\lib\jackson-mapper-asl-1.4.0.jar;F:\cassandra\lib\jamm-0.2.5.jar;F:\ca
ssandra\lib\jline-0.9.94.jar;F:\cassandra\lib\json-simple-1.1.jar;F:\cassandra\l
ib\libthrift-0.6.jar;F:\cassandra\lib\log4j-1.2.16.jar;F:\cassandra\lib\servlet-
api-2.5-20081211.jar;F:\cassandra\lib\slf4j-api-1.6.1.jar;F:\cassandra\lib\slf4j
-log4j12-1.6.1.jar;F:\cassandra\lib\snakeyaml-1.6.jar;F:\cassandra\lib\snappy-ja
va-1.0.4.1.jar;F:\cassandra\build\classes\main;F:\cassandra\build\classes\thrift
;F:\cassandra\lib\jamm-0.2.5.jar
INFO 07:22:37,859 JNA not found. Native methods will be disabled.
INFO 07:22:37,891 Loading settings from file:/F:/cassandra/conf/cassandra.yaml<file:///F:\cassandra\conf\cassandra.yaml>
ERROR 07:22:38,234 Fatal configuration error error
Can't construct a java object for tag:yaml.org,2002:org.apache.cassandra.config.
Config; exception=Cannot create property=data_file_directories for JavaBean=org.
apache.cassandra.config.Config@1329642; No single argument constructor found for
class [Ljava.lang.String;
in "<reader>", line 10, column 1:
    cluster_name: 'Test Cluster'
    ^

        at org.yaml.snakeyaml.constructor.Constructor$ConstructYamlObject.constr
uct(Constructor.java:372)
        at org.yaml.snakeyaml.constructor.BaseConstructor.constructObject(BaseCo
nstructor.java:177)
        at org.yaml.snakeyaml.constructor.BaseConstructor.constructDocument(Base
Constructor.java:136)
        at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseCons
tructor.java:122)
        at org.yaml.snakeyaml.Loader.load(Loader.java:52)
        at org.yaml.snakeyaml.Yaml.load(Yaml.java:166)
        at org.apache.cassandra.config.DatabaseDescriptor.<clinit>(DatabaseDescr
iptor.java:133)
        at org.apache.cassandra.service.AbstractCassandraDaemon.setup(AbstractCa
ssandraDaemon.java:125)
        at org.apache.cassandra.service.AbstractCassandraDaemon.activate(Abstrac
tCassandraDaemon.java:337)
        at org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java
:107)
Caused by: org.yaml.snakeyaml.error.YAMLException: Cannot create property=data_f
ile_directories for JavaBean=org.apache.cassandra.config.Config@1329642; No sing
le argument constructor found for class [Ljava.lang.String;
        at org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.construct
JavaBean2ndStep(Constructor.java:305)
        at org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.construct
(Constructor.java:184)
        at org.yaml.snakeyaml.constructor.Constructor$ConstructYamlObject.constr
uct(Constructor.java:370)
        ... 9 more
Caused by: org.yaml.snakeyaml.error.YAMLException: No single argument constructo
r found for class [Ljava.lang.String;
        at org.yaml.snakeyaml.constructor.Constructor$ConstructScalar.construct(
Constructor.java:419)
        at org.yaml.snakeyaml.constructor.BaseConstructor.constructObject(BaseCo
nstructor.java:177)
        at org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.construct
JavaBean2ndStep(Constructor.java:298)
        ... 11 more
null; Can't construct a java object for tag:yaml.org,2002:org.apache.cassandra.c
onfig.Config; exception=Cannot create property=data_file_directories for JavaBea
n=org.apache.cassandra.config.Config@1329642; No single argument constructor fou
nd for class [Ljava.lang.String;
Invalid yaml; unable to start server.  See log for stacktrace.




________________________________
::DISCLAIMER::
-----------------------------------------------------------------------------------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in
this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of
this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have
received this email in error please delete it and notify the sender immediately. Before opening any mail and
attachments please check them for viruses and defect.

-----------------------------------------------------------------------------------------------------------------------

Re: Problems Starting Cassandra Server -

Posted by Dave Brosius <db...@mebigfatguy.com>.
It probably would be useful to know what your yaml file looks like.

On 01/17/2012 08:58 PM, Asha Subramanian wrote:
>
> I am a new user of Cassandra and want to understand the basics of 
> Cassandra before moving to cluster installations etc..
>
> I picked up the latest version of Cassandra from the home page 1.0.7 
> released on 2012/01/16. I am installing on Windows 7
>
> I have followed all the instx for changing the Cassandra.yaml and also 
> the environment variables.. However when I start the server, I get the 
> following error --
>
> What could be the problem ???
>
> F:\cassandra\bin>cassandra.bat
>
> Starting Cassandra Server
>
> INFO 07:22:37,766 Logging initialized
>
> INFO 07:22:37,828 JVM vendor/version: Java HotSpot(TM) Client VM/1.6.0_30
>
> INFO 07:22:37,844 Heap size: 1070399488/1070399488
>
> INFO 07:22:37,844 Classpath: 
> F:\cassandra\conf;F:\cassandra\lib\antlr-3.2.jar;F
>
> :\cassandra\lib\apache-cassandra-1.0.6.jar;F:\cassandra\lib\apache-cassandra-cli
>
> entutil-1.0.6.jar;F:\cassandra\lib\apache-cassandra-thrift-1.0.6.jar;F:\cassandr
>
> a\lib\avro-1.4.0-fixes.jar;F:\cassandra\lib\avro-1.4.0-sources-fixes.jar;F:\cass
>
> andra\lib\commons-cli-1.1.jar;F:\cassandra\lib\commons-codec-1.2.jar;F:\cassandr
>
> a\lib\commons-lang-2.4.jar;F:\cassandra\lib\compress-lzf-0.8.4.jar;F:\cassandra\
>
> lib\concurrentlinkedhashmap-lru-1.2.jar;F:\cassandra\lib\guava-r08.jar;F:\cassan
>
> dra\lib\high-scale-lib-1.1.2.jar;F:\cassandra\lib\jackson-core-asl-1.4.0.jar;F:\
>
> cassandra\lib\jackson-mapper-asl-1.4.0.jar;F:\cassandra\lib\jamm-0.2.5.jar;F:\ca
>
> ssandra\lib\jline-0.9.94.jar;F:\cassandra\lib\json-simple-1.1.jar;F:\cassandra\l
>
> ib\libthrift-0.6.jar;F:\cassandra\lib\log4j-1.2.16.jar;F:\cassandra\lib\servlet-
>
> api-2.5-20081211.jar;F:\cassandra\lib\slf4j-api-1.6.1.jar;F:\cassandra\lib\slf4j
>
> -log4j12-1.6.1.jar;F:\cassandra\lib\snakeyaml-1.6.jar;F:\cassandra\lib\snappy-ja
>
> va-1.0.4.1.jar;F:\cassandra\build\classes\main;F:\cassandra\build\classes\thrift
>
> ;F:\cassandra\lib\jamm-0.2.5.jar
>
> INFO 07:22:37,859 JNA not found. Native methods will be disabled.
>
> INFO 07:22:37,891 Loading settings from 
> file:/F:/cassandra/conf/cassandra.yaml
>
> ERROR 07:22:38,234 Fatal configuration error error
>
> Can't construct a java object for 
> tag:yaml.org,2002:org.apache.cassandra.config.
>
> Config; exception=Cannot create property=data_file_directories for 
> JavaBean=org.
>
> apache.cassandra.config.Config@1329642; No single argument constructor 
> found for
>
> class [Ljava.lang.String;
>
> in "<reader>", line 10, column 1:
>
>     cluster_name: 'Test Cluster'
>
>     ^
>
>         at 
> org.yaml.snakeyaml.constructor.Constructor$ConstructYamlObject.constr
>
> uct(Constructor.java:372)
>
>         at 
> org.yaml.snakeyaml.constructor.BaseConstructor.constructObject(BaseCo
>
> nstructor.java:177)
>
>         at 
> org.yaml.snakeyaml.constructor.BaseConstructor.constructDocument(Base
>
> Constructor.java:136)
>
>         at 
> org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseCons
>
> tructor.java:122)
>
>         at org.yaml.snakeyaml.Loader.load(Loader.java:52)
>
>         at org.yaml.snakeyaml.Yaml.load(Yaml.java:166)
>
>         at 
> org.apache.cassandra.config.DatabaseDescriptor.<clinit>(DatabaseDescr
>
> iptor.java:133)
>
>         at 
> org.apache.cassandra.service.AbstractCassandraDaemon.setup(AbstractCa
>
> ssandraDaemon.java:125)
>
>         at 
> org.apache.cassandra.service.AbstractCassandraDaemon.activate(Abstrac
>
> tCassandraDaemon.java:337)
>
>         at 
> org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java
>
> :107)
>
> Caused by: org.yaml.snakeyaml.error.YAMLException: Cannot create 
> property=data_f
>
> ile_directories for 
> JavaBean=org.apache.cassandra.config.Config@1329642; No sing
>
> le argument constructor found for class [Ljava.lang.String;
>
>         at 
> org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.construct
>
> JavaBean2ndStep(Constructor.java:305)
>
>         at 
> org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.construct
>
> (Constructor.java:184)
>
>         at 
> org.yaml.snakeyaml.constructor.Constructor$ConstructYamlObject.constr
>
> uct(Constructor.java:370)
>
>         ... 9 more
>
> Caused by: org.yaml.snakeyaml.error.YAMLException: No single argument 
> constructo
>
> r found for class [Ljava.lang.String;
>
>         at 
> org.yaml.snakeyaml.constructor.Constructor$ConstructScalar.construct(
>
> Constructor.java:419)
>
>         at 
> org.yaml.snakeyaml.constructor.BaseConstructor.constructObject(BaseCo
>
> nstructor.java:177)
>
>         at 
> org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.construct
>
> JavaBean2ndStep(Constructor.java:298)
>
>         ... 11 more
>
> null; Can't construct a java object for 
> tag:yaml.org,2002:org.apache.cassandra.c
>
> onfig.Config; exception=Cannot create property=data_file_directories 
> for JavaBea
>
> n=org.apache.cassandra.config.Config@1329642; No single argument 
> constructor fou
>
> nd for class [Ljava.lang.String;
>
> Invalid yaml; unable to start server.  See log for stacktrace.
>
>


Problems Starting Cassandra Server -

Posted by Asha Subramanian <As...@hcl.com>.
I am a new user of Cassandra and want to understand the basics of Cassandra before moving to cluster installations etc..

I picked up the latest version of Cassandra from the home page 1.0.7 released on 2012/01/16. I am installing on Windows 7

I have followed all the instx for changing the Cassandra.yaml and also the environment variables.. However when I start the server, I get the following error -

What could be the problem ???

F:\cassandra\bin>cassandra.bat
Starting Cassandra Server
INFO 07:22:37,766 Logging initialized
INFO 07:22:37,828 JVM vendor/version: Java HotSpot(TM) Client VM/1.6.0_30
INFO 07:22:37,844 Heap size: 1070399488/1070399488
INFO 07:22:37,844 Classpath: F:\cassandra\conf;F:\cassandra\lib\antlr-3.2.jar;F
:\cassandra\lib\apache-cassandra-1.0.6.jar;F:\cassandra\lib\apache-cassandra-cli
entutil-1.0.6.jar;F:\cassandra\lib\apache-cassandra-thrift-1.0.6.jar;F:\cassandr
a\lib\avro-1.4.0-fixes.jar;F:\cassandra\lib\avro-1.4.0-sources-fixes.jar;F:\cass
andra\lib\commons-cli-1.1.jar;F:\cassandra\lib\commons-codec-1.2.jar;F:\cassandr
a\lib\commons-lang-2.4.jar;F:\cassandra\lib\compress-lzf-0.8.4.jar;F:\cassandra\
lib\concurrentlinkedhashmap-lru-1.2.jar;F:\cassandra\lib\guava-r08.jar;F:\cassan
dra\lib\high-scale-lib-1.1.2.jar;F:\cassandra\lib\jackson-core-asl-1.4.0.jar;F:\
cassandra\lib\jackson-mapper-asl-1.4.0.jar;F:\cassandra\lib\jamm-0.2.5.jar;F:\ca
ssandra\lib\jline-0.9.94.jar;F:\cassandra\lib\json-simple-1.1.jar;F:\cassandra\l
ib\libthrift-0.6.jar;F:\cassandra\lib\log4j-1.2.16.jar;F:\cassandra\lib\servlet-
api-2.5-20081211.jar;F:\cassandra\lib\slf4j-api-1.6.1.jar;F:\cassandra\lib\slf4j
-log4j12-1.6.1.jar;F:\cassandra\lib\snakeyaml-1.6.jar;F:\cassandra\lib\snappy-ja
va-1.0.4.1.jar;F:\cassandra\build\classes\main;F:\cassandra\build\classes\thrift
;F:\cassandra\lib\jamm-0.2.5.jar
INFO 07:22:37,859 JNA not found. Native methods will be disabled.
INFO 07:22:37,891 Loading settings from file:/F:/cassandra/conf/cassandra.yaml
ERROR 07:22:38,234 Fatal configuration error error
Can't construct a java object for tag:yaml.org,2002:org.apache.cassandra.config.
Config; exception=Cannot create property=data_file_directories for JavaBean=org.
apache.cassandra.config.Config@1329642; No single argument constructor found for
class [Ljava.lang.String;
in "<reader>", line 10, column 1:
    cluster_name: 'Test Cluster'
    ^

        at org.yaml.snakeyaml.constructor.Constructor$ConstructYamlObject.constr
uct(Constructor.java:372)
        at org.yaml.snakeyaml.constructor.BaseConstructor.constructObject(BaseCo
nstructor.java:177)
        at org.yaml.snakeyaml.constructor.BaseConstructor.constructDocument(Base
Constructor.java:136)
        at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseCons
tructor.java:122)
        at org.yaml.snakeyaml.Loader.load(Loader.java:52)
        at org.yaml.snakeyaml.Yaml.load(Yaml.java:166)
        at org.apache.cassandra.config.DatabaseDescriptor.<clinit>(DatabaseDescr
iptor.java:133)
        at org.apache.cassandra.service.AbstractCassandraDaemon.setup(AbstractCa
ssandraDaemon.java:125)
        at org.apache.cassandra.service.AbstractCassandraDaemon.activate(Abstrac
tCassandraDaemon.java:337)
        at org.apache.cassandra.thrift.CassandraDaemon.main(CassandraDaemon.java
:107)
Caused by: org.yaml.snakeyaml.error.YAMLException: Cannot create property=data_f
ile_directories for JavaBean=org.apache.cassandra.config.Config@1329642; No sing
le argument constructor found for class [Ljava.lang.String;
        at org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.construct
JavaBean2ndStep(Constructor.java:305)
        at org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.construct
(Constructor.java:184)
        at org.yaml.snakeyaml.constructor.Constructor$ConstructYamlObject.constr
uct(Constructor.java:370)
        ... 9 more
Caused by: org.yaml.snakeyaml.error.YAMLException: No single argument constructo
r found for class [Ljava.lang.String;
        at org.yaml.snakeyaml.constructor.Constructor$ConstructScalar.construct(
Constructor.java:419)
        at org.yaml.snakeyaml.constructor.BaseConstructor.constructObject(BaseCo
nstructor.java:177)
        at org.yaml.snakeyaml.constructor.Constructor$ConstructMapping.construct
JavaBean2ndStep(Constructor.java:298)
        ... 11 more
null; Can't construct a java object for tag:yaml.org,2002:org.apache.cassandra.c
onfig.Config; exception=Cannot create property=data_file_directories for JavaBea
n=org.apache.cassandra.config.Config@1329642; No single argument constructor fou
nd for class [Ljava.lang.String;
Invalid yaml; unable to start server.  See log for stacktrace.

From: Jeremiah Jordan [mailto:jeremiah.jordan@morningstar.com]
Sent: Wednesday, January 18, 2012 4:34 AM
To: user@cassandra.apache.org
Subject: Re: nodetool ring question

There were some nodetool ring load reporting issues with early version of 1.0.X don't remember when they were fixed, but that could be your issue.  Are you using compressed column families, a lot of the issues were with those.
Might update to 1.0.7.

-Jeremiah

On 01/16/2012 04:04 AM, Michael Vaknine wrote:
Hi,

I have a 4 nodes cluster 1.0.3 version

This is what I get when I run nodetool ring

Address         DC          Rack        Status State   Load            Owns    Token
                                                                               127605887595351923798765477786913079296
10.8.193.87     datacenter1 rack1       Up     Normal  46.47 GB        25.00%  0
10.5.7.76       datacenter1 rack1       Up     Normal  48.01 GB        25.00%  42535295865117307932921825928971026432
10.8.189.197    datacenter1 rack1       Up     Normal  53.7 GB         25.00%  85070591730234615865843651857942052864
10.5.3.17       datacenter1 rack1       Up     Normal  43.49 GB        25.00%  127605887595351923798765477786913079296

I have finished running repair on all 4 nodes.

I have less then 10 GB on the /var/lib/cassandra/data/ folders

My question is Why nodetool reports almost 50 GB on each node?

Thanks
Michael

________________________________
::DISCLAIMER::
-----------------------------------------------------------------------------------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in
this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of
this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have
received this email in error please delete it and notify the sender immediately. Before opening any mail and
attachments please check them for viruses and defect.

-----------------------------------------------------------------------------------------------------------------------

Re: nodetool ring question

Posted by "R. Verlangen" <ro...@us2.nl>.
I will have a look very soon and if I find something I'll let you know.

Thank you in advance!

2012/1/19 aaron morton <aa...@thelastpickle.com>

> Michael, Robin
>
> Let us know if the reported live load is increasing and diverging from the
> on disk size.
>
> If it is can you check nodetool cfstats and find an example of a
> particular CF where Space Used Live has diverged from the on disk size. The
> provide the schema for the CF and any other info that may be handy.
>
> Cheers
>
>
> -----------------
> Aaron Morton
> Freelance Developer
> @aaronmorton
> http://www.thelastpickle.com
>
> On 18/01/2012, at 10:58 PM, Michael Vaknine wrote:
>
> I did restart the cluster and now it is normal 5GB.****
> ** **
> *From:* R. Verlangen [mailto:robin@us2.nl]
> *Sent:* Wednesday, January 18, 2012 11:32 AM
> *To:* user@cassandra.apache.org
> *Subject:* Re: nodetool ring question****
> ** **
>
> I also have this problem. My data on nodes grows to roughly 30GB. After a
> restart only 5GB remains. Is a factor 6 common for Cassandra?****
> 2012/1/18 aaron morton <aa...@thelastpickle.com>****
> Good idea Jeremiah, are you using compression Michael ? ****
> ** **
> Scanning through the CF stats this jumps out…****
> ** **
>                 Column Family: Attractions****
>                 SSTable count: 3****
>                 Space used (live): 27542876685****
>                 Space used (total): 1213220387****
> Thats 25Gb of live data but only 1.3GB total. ****
> ** **
> Otherwise want to see if a restart fixes it :) Would be interesting to
> know if it's wrong from the start or drifts during streaming or compaction.
> ****
> ** **
> Cheers****
> ** **
> -----------------****
> Aaron Morton****
> Freelance Developer****
> @aaronmorton****
> http://www.thelastpickle.com****
> ** **
> On 18/01/2012, at 12:04 PM, Jeremiah Jordan wrote:****
>
>
> ****
> There were some nodetool ring load reporting issues with early version of
> 1.0.X don't remember when they were fixed, but that could be your issue.
> Are you using compressed column families, a lot of the issues were with
> those.
> Might update to 1.0.7.
>
> -Jeremiah
>
> On 01/16/2012 04:04 AM, Michael Vaknine wrote:****
> Hi,****
>  ****
> I have a 4 nodes cluster 1.0.3 version****
>  ****
> This is what I get when I run nodetool ring****
>  ****
> Address         DC          Rack        Status State   Load
> Owns    Token****
>
> 127605887595351923798765477786913079296****
> 10.8.193.87     datacenter1 rack1       Up     Normal  46.47 GB
> 25.00%  0****
> 10.5.7.76       datacenter1 rack1       Up     Normal  48.01 GB
> 25.00%  42535295865117307932921825928971026432****
> 10.8.189.197    datacenter1 rack1       Up     Normal  53.7 GB
> 25.00%  85070591730234615865843651857942052864****
> 10.5.3.17       datacenter1 rack1       Up     Normal  43.49 GB
> 25.00%  127605887595351923798765477786913079296****
>  ****
> I have finished running repair on all 4 nodes.****
>  ****
> I have less then 10 GB on the /var/lib/cassandra/data/ folders****
>  ****
> My question is Why nodetool reports almost 50 GB on each node?****
>  ****
> Thanks****
> Michael****
> ** **
>
>
>

Re: nodetool ring question

Posted by aaron morton <aa...@thelastpickle.com>.
Michael, Robin

	Let us know if the reported live load is increasing and diverging from the on disk size.

	If it is can you check nodetool cfstats and find an example of a particular CF where Space Used Live has diverged from the on disk size. The provide the schema for the CF and any other info that may be handy. 

Cheers


-----------------
Aaron Morton
Freelance Developer
@aaronmorton
http://www.thelastpickle.com

On 18/01/2012, at 10:58 PM, Michael Vaknine wrote:

> I did restart the cluster and now it is normal 5GB.
>  
> From: R. Verlangen [mailto:robin@us2.nl] 
> Sent: Wednesday, January 18, 2012 11:32 AM
> To: user@cassandra.apache.org
> Subject: Re: nodetool ring question
>  
> I also have this problem. My data on nodes grows to roughly 30GB. After a restart only 5GB remains. Is a factor 6 common for Cassandra?
> 
> 2012/1/18 aaron morton <aa...@thelastpickle.com>
> Good idea Jeremiah, are you using compression Michael ? 
>  
> Scanning through the CF stats this jumps out…
>  
>                 Column Family: Attractions
>                 SSTable count: 3
>                 Space used (live): 27542876685
>                 Space used (total): 1213220387
> Thats 25Gb of live data but only 1.3GB total. 
>  
> Otherwise want to see if a restart fixes it :) Would be interesting to know if it's wrong from the start or drifts during streaming or compaction. 
>  
> Cheers
>  
> -----------------
> Aaron Morton
> Freelance Developer
> @aaronmorton
> http://www.thelastpickle.com
>  
> On 18/01/2012, at 12:04 PM, Jeremiah Jordan wrote:
> 
> 
> There were some nodetool ring load reporting issues with early version of 1.0.X don't remember when they were fixed, but that could be your issue.  Are you using compressed column families, a lot of the issues were with those.
> Might update to 1.0.7.
> 
> -Jeremiah
> 
> On 01/16/2012 04:04 AM, Michael Vaknine wrote:
> Hi,
>  
> I have a 4 nodes cluster 1.0.3 version
>  
> This is what I get when I run nodetool ring
>  
> Address         DC          Rack        Status State   Load            Owns    Token
>                                                                                127605887595351923798765477786913079296
> 10.8.193.87     datacenter1 rack1       Up     Normal  46.47 GB        25.00%  0
> 10.5.7.76       datacenter1 rack1       Up     Normal  48.01 GB        25.00%  42535295865117307932921825928971026432
> 10.8.189.197    datacenter1 rack1       Up     Normal  53.7 GB         25.00%  85070591730234615865843651857942052864
> 10.5.3.17       datacenter1 rack1       Up     Normal  43.49 GB        25.00%  127605887595351923798765477786913079296
>  
> I have finished running repair on all 4 nodes.
>  
> I have less then 10 GB on the /var/lib/cassandra/data/ folders
>  
> My question is Why nodetool reports almost 50 GB on each node?
>  
> Thanks
> Michael
>  


RE: nodetool ring question

Posted by Michael Vaknine <mi...@citypath.com>.
I did restart the cluster and now it is normal 5GB.

 

From: R. Verlangen [mailto:robin@us2.nl] 
Sent: Wednesday, January 18, 2012 11:32 AM
To: user@cassandra.apache.org
Subject: Re: nodetool ring question

 

I also have this problem. My data on nodes grows to roughly 30GB. After a
restart only 5GB remains. Is a factor 6 common for Cassandra?

2012/1/18 aaron morton <aa...@thelastpickle.com>

Good idea Jeremiah, are you using compression Michael ? 

 

Scanning through the CF stats this jumps out.

 

                Column Family: Attractions

                SSTable count: 3

                Space used (live): 27542876685

                Space used (total): 1213220387

Thats 25Gb of live data but only 1.3GB total. 

 

Otherwise want to see if a restart fixes it :) Would be interesting to know
if it's wrong from the start or drifts during streaming or compaction. 

 

Cheers

 

-----------------

Aaron Morton

Freelance Developer

@aaronmorton

http://www.thelastpickle.com

 

On 18/01/2012, at 12:04 PM, Jeremiah Jordan wrote:





There were some nodetool ring load reporting issues with early version of
1.0.X don't remember when they were fixed, but that could be your issue.
Are you using compressed column families, a lot of the issues were with
those.
Might update to 1.0.7.

-Jeremiah

On 01/16/2012 04:04 AM, Michael Vaknine wrote: 

Hi,

 

I have a 4 nodes cluster 1.0.3 version

 

This is what I get when I run nodetool ring

 

Address         DC          Rack        Status State   Load            Owns
Token

 
127605887595351923798765477786913079296

10.8.193.87     datacenter1 rack1       Up     Normal  46.47 GB
25.00%  0

10.5.7.76       datacenter1 rack1       Up     Normal  48.01 GB
25.00%  42535295865117307932921825928971026432

10.8.189.197    datacenter1 rack1       Up     Normal  53.7 GB
25.00%  85070591730234615865843651857942052864

10.5.3.17       datacenter1 rack1       Up     Normal  43.49 GB
25.00%  127605887595351923798765477786913079296

 

I have finished running repair on all 4 nodes.

 

I have less then 10 GB on the /var/lib/cassandra/data/ folders

 

My question is Why nodetool reports almost 50 GB on each node?

 

Thanks

Michael

 

 


Re: nodetool ring question

Posted by "R. Verlangen" <ro...@us2.nl>.
I also have this problem. My data on nodes grows to roughly 30GB. After a
restart only 5GB remains. Is a factor 6 common for Cassandra?

2012/1/18 aaron morton <aa...@thelastpickle.com>

> Good idea Jeremiah, are you using compression Michael ?
>
> Scanning through the CF stats this jumps out…
>
>                 Column Family: Attractions****
>                 SSTable count: 3****
>                 Space used (live): 27542876685****
>                 Space used (total): 1213220387
> Thats 25Gb of live data but only 1.3GB total.
>
> Otherwise want to see if a restart fixes it :) Would be interesting to
> know if it's wrong from the start or drifts during streaming or compaction.
>
> Cheers
>
> -----------------
> Aaron Morton
> Freelance Developer
> @aaronmorton
> http://www.thelastpickle.com
>
> On 18/01/2012, at 12:04 PM, Jeremiah Jordan wrote:
>
>  There were some nodetool ring load reporting issues with early version of
> 1.0.X don't remember when they were fixed, but that could be your issue.
> Are you using compressed column families, a lot of the issues were with
> those.
> Might update to 1.0.7.
>
> -Jeremiah
>
> On 01/16/2012 04:04 AM, Michael Vaknine wrote:
>
> Hi,****
>
> ** **
>
> I have a 4 nodes cluster 1.0.3 version****
>
> ** **
>
> This is what I get when I run nodetool ring****
>
> ** **
>
> Address         DC          Rack        Status State   Load
> Owns    Token****
>
>
> 127605887595351923798765477786913079296****
>
> 10.8.193.87     datacenter1 rack1       Up     Normal  46.47 GB
> 25.00%  0****
>
> 10.5.7.76       datacenter1 rack1       Up     Normal  48.01 GB
> 25.00%  42535295865117307932921825928971026432****
>
> 10.8.189.197    datacenter1 rack1       Up     Normal  53.7 GB
> 25.00%  85070591730234615865843651857942052864****
>
> 10.5.3.17       datacenter1 rack1       Up     Normal  43.49 GB
> 25.00%  127605887595351923798765477786913079296****
>
> ** **
>
> I have finished running repair on all 4 nodes.****
>
> ** **
>
> I have less then 10 GB on the /var/lib/cassandra/data/ folders****
>
> ** **
>
> My question is Why nodetool reports almost 50 GB on each node?****
>
> ** **
>
> Thanks****
>
> Michael****
>
>
>

Re: nodetool ring question

Posted by aaron morton <aa...@thelastpickle.com>.
Good idea Jeremiah, are you using compression Michael ? 

Scanning through the CF stats this jumps out…

                Column Family: Attractions
                SSTable count: 3
                Space used (live): 27542876685
                Space used (total): 1213220387
Thats 25Gb of live data but only 1.3GB total. 

Otherwise want to see if a restart fixes it :) Would be interesting to know if it's wrong from the start or drifts during streaming or compaction. 

Cheers

-----------------
Aaron Morton
Freelance Developer
@aaronmorton
http://www.thelastpickle.com

On 18/01/2012, at 12:04 PM, Jeremiah Jordan wrote:

> There were some nodetool ring load reporting issues with early version of 1.0.X don't remember when they were fixed, but that could be your issue.  Are you using compressed column families, a lot of the issues were with those.
> Might update to 1.0.7.
> 
> -Jeremiah
> 
> On 01/16/2012 04:04 AM, Michael Vaknine wrote:
>> 
>> Hi,
>>  
>> I have a 4 nodes cluster 1.0.3 version
>>  
>> This is what I get when I run nodetool ring
>>  
>> Address         DC          Rack        Status State   Load            Owns    Token
>>                                                                                127605887595351923798765477786913079296
>> 10.8.193.87     datacenter1 rack1       Up     Normal  46.47 GB        25.00%  0
>> 10.5.7.76       datacenter1 rack1       Up     Normal  48.01 GB        25.00%  42535295865117307932921825928971026432
>> 10.8.189.197    datacenter1 rack1       Up     Normal  53.7 GB         25.00%  85070591730234615865843651857942052864
>> 10.5.3.17       datacenter1 rack1       Up     Normal  43.49 GB        25.00%  127605887595351923798765477786913079296
>>  
>> I have finished running repair on all 4 nodes.
>>  
>> I have less then 10 GB on the /var/lib/cassandra/data/ folders
>>  
>> My question is Why nodetool reports almost 50 GB on each node?
>>  
>> Thanks
>> Michael


Re: nodetool ring question

Posted by Jeremiah Jordan <je...@morningstar.com>.
There were some nodetool ring load reporting issues with early version 
of 1.0.X don't remember when they were fixed, but that could be your 
issue.  Are you using compressed column families, a lot of the issues 
were with those.
Might update to 1.0.7.

-Jeremiah

On 01/16/2012 04:04 AM, Michael Vaknine wrote:
>
> Hi,
>
> I have a 4 nodes cluster 1.0.3 version
>
> This is what I get when I run nodetool ring
>
> Address         DC          Rack        Status State   Load            
> Owns    Token
>
>                                                                                
> 127605887595351923798765477786913079296
>
> 10.8.193.87     datacenter1 rack1       Up     Normal  46.47 GB        
> 25.00%  0
>
> 10.5.7.76       datacenter1 rack1       Up     Normal  48.01 GB        
> 25.00%  42535295865117307932921825928971026432
>
> 10.8.189.197    datacenter1 rack1       Up     Normal  53.7 GB         
> 25.00%  85070591730234615865843651857942052864
>
> 10.5.3.17       datacenter1 rack1       Up     Normal  43.49 GB        
> 25.00%  127605887595351923798765477786913079296
>
> I have finished running repair on all 4 nodes.
>
> I have less then 10 GB on the /var/lib/cassandra/data/ folders
>
> My question is Why nodetool reports almost 50 GB on each node?
>
> Thanks
>
> Michael
>