Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MINOR][DOC] Update deprecation notes on Python/Hadoop/Scala. #18207

Closed
wants to merge 1 commit into from
Closed

[MINOR][DOC] Update deprecation notes on Python/Hadoop/Scala. #18207

wants to merge 1 commit into from

Conversation

dongjoon-hyun
Copy link
Member

What changes were proposed in this pull request?

We had better update the deprecation notes about Python 2.6, Hadoop (before 2.6.5) and Scala 2.10 in 2.2.0-RC4 documentation. Since this is a doc only update, I think we can update the doc during publishing.

BEFORE (2.2.0-RC4)
before

AFTER
after

How was this patch tested?

Manual.

SKIP_API=1 jekyll build

@dongjoon-hyun
Copy link
Member Author

Hi, @marmbrus .
Could you review this PR about 2.2.0?

@srowen
Copy link
Member

srowen commented Jun 5, 2017

I wasn't clear whether we really truly don't support 2.6 in this 2.2.0 release, given https://issues.apache.org/jira/browse/SPARK-12661 ?

@dongjoon-hyun
Copy link
Member Author

Oh, I see. Then, may I ask this at mailing list to be more clearer?

@SparkQA
Copy link

SparkQA commented Jun 5, 2017

Test build #77754 has finished for PR 18207 at commit 69774c1.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@marmbrus
Copy link
Contributor

marmbrus commented Jun 6, 2017

/cc @JoshRosen

@JoshRosen
Copy link
Contributor

As of #17355 we no longer test against Python 2.6. That doesn't mean that 2.6 won't work today, but there's nothing stopping 2.6 support from breaking in a future 2.2.x release because we are no longer testing against that release.

#17355 replaced our Python 2.6 testing environment with a Python 2.7 release, so we can now begin to use language features and libraries which are only available from 2.7 onwards (such as set and dictionary comprehensions).

Therefore, this documentation change looks correct to me.

@dongjoon-hyun
Copy link
Member Author

Thank you for confirming, @JoshRosen .

@rxin
Copy link
Contributor

rxin commented Jun 6, 2017

I believe we still support Python 2.6, given Jenkins runs 2.6... There seems to be no point in removing that support this late in the release cycle.

@dongjoon-hyun
Copy link
Member Author

dongjoon-hyun commented Jun 6, 2017

Jenkins runs with ['python2.7', 'python3.4', 'pypy'] only, doesn't it? Also, this is a major release cycle with the other big changes. For me, removing Python 2.6 seems not to be proper with subsequent minor version release cycles like 2.2.1 and 2.2.2.

@JoshRosen
Copy link
Contributor

@rxin, as of #17355 Jenkins is using Python 2.7 sourced from a virtualenv instead of Python 2.6. That patch was merged into master before branch-2.2 was cut.

@rxin
Copy link
Contributor

rxin commented Jun 6, 2017

OK great then we have officially deprecated it, haven't we?

@dongjoon-hyun
Copy link
Member Author

Yep. Right. Then, could you officially resolve SPARK-12661, too?

uses Scala {{site.SCALA_BINARY_VERSION}}. You will need to use a compatible Scala version
({{site.SCALA_BINARY_VERSION}}.x).

Note that support for Java 7 was removed as of Spark 2.2.0.
Note that support for Java 7, Python 2.6 and old Hadoop versions before 2.6.5 were removed as of Spark 2.2.0.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It sounds like 2.6 is still more supported than not-support in 2.2.x, but we should call it unsupported for 2.3.x.

Let's say that Python 2.6 support was really removed for 2.3.0, rather than 2.2.0.
It's fine to add a note about Hadoop before 2.6 being unsupported in 2.2.0, that's true.

Then we can merge in master. It's not essential to merge this for 2.2 as the existing text appears to be not-wrong.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you test on Python 2.6 at RC4 testing? And it happens to be supported at 2.2.0?
Actually, Jenkins does not run the tests over two months (since 29th Mar). As @JoshRosen said, there is no guard anymore in order to guarantee still more supported on 2.2.1 or later.

@JoshRosen
Copy link
Contributor

JoshRosen commented Jun 6, 2017 via email

@JoshRosen
Copy link
Contributor

JoshRosen commented Jun 6, 2017 via email

@srowen
Copy link
Member

srowen commented Jun 6, 2017

I think the question is whether we can get this change into the 2.2 release. It'd be ideal, but not sure it's worth another RC. Of course, this runs into the discussion we're currently having about when to update docs.

@dongjoon-hyun
Copy link
Member Author

I hope it goes to Release Note instead of blocking the current voting.
Something like 2.1.0 Release Note.

@srowen
Copy link
Member

srowen commented Jun 7, 2017

Merged to master/2.2

asfgit pushed a commit that referenced this pull request Jun 7, 2017
## What changes were proposed in this pull request?

We had better update the deprecation notes about Python 2.6, Hadoop (before 2.6.5) and Scala 2.10 in [2.2.0-RC4](http://people.apache.org/~pwendell/spark-releases/spark-2.2.0-rc4-docs/) documentation. Since this is a doc only update, I think we can update the doc during publishing.

**BEFORE (2.2.0-RC4)**
    ![before](https://cloud.githubusercontent.com/assets/9700541/26799758/aea0dc06-49eb-11e7-8ca3-ed8ce1cc6147.png)

**AFTER**
    ![after](https://cloud.githubusercontent.com/assets/9700541/26799761/b3fef818-49eb-11e7-83c5-334f0e4768ed.png)

## How was this patch tested?

Manual.
```
SKIP_API=1 jekyll build
```

Author: Dongjoon Hyun <dongjoon@apache.org>

Closes #18207 from dongjoon-hyun/minor_doc_deprecation.

(cherry picked from commit 3218505)
Signed-off-by: Sean Owen <sowen@cloudera.com>
@asfgit asfgit closed this in 3218505 Jun 7, 2017
@dongjoon-hyun
Copy link
Member Author

Thank you all!

@dongjoon-hyun dongjoon-hyun deleted the minor_doc_deprecation branch June 10, 2017 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants