Skip to content

Commit 6e3f393

Browse files
Add .asf.yaml
https://cwiki.apache.org/confluence/display/INFRA/Git+-+.asf.yaml+features And remove a few dangling copyright headers that were missed in 3923141 Also correct repo urls and trunk branch name, and GHA fixes. Closes #1378 patch by Mick Semb Wever; reviewed by Doug Rohrer for CASSANALYTICS-15
1 parent 3923141 commit 6e3f393

36 files changed

+123
-201
lines changed

.asf.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing,
12+
# software distributed under the License is distributed on an
13+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
# KIND, either express or implied. See the License for the
15+
# specific language governing permissions and limitations
16+
# under the License.
17+
18+
notifications:
19+
20+
21+
pullrequests: [email protected]
22+
jira_options: link worklog
23+
24+
github:
25+
description: "Apache Spark to Apache Cassandra connector"
26+
homepage: https://apache.github.io/cassandra-spark-connector/
27+
enabled_merge_buttons:
28+
squash: false
29+
merge: false
30+
rebase: true
31+
features:
32+
wiki: false
33+
issues: false
34+
projects: false
35+
discussions: false
36+
autolink_jira:
37+
- CASSANDRA
38+
- CASSANALYTICS
39+
protected_branches:
40+
trunk:
41+
required_linear_history: true

.github/ISSUE_TEMPLATE/please-make-a-jira-ticket-or-ask-questions-on-the-mailing-list.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,5 @@ assignees: ''
77

88
---
99

10-
For issue tracking we use [JIRA](https://datastax-oss.atlassian.net/projects/SPARKC)
11-
Datastax managed QA at [Datastax Community](https://community.datastax.com/index.html)
12-
Questions can be posted to the [mailing list](https://groups.google.com/a/lists.datastax.com/forum/#!forum/spark-connector-user).
10+
For issue tracking we use [JIRA](https://issues.apache.org/jira/projects/CASSANALYTICS)
11+
Community QA at [Apache Cassandra Community](https://cassandra.apache.org/_/community.html#discussions)

.github/pull_request_template.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@ pursue this particular fix?
1515

1616
Example: "I removed the incorrect assertion which would throw the ThreeIntException. This exception was incorrectly added and the assertion is not actually needed."
1717

18-
Fixes: [Put JIRA Reference HERE](https://datastax-oss.atlassian.net/projects/SPARKC)
18+
Fixes: [Put JIRA Reference HERE](https://issues.apache.org/jira/projects/CASSANALYTICS)
1919

2020
# How Has This Been Tested?
2121

2222
Almost all changes and especially bug fixes will require a test to be added to either the integration or Unit Tests. Any tests added will be automatically run on travis when the pull request is pushed to github. Be sure to run suites locally as well.
2323

2424
# Checklist:
2525

26-
- [ ] I have a ticket in the [OSS JIRA](https://datastax-oss.atlassian.net/projects/SPARKC)
26+
- [ ] I have a ticket in the [JIRA](https://issues.apache.org/jira/projects/CASSANALYTICS)
2727
- [ ] I have performed a self-review of my own code
2828
- [ ] Locally all tests pass (make sure tests fail without your patch)

.github/workflows/main.yml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
name: CI
22

33
on:
4-
# Triggers the workflow on push or pull request events but only for the master branch
4+
# Triggers the workflow on push or pull request events but only for the trunk branch
55
push:
6-
branches: [ b2.5, b3.0, master]
76
pull_request:
8-
branches: [ b2.5, b3.0, master]
97

108
workflow_dispatch:
119

@@ -16,15 +14,15 @@ jobs:
1614
fail-fast: false
1715
matrix:
1816
scala: [2.12.19, 2.13.13]
19-
db-version: [3.11.17, 4.0.12, 4.1.4, 5.0-beta1, dse-6.8.44]
17+
db-version: [3.11.19, 4.0.17, 4.1.8, 5.0.4, dse-6.8.44]
2018

2119
steps:
2220
- uses: actions/checkout@v4
2321

24-
- name: ccm pip installation
25-
uses: BSFishy/pip-action@v1
26-
with:
27-
packages: git+https://github.com/riptano/ccm.git@d74db63d75112908a77b6c80757df9343fdc3338
22+
- name: Install ccm via pip
23+
# if cassandra-ccm's trunk breaks this CI, please file a report,
24+
# and temporarily switch this to @cassandra-test or @<sha> where sha is the last known working ccm commit
25+
run: pip install git+https://github.com/apache/cassandra-ccm.git@trunk
2826

2927
- name: Setup Java
3028
uses: actions/setup-java@v4
@@ -48,4 +46,4 @@ jobs:
4846
if: always()
4947
with:
5048
report_paths: '**/target/test-reports/*.xml'
51-
annotate_only: true
49+
annotate_only: true

README.md

Lines changed: 25 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22

33
*Lightning-fast cluster computing with Apache Spark&trade; and Apache Cassandra&reg;.*
44

5-
[![CI](https://github.com/datastax/spark-cassandra-connector/actions/workflows/main.yml/badge.svg?branch=master)](https://github.com/datastax/spark-cassandra-connector/actions?query=branch%3Amaster)
5+
[![CI](https://github.com/apache/cassandra-spark-connector/actions/workflows/main.yml/badge.svg?branch=trunk)](https://github.com/apache/cassandra-spark-connector/actions?query=branch%3Atrunk)
66

77
## Quick Links
88

99
| What | Where |
1010
| ---------- |---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
1111
| Community | Chat with us at [Apache Cassandra](https://cassandra.apache.org/_/community.html#discussions) |
12-
| Scala Docs | Most Recent Release (3.5.1): [Connector API docs](https://datastax.github.io/spark-cassandra-connector/ApiDocs/3.5.1/connector/com/datastax/spark/connector/index.html), [Connector Driver docs](https://datastax.github.io/spark-cassandra-connector/ApiDocs/3.5.1/driver/com/datastax/spark/connector/index.html) |
12+
| Scala Docs | Most Recent Release (3.5.1): [Connector API docs](https://apache.github.io/cassandra-spark-connector/ApiDocs/3.5.1/connector/com/datastax/spark/connector/index.html), [Connector Driver docs](https://apache.github.io/cassandra-spark-connector/ApiDocs/3.5.1/driver/com/datastax/spark/connector/index.html) |
1313
| Latest Production Release | [3.5.1](https://search.maven.org/artifact/com.datastax.spark/spark-cassandra-connector_2.12/3.5.1/jar) |
1414

1515
## News
@@ -45,17 +45,17 @@ in your Spark applications.
4545
The connector project has several branches, each of which map into different
4646
supported versions of Spark and Cassandra. For previous releases the branch is
4747
named "bX.Y" where X.Y is the major+minor version; for example the "b1.6" branch
48-
corresponds to the 1.6 release. The "master" branch will normally contain
48+
corresponds to the 1.6 release. The "trunk" branch will normally contain
4949
development for the next connector release in progress.
5050

5151
Currently, the following branches are actively supported:
52-
3.5.x ([master](https://github.com/datastax/spark-cassandra-connector/tree/master)),
53-
3.4.x ([b3.4](https://github.com/datastax/spark-cassandra-connector/tree/b3.4)),
54-
3.3.x ([b3.2](https://github.com/datastax/spark-cassandra-connector/tree/b3.3)),
55-
3.2.x ([b3.2](https://github.com/datastax/spark-cassandra-connector/tree/b3.2)),
56-
3.1.x ([b3.1](https://github.com/datastax/spark-cassandra-connector/tree/b3.1)),
57-
3.0.x ([b3.0](https://github.com/datastax/spark-cassandra-connector/tree/b3.0)) and
58-
2.5.x ([b2.5](https://github.com/datastax/spark-cassandra-connector/tree/b2.5)).
52+
3.5.x ([trunk](https://github.com/apache/cassandra-spark-connector/tree/trunk)),
53+
3.4.x ([b3.4](https://github.com/apache/cassandra-spark-connector/tree/b3.4)),
54+
3.3.x ([b3.2](https://github.com/apache/cassandra-spark-connector/tree/b3.3)),
55+
3.2.x ([b3.2](https://github.com/apache/cassandra-spark-connector/tree/b3.2)),
56+
3.1.x ([b3.1](https://github.com/apache/cassandra-spark-connector/tree/b3.1)),
57+
3.0.x ([b3.0](https://github.com/apache/cassandra-spark-connector/tree/b3.0)) and
58+
2.5.x ([b2.5](https://github.com/apache/cassandra-spark-connector/tree/b2.5)).
5959

6060
| Connector | Spark | Cassandra | Cassandra Java Driver | Minimum Java Version | Supported Scala Versions |
6161
|-----------|---------------|----------------------------|-----------------------|----------------------|--------------------------|
@@ -85,32 +85,32 @@ Currently, the following branches are actively supported:
8585
API documentation for the Scala and Java interfaces are available online:
8686

8787
### 3.5.1
88-
* [Spark-Cassandra-Connector](https://datastax.github.io/spark-cassandra-connector/ApiDocs/3.5.1/connector/com/datastax/spark/connector/index.html)
88+
* [Spark-Cassandra-Connector](https://apache.github.io/cassandra-spark-connector/ApiDocs/3.5.1/connector/com/datastax/spark/connector/index.html)
8989

9090
### 3.5.0
91-
* [Spark-Cassandra-Connector](https://datastax.github.io/spark-cassandra-connector/ApiDocs/3.5.0/connector/com/datastax/spark/connector/index.html)
91+
* [Spark-Cassandra-Connector](https://apache.github.io/cassandra-spark-connector/ApiDocs/3.5.0/connector/com/datastax/spark/connector/index.html)
9292

9393
### 3.4.1
94-
* [Spark-Cassandra-Connector](https://datastax.github.io/spark-cassandra-connector/ApiDocs/3.4.1/connector/com/datastax/spark/connector/index.html)
94+
* [Spark-Cassandra-Connector](https://apache.github.io/cassandra-spark-connector/ApiDocs/3.4.1/connector/com/datastax/spark/connector/index.html)
9595

9696
### 3.3.0
97-
* [Spark-Cassandra-Connector](https://datastax.github.io/spark-cassandra-connector/ApiDocs/3.3.0/connector/com/datastax/spark/connector/index.html)
97+
* [Spark-Cassandra-Connector](https://apache.github.io/cassandra-spark-connector/ApiDocs/3.3.0/connector/com/datastax/spark/connector/index.html)
9898

9999
### 3.2.0
100-
* [Spark-Cassandra-Connector](https://datastax.github.io/spark-cassandra-connector/ApiDocs/3.2.0/connector/com/datastax/spark/connector/index.html)
100+
* [Spark-Cassandra-Connector](https://apache.github.io/cassandra-spark-connector/ApiDocs/3.2.0/connector/com/datastax/spark/connector/index.html)
101101

102102
### 3.1.0
103-
* [Spark-Cassandra-Connector](https://datastax.github.io/spark-cassandra-connector/ApiDocs/3.1.0/connector/com/datastax/spark/connector/index.html)
103+
* [Spark-Cassandra-Connector](https://apache.github.io/cassandra-spark-connector/ApiDocs/3.1.0/connector/com/datastax/spark/connector/index.html)
104104

105105
### 3.0.1
106-
* [Spark-Cassandra-Connector](https://datastax.github.io/spark-cassandra-connector/ApiDocs/3.0.1/connector/com/datastax/spark/connector/index.html)
106+
* [Spark-Cassandra-Connector](https://apache.github.io/cassandra-spark-connector/ApiDocs/3.0.1/connector/com/datastax/spark/connector/index.html)
107107

108108
### 2.5.2
109-
* [Spark-Cassandra-Connector](https://datastax.github.io/spark-cassandra-connector/ApiDocs/2.5.2/connector/#package)
109+
* [Spark-Cassandra-Connector](https://apache.github.io/cassandra-spark-connector/ApiDocs/2.5.2/connector/#package)
110110

111111
### 2.4.2
112-
* [Spark-Cassandra-Connector](http://datastax.github.io/spark-cassandra-connector/ApiDocs/2.4.2/spark-cassandra-connector/)
113-
* [Embedded-Cassandra](http://datastax.github.io/spark-cassandra-connector/ApiDocs/2.4.2/spark-cassandra-connector-embedded/)
112+
* [Spark-Cassandra-Connector](http://apache.github.io/cassandra-spark-connector/ApiDocs/2.4.2/spark-cassandra-connector/)
113+
* [Embedded-Cassandra](http://apache.github.io/cassandra-spark-connector/ApiDocs/2.4.2/spark-cassandra-connector-embedded/)
114114

115115
## Download
116116

@@ -157,13 +157,13 @@ In [DS320: Analytics with Spark](https://www.youtube.com/watch?v=D6PMEQAfjeU&lis
157157

158158
### Reporting Bugs
159159

160-
New issues may be reported using [JIRA](https://datastax-oss.atlassian.net/browse/SPARKC/). Please include
160+
New issues may be reported using [JIRA](https://issues.apache.org/jira/projects/CASSANALYTICS). Please include
161161
all relevant details including versions of Spark, Spark Cassandra Connector, Cassandra and/or DSE. A minimal
162162
reproducible case with sample code is ideal.
163163

164164
### Mailing List
165165

166-
Questions and requests for help may be submitted to the [user mailing list](https://groups.google.com/a/lists.datastax.com/forum/#!forum/spark-connector-user).
166+
Questions and requests for help may be submitted to the [user mailing list](https://cassandra.apache.org/_/community.html#discussions).
167167

168168

169169
## Q/A Exchange
@@ -177,13 +177,15 @@ To protect the community, all contributors are required to sign the Apache Softw
177177
[Tips for Developing the Spark Cassandra Connector](doc/developers.md)
178178

179179
Checklist for contributing changes to the project:
180-
* Create a [SPARKC JIRA](https://datastax-oss.atlassian.net/projects/SPARKC/issues)
180+
* Create a [CASSANALYTICS JIRA](https://issues.apache.org/jira/projects/CASSANALYTICS)
181181
* Make sure that all unit tests and integration tests pass
182182
* Add an appropriate entry at the top of CHANGES.txt
183183
* If the change has any end-user impacts, also include changes to the ./doc files as needed
184184
* Prefix the pull request description with the JIRA number, for example: "SPARKC-123: Fix the ..."
185185
* Open a pull-request on GitHub and await review
186186

187+
Old issues from before the donation to the ASF and the Apache Cassandra project can be found in this [SPARKC JIRA](https://datastax-oss.atlassian.net/projects/SPARKC/issues)
188+
187189
## Testing
188190
To run unit and integration tests:
189191

connector/src/it/resources/logback.xml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,20 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!--
3-
~ Copyright DataStax, Inc.
4-
~
5-
~ Please see the included license file for details.
3+
Licensed to the Apache Software Foundation (ASF) under one
4+
or more contributor license agreements. See the NOTICE file
5+
distributed with this work for additional information
6+
regarding copyright ownership. The ASF licenses this file
7+
to you under the Apache License, Version 2.0 (the
8+
"License"); you may not use this file except in compliance
9+
with the License. You may obtain a copy of the License at
10+
11+
http://www.apache.org/licenses/LICENSE-2.0
12+
13+
Unless required by applicable law or agreed to in writing, software
14+
distributed under the License is distributed on an "AS IS" BASIS,
15+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16+
See the License for the specific language governing permissions and
17+
limitations under the License.
618
-->
719

820
<configuration>

connector/src/it/scala/com/datastax/spark/connector/cluster/Fixtures.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ sealed trait Fixture extends ClusterProvider {
6262
System.setProperty("dse", "true")
6363
System.setProperty("ccm.directory", home)
6464
System.setProperty("ccm.version", "6.8")
65-
System.setProperty("ccm.branch", "master")
65+
System.setProperty("ccm.branch", "trunk")
6666
}
6767

6868
private[cluster] def configs: Seq[CcmConfig]

connector/src/it/scala/com/datastax/spark/connector/cql/ContinuousPagingScannerSpec.scala

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,6 @@
1616
* limitations under the License.
1717
*/
1818

19-
/*
20-
* Copyright DataStax, Inc.
21-
*
22-
* Please see the included license file for details.
23-
*/
24-
2519
package com.datastax.spark.connector.cql
2620

2721
import com.datastax.bdp.spark.ContinuousPagingScanner

connector/src/it/scala/com/datastax/spark/connector/rdd/ConnectorMetricsSpec.scala

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,6 @@
1616
* limitations under the License.
1717
*/
1818

19-
/*
20-
* Copyright DataStax, Inc.
21-
*
22-
* Please see the included license file for details.
23-
*/
24-
2519
package com.datastax.spark.connector.rdd
2620

2721
import java.util.concurrent.LinkedTransferQueue

connector/src/it/scala/com/datastax/spark/connector/rdd/DseGraphUnionRDDSpec.scala

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,6 @@
1616
* limitations under the License.
1717
*/
1818

19-
/*
20-
* Copyright DataStax, Inc.
21-
*
22-
* Please see the included license file for details.
23-
*/
24-
2519
package com.datastax.spark.connector.rdd
2620

2721
import java.lang.{Integer => JInteger, String => JString}

connector/src/it/scala/com/datastax/spark/connector/rdd/InnerJoinSpec.scala

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,6 @@
1616
* limitations under the License.
1717
*/
1818

19-
/*
20-
* Copyright DataStax, Inc.
21-
*
22-
* Please see the included license file for details.
23-
*/
24-
2519
package com.datastax.spark.connector.rdd
2620

2721
import com.datastax.oss.driver.api.core.CqlSession

connector/src/it/scala/com/datastax/spark/connector/types/GeometricTypeSpec.scala

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,6 @@
1616
* limitations under the License.
1717
*/
1818

19-
/*
20-
* Copyright DataStax, Inc.
21-
*
22-
* Please see the included license file for details.
23-
*/
24-
2519
package com.datastax.spark.connector.types
2620

2721
import com.datastax.dse.driver.api.core.`type`.DseDataTypes

connector/src/main/scala/com/datastax/bdp/spark/ContinuousPagingScanner.scala

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,6 @@
1616
* limitations under the License.
1717
*/
1818

19-
/*
20-
* Copyright DataStax, Inc.
21-
*
22-
* Please see the included license file for details.
23-
*/
2419
package com.datastax.bdp.spark
2520

2621
import java.io.IOException

connector/src/main/scala/com/datastax/bdp/util/MiscUtil.scala

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,6 @@
1616
* limitations under the License.
1717
*/
1818

19-
/*
20-
* Copyright DataStax, Inc.
21-
*
22-
* Please see the included license file for details.
23-
*/
2419

2520
package com.datastax.bdp.util
2621

connector/src/main/scala/com/datastax/bdp/util/ScalaJavaUtil.scala

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,6 @@
1616
* limitations under the License.
1717
*/
1818

19-
/*
20-
* Copyright DataStax, Inc.
21-
*
22-
* Please see the included license file for details.
23-
*/
2419

2520
package com.datastax.bdp.util
2621

connector/src/main/scala/com/datastax/spark/connector/rdd/CassandraCoGroupedRDD.scala

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,6 @@
1616
* limitations under the License.
1717
*/
1818

19-
/**
20-
* Copyright DataStax, Inc.
21-
*
22-
* Please see the included license file for details.
23-
*/
2419
package com.datastax.spark.connector.rdd
2520

2621
import java.io.IOException

connector/src/main/scala/com/datastax/spark/connector/rdd/CassandraMergeJoinRDD.scala

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,6 @@
1616
* limitations under the License.
1717
*/
1818

19-
/**
20-
* Copyright DataStax, Inc.
21-
*
22-
* Please see the included license file for details.
23-
*/
2419
package com.datastax.spark.connector.rdd
2520

2621
import java.io.IOException

connector/src/main/scala/com/datastax/spark/connector/rdd/DseGraphUnionedRDD.scala

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,6 @@
1616
* limitations under the License.
1717
*/
1818

19-
/*
20-
* Copyright DataStax, Inc.
21-
*
22-
* Please see the included license file for details.
23-
*/
24-
2519
package com.datastax.spark.connector.rdd
2620

2721
import java.lang.{String => JString}

0 commit comments

Comments
 (0)