-
Notifications
You must be signed in to change notification settings - Fork 189
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
Dataframe created from Bigquery table in spark returns no value; however schema of the table is returned. #216
Comments
Can you please see if you can reproduce on spark 2.4.5? |
Let me reproduce it.. |
Also, can you try to reproduce on non-windows machine? |
sure.. |
Reproduced it in windows 7 with spark 2.4.5. I see the same error thrown. Here are the logs attached. Working on non-windows machine. |
It seems that conscrypt fails to load the native library, and therefore the netty SSL fails to initialize. Since I don't see this issues on Mac and Linux, I'd appreciate it if you can find a none-windows machine - I think that a GCE instance or perhaps even docker will do. |
Working on running this on Oracle VM + Ubuntu18.. hope it works on that. will keep you posted. |
I tried with Ubuntu18.04 (without any VMs) and with same configuration as previous... AND IT WORKED FINE.. But with OpenJDK14.0.2 - it threw the different error.. attaching the logs with both spark versions for openJDK14.0.2.. ubuntu_spark2.4.3_bqconnector0.17.0.gz |
This was the last line in the logs in the success scenario with Oracle JDK8.. [warn] Thread[grpc-nio-worker-ELG-1-1,5,run-main-group-0] loading com.google.cloud.spark.bigquery.repackaged.io.netty.util.concurrent.DefaultPromise$1 after test or run has completed. This is a likely resource leak This could be useful while locating the issue in windows environment and with openJDK14.0.2. |
First of all, I'm glad to see that the original ALPN issue does not exist, it may be a windows dependent issue. A PR has already been submitted, so I'll try to have a bug fix ready soon. Regarding to the error from the provided log - it is a netty issue of Java 9+ Can you please add the |
@raghavendra-gupta Has the netty flag helped? |
Fixed in 0.17.1 |
@TiGaI Can you please open a new issue with all the details - version of scala, java, spark and a sample code (python/scala/java), Do you build the app, and of so how. |
Environment:
Win7
Spark (2.4.3)
SBT
Scala (2.11.12)
IntelliJ
BigQuery Connector ( "com.google.cloud.spark" %% "spark-bigquery-with-dependencies" % "0.17.0")
build.sbt file -
Code that fails:
It returns the result for printSchema - but fails for printing the data of the table ( newDF.show() ).
Logs -
The text was updated successfully, but these errors were encountered: