You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2020/12/17 03:11:47 UTC
[GitHub] [spark] dongjoon-hyun opened a new pull request #30814: [SPARK-33790][CORE][FOLLOWUP] Avoid API incompatibility in SingleFileEventLogFileReader
dongjoon-hyun opened a new pull request #30814:
URL: https://github.com/apache/spark/pull/30814
…
<!--
Thanks for sending a pull request! Here are some tips for you:
1. If this is your first time, please read our contributor guidelines: https://spark.apache.org/contributing.html
2. Ensure you have added or run the appropriate tests for your PR: https://spark.apache.org/developer-tools.html
3. If the PR is unfinished, add '[WIP]' in your PR title, e.g., '[WIP][SPARK-XXXX] Your PR title ...'.
4. Be sure to keep the PR description updated to reflect all changes.
5. Please write your PR title to summarize what this PR proposes.
6. If possible, provide a concise example to reproduce the issue for a faster review.
7. If you want to add a new configuration, please read the guideline first for naming configurations in
'core/src/main/scala/org/apache/spark/internal/config/ConfigEntry.scala'.
-->
### What changes were proposed in this pull request?
<!--
Please clarify what changes you are proposing. The purpose of this section is to outline the changes and how this PR fixes the issue.
If possible, please consider writing useful notes for better and faster reviews in your PR. See the examples below.
1. If you refactor some codes with changing classes, showing the class hierarchy will help reviewers.
2. If you fix some SQL features, you can provide some references of other DBMSes.
3. If there is design documentation, please add the link.
4. If there is a discussion in the mailing list, please add the link.
-->
### Why are the changes needed?
<!--
Please clarify why the changes are needed. For instance,
1. If you propose a new API, clarify the use case for a new API.
2. If you fix a bug, you can clarify why it is a bug.
-->
### Does this PR introduce _any_ user-facing change?
<!--
Note that it means *any* user-facing change including all aspects such as the documentation fix.
If yes, please clarify the previous behavior and the change this PR proposes - provide the console output, description and/or an example to show the behavior difference if possible.
If possible, please also clarify if this is a user-facing change compared to the released Spark versions or within the unreleased branches such as master.
If no, write 'No'.
-->
### How was this patch tested?
<!--
If tests were added, say they were added here. Please make sure to add some test cases that check the changes thoroughly including negative and positive cases if possible.
If it was tested in a way different from regular unit tests, please clarify how you tested step by step, ideally copy and paste-able, so that other reviewers can test and check, and descendants can verify in the future.
If tests were not added, please describe why they were not added and/or why it was difficult to add.
-->
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] HyukjinKwon edited a comment on pull request #30814: [SPARK-33790][CORE][FOLLOWUP] Avoid API incompatibility in SingleFileEventLogFileReader
Posted by GitBox <gi...@apache.org>.
HyukjinKwon edited a comment on pull request #30814:
URL: https://github.com/apache/spark/pull/30814#issuecomment-747184592
Actually this is not documented as well: https://github.com/apache/spark/blob/master/project/SparkBuild.scala#L892
I think it would make more sense to explicitly hide.
Or we can have a `pacakge.scala` file and document that this module is supposed to be private just like we do in catalyst and execution modules in SQL.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] dongjoon-hyun commented on pull request #30814: [SPARK-33819][CORE] SingleFileEventLogFileReader/RollingEventLogFilesFileReader should be `package private`
Posted by GitBox <gi...@apache.org>.
dongjoon-hyun commented on pull request #30814:
URL: https://github.com/apache/spark/pull/30814#issuecomment-747212462
Thank you for quick review and decision, @HeartSaVioR .
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #30814: [SPARK-33819][CORE] SingleFileEventLogFileReader/RollingEventLogFilesFileReader should be `package private`
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #30814:
URL: https://github.com/apache/spark/pull/30814#issuecomment-747219524
Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/37529/
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] dongjoon-hyun commented on pull request #30814: [SPARK-33819][CORE] EventLogFileReader and its derived classes should be `package private`
Posted by GitBox <gi...@apache.org>.
dongjoon-hyun commented on pull request #30814:
URL: https://github.com/apache/spark/pull/30814#issuecomment-747191520
Since this becomes irrelevant to `FileStatus` PR, I file a new JIRA for this. Of course, this PR includes the revert of MiMa changes because it's not required in the future. How do you think about AS-IS PR?
> [SPARK-33819][CORE] EventLogFileReader and its derived classes should be `package private`
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] dongjoon-hyun commented on pull request #30814: [SPARK-33790][CORE][FOLLOWUP] Avoid API incompatibility in SingleFileEventLogFileReader
Posted by GitBox <gi...@apache.org>.
dongjoon-hyun commented on pull request #30814:
URL: https://github.com/apache/spark/pull/30814#issuecomment-747180913
Jenkins MiMa test passed.
```
========================================================================
Detecting binary incompatibilities with MiMa
========================================================================
[info] Detecting binary incompatibilities with MiMa using SBT with these profiles: -Phadoop-3.2 -Phive-2.3 -Pkinesis-asl -Pyarn -Phive -Pkubernetes -Phive-thriftserver -Phadoop-cloud -Pspark-ganglia-lgpl -Pmesos
...
[success] Total time: 59 s, completed Dec 16, 2020 7:26:53 PM
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #30814: [SPARK-33819][CORE] SingleFileEventLogFileReader/RollingEventLogFilesFileReader should be `package private`
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #30814:
URL: https://github.com/apache/spark/pull/30814#issuecomment-747254566
**[Test build #132926 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/132926/testReport)** for PR 30814 at commit [`dbd7444`](https://github.com/apache/spark/commit/dbd7444a7c10e1331e467e9530695099ca0e4668).
* This patch passes all tests.
* This patch merges cleanly.
* This patch adds the following public classes _(experimental)_:
* `abstract class EventLogFileReader(`
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #30814: [SPARK-33819][CORE] SingleFileEventLogFileReader/RollingEventLogFilesFileReader should be `package private`
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #30814:
URL: https://github.com/apache/spark/pull/30814#issuecomment-747231843
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #30814: [SPARK-33790][CORE][FOLLOWUP] Avoid API incompatibility in SingleFileEventLogFileReader
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #30814:
URL: https://github.com/apache/spark/pull/30814#issuecomment-747189308
Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/37520/
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #30814: [SPARK-33819][CORE] SingleFileEventLogFileReader/RollingEventLogFilesFileReader should be `package private`
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #30814:
URL: https://github.com/apache/spark/pull/30814#issuecomment-747196136
**[Test build #132926 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/132926/testReport)** for PR 30814 at commit [`dbd7444`](https://github.com/apache/spark/commit/dbd7444a7c10e1331e467e9530695099ca0e4668).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #30814: [SPARK-33819][CORE] EventLogFileReader and its derived classes should be `package private`
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #30814:
URL: https://github.com/apache/spark/pull/30814#issuecomment-747193231
**[Test build #132922 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/132922/testReport)** for PR 30814 at commit [`a32cd47`](https://github.com/apache/spark/commit/a32cd479ae00490a941ebe0115d16700308e06be).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] HyukjinKwon commented on pull request #30814: [SPARK-33790][CORE][FOLLOWUP] Avoid API incompatibility in SingleFileEventLogFileReader
Posted by GitBox <gi...@apache.org>.
HyukjinKwon commented on pull request #30814:
URL: https://github.com/apache/spark/pull/30814#issuecomment-747183879
Hm, I thought this isn't an API too.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] dongjoon-hyun commented on pull request #30814: [SPARK-33790][CORE][FOLLOWUP] Avoid API incompatibility in SingleFileEventLogFileReader
Posted by GitBox <gi...@apache.org>.
dongjoon-hyun commented on pull request #30814:
URL: https://github.com/apache/spark/pull/30814#issuecomment-747186281
Explicit hiding also makes sense to me if we can be free from the downstream users complain due to the breaking change. Are you sure that there is no downstream users who depend on this class accidentally?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] HyukjinKwon commented on pull request #30814: [SPARK-33790][CORE][FOLLOWUP] Avoid API incompatibility in SingleFileEventLogFileReader
Posted by GitBox <gi...@apache.org>.
HyukjinKwon commented on pull request #30814:
URL: https://github.com/apache/spark/pull/30814#issuecomment-747184592
Actually this is not documented as well: https://github.com/apache/spark/blob/master/project/SparkBuild.scala#L892
I think it would make more sense to explicitly hide.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA removed a comment on pull request #30814: [SPARK-33819][CORE] SingleFileEventLogFileReader/RollingEventLogFilesFileReader should be `package private`
Posted by GitBox <gi...@apache.org>.
SparkQA removed a comment on pull request #30814:
URL: https://github.com/apache/spark/pull/30814#issuecomment-747177251
**[Test build #132919 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/132919/testReport)** for PR 30814 at commit [`30641b0`](https://github.com/apache/spark/commit/30641b09cbb234d0b289f26669656add40b341ce).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #30814: [SPARK-33819][CORE] SingleFileEventLogFileReader/RollingEventLogFilesFileReader should be `package private`
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #30814:
URL: https://github.com/apache/spark/pull/30814#issuecomment-747196579
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/37520/
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] dongjoon-hyun edited a comment on pull request #30814: [SPARK-33790][CORE][FOLLOWUP] Avoid API incompatibility in SingleFileEventLogFileReader
Posted by GitBox <gi...@apache.org>.
dongjoon-hyun edited a comment on pull request #30814:
URL: https://github.com/apache/spark/pull/30814#issuecomment-747186865
BTW, I'm updating this PR to hide this explicitly to reduce our MiMa maintenance burden according to your advice.
> Or should we agree about the mistake and hide them ASAP?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #30814: [SPARK-33819][CORE] SingleFileEventLogFileReader/RollingEventLogFilesFileReader should be `package private`
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #30814:
URL: https://github.com/apache/spark/pull/30814#issuecomment-747209626
Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/37529/
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] HeartSaVioR edited a comment on pull request #30814: [SPARK-33790][CORE][FOLLOWUP] Avoid API incompatibility in SingleFileEventLogFileReader
Posted by GitBox <gi...@apache.org>.
HeartSaVioR edited a comment on pull request #30814:
URL: https://github.com/apache/spark/pull/30814#issuecomment-747183380
This sounds me as we have to separate the public API and the others in CORE module as well.
The class is not designed to be a public class, and even in Spark codebase, it's instantiated via `EventLogFileReader.apply`. (Same applied to `RollingEventLogFilesFileReader`) IMHO the root cause is that these classes are not properly scoped (at least applying package private). My bad.
Not sure about the future approach. Once we exposed these classes should we expose them forever as public API? Or should we agree about the mistake and hide them ASAP?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA removed a comment on pull request #30814: [SPARK-33819][CORE] SingleFileEventLogFileReader/RollingEventLogFilesFileReader should be `package private`
Posted by GitBox <gi...@apache.org>.
SparkQA removed a comment on pull request #30814:
URL: https://github.com/apache/spark/pull/30814#issuecomment-747193231
**[Test build #132922 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/132922/testReport)** for PR 30814 at commit [`a32cd47`](https://github.com/apache/spark/commit/a32cd479ae00490a941ebe0115d16700308e06be).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] HyukjinKwon commented on pull request #30814: [SPARK-33819][CORE] SingleFileEventLogFileReader/RollingEventLogFilesFileReader should be `package private`
Posted by GitBox <gi...@apache.org>.
HyukjinKwon commented on pull request #30814:
URL: https://github.com/apache/spark/pull/30814#issuecomment-747248600
Merged to master.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] dongjoon-hyun edited a comment on pull request #30814: [SPARK-33790][CORE][FOLLOWUP] Avoid API incompatibility in SingleFileEventLogFileReader
Posted by GitBox <gi...@apache.org>.
dongjoon-hyun edited a comment on pull request #30814:
URL: https://github.com/apache/spark/pull/30814#issuecomment-747186281
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #30814: [SPARK-33819][CORE] SingleFileEventLogFileReader/RollingEventLogFilesFileReader should be `package private`
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #30814:
URL: https://github.com/apache/spark/pull/30814#issuecomment-747218271
**[Test build #132919 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/132919/testReport)** for PR 30814 at commit [`30641b0`](https://github.com/apache/spark/commit/30641b09cbb234d0b289f26669656add40b341ce).
* This patch passes all tests.
* This patch merges cleanly.
* This patch adds no public classes.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA removed a comment on pull request #30814: [SPARK-33819][CORE] SingleFileEventLogFileReader/RollingEventLogFilesFileReader should be `package private`
Posted by GitBox <gi...@apache.org>.
SparkQA removed a comment on pull request #30814:
URL: https://github.com/apache/spark/pull/30814#issuecomment-747196136
**[Test build #132926 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/132926/testReport)** for PR 30814 at commit [`dbd7444`](https://github.com/apache/spark/commit/dbd7444a7c10e1331e467e9530695099ca0e4668).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #30814: [SPARK-33819][CORE] SingleFileEventLogFileReader/RollingEventLogFilesFileReader should be `package private`
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #30814:
URL: https://github.com/apache/spark/pull/30814#issuecomment-747258018
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #30814: [SPARK-33819][CORE] SingleFileEventLogFileReader/RollingEventLogFilesFileReader should be `package private`
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #30814:
URL: https://github.com/apache/spark/pull/30814#issuecomment-747196563
Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/37520/
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #30814: [SPARK-33819][CORE] SingleFileEventLogFileReader/RollingEventLogFilesFileReader should be `package private`
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #30814:
URL: https://github.com/apache/spark/pull/30814#issuecomment-747209128
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/37526/
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] HyukjinKwon commented on pull request #30814: [SPARK-33790][CORE][FOLLOWUP] Avoid API incompatibility in SingleFileEventLogFileReader
Posted by GitBox <gi...@apache.org>.
HyukjinKwon commented on pull request #30814:
URL: https://github.com/apache/spark/pull/30814#issuecomment-747187239
I am not sure how often this will be used somewhere but I am also not sure if it makes sense to keep the compatibility for undocumented classes. I personally prefer to just explicitly hide if I should make a call.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] HeartSaVioR edited a comment on pull request #30814: [SPARK-33790][CORE][FOLLOWUP] Avoid API incompatibility in SingleFileEventLogFileReader
Posted by GitBox <gi...@apache.org>.
HeartSaVioR edited a comment on pull request #30814:
URL: https://github.com/apache/spark/pull/30814#issuecomment-747183380
This sounds me as we have to explicitly separate the public API and the others in CORE module as well.
The class is not designed to be a public class, and even in Spark codebase, it's instantiated via `EventLogFileReader.apply`. (Same applied to `RollingEventLogFilesFileReader`) IMHO the root cause is that these classes are not properly scoped (at least applying package private). My bad.
Not sure about the future approach. Once we exposed these classes should we expose them forever as public API? Or should we agree about the mistake and hide them ASAP?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] dongjoon-hyun commented on pull request #30814: [SPARK-33790][CORE][FOLLOWUP] Avoid API incompatibility in SingleFileEventLogFileReader
Posted by GitBox <gi...@apache.org>.
dongjoon-hyun commented on pull request #30814:
URL: https://github.com/apache/spark/pull/30814#issuecomment-747186865
BTW, I'm updating this PR to hide this explicitly to reduce our MiMa maintenance burden according to your advice.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] HyukjinKwon closed pull request #30814: [SPARK-33819][CORE] SingleFileEventLogFileReader/RollingEventLogFilesFileReader should be `package private`
Posted by GitBox <gi...@apache.org>.
HyukjinKwon closed pull request #30814:
URL: https://github.com/apache/spark/pull/30814
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] HeartSaVioR commented on pull request #30814: [SPARK-33790][CORE][FOLLOWUP] Avoid API incompatibility in SingleFileEventLogFileReader
Posted by GitBox <gi...@apache.org>.
HeartSaVioR commented on pull request #30814:
URL: https://github.com/apache/spark/pull/30814#issuecomment-747183380
This sounds me as we have to separate the public API and the others in CORE module as well.
The class is not designed to be a public class, and even in Spark codebase, it's instantiated via `EventLogFileReader.apply`. (Same applied to `RollingEventLogFilesFileReader`) IMHO the root cause is that these classes are not properly scoped. My bad.
Not sure about the future approach. Once we exposed these classes should we expose them forever as public API? Or should we agree about the mistake and hide them ASAP?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] HeartSaVioR commented on pull request #30814: [SPARK-33790][CORE][FOLLOWUP] Avoid API incompatibility in SingleFileEventLogFileReader
Posted by GitBox <gi...@apache.org>.
HeartSaVioR commented on pull request #30814:
URL: https://github.com/apache/spark/pull/30814#issuecomment-747188972
Downstream wouldn't be easy to leverage the class in any way because the entire interface is not designed to plug in.
Once downstream extends the class and tries to replace with their custom one to change the behavior of SHS, they should probably extend another SHS part of code to not use `EventLogFileReader.apply`, cause it only provides either SingleFileEventLogFileReader or RollingEventLogFilesFileReader, not custom one. Given the complexity, only few downstream may try it, and that fits on the purpose of "developer APIs" which doesn't guarantee backward compatibility.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #30814: [SPARK-33819][CORE] SingleFileEventLogFileReader/RollingEventLogFilesFileReader should be `package private`
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #30814:
URL: https://github.com/apache/spark/pull/30814#issuecomment-747196579
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #30814: [SPARK-33790][CORE][FOLLOWUP] Avoid API incompatibility in SingleFileEventLogFileReader
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #30814:
URL: https://github.com/apache/spark/pull/30814#issuecomment-747177251
**[Test build #132919 has started](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/132919/testReport)** for PR 30814 at commit [`30641b0`](https://github.com/apache/spark/commit/30641b09cbb234d0b289f26669656add40b341ce).
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] SparkQA commented on pull request #30814: [SPARK-33819][CORE] SingleFileEventLogFileReader/RollingEventLogFilesFileReader should be `package private`
Posted by GitBox <gi...@apache.org>.
SparkQA commented on pull request #30814:
URL: https://github.com/apache/spark/pull/30814#issuecomment-747244715
**[Test build #132922 has finished](https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/132922/testReport)** for PR 30814 at commit [`a32cd47`](https://github.com/apache/spark/commit/a32cd479ae00490a941ebe0115d16700308e06be).
* This patch passes all tests.
* This patch merges cleanly.
* This patch adds no public classes.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins commented on pull request #30814: [SPARK-33819][CORE] SingleFileEventLogFileReader/RollingEventLogFilesFileReader should be `package private`
Posted by GitBox <gi...@apache.org>.
AmplabJenkins commented on pull request #30814:
URL: https://github.com/apache/spark/pull/30814#issuecomment-747258018
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] dongjoon-hyun commented on pull request #30814: [SPARK-33819][CORE] SingleFileEventLogFileReader/RollingEventLogFilesFileReader should be `package private`
Posted by GitBox <gi...@apache.org>.
dongjoon-hyun commented on pull request #30814:
URL: https://github.com/apache/spark/pull/30814#issuecomment-747250785
Thank you! I'll make backporting PRs.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] dongjoon-hyun commented on pull request #30814: [SPARK-33819][CORE] SingleFileEventLogFileReader/RollingEventLogFilesFileReader should be `package private`
Posted by GitBox <gi...@apache.org>.
dongjoon-hyun commented on pull request #30814:
URL: https://github.com/apache/spark/pull/30814#issuecomment-747214101
Thank you, @HyukjinKwon .
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org
[GitHub] [spark] AmplabJenkins removed a comment on pull request #30814: [SPARK-33819][CORE] SingleFileEventLogFileReader/RollingEventLogFilesFileReader should be `package private`
Posted by GitBox <gi...@apache.org>.
AmplabJenkins removed a comment on pull request #30814:
URL: https://github.com/apache/spark/pull/30814#issuecomment-747231841
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org