Lightning-fast cluster computing

Spark Project Improvement Proposals (SPIP)

The purpose of an SPIP is to inform and involve the user community in major improvements to the Spark codebase throughout the development process, to increase the likelihood that user needs are met.

SPIPs should be used for significant user-facing or cross-cutting changes, not small incremental improvements. When in doubt, if a committer thinks a change needs an SPIP, it does.

What is a SPIP?

An SPIP is similar to a product requirement document commonly used in product management.

An SPIP:

  • Is a JIRA ticket labeled “SPIP” proposing a major improvement or change to Spark
  • Follows the template defined below
  • Includes discussions on the JIRA ticket and dev@ list about the proposal

Current SPIPs

Past SPIPs

Who?

Any community member can help by discussing whether an SPIP is likely to meet their needs, and by proposing SPIPs.

Contributors can help by discussing whether an SPIP is likely to be technically feasible.

Committers can help by discussing whether an SPIP aligns with long-term project goals, and by shepherding SPIPs.

SPIP Author is any community member who authors a SPIP and is committed to pushing the change through the entire process. SPIP authorship can be transferred.

SPIP Shepherd is a PMC member who is committed to shepherding the proposed change throughout the entire process. Although the shepherd can delegate or work with other committers in the development process, the shepherd is ultimately responsible for the success or failure of the SPIP. Responsibilities of the shepherd include, but are not limited to:

  • Be the advocate for the proposed change
  • Help push forward on design and achieve consensus among key stakeholders
  • Review code changes, making sure the change follows project standards
  • Get feedback from users and iterate on the design & implementation
  • Uphold the quality of the changes, including verifying whether the changes satisfy the goal of the SPIP and are absent of critical bugs before releasing them

SPIP Process

Proposing an SPIP

Anyone may propose an SPIP, using the template below. Please only submit an SPIP if you are willing to help, at least with discussion.

After a SPIP is created, the author should email dev@spark.apache.org to notify the community of the SPIP, and discussions should ensue on the JIRA ticket.

If an SPIP is too small or incremental and should have been done through the normal JIRA process, a committer should remove the SPIP label.

Template for an SPIP

Background and Motivation:
What problem is this solving?
Target Personas:
Examples include data scientists, data engineers, library developers, devops. A single SPIP can have multiple target personas.
Goals:
What must this allow users to do, that they can't currently?
Non-Goals:
What problem is this proposal not designed to solve?
Proposed API Changes:
Optional section defining APIs changes, if any. Backward and forward compatibility must be taken into account.
Optional Design Sketch:
How are the goals going to be accomplished? Give sufficient technical detail to allow a contributor to judge whether it's likely to be feasible. This is not a full design document.
Optional Rejected Designs:
What alternatives were considered? Why were they rejected? If no alternatives have been considered, the problem needs more thought.

Discussing an SPIP

All discussion of an SPIP should take place in a public forum, preferably the discussion attached to the Jira. Any discussions that happen offline should be made available online for the public via meeting notes summarizing the discussions.

During this discussion, one or more shepherds should be identified among PMC members.

Once the discussion settles, the shepherd(s) should call for a vote on the SPIP moving forward on the dev@ list. The vote should be open for at least 72 hours and follows the typical Apache vote process and passes upon consensus (at least 3 +1 votes from PMC members and no -1 votes from PMC members). dev@ should be notified of the vote result.

If there does not exist at least one PMC member that is committed to shepherding the change within a month, the SPIP is rejected.

If a committer does not think a SPIP aligns with long-term project goals, or is not practical at the point of proposal, the committer should -1 the SPIP explicitly and give technical justifications.

Implementing an SPIP

Implementation should take place via the standard process for code changes. Changes that require SPIPs typically also require design documents to be written and reviewed.