Re: Distributed counters are in trunk

2010-12-21 Thread Jonathan Ellis
Sylvain plans to integrate the good parts of 1546 in January.

On Tue, Dec 21, 2010 at 8:39 PM, Zhu Han  wrote:

> Thank you all for this work.
>
> Is there any plan for Cassandra-1546[1]?  Will it be merged as an
> alternative? Or the current patch embraces 1546?
>
> [1] https://issues.apache.org/jira/browse/CASSANDRA-1546
>
> best regards,
> hanzhu
>
>
> On Wed, Dec 22, 2010 at 10:12 AM, Jonathan Ellis 
> wrote:
>
> > Thanks to Kelvin, Johan, Ryan, Sylvain, Chris, and everyone else for
> their
> > hard work on this!
> >
> > For mere mortals: http://wiki.apache.org/cassandra/Counters.
> >
> > --
> > Jonathan Ellis
> > Project Chair, Apache Cassandra
> > co-founder of Riptano, the source for professional Cassandra support
> > http://riptano.com
> >
>



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


Re: Distributed counters are in trunk

2010-12-21 Thread Ben Standefer
Huzzah!!!  Great work everybody!

-Ben Standefer


On Tue, Dec 21, 2010 at 6:12 PM, Jonathan Ellis  wrote:
> Thanks to Kelvin, Johan, Ryan, Sylvain, Chris, and everyone else for their
> hard work on this!
>
> For mere mortals: http://wiki.apache.org/cassandra/Counters.
>
> --
> Jonathan Ellis
> Project Chair, Apache Cassandra
> co-founder of Riptano, the source for professional Cassandra support
> http://riptano.com
>


Re: Distributed counters are in trunk

2010-12-21 Thread Zhu Han
Thank you all for this work.

Is there any plan for Cassandra-1546[1]?  Will it be merged as an
alternative? Or the current patch embraces 1546?

[1] https://issues.apache.org/jira/browse/CASSANDRA-1546

best regards,
hanzhu


On Wed, Dec 22, 2010 at 10:12 AM, Jonathan Ellis  wrote:

> Thanks to Kelvin, Johan, Ryan, Sylvain, Chris, and everyone else for their
> hard work on this!
>
> For mere mortals: http://wiki.apache.org/cassandra/Counters.
>
> --
> Jonathan Ellis
> Project Chair, Apache Cassandra
> co-founder of Riptano, the source for professional Cassandra support
> http://riptano.com
>


Distributed counters are in trunk

2010-12-21 Thread Jonathan Ellis
Thanks to Kelvin, Johan, Ryan, Sylvain, Chris, and everyone else for their
hard work on this!

For mere mortals: http://wiki.apache.org/cassandra/Counters.

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


Re: Getting artifacts into maven central (INFRA-3318)

2010-12-21 Thread Jonathan Ellis
Done!

On Tue, Dec 21, 2010 at 5:39 PM, Stephen Connolly wrote:

> I have created
>
> https://issues.apache.org/jira/browse/INFRA-3318
>
> Can somebody on the Cassandra PMC comment on the issue and say that it's
> fine for me to be driving the process
>
> Thanks,
>
> -Stephen
> Apache Maven PMC
>



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


[VOTE] 0.7.0 rc3

2010-12-21 Thread Eric Evans

We've had lots of changes[1] since RC2, too many to move to release
without wider testing.  I propose the following artifacts as 0.7.0 RC3.

SVN:
https://svn.apache.org/repos/asf/cassandra/branches/cassandra-...@r1051698
0.7.0-rc3 artifacts: http://people.apache.org/~eevans

The vote will be open for 72 hours.

[1]: http://goo.gl/VIhDZ (CHANGES.txt)
[2]: http://goo.gl/MrxXI (NEWS.txt)
[3]: http://goo.gl/HLKlW

-- 
Eric Evans
eev...@rackspace.com



Re: Getting artifacts into maven central (INFRA-3318)

2010-12-21 Thread Stephen Connolly
On 21 December 2010 23:42, Brandon Williams  wrote:

> On Tue, Dec 21, 2010 at 5:39 PM, Stephen Connolly  >wrote:
>
> > I have created
> >
> > https://issues.apache.org/jira/browse/INFRA-3318
> >
> > Can somebody on the Cassandra PMC comment on the issue and say that it's
> > fine for me to be driving the process
> >
>
> I gave it a +1
>
> -Brandon
>


thanks


Re: Getting artifacts into maven central (INFRA-3318)

2010-12-21 Thread Brandon Williams
On Tue, Dec 21, 2010 at 5:39 PM, Stephen Connolly wrote:

> I have created
>
> https://issues.apache.org/jira/browse/INFRA-3318
>
> Can somebody on the Cassandra PMC comment on the issue and say that it's
> fine for me to be driving the process
>

I gave it a +1

-Brandon


Getting artifacts into maven central (INFRA-3318)

2010-12-21 Thread Stephen Connolly
I have created

https://issues.apache.org/jira/browse/INFRA-3318

Can somebody on the Cassandra PMC comment on the issue and say that it's
fine for me to be driving the process

Thanks,

-Stephen
Apache Maven PMC


Re: Handy script to check the contents of jar files to see if the classes are the same despite being different compilers

2010-12-21 Thread Stephen Connolly
Can be helpful with CASSANDRA-1888

On 21 December 2010 22:41, Stephen Connolly  wrote:

> #!/bin/bash
>
> if [ $# != 2 ] ; then
>   echo "Syntax: $0 name1.jar name2.jar"
>   exit
> fi
>
> if diff $1 $2 ; then
>   echo Files are identical
>   exit 0
> fi
>
> work=$(mktemp -d)
>
> mkdir -p "$work/a"
> mkdir -p "$work/b"
>
> cwd="$(pwd)"
>
> cd "$work/a"
> unzip "$cwd/$1" | sort > "$work/a.list"
> cd "$work/b"
> unzip "$cwd/$2" | sort > "$work/b.list"
> cd "$work"
>
> if ! diff a.list b.list > diff.list ; then echo "Contents"; echo =; cat
> diff.list; echo ""; echo "Contents are different" > summary; fi
>
> for class in $(find a -name \*.class | sed -e
> "s:^\\a/::;s:\\.class$::;s:/:.:g"); do javap -c -classpath a $class >
> a.javap; javap -c -classpath b $class > b.javap; if ! diff a.javap b.javap >
> diff.javap ; then echo $class; echo =; cat diff.javap; echo ""; echo
> $class >> summary; fi; done
>
> if [ -f summary ]; then
> echo "Summary"
> echo "==="
> cat summary
> else
>   echo "File contents are identical"
> fi
>
> cd "$cwd"
> rm -rf "$work"
>
>


Hudson build is back to normal : Cassandra-0.7 #106

2010-12-21 Thread Apache Hudson Server
See 




Handy script to check the contents of jar files to see if the classes are the same despite being different compilers

2010-12-21 Thread Stephen Connolly
#!/bin/bash

if [ $# != 2 ] ; then
  echo "Syntax: $0 name1.jar name2.jar"
  exit
fi

if diff $1 $2 ; then
  echo Files are identical
  exit 0
fi

work=$(mktemp -d)

mkdir -p "$work/a"
mkdir -p "$work/b"

cwd="$(pwd)"

cd "$work/a"
unzip "$cwd/$1" | sort > "$work/a.list"
cd "$work/b"
unzip "$cwd/$2" | sort > "$work/b.list"
cd "$work"

if ! diff a.list b.list > diff.list ; then echo "Contents"; echo =; cat
diff.list; echo ""; echo "Contents are different" > summary; fi

for class in $(find a -name \*.class | sed -e
"s:^\\a/::;s:\\.class$::;s:/:.:g"); do javap -c -classpath a $class >
a.javap; javap -c -classpath b $class > b.javap; if ! diff a.javap b.javap >
diff.javap ; then echo $class; echo =; cat diff.javap; echo ""; echo
$class >> summary; fi; done

if [ -f summary ]; then
echo "Summary"
echo "==="
cat summary
else
  echo "File contents are identical"
fi

cd "$cwd"
rm -rf "$work"


Build failed in Hudson: Cassandra-0.7 #105

2010-12-21 Thread Apache Hudson Server
See 

Changes:

[jbellis] merge from 0.6

--
[...truncated 1396 lines...]
[junit] Testsuite: org.apache.cassandra.db.MultitableTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.005 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.db.NameSortTest
[junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 2.562 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.db.OneCompactionTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 1.402 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.db.ReadMessageTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.668 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.db.RecoveryManager2Test
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 4.203 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.db.RecoveryManager3Test
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.193 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.db.RecoveryManagerTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 1.03 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.db.RecoveryManagerTruncateTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 1.026 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.db.RemoveColumnFamilyTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.579 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.db.RemoveColumnFamilyWithFlush1Test
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.807 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.db.RemoveColumnFamilyWithFlush2Test
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.76 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.db.RemoveColumnTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.83 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.db.RemoveSubColumnTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.927 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.db.RemoveSuperColumnTest
[junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 1.865 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.db.RowIterationTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.635 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.db.RowTest
[junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 2.391 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.db.SuperColumnTest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.126 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.db.TableTest
[junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 3.436 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.db.TimeSortTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 5.112 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.db.commitlog.CommitLogHeaderTest
[junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.381 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.db.marshal.IntegerTypeTest
[junit] Tests run: 10, Failures: 0, Errors: 0, Time elapsed: 0.183 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.db.marshal.TimeUUIDTypeTest
[junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 0.067 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.db.marshal.TypeCompareTest
[junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.138 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.dht.BootStrapperTest
[junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 1.831 sec
[junit] 
[junit] - Standard Error -
[junit]  WARN 22:01:38,160 Generated random token 
Token(bytes[b9399edf464c6ec825b84502e6834453]). Random tokens will result in an 
unbalanced ring; see http://wiki.apache.org/cassandra/Operations
[junit] -  ---
[junit] Testsuite: org.apache.cassandra.dht.ByteOrderedPartitionerTest
[junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 1.016 sec
[junit] 
[junit] Testsuite: 
org.apache.cassandra.dht.CollatingOrderPreservingPartitionerTest
[junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 1.238 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.dht.OrderPreservingPartitionerTest
[junit] Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 1.114 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.dht.RandomPartitionerTest
[junit] Tests run: 5, Failures: 0, Errors: 0, Time elapsed: 0.649 sec
[junit] 
[junit] Testsuite: org.apache.cassandra.dht.RangeTest
[junit] Tests run: 12, Failures: 0, Errors: 0, Time elapsed: 0.382 sec
[jun

Build failed in Hudson: Cassandra-0.7 #104

2010-12-21 Thread Apache Hudson Server
See 

Changes:

[eevans] generate artifacts w/o RAT run

Patch by eevans; reviewed by Stu Hood for CASSANDRA-1870

--
[...truncated 1120 lines...]
  [javadoc] Loading source file 

  [javadoc] Loading source file 

  [javadoc] Loading source file 

  [javadoc] Loading source file 

  [javadoc] Loading source file 

  [javadoc] Loading source file 

  [javadoc] Loading source file 

  [javadoc] Loading source file 

  [javadoc] Loading source file 

  [javadoc] Loading source file 

  [javadoc] Loading source file 

  [javadoc] Loading source file 

  [javadoc] Loading source file 

  [javadoc] Loading source file 

  [javadoc] Loading source file 

  [javadoc] Loading source file 

  [javadoc] Loading source file 

  [javadoc] Loading source file 

  [javadoc] Loading source file 

  [javadoc] Loading source file 

  [javadoc] Loading source file 

  [javadoc] Loading source file 

  [javadoc] Loading source file 

  [javadoc] Loading source file 

  [javadoc] Loading source file 

  [javadoc] Loading source file 

  [javadoc] Loading source file 

  [javadoc] Loading source file 

  [javadoc] Loading source file 

  [javadoc] Loading source file