Skip to content

Conversation

@marmbrus
Copy link
Owner

This is just a quick hack, but as I learned today... its nearly impossible to use this in notebooks unless there is a little bit of debugging info provided by the returned object. This is similar to the debugging info we provide in QueryExecution today for batch queries.

=== Streaming Query ===
CurrentOffsets: {}
Thread State: TERMINATED
java.io.FileNotFoundException: File /asdfasdf does not exist
    at org.apache.hadoop.fs.RawLocalFileSystem.listStatus(RawLocalFileSystem.java:379)
    at org.apache.hadoop.fs.FileSystem.listStatus(FileSystem.java:1482)
    at org.apache.hadoop.fs.FileSystem.listStatus(FileSystem.java:1522)
    at org.apache.hadoop.fs.ChecksumFileSystem.listStatus(ChecksumFileSystem.java:564)
    at org.apache.spark.sql.execution.streaming.FileStreamSource.fetchAllFiles(FileStreamSource.scala:123)
    at org.apache.spark.sql.execution.streaming.FileStreamSource.fetchMaxOffset(FileStreamSource.scala:46)
    at org.apache.spark.sql.execution.streaming.FileStreamSource.getNextBatch(FileStreamSource.scala:71)
    at org...

@rxin
Copy link

rxin commented Jan 15, 2016

Can you paste a tostring output?

@marmbrus
Copy link
Owner Author

Added

@rxin
Copy link

rxin commented Jan 15, 2016

LGTM - although it'd be slightly better to not print a blank line in the case of no error

@AmplabJenkins
Copy link

Merged build finished. Test PASSed.

@AmplabJenkins
Copy link

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/spark-streaming-df-test/46/
Test PASSed.

marmbrus added a commit that referenced this pull request Jan 15, 2016
Add a better toString to StreamExection
@marmbrus marmbrus merged commit b991c8c into streaming-df Jan 15, 2016
@marmbrus marmbrus deleted the streamingToString branch March 8, 2016 00:06
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.

4 participants