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

Fixed Exception swallowing in RasterSource. #345

Merged
merged 4 commits into from
Sep 13, 2019

Conversation

metasim
Copy link
Member

@metasim metasim commented Sep 13, 2019

Depends on #344 .

Fixes #267

@metasim metasim requested a review from vpipkt September 13, 2019 14:21
Copy link
Member

@vpipkt vpipkt left a comment

Choose a reason for hiding this comment

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

small change below bout the error message itself...

I also see that we have a possibly unstable result or regression in one of the unrelated python tests (only on Circle). I think unrelated, passes on Travis and locally. I will try to chip in there.

But overall good times. This is what i see in Notebook cell results when feeding a bad URI into a catalog:

Py4JJavaError: An error occurred while calling o87.showString.
: org.apache.spark.SparkException: Job aborted due to stage failure: Task 2 in stage 1.0 failed 1 times, most recent failure: Lost task 2.0 in stage 1.0 (TID 3, localhost, executor driver): java.lang.IllegalArgumentException: GDALRasterSource(https://modis-pds.s3.amazonaws.com/MCD43A4.006/11/08/2019059/MCD43A4.A2019059.h11v08.006.2019072203257_B02.TIF), GDALRasterSource(https://modis-pds.s3.amazonaws.com/MCD43A4.006/11/08/2019059/MCD43A4.A2019059.h11v08.006.201907229999_B02.TIF)
	at org.locationtech.rasterframes.expressions.generators.RasterSourceToRasterRefs.eval(RasterSourceToRasterRefs.scala:81)

vpipkt and others added 3 commits September 13, 2019 12:31
…table

Signed-off-by: Jason T. Brown <jason@astraea.earth>
* commit 'd183c815168fa31488068314104aacf87cfdabe6':
@metasim metasim merged commit 6e78377 into locationtech:develop Sep 13, 2019
@metasim metasim deleted the fix/267 branch September 13, 2019 17:53
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.

Python access to RasterSource doesn't expose JVM errors
2 participants