-
Notifications
You must be signed in to change notification settings - Fork 29k
Spark 3754 spark streaming file system api callable from java #2703
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
Spark 3754 spark streaming file system api callable from java #2703
Conversation
|
Test FAILed. |
|
QA tests have started for PR 2703 at commit
|
|
@tdas this fixes the issue with the Java API I found while working on the book. |
|
QA tests have finished for PR 2703 at commit
|
|
Test FAILed. |
|
QA tests have started for PR 2703 at commit
|
|
QA tests have finished for PR 2703 at commit
|
|
Test FAILed. |
|
Can one of the admins verify this patch? |
|
jenkins, retest this please |
…allable-from-java
|
Jenkins, this is ok to test. |
|
QA tests have started for PR 2703 at commit
|
|
QA tests have finished for PR 2703 at commit
|
|
Test FAILed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This does not seem to be related to SPARK 3754
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not sure whether there is any use case for exposing this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the use case of exposing this was so that I could expose equivelent java functionality to what was available in Scala
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @holdenk, although the underlying fileinputdstream supported it, it was not exposed in the API. I am not sure its worth exposing this kind of functionality. So lets not change this.
|
Thanks @holdenk for doing this. This is a great fix. Run the mima test with |
|
@tdas: Ok will do. No one should be using the old API because it ins't callable from Java. |
|
QA tests have started for PR 2703 at commit
|
|
QA tests have finished for PR 2703 at commit
|
|
Test FAILed. |
|
Jenkins, test this again |
|
Test build #23146 has started for PR 2703 at commit
|
|
Test build #23146 has finished for PR 2703 at commit
|
|
Test PASSed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same reason as above, no need to expose this functionality of newFilesOnly
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Correction on this comment. newFilesOnly should be exposed as it is exposed in the Scala api.
|
Ping? |
|
I'll take a look this weekend when I have some time. |
|
Thanks! |
|
This has already been fixed by #4101 Can you please close this PR? |
This is a WIP of making the filesystem api callable for the Java version of Spark Streaming.