Build failed in Jenkins: Cassandra-quick #1126

2012-08-21 Thread Apache Jenkins Server
See 

--
[...truncated 387 lines...]
[junit] 
[junit] Testsuite: org.apache.cassandra.io.BloomFilterTrackerTest
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 5.601 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.io.CompactSerializerTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 6.519 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.io.LazilyCompactedRowTest
[junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 6.858 sec
[junit] 
[junit] Testsuite: 
org.apache.cassandra.io.compress.CompressedRandomAccessReaderTest
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 1.035 sec
[junit] 
[junit] - Standard Error -
[junit]  WARN 10:08:05,284 open(null, O_RDONLY) failed, errno (14).
[junit] -  ---
[junit] Testsuite: org.apache.cassandra.io.sstable.DescriptorTest
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.065 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.io.sstable.IndexHelperTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.063 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.io.sstable.LegacySSTableTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 6.227 sec
[junit] 
[junit] Testsuite: 
org.apache.cassandra.io.sstable.SSTableMetadataSerializerTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.144 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.io.sstable.SSTableReaderTest
[junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 5.97 sec
[junit] 
[junit] - Standard Error -
[junit]  WARN 10:08:20,337 setting live ratio to maximum of 64.0 instead of 
87.80
[junit]  WARN 10:08:20,456 setting live ratio to maximum of 64.0 instead of 
65.87412587412588
[junit] -  ---
[junit] Testsuite: org.apache.cassandra.io.sstable.SSTableSimpleWriterTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 5.665 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.io.sstable.SSTableTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 5.797 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.io.util.BufferedRandomAccessFileTest
[junit] Tests run: 18, Failures: 0, Errors: 0, Time elapsed: 1.119 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.locator.DynamicEndpointSnitchTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.257 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.locator.EC2SnitchTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.962 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.locator.NetworkTopologyStrategyTest
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 1.123 sec
[junit] 
[junit] Testsuite: 
org.apache.cassandra.locator.OldNetworkTopologyStrategyTest
[junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 5.67 sec
[junit] 
[junit] - Standard Output ---
[junit] toStream : [(158873535527910577765226390751398592512,0], 
(0,34028236692093846346337460743176821145]]
[junit] toFetch : 
[(127605887595351923798765477786913079296,148873535527910577765226390751398592512]]
[junit] toStreamExpected : [(158873535527910577765226390751398592512,0], 
(0,34028236692093846346337460743176821145]]
[junit] toFetchExpected : 
[(127605887595351923798765477786913079296,148873535527910577765226390751398592512]]
[junit] -  ---
[junit] Testsuite: 
org.apache.cassandra.locator.ReplicationStrategyEndpointCacheTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 5.629 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.locator.SimpleStrategyTest
[junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 5.725 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.locator.TokenMetadataTest
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.943 sec
[junit] 
[junit] Testsuite: 
org.apache.cassandra.service.AntiEntropyServiceCounterTest
[junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 6.214 sec
[junit] 
[junit] - Standard Error -
[junit]  WARN 10:09:09,919 No host ID found, created 
3fd3f2fd-629f-4546-a2ee-e4f77d167f3f (Note: This should happen exactly once per 
node).
[junit]  WARN 10:09:10,125 Generated random token 
[Token(bytes[80aab9990c89d92f7dc86f033e2ddaaa])]. Random tokens will result in 
an unbalanced ring; see http://wiki.apache.org/cassandra/Operations
[junit] -  ---
[junit] Testsuite: 
org.apache.cassandra.ser

Build failed in Jenkins: Cassandra-quick #1127

2012-08-21 Thread Apache Jenkins Server
See 

--
[...truncated 388 lines...]
[junit] Testsuite: org.apache.cassandra.io.BloomFilterTrackerTest
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 5.185 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.io.CompactSerializerTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 6.575 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.io.LazilyCompactedRowTest
[junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 6.36 sec
[junit] 
[junit] Testsuite: 
org.apache.cassandra.io.compress.CompressedRandomAccessReaderTest
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.788 sec
[junit] 
[junit] - Standard Error -
[junit]  WARN 10:37:35,917 open(null, O_RDONLY) failed, errno (14).
[junit] -  ---
[junit] Testsuite: org.apache.cassandra.io.sstable.DescriptorTest
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.047 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.io.sstable.IndexHelperTest
[junit] Testsuite: org.apache.cassandra.io.sstable.IndexHelperTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.046 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.io.sstable.LegacySSTableTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 5.849 sec
[junit] 
[junit] Testsuite: 
org.apache.cassandra.io.sstable.SSTableMetadataSerializerTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.103 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.io.sstable.SSTableReaderTest
[junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 5.354 sec
[junit] 
[junit] - Standard Error -
[junit]  WARN 10:37:49,673 setting live ratio to maximum of 64.0 instead of 
88.44
[junit]  WARN 10:37:49,794 setting live ratio to maximum of 64.0 instead of 
66.22009569377991
[junit] -  ---
[junit] Testsuite: org.apache.cassandra.io.sstable.SSTableSimpleWriterTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 5.357 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.io.sstable.SSTableTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 5.365 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.io.util.BufferedRandomAccessFileTest
[junit] Tests run: 18, Failures: 0, Errors: 0, Time elapsed: 0.932 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.locator.DynamicEndpointSnitchTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.012 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.locator.EC2SnitchTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.703 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.locator.NetworkTopologyStrategyTest
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.937 sec
[junit] 
[junit] Testsuite: 
org.apache.cassandra.locator.OldNetworkTopologyStrategyTest
[junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 5.321 sec
[junit] 
[junit] - Standard Output ---
[junit] toStream : [(158873535527910577765226390751398592512,0], 
(0,34028236692093846346337460743176821145]]
[junit] toFetch : 
[(127605887595351923798765477786913079296,148873535527910577765226390751398592512]]
[junit] toStreamExpected : [(158873535527910577765226390751398592512,0], 
(0,34028236692093846346337460743176821145]]
[junit] toFetchExpected : 
[(127605887595351923798765477786913079296,148873535527910577765226390751398592512]]
[junit] -  ---
[junit] Testsuite: 
org.apache.cassandra.locator.ReplicationStrategyEndpointCacheTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 5.375 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.locator.SimpleStrategyTest
[junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 5.41 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.locator.TokenMetadataTest
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.72 sec
[junit] 
[junit] Testsuite: 
org.apache.cassandra.service.AntiEntropyServiceCounterTest
[junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 6.475 sec
[junit] 
[junit] - Standard Error -
[junit]  WARN 10:38:35,949 No host ID found, created 
3dcdefb7-bdf0-4d83-ab11-42cc1615be1e (Note: This should happen exactly once per 
node).
[junit]  WARN 10:38:36,132 Generated random token 
[Token(bytes[b030242a447ac46465f5587ce86afa33])]. Random tokens will result in 
an unbalanced ring; see http://wiki.apache.org/cassandra/Operations
[junit] -  ---

Build failed in Jenkins: Cassandra-quick #1128

2012-08-21 Thread Apache Jenkins Server
See 

--
[...truncated 387 lines...]
[junit] 
[junit] Testsuite: org.apache.cassandra.io.BloomFilterTrackerTest
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 5.561 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.io.CompactSerializerTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 6.43 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.io.LazilyCompactedRowTest
[junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 6.868 sec
[junit] 
[junit] Testsuite: 
org.apache.cassandra.io.compress.CompressedRandomAccessReaderTest
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 1.032 sec
[junit] 
[junit] - Standard Error -
[junit]  WARN 11:10:38,984 open(null, O_RDONLY) failed, errno (14).
[junit] -  ---
[junit] Testsuite: org.apache.cassandra.io.sstable.DescriptorTest
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.064 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.io.sstable.IndexHelperTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.063 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.io.sstable.LegacySSTableTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 6.133 sec
[junit] 
[junit] Testsuite: 
org.apache.cassandra.io.sstable.SSTableMetadataSerializerTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.143 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.io.sstable.SSTableReaderTest
[junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 5.902 sec
[junit] 
[junit] - Standard Error -
[junit]  WARN 11:10:53,852 setting live ratio to maximum of 64.0 instead of 
87.68
[junit]  WARN 11:10:53,975 setting live ratio to maximum of 64.0 instead of 
67.35867768595041
[junit] -  ---
[junit] Testsuite: org.apache.cassandra.io.sstable.SSTableSimpleWriterTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 5.651 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.io.sstable.SSTableTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 5.728 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.io.util.BufferedRandomAccessFileTest
[junit] Tests run: 18, Failures: 0, Errors: 0, Time elapsed: 1.11 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.locator.DynamicEndpointSnitchTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.249 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.locator.EC2SnitchTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.948 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.locator.NetworkTopologyStrategyTest
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 1.115 sec
[junit] 
[junit] Testsuite: 
org.apache.cassandra.locator.OldNetworkTopologyStrategyTest
[junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 5.607 sec
[junit] 
[junit] - Standard Output ---
[junit] toStream : [(158873535527910577765226390751398592512,0], 
(0,34028236692093846346337460743176821145]]
[junit] toFetch : 
[(127605887595351923798765477786913079296,148873535527910577765226390751398592512]]
[junit] toStreamExpected : [(158873535527910577765226390751398592512,0], 
(0,34028236692093846346337460743176821145]]
[junit] toFetchExpected : 
[(127605887595351923798765477786913079296,148873535527910577765226390751398592512]]
[junit] -  ---
[junit] Testsuite: 
org.apache.cassandra.locator.ReplicationStrategyEndpointCacheTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 5.58 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.locator.SimpleStrategyTest
[junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 5.685 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.locator.TokenMetadataTest
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.945 sec
[junit] 
[junit] Testsuite: 
org.apache.cassandra.service.AntiEntropyServiceCounterTest
[junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 6.775 sec
[junit] 
[junit] - Standard Error -
[junit]  WARN 11:11:43,122 No host ID found, created 
7f10a685-fa7b-4ad6-b289-eb9d1df155a3 (Note: This should happen exactly once per 
node).
[junit]  WARN 11:11:43,325 Generated random token 
[Token(bytes[158734350f089782669edaf033930ea6])]. Random tokens will result in 
an unbalanced ring; see http://wiki.apache.org/cassandra/Operations
[junit] -  ---
[junit] Testsuite: 
org.apache.cassandra.service.AntiEntr

Build failed in Jenkins: Cassandra-quick #1129

2012-08-21 Thread Apache Jenkins Server
See 

--
[...truncated 388 lines...]
[junit] 
[junit] Testsuite: org.apache.cassandra.io.BloomFilterTrackerTest
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 5.611 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.io.CompactSerializerTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 6.439 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.io.LazilyCompactedRowTest
[junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 6.865 sec
[junit] 
[junit] Testsuite: 
org.apache.cassandra.io.compress.CompressedRandomAccessReaderTest
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 1.031 sec
[junit] 
[junit] - Standard Error -
[junit]  WARN 12:09:33,215 open(null, O_RDONLY) failed, errno (14).
[junit] -  ---
[junit] Testsuite: org.apache.cassandra.io.sstable.DescriptorTest
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.064 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.io.sstable.IndexHelperTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.063 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.io.sstable.LegacySSTableTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 6.162 sec
[junit] 
[junit] Testsuite: 
org.apache.cassandra.io.sstable.SSTableMetadataSerializerTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.144 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.io.sstable.SSTableReaderTest
[junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 5.886 sec
[junit] 
[junit] - Standard Error -
[junit]  WARN 12:09:48,105 setting live ratio to maximum of 64.0 instead of 
88.07
[junit]  WARN 12:09:48,233 setting live ratio to maximum of 64.0 instead of 
67.31313131313131
[junit] -  ---
[junit] Testsuite: org.apache.cassandra.io.sstable.SSTableSimpleWriterTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 5.656 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.io.sstable.SSTableTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 5.844 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.io.util.BufferedRandomAccessFileTest
[junit] Tests run: 18, Failures: 0, Errors: 0, Time elapsed: 1.119 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.locator.DynamicEndpointSnitchTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.248 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.locator.EC2SnitchTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.949 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.locator.NetworkTopologyStrategyTest
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 1.116 sec
[junit] 
[junit] Testsuite: 
org.apache.cassandra.locator.OldNetworkTopologyStrategyTest
[junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 5.612 sec
[junit] 
[junit] - Standard Output ---
[junit] toStream : [(158873535527910577765226390751398592512,0], 
(0,34028236692093846346337460743176821145]]
[junit] toFetch : 
[(127605887595351923798765477786913079296,148873535527910577765226390751398592512]]
[junit] toStreamExpected : [(158873535527910577765226390751398592512,0], 
(0,34028236692093846346337460743176821145]]
[junit] toFetchExpected : 
[(127605887595351923798765477786913079296,148873535527910577765226390751398592512]]
[junit] -  ---
[junit] Testsuite: 
org.apache.cassandra.locator.ReplicationStrategyEndpointCacheTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 5.61 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.locator.SimpleStrategyTest
[junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 5.681 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.locator.TokenMetadataTest
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.949 sec
[junit] 
[junit] Testsuite: 
org.apache.cassandra.service.AntiEntropyServiceCounterTest
[junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 6.85 sec
[junit] 
[junit] - Standard Error -
[junit]  WARN 12:10:37,636 No host ID found, created 
c824ce41-a50d-4fa4-a227-15b060ec1ee0 (Note: This should happen exactly once per 
node).
[junit]  WARN 12:10:37,834 Generated random token 
[Token(bytes[6b13040192d87f4cec82a8b02bf0273d])]. Random tokens will result in 
an unbalanced ring; see http://wiki.apache.org/cassandra/Operations
[junit] -  ---
[junit] Testsuite: 
org.apache.cassandra.ser

Problem while configuring key and row cache?

2012-08-21 Thread Amit Handa
I started exploring apache cassandra 1.1.3. I am facing problem with how to
improve performance of cassandra using caching configurations.
I tried setting following configurations:

./nodetool -h 107.108.189.204 setcachecapacity DemoUser Users 25 0
./nodetool -h 107.108.189.204 setcachecapacity DemoUser Users 0 25
./nodetool -h 107.108.189.204 setcachecapacity DemoUser Users 25 25
./nodetool -h 107.108.189.204 setcachecapacity DemoUser Users 444 444


But when i am checking that this particula configuration are really been
configured using command:
./nodetool -h 107.108.189.212 cfstats

it's showing following results for keySpace DemoUser and column Family
Users:
*Keyspace: DemoUser
Read Count: 21914
Read Latency: 0.08268495026010769 ms.
Write Count: 87656
Write Latency: 0.06009481381765082 ms.
Pending Tasks: 0
Column Family: Users
SSTable count: 1
Space used (live): 1573335
Space used (total): 1573335
Number of Keys (estimate): 22016
Memtable Columns Count: 0
Memtable Data Size: 0
Memtable Switch Count: 1
Read Count: 21914
Read Latency: 0.083 ms.
Write Count: 87656
Write Latency: 0.060 ms.
Pending Tasks: 0
Bloom Filter False Postives: 0
Bloom Filter False Ratio: 0.0
Bloom Filter Space Used: 41104
Compacted row minimum size: 150
Compacted row maximum size: 179
Compacted row mean size: 179 *

I am unable to see the effect of above setcachecapacity command. Let me
know how i can configure the cache capacity, and check it's effect.

With Regards,
Amit


Re: Problem while configuring key and row cache?

2012-08-21 Thread Jonathan Ellis
setcachecapacity is obsolete in 1.1+.  Looks like we missed removing
it from nodetool.  See
http://www.datastax.com/dev/blog/caching-in-cassandra-1-1 for
background.

(Moving to users@.)

On Tue, Aug 21, 2012 at 8:19 AM, Amit Handa  wrote:
> I started exploring apache cassandra 1.1.3. I am facing problem with how to
> improve performance of cassandra using caching configurations.
> I tried setting following configurations:
>
> ./nodetool -h 107.108.189.204 setcachecapacity DemoUser Users 25 0
> ./nodetool -h 107.108.189.204 setcachecapacity DemoUser Users 0 25
> ./nodetool -h 107.108.189.204 setcachecapacity DemoUser Users 25 25
> ./nodetool -h 107.108.189.204 setcachecapacity DemoUser Users 444 444
>
>
> But when i am checking that this particula configuration are really been
> configured using command:
> ./nodetool -h 107.108.189.212 cfstats
>
> it's showing following results for keySpace DemoUser and column Family
> Users:
> *Keyspace: DemoUser
> Read Count: 21914
> Read Latency: 0.08268495026010769 ms.
> Write Count: 87656
> Write Latency: 0.06009481381765082 ms.
> Pending Tasks: 0
> Column Family: Users
> SSTable count: 1
> Space used (live): 1573335
> Space used (total): 1573335
> Number of Keys (estimate): 22016
> Memtable Columns Count: 0
> Memtable Data Size: 0
> Memtable Switch Count: 1
> Read Count: 21914
> Read Latency: 0.083 ms.
> Write Count: 87656
> Write Latency: 0.060 ms.
> Pending Tasks: 0
> Bloom Filter False Postives: 0
> Bloom Filter False Ratio: 0.0
> Bloom Filter Space Used: 41104
> Compacted row minimum size: 150
> Compacted row maximum size: 179
> Compacted row mean size: 179 *
>
> I am unable to see the effect of above setcachecapacity command. Let me
> know how i can configure the cache capacity, and check it's effect.
>
> With Regards,
> Amit



-- 
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of DataStax, the source for professional Cassandra support
http://www.datastax.com


Build failed in Jenkins: Cassandra-quick #1130

2012-08-21 Thread Apache Jenkins Server
See 

Changes:

[jbellis] upgradesstables recommended for #4436

--
[...truncated 396 lines...]
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 24.418 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.io.CompactSerializerTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 14.205 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.io.LazilyCompactedRowTest
[junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 41.019 sec
[junit] 
[junit] - Standard Error -
[junit]  WARN 16:47:04,084 setting live ratio to maximum of 64.0 instead of 
90.67
[junit] -  ---
[junit] Testsuite: 
org.apache.cassandra.io.compress.CompressedRandomAccessReaderTest
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 1.626 sec
[junit] 
[junit] - Standard Error -
[junit]  WARN 16:47:18,914 open(null, O_RDONLY) failed, errno (14).
[junit] -  ---
[junit] Testsuite: org.apache.cassandra.io.sstable.DescriptorTest
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.061 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.io.sstable.IndexHelperTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.063 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.io.sstable.LegacySSTableTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 16.288 sec
[junit] 
[junit] Testsuite: 
org.apache.cassandra.io.sstable.SSTableMetadataSerializerTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.138 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.io.sstable.SSTableReaderTest
[junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 17.287 sec
[junit] 
[junit] - Standard Error -
[junit]  WARN 16:47:52,114 setting live ratio to maximum of 64.0 instead of 
85.71428571428571
[junit]  WARN 16:47:54,301 setting live ratio to maximum of 64.0 instead of 
67.63636363636364
[junit] -  ---
[junit] Testsuite: org.apache.cassandra.io.sstable.SSTableSimpleWriterTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 16.567 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.io.sstable.SSTableTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 24.107 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.io.util.BufferedRandomAccessFileTest
[junit] Tests run: 18, Failures: 0, Errors: 0, Time elapsed: 4.756 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.locator.DynamicEndpointSnitchTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.595 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.locator.EC2SnitchTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 1.012 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.locator.NetworkTopologyStrategyTest
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 1.299 sec
[junit] 
[junit] Testsuite: 
org.apache.cassandra.locator.OldNetworkTopologyStrategyTest
[junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 14.365 sec
[junit] 
[junit] - Standard Output ---
[junit] toStream : [(158873535527910577765226390751398592512,0], 
(0,34028236692093846346337460743176821145]]
[junit] toFetch : 
[(127605887595351923798765477786913079296,148873535527910577765226390751398592512]]
[junit] toStreamExpected : [(158873535527910577765226390751398592512,0], 
(0,34028236692093846346337460743176821145]]
[junit] toFetchExpected : 
[(127605887595351923798765477786913079296,148873535527910577765226390751398592512]]
[junit] -  ---
[junit] Testsuite: 
org.apache.cassandra.locator.ReplicationStrategyEndpointCacheTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 19.032 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.locator.SimpleStrategyTest
[junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 21.398 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.locator.TokenMetadataTest
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.956 sec
[junit] 
[junit] Testsuite: 
org.apache.cassandra.service.AntiEntropyServiceCounterTest
[junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 18.936 sec
[junit] 
[junit] - Standard Error -
[junit]  WARN 16:50:05,131 No host ID found, created 
59971bea-9a78-4027-b7d4-b73c31329db7 (Note: This should happen exactly once per 
node).
[junit]  WARN 16:50:05,751 Generated random token 
[Token(bytes[809734b0a638dc753ae99eb768814

Build failed in Jenkins: Cassandra #1954

2012-08-21 Thread Apache Jenkins Server
See 

--
Started by an SCM change
Building remotely on ubuntu4 in workspace 

Checkout:Cassandra /  - 
hudson.remoting.Channel@27c77ffc:ubuntu4
Using strategy: Default
Last Built Revision: Revision dafcaeb06103eb6e86ada1798ef6ce5cc4e87dac 
(origin/trunk)
Fetching changes from 1 remote Git repository
Fetching upstream changes from 
https://git-wip-us.apache.org/repos/asf/cassandra.git
Commencing build of Revision dafcaeb06103eb6e86ada1798ef6ce5cc4e87dac 
(origin/trunk)
Checking out Revision dafcaeb06103eb6e86ada1798ef6ce5cc4e87dac (origin/trunk)
FATAL: Could not apply tag jenkins-Cassandra-1954
hudson.plugins.git.GitException: Could not apply tag jenkins-Cassandra-1954
at hudson.plugins.git.GitAPI.tag(GitAPI.java:751)
at hudson.plugins.git.GitSCM$4.invoke(GitSCM.java:1321)
at hudson.plugins.git.GitSCM$4.invoke(GitSCM.java:1269)
at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2196)
at hudson.remoting.UserRequest.perform(UserRequest.java:118)
at hudson.remoting.UserRequest.perform(UserRequest.java:48)
at hudson.remoting.Request$2.run(Request.java:326)
at 
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:679)
Caused by: hudson.plugins.git.GitException: Command "git tag -a -f -m Jenkins 
Build #1954 jenkins-Cassandra-1954" returned status code 128:
stdout: 
stderr: 
*** Please tell me who you are.

Run

  git config --global user.email "y...@example.com"
  git config --global user.name "Your Name"

to set your account's default identity.
Omit --global to set the identity only in this repository.

fatal: empty ident   not allowed

at hudson.plugins.git.GitAPI.launchCommandIn(GitAPI.java:818)
at hudson.plugins.git.GitAPI.launchCommand(GitAPI.java:780)
at hudson.plugins.git.GitAPI.launchCommand(GitAPI.java:790)
at hudson.plugins.git.GitAPI.tag(GitAPI.java:749)
... 12 more


Build failed in Jenkins: Cassandra-quick #1131

2012-08-21 Thread Apache Jenkins Server
See 

--
[...truncated 396 lines...]
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 13.286 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.io.CompactSerializerTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 14.349 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.io.LazilyCompactedRowTest
[junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 27.209 sec
[junit] 
[junit] - Standard Error -
[junit]  WARN 19:00:43,790 setting live ratio to maximum of 64.0 instead of 
90.67
[junit] -  ---
[junit] Testsuite: 
org.apache.cassandra.io.compress.CompressedRandomAccessReaderTest
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 1.481 sec
[junit] 
[junit] - Standard Error -
[junit]  WARN 19:00:56,239 open(null, O_RDONLY) failed, errno (14).
[junit] -  ---
[junit] Testsuite: org.apache.cassandra.io.sstable.DescriptorTest
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.061 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.io.sstable.IndexHelperTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.06 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.io.sstable.LegacySSTableTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 13.79 sec
[junit] 
[junit] Testsuite: 
org.apache.cassandra.io.sstable.SSTableMetadataSerializerTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.138 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.io.sstable.SSTableReaderTest
[junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 20.499 sec
[junit] 
[junit] - Standard Error -
[junit]  WARN 19:01:28,758 setting live ratio to maximum of 64.0 instead of 
85.71428571428571
[junit]  WARN 19:01:31,718 setting live ratio to maximum of 64.0 instead of 
67.63636363636364
[junit] -  ---
[junit] Testsuite: org.apache.cassandra.io.sstable.SSTableSimpleWriterTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 15.458 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.io.sstable.SSTableTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 15.072 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.io.util.BufferedRandomAccessFileTest
[junit] Tests run: 18, Failures: 0, Errors: 0, Time elapsed: 4.594 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.locator.DynamicEndpointSnitchTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.232 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.locator.EC2SnitchTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.933 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.locator.NetworkTopologyStrategyTest
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 1.102 sec
[junit] 
[junit] Testsuite: 
org.apache.cassandra.locator.OldNetworkTopologyStrategyTest
[junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 18.536 sec
[junit] 
[junit] - Standard Output ---
[junit] toStream : [(158873535527910577765226390751398592512,0], 
(0,34028236692093846346337460743176821145]]
[junit] toFetch : 
[(127605887595351923798765477786913079296,148873535527910577765226390751398592512]]
[junit] toStreamExpected : [(158873535527910577765226390751398592512,0], 
(0,34028236692093846346337460743176821145]]
[junit] toFetchExpected : 
[(127605887595351923798765477786913079296,148873535527910577765226390751398592512]]
[junit] -  ---
[junit] Testsuite: 
org.apache.cassandra.locator.ReplicationStrategyEndpointCacheTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 17.302 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.locator.SimpleStrategyTest
[junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 11.837 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.locator.TokenMetadataTest
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.926 sec
[junit] 
[junit] Testsuite: 
org.apache.cassandra.service.AntiEntropyServiceCounterTest
[junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 16.676 sec
[junit] 
[junit] - Standard Error -
[junit]  WARN 19:03:23,299 No host ID found, created 
e70fc540-a7c1-4b7b-88b5-0b0df97c9b9e (Note: This should happen exactly once per 
node).
[junit]  WARN 19:03:23,851 Generated random token 
[Token(bytes[2b9d5f8c17f0f3a2766fa7d71d67ea70])]. Random tokens will result in 
an unbalanced ring; see http:/

Re: Upgrade path for virtual nodes

2012-08-21 Thread Jonathan Ellis
On Mon, Aug 20, 2012 at 4:55 PM, Eric Evans  wrote:
> Shuffling the ranges to create a random distribution from contiguous
> ranges has the potential to move a *lot* of data around (all of it,
> basically).  Doing this in an optimal way would mean never moving a
> range more than once.  Since it is a lot of data, and since presumably
> we're expecting normal operations to continue in the meantime, it
> would seem an optimal shuffle would need to maintain state.  For
> example, one machine could serve as the "shuffle coordinator",
> precalculating and persisting all of the moves, starting new transfers
> as existing ones finish, and tracking the progress, etc.

Fortunately, we have a distributed storage system :)

Seriously though, creating a CF mapping vnode from->to tuples,
throwing in the list of changes to make once, and deleting them out as
they complete, would be a pretty simple way to get what we want.

Personally though I don't think likelyhood of "shuffle coordinator"
failure during the operation is *that* high.  I'd be happy to just
assume it works.  But if you want to get fancy, having it perform its
changes in random or round-robin order (instead of node-at-a-time)
then you could "recover" from failure w/o any state at all, for free
-- (restart shuffle after failure, kill it when it's "sufficiently"
shuffled.

Note that you'd have to have cluster-shuffle fail *twice* before even
the least optimal retrying policy gets worse than node-shuffle, since
node-shuffle will transfer exactly 2x as much data as cluster-shuffle,
on average.

My vote would be for a stateless, round-robin cluster-shuffle.

-- 
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of DataStax, the source for professional Cassandra support
http://www.datastax.com


Build failed in Jenkins: Cassandra-quick #1132

2012-08-21 Thread Apache Jenkins Server
See 

--
Started by an SCM change
Building remotely on ubuntu4 in workspace 

Checkout:Cassandra-quick /  
- hudson.remoting.Channel@7b8d7ccb:ubuntu4
Using strategy: Default
Last Built Revision: Revision dafcaeb06103eb6e86ada1798ef6ce5cc4e87dac 
(origin/trunk)
Fetching changes from 1 remote Git repository
Fetching upstream changes from 
https://git-wip-us.apache.org/repos/asf/cassandra.git
Commencing build of Revision dafcaeb06103eb6e86ada1798ef6ce5cc4e87dac 
(origin/trunk)
Checking out Revision dafcaeb06103eb6e86ada1798ef6ce5cc4e87dac (origin/trunk)
FATAL: Could not apply tag jenkins-Cassandra-quick-1132
hudson.plugins.git.GitException: Could not apply tag 
jenkins-Cassandra-quick-1132
at hudson.plugins.git.GitAPI.tag(GitAPI.java:751)
at hudson.plugins.git.GitSCM$4.invoke(GitSCM.java:1321)
at hudson.plugins.git.GitSCM$4.invoke(GitSCM.java:1269)
at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2196)
at hudson.remoting.UserRequest.perform(UserRequest.java:118)
at hudson.remoting.UserRequest.perform(UserRequest.java:48)
at hudson.remoting.Request$2.run(Request.java:326)
at 
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:679)
Caused by: hudson.plugins.git.GitException: Command "git tag -a -f -m Jenkins 
Build #1132 jenkins-Cassandra-quick-1132" returned status code 128:
stdout: 
stderr: 
*** Please tell me who you are.

Run

  git config --global user.email "y...@example.com"
  git config --global user.name "Your Name"

to set your account's default identity.
Omit --global to set the identity only in this repository.

fatal: empty ident   not allowed

at hudson.plugins.git.GitAPI.launchCommandIn(GitAPI.java:818)
at hudson.plugins.git.GitAPI.launchCommand(GitAPI.java:780)
at hudson.plugins.git.GitAPI.launchCommand(GitAPI.java:790)
at hudson.plugins.git.GitAPI.tag(GitAPI.java:749)
... 12 more


Build failed in Jenkins: Cassandra-quick #1133

2012-08-21 Thread Apache Jenkins Server
See 

Changes:

[xedin] add Murmur3Partitioner and make it default for new installations

--
[...truncated 390 lines...]
[junit] 
[junit] Testsuite: org.apache.cassandra.io.CompactSerializerTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 7.442 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.io.LazilyCompactedRowTest
[junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 8.302 sec
[junit] 
[junit] - Standard Error -
[junit]  WARN 20:54:10,347 setting live ratio to maximum of 64.0 instead of 
90.67
[junit] -  ---
[junit] Testsuite: 
org.apache.cassandra.io.compress.CompressedRandomAccessReaderTest
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 1.078 sec
[junit] 
[junit] - Standard Error -
[junit]  WARN 20:54:14,279 open(null, O_RDONLY) failed, errno (14).
[junit] -  ---
[junit] Testsuite: org.apache.cassandra.io.sstable.DescriptorTest
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.06 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.io.sstable.IndexHelperTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.064 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.io.sstable.LegacySSTableTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 6.828 sec
[junit] 
[junit] Testsuite: 
org.apache.cassandra.io.sstable.SSTableMetadataSerializerTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.136 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.io.sstable.SSTableReaderTest
[junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 8.316 sec
[junit] 
[junit] - Standard Error -
[junit]  WARN 20:54:31,680 setting live ratio to maximum of 64.0 instead of 
85.62962962962963
[junit]  WARN 20:54:32,281 setting live ratio to maximum of 64.0 instead of 
67.60059612518629
[junit] -  ---
[junit] Testsuite: org.apache.cassandra.io.sstable.SSTableSimpleWriterTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 6.145 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.io.sstable.SSTableTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 6.23 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.io.util.BufferedRandomAccessFileTest
[junit] Tests run: 18, Failures: 0, Errors: 0, Time elapsed: 1.215 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.locator.DynamicEndpointSnitchTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.266 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.locator.EC2SnitchTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.922 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.locator.NetworkTopologyStrategyTest
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 1.155 sec
[junit] 
[junit] Testsuite: 
org.apache.cassandra.locator.OldNetworkTopologyStrategyTest
[junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 6.14 sec
[junit] 
[junit] - Standard Output ---
[junit] toStream : [(158873535527910577765226390751398592512,0], 
(0,34028236692093846346337460743176821145]]
[junit] toFetch : 
[(127605887595351923798765477786913079296,148873535527910577765226390751398592512]]
[junit] toStreamExpected : [(158873535527910577765226390751398592512,0], 
(0,34028236692093846346337460743176821145]]
[junit] toFetchExpected : 
[(127605887595351923798765477786913079296,148873535527910577765226390751398592512]]
[junit] -  ---
[junit] Testsuite: 
org.apache.cassandra.locator.ReplicationStrategyEndpointCacheTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 6.443 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.locator.SimpleStrategyTest
[junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 6.285 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.locator.TokenMetadataTest
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.927 sec
[junit] 
[junit] Testsuite: 
org.apache.cassandra.service.AntiEntropyServiceCounterTest
[junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 7.326 sec
[junit] 
[junit] - Standard Error -
[junit]  WARN 20:55:25,199 No host ID found, created 
580774e7-1204-4619-86bc-50371b318588 (Note: This should happen exactly once per 
node).
[junit]  WARN 20:55:25,425 Generated random token 
[Token(bytes[cf338baccd783c4ee63d1f787cefdf1d])]. Random tokens will result in 
an unbalanced ring; see h

Build failed in Jenkins: Cassandra-quick #1134

2012-08-21 Thread Apache Jenkins Server
See 

--
[...truncated 387 lines...]
[junit] 
[junit] Testsuite: org.apache.cassandra.io.BloomFilterTrackerTest
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 5.371 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.io.CompactSerializerTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 5.739 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.io.LazilyCompactedRowTest
[junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 6.344 sec
[junit] 
[junit] Testsuite: 
org.apache.cassandra.io.compress.CompressedRandomAccessReaderTest
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.755 sec
[junit] 
[junit] - Standard Error -
[junit]  WARN 21:22:29,648 open(null, O_RDONLY) failed, errno (14).
[junit] -  ---
[junit] Testsuite: org.apache.cassandra.io.sstable.DescriptorTest
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.046 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.io.sstable.IndexHelperTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.045 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.io.sstable.LegacySSTableTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 5.428 sec
[junit] 
[junit] Testsuite: 
org.apache.cassandra.io.sstable.SSTableMetadataSerializerTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.098 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.io.sstable.SSTableReaderTest
[junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 5.351 sec
[junit] 
[junit] - Standard Error -
[junit]  WARN 21:22:42,972 setting live ratio to maximum of 64.0 instead of 
87.69
[junit]  WARN 21:22:43,071 setting live ratio to maximum of 64.0 instead of 
65.71636363636364
[junit] -  ---
[junit] Testsuite: org.apache.cassandra.io.sstable.SSTableSimpleWriterTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 4.933 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.io.sstable.SSTableTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 4.921 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.io.util.BufferedRandomAccessFileTest
[junit] Tests run: 18, Failures: 0, Errors: 0, Time elapsed: 0.823 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.locator.DynamicEndpointSnitchTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.977 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.locator.EC2SnitchTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.691 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.locator.NetworkTopologyStrategyTest
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.886 sec
[junit] 
[junit] Testsuite: 
org.apache.cassandra.locator.OldNetworkTopologyStrategyTest
[junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 5.196 sec
[junit] 
[junit] - Standard Output ---
[junit] toStream : [(158873535527910577765226390751398592512,0], 
(0,34028236692093846346337460743176821145]]
[junit] toFetch : 
[(127605887595351923798765477786913079296,148873535527910577765226390751398592512]]
[junit] toStreamExpected : [(158873535527910577765226390751398592512,0], 
(0,34028236692093846346337460743176821145]]
[junit] toFetchExpected : 
[(127605887595351923798765477786913079296,148873535527910577765226390751398592512]]
[junit] -  ---
[junit] Testsuite: 
org.apache.cassandra.locator.ReplicationStrategyEndpointCacheTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 5.203 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.locator.SimpleStrategyTest
[junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 5.115 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.locator.TokenMetadataTest
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.681 sec
[junit] 
[junit] Testsuite: 
org.apache.cassandra.service.AntiEntropyServiceCounterTest
[junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 6.726 sec
[junit] 
[junit] - Standard Error -
[junit]  WARN 21:23:27,316 No host ID found, created 
f5df888e-3bf1-4eba-8222-dafabbf26b82 (Note: This should happen exactly once per 
node).
[junit]  WARN 21:23:27,516 Generated random token 
[Token(bytes[39ef767ce5099e249cb6ea45da59a742])]. Random tokens will result in 
an unbalanced ring; see http://wiki.apache.org/cassandra/Operations
[junit] -  ---
[junit] Testsuite: 
org.apache.cassandra.s

Build failed in Jenkins: Cassandra-Coverage #287

2012-08-21 Thread Apache Jenkins Server
See 

--
Started by an SCM change
Building remotely on ubuntu4 in workspace 

Checkout:Cassandra-Coverage / 
 - 
hudson.remoting.Channel@699a1ac8:ubuntu4
Using strategy: Default
Last Built Revision: Revision 413a177dfca61123813ec3e77592210d3c33fa74 
(origin/trunk)
Fetching changes from 1 remote Git repository
Fetching upstream changes from 
https://git-wip-us.apache.org/repos/asf/cassandra.git
Commencing build of Revision f41684fdef7a9e8628cb40f66c13a88fcf7502e3 
(origin/trunk)
Checking out Revision f41684fdef7a9e8628cb40f66c13a88fcf7502e3 (origin/trunk)
FATAL: Could not apply tag jenkins-Cassandra-Coverage-287
hudson.plugins.git.GitException: Could not apply tag 
jenkins-Cassandra-Coverage-287
at hudson.plugins.git.GitAPI.tag(GitAPI.java:751)
at hudson.plugins.git.GitSCM$4.invoke(GitSCM.java:1321)
at hudson.plugins.git.GitSCM$4.invoke(GitSCM.java:1269)
at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2196)
at hudson.remoting.UserRequest.perform(UserRequest.java:118)
at hudson.remoting.UserRequest.perform(UserRequest.java:48)
at hudson.remoting.Request$2.run(Request.java:326)
at 
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:679)
Caused by: hudson.plugins.git.GitException: Command "git tag -a -f -m Jenkins 
Build #287 jenkins-Cassandra-Coverage-287" returned status code 128:
stdout: 
stderr: 
*** Please tell me who you are.

Run

  git config --global user.email "y...@example.com"
  git config --global user.name "Your Name"

to set your account's default identity.
Omit --global to set the identity only in this repository.

fatal: empty ident   not allowed

at hudson.plugins.git.GitAPI.launchCommandIn(GitAPI.java:818)
at hudson.plugins.git.GitAPI.launchCommand(GitAPI.java:780)
at hudson.plugins.git.GitAPI.launchCommand(GitAPI.java:790)
at hudson.plugins.git.GitAPI.tag(GitAPI.java:749)
... 12 more


Build failed in Jenkins: Cassandra-quick #1135

2012-08-21 Thread Apache Jenkins Server
See 

--
Started by an SCM change
Started by an SCM change
Building remotely on ubuntu2 in workspace 

Checkout:Cassandra-quick /  
- hudson.remoting.Channel@1b0288fe:ubuntu2
Using strategy: Default
Last Built Revision: Revision f41684fdef7a9e8628cb40f66c13a88fcf7502e3 
(origin/trunk)
Fetching changes from 1 remote Git repository
Fetching upstream changes from 
https://git-wip-us.apache.org/repos/asf/cassandra.git
ERROR: Problem fetching from origin / origin - could be unavailable. Continuing 
anyway
hudson.plugins.git.GitException: Command "git fetch -t 
https://git-wip-us.apache.org/repos/asf/cassandra.git 
+refs/heads/*:refs/remotes/origin/*" returned status code 128:
stdout: 
stderr: error: gnutls_handshake() failed: Error in the push function. 
(curl_result = 35, http_code = 0, sha1 = 
58e4efd6056acfdf327327d1be14f49865b46b8b)
error: Unable to find 58e4efd6056acfdf327327d1be14f49865b46b8b under 
https://git-wip-us.apache.org/repos/asf/cassandra.git
Cannot obtain needed tree 58e4efd6056acfdf327327d1be14f49865b46b8b
while processing commit f41684fdef7a9e8628cb40f66c13a88fcf7502e3.
error: Fetch failed.

at hudson.plugins.git.GitAPI.launchCommandIn(GitAPI.java:818)
at hudson.plugins.git.GitAPI.launchCommand(GitAPI.java:780)
at hudson.plugins.git.GitAPI.fetch(GitAPI.java:196)
at hudson.plugins.git.GitAPI.fetch(GitAPI.java:1026)
at hudson.plugins.git.GitSCM.fetchFrom(GitSCM.java:812)
at hudson.plugins.git.GitSCM.access$100(GitSCM.java:90)
at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:1096)
at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:1064)
at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2196)
at hudson.remoting.UserRequest.perform(UserRequest.java:118)
at hudson.remoting.UserRequest.perform(UserRequest.java:48)
at hudson.remoting.Request$2.run(Request.java:326)
at 
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:679)
ERROR: Could not fetch from any repository
FATAL: Could not fetch from any repository
hudson.plugins.git.GitException: Could not fetch from any repository
at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:1103)
at hudson.plugins.git.GitSCM$2.invoke(GitSCM.java:1064)
at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2196)
at hudson.remoting.UserRequest.perform(UserRequest.java:118)
at hudson.remoting.UserRequest.perform(UserRequest.java:48)
at hudson.remoting.Request$2.run(Request.java:326)
at 
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:679)


Build failed in Jenkins: Cassandra-quick #1136

2012-08-21 Thread Apache Jenkins Server
See 

--
Started by an SCM change
Building remotely on ubuntu4 in workspace 

Checkout:Cassandra-quick /  
- hudson.remoting.Channel@699a1ac8:ubuntu4
Using strategy: Default
Last Built Revision: Revision f41684fdef7a9e8628cb40f66c13a88fcf7502e3 
(origin/trunk)
Fetching changes from 1 remote Git repository
Fetching upstream changes from 
https://git-wip-us.apache.org/repos/asf/cassandra.git
Commencing build of Revision 0f52874ab5fa857e8f8ead1a52fbb5f0ff27027f 
(origin/trunk)
Checking out Revision 0f52874ab5fa857e8f8ead1a52fbb5f0ff27027f (origin/trunk)
FATAL: Could not apply tag jenkins-Cassandra-quick-1136
hudson.plugins.git.GitException: Could not apply tag 
jenkins-Cassandra-quick-1136
at hudson.plugins.git.GitAPI.tag(GitAPI.java:751)
at hudson.plugins.git.GitSCM$4.invoke(GitSCM.java:1321)
at hudson.plugins.git.GitSCM$4.invoke(GitSCM.java:1269)
at hudson.FilePath$FileCallableWrapper.call(FilePath.java:2196)
at hudson.remoting.UserRequest.perform(UserRequest.java:118)
at hudson.remoting.UserRequest.perform(UserRequest.java:48)
at hudson.remoting.Request$2.run(Request.java:326)
at 
hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:679)
Caused by: hudson.plugins.git.GitException: Command "git tag -a -f -m Jenkins 
Build #1136 jenkins-Cassandra-quick-1136" returned status code 128:
stdout: 
stderr: 
*** Please tell me who you are.

Run

  git config --global user.email "y...@example.com"
  git config --global user.name "Your Name"

to set your account's default identity.
Omit --global to set the identity only in this repository.

fatal: empty ident   not allowed

at hudson.plugins.git.GitAPI.launchCommandIn(GitAPI.java:818)
at hudson.plugins.git.GitAPI.launchCommand(GitAPI.java:780)
at hudson.plugins.git.GitAPI.launchCommand(GitAPI.java:790)
at hudson.plugins.git.GitAPI.tag(GitAPI.java:749)
... 12 more


Build failed in Jenkins: Cassandra-quick #1137

2012-08-21 Thread Apache Jenkins Server
See 

Changes:

[dbrosius] remove dead assignment

--
[...truncated 393 lines...]
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.222 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.io.BloomFilterTrackerTest
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 5.286 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.io.CompactSerializerTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 6.159 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.io.LazilyCompactedRowTest
[junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 6.324 sec
[junit] 
[junit] Testsuite: 
org.apache.cassandra.io.compress.CompressedRandomAccessReaderTest
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.77 sec
[junit] 
[junit] - Standard Error -
[junit]  WARN 04:20:00,598 open(null, O_RDONLY) failed, errno (14).
[junit] -  ---
[junit] Testsuite: org.apache.cassandra.io.sstable.DescriptorTest
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.045 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.io.sstable.IndexHelperTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.043 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.io.sstable.LegacySSTableTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 5.768 sec
[junit] 
[junit] Testsuite: 
org.apache.cassandra.io.sstable.SSTableMetadataSerializerTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.099 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.io.sstable.SSTableReaderTest
[junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 5.887 sec
[junit] 
[junit] - Standard Error -
[junit]  WARN 04:20:14,879 setting live ratio to maximum of 64.0 instead of 
88.69
[junit]  WARN 04:20:15,081 setting live ratio to maximum of 64.0 instead of 
67.44497607655502
[junit] -  ---
[junit] Testsuite: org.apache.cassandra.io.sstable.SSTableSimpleWriterTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 5.324 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.io.sstable.SSTableTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 5.56 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.io.util.BufferedRandomAccessFileTest
[junit] Tests run: 18, Failures: 0, Errors: 0, Time elapsed: 0.854 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.locator.DynamicEndpointSnitchTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 2.035 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.locator.EC2SnitchTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.68 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.locator.NetworkTopologyStrategyTest
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.884 sec
[junit] 
[junit] Testsuite: 
org.apache.cassandra.locator.OldNetworkTopologyStrategyTest
[junit] Tests run: 8, Failures: 0, Errors: 0, Time elapsed: 5.744 sec
[junit] 
[junit] - Standard Output ---
[junit] toStream : [(158873535527910577765226390751398592512,0], 
(0,34028236692093846346337460743176821145]]
[junit] toFetch : 
[(127605887595351923798765477786913079296,148873535527910577765226390751398592512]]
[junit] toStreamExpected : [(158873535527910577765226390751398592512,0], 
(0,34028236692093846346337460743176821145]]
[junit] toFetchExpected : 
[(127605887595351923798765477786913079296,148873535527910577765226390751398592512]]
[junit] -  ---
[junit] Testsuite: 
org.apache.cassandra.locator.ReplicationStrategyEndpointCacheTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 5.178 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.locator.SimpleStrategyTest
[junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 5.382 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.locator.TokenMetadataTest
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.685 sec
[junit] 
[junit] Testsuite: 
org.apache.cassandra.service.AntiEntropyServiceCounterTest
[junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 6.3 sec
[junit] 
[junit] - Standard Error -
[junit]  WARN 04:21:02,010 No host ID found, created 
7878a900-4148-42d4-a335-a6d7e16c12d8 (Note: This should happen exactly once per 
node).
[junit]  WARN 04:21:02,282 Generated random token 
[Token(bytes[1d26276bb00a5609b65a16f8507f6fc3])]. Random tokens will result in 
an unbalanced ring; see http://wiki.apache.org/cassa

Re: Problem while configuring key and row cache?

2012-08-21 Thread Amit Handa
Hi,

Thanks Jonathan for your reply.
I modified key_cache_size_in_mb and row_cache_size_in_mb values inside
cassandra.yaml. but not able to see it's effect using command " *./nodetool
-h 107.108.189.212 cfstats*". Can u let me know how to verify that the
setting for key_cache_size and row_chache_size has taken place.

With Regards,
Amit


On Tue, Aug 21, 2012 at 8:19 PM, Jonathan Ellis  wrote:

> setcachecapacity is obsolete in 1.1+.  Looks like we missed removing
> it from nodetool.  See
> http://www.datastax.com/dev/blog/caching-in-cassandra-1-1 for
> background.
>
> (Moving to users@.)
>
> On Tue, Aug 21, 2012 at 8:19 AM, Amit Handa  wrote:
> > I started exploring apache cassandra 1.1.3. I am facing problem with how
> to
> > improve performance of cassandra using caching configurations.
> > I tried setting following configurations:
> >
> > ./nodetool -h 107.108.189.204 setcachecapacity DemoUser Users 25 0
> > ./nodetool -h 107.108.189.204 setcachecapacity DemoUser Users 0 25
> > ./nodetool -h 107.108.189.204 setcachecapacity DemoUser Users 25
> 25
> > ./nodetool -h 107.108.189.204 setcachecapacity DemoUser Users 444 444
> >
> >
> > But when i am checking that this particula configuration are really been
> > configured using command:
> > ./nodetool -h 107.108.189.212 cfstats
> >
> > it's showing following results for keySpace DemoUser and column Family
> > Users:
> > *Keyspace: DemoUser
> > Read Count: 21914
> > Read Latency: 0.08268495026010769 ms.
> > Write Count: 87656
> > Write Latency: 0.06009481381765082 ms.
> > Pending Tasks: 0
> > Column Family: Users
> > SSTable count: 1
> > Space used (live): 1573335
> > Space used (total): 1573335
> > Number of Keys (estimate): 22016
> > Memtable Columns Count: 0
> > Memtable Data Size: 0
> > Memtable Switch Count: 1
> > Read Count: 21914
> > Read Latency: 0.083 ms.
> > Write Count: 87656
> > Write Latency: 0.060 ms.
> > Pending Tasks: 0
> > Bloom Filter False Postives: 0
> > Bloom Filter False Ratio: 0.0
> > Bloom Filter Space Used: 41104
> > Compacted row minimum size: 150
> > Compacted row maximum size: 179
> > Compacted row mean size: 179 *
> >
> > I am unable to see the effect of above setcachecapacity command. Let me
> > know how i can configure the cache capacity, and check it's effect.
> >
> > With Regards,
> > Amit
>
>
>
> --
> Jonathan Ellis
> Project Chair, Apache Cassandra
> co-founder of DataStax, the source for professional Cassandra support
> http://www.datastax.com
>