Author: jbellis
Date: Mon Jun 1 15:25:45 2009
New Revision: 780679
URL: http://svn.apache.org/viewvc?rev=780679&view=rev
Log:
add apache license summary to bash and python scripts. patch by johano;
reviewed by jbellis for CASSANDRA-206
Modified:
incubator/cassandra/branches/cassandra-0.3/bin/cassandra
incubator/cassandra/branches/cassandra-0.3/bin/cassandra-cli
incubator/cassandra/branches/cassandra-0.3/bin/cassandra.in.sh
incubator/cassandra/branches/cassandra-0.3/bin/stop-server
incubator/cassandra/branches/cassandra-0.3/conf/log4j.properties
incubator/cassandra/branches/cassandra-0.3/interface/cassandra.thrift
incubator/cassandra/branches/cassandra-0.3/test/cassandra.in.sh
incubator/cassandra/branches/cassandra-0.3/test/conf/log4j.properties
incubator/cassandra/branches/cassandra-0.3/test/system/__init__.py
incubator/cassandra/branches/cassandra-0.3/test/system/stress.py
incubator/cassandra/branches/cassandra-0.3/test/system/test_server.py
Modified: incubator/cassandra/branches/cassandra-0.3/bin/cassandra
URL:
http://svn.apache.org/viewvc/incubator/cassandra/branches/cassandra-0.3/bin/cassandra?rev=780679&r1=780678&r2=780679&view=diff
==============================================================================
--- incubator/cassandra/branches/cassandra-0.3/bin/cassandra (original)
+++ incubator/cassandra/branches/cassandra-0.3/bin/cassandra Mon Jun 1
15:25:45 2009
@@ -1,11 +1,4 @@
#!/bin/sh
-
-
-# OPTIONS:
-# -f: start in foreground
-# -p <filename>: log the pid to a file (useful to kill it later)
-
-
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
@@ -13,9 +6,9 @@
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License. You may obtain a copy of the License at
-#
+#
# http://www.apache.org/licenses/LICENSE-2.0
-#
+#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -23,6 +16,11 @@
# limitations under the License.
+# OPTIONS:
+# -f: start in foreground
+# -p <filename>: log the pid to a file (useful to kill it later)
+
+
if [ "x$CASSANDRA_INCLUDE" = "x" ]; then
for include in /usr/share/cassandra/cassandra.in.sh \
/usr/local/share/cassandra/cassandra.in.sh \
Modified: incubator/cassandra/branches/cassandra-0.3/bin/cassandra-cli
URL:
http://svn.apache.org/viewvc/incubator/cassandra/branches/cassandra-0.3/bin/cassandra-cli?rev=780679&r1=780678&r2=780679&view=diff
==============================================================================
--- incubator/cassandra/branches/cassandra-0.3/bin/cassandra-cli (original)
+++ incubator/cassandra/branches/cassandra-0.3/bin/cassandra-cli Mon Jun 1
15:25:45 2009
@@ -1,5 +1,22 @@
#!/bin/sh
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+
classpath()
{
cassandra_home=`dirname $0`/..
Modified: incubator/cassandra/branches/cassandra-0.3/bin/cassandra.in.sh
URL:
http://svn.apache.org/viewvc/incubator/cassandra/branches/cassandra-0.3/bin/cassandra.in.sh?rev=780679&r1=780678&r2=780679&view=diff
==============================================================================
--- incubator/cassandra/branches/cassandra-0.3/bin/cassandra.in.sh (original)
+++ incubator/cassandra/branches/cassandra-0.3/bin/cassandra.in.sh Mon Jun 1
15:25:45 2009
@@ -1,3 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
cassandra_home=`dirname $0`/..
Modified: incubator/cassandra/branches/cassandra-0.3/bin/stop-server
URL:
http://svn.apache.org/viewvc/incubator/cassandra/branches/cassandra-0.3/bin/stop-server?rev=780679&r1=780678&r2=780679&view=diff
==============================================================================
--- incubator/cassandra/branches/cassandra-0.3/bin/stop-server (original)
+++ incubator/cassandra/branches/cassandra-0.3/bin/stop-server Mon Jun 1
15:25:45 2009
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+
echo "please read the stop-server script before use"
# if you are using the cassandra start script with -p, this
Modified: incubator/cassandra/branches/cassandra-0.3/conf/log4j.properties
URL:
http://svn.apache.org/viewvc/incubator/cassandra/branches/cassandra-0.3/conf/log4j.properties?rev=780679&r1=780678&r2=780679&view=diff
==============================================================================
--- incubator/cassandra/branches/cassandra-0.3/conf/log4j.properties (original)
+++ incubator/cassandra/branches/cassandra-0.3/conf/log4j.properties Mon Jun 1
15:25:45 2009
@@ -1,3 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
# for production, you should probably set the root to INFO
# and the pattern to %c instead of %l. (%l is slower.)
Modified: incubator/cassandra/branches/cassandra-0.3/interface/cassandra.thrift
URL:
http://svn.apache.org/viewvc/incubator/cassandra/branches/cassandra-0.3/interface/cassandra.thrift?rev=780679&r1=780678&r2=780679&view=diff
==============================================================================
--- incubator/cassandra/branches/cassandra-0.3/interface/cassandra.thrift
(original)
+++ incubator/cassandra/branches/cassandra-0.3/interface/cassandra.thrift Mon
Jun 1 15:25:45 2009
@@ -1,4 +1,19 @@
#!/usr/local/bin/thrift --java --php --py
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
#
# Interface definition for Cassandra Service
Modified: incubator/cassandra/branches/cassandra-0.3/test/cassandra.in.sh
URL:
http://svn.apache.org/viewvc/incubator/cassandra/branches/cassandra-0.3/test/cassandra.in.sh?rev=780679&r1=780678&r2=780679&view=diff
==============================================================================
--- incubator/cassandra/branches/cassandra-0.3/test/cassandra.in.sh (original)
+++ incubator/cassandra/branches/cassandra-0.3/test/cassandra.in.sh Mon Jun 1
15:25:45 2009
@@ -1,3 +1,17 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
cassandra_home=`dirname $0`/..
Modified: incubator/cassandra/branches/cassandra-0.3/test/conf/log4j.properties
URL:
http://svn.apache.org/viewvc/incubator/cassandra/branches/cassandra-0.3/test/conf/log4j.properties?rev=780679&r1=780678&r2=780679&view=diff
==============================================================================
--- incubator/cassandra/branches/cassandra-0.3/test/conf/log4j.properties
(original)
+++ incubator/cassandra/branches/cassandra-0.3/test/conf/log4j.properties Mon
Jun 1 15:25:45 2009
@@ -1,3 +1,20 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+
log4j.rootLogger=DEBUG,R
# rolling log file ("system.log
Modified: incubator/cassandra/branches/cassandra-0.3/test/system/__init__.py
URL:
http://svn.apache.org/viewvc/incubator/cassandra/branches/cassandra-0.3/test/system/__init__.py?rev=780679&r1=780678&r2=780679&view=diff
==============================================================================
--- incubator/cassandra/branches/cassandra-0.3/test/system/__init__.py
(original)
+++ incubator/cassandra/branches/cassandra-0.3/test/system/__init__.py Mon Jun
1 15:25:45 2009
@@ -1,3 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
import os, sys, time, signal
__all__ = ['root', 'client']
Modified: incubator/cassandra/branches/cassandra-0.3/test/system/stress.py
URL:
http://svn.apache.org/viewvc/incubator/cassandra/branches/cassandra-0.3/test/system/stress.py?rev=780679&r1=780678&r2=780679&view=diff
==============================================================================
--- incubator/cassandra/branches/cassandra-0.3/test/system/stress.py (original)
+++ incubator/cassandra/branches/cassandra-0.3/test/system/stress.py Mon Jun 1
15:25:45 2009
@@ -1,3 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
# nosetests --tests=test.stress:Stress.ten_million_inserts
from hashlib import md5
Modified: incubator/cassandra/branches/cassandra-0.3/test/system/test_server.py
URL:
http://svn.apache.org/viewvc/incubator/cassandra/branches/cassandra-0.3/test/system/test_server.py?rev=780679&r1=780678&r2=780679&view=diff
==============================================================================
--- incubator/cassandra/branches/cassandra-0.3/test/system/test_server.py
(original)
+++ incubator/cassandra/branches/cassandra-0.3/test/system/test_server.py Mon
Jun 1 15:25:45 2009
@@ -1,3 +1,19 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
import os, sys, time
from . import client, root, CassandraTester