Github user zsxwing commented on the pull request:
https://github.com/apache/spark/pull/13283#issuecomment-221662515
> ISSUE 3: Unable to detect incompatibility libraries for Spark 2.0 in Data
Source Resolution. We report a strange error message:
> SQL Example:
> select id from
`org.apache.spark.sql.sources.HadoopFsRelationProvider`.`file_path`
> Error Message:
> Table or view not found:
`org.apache.spark.sql.sources.HadoopFsRelationProvider`.`file_path`
This is not an issue you need to fix. `HadoopFsRelationProvider` is just an
interface in Spark 1.6. The user should not use it like this. If someone sees
HadoopFsRelationProvider is not found, it's usually a link issue. E.g.,
`com.databricks.spark.avro.DefaultSource` extends `HadoopFsRelationProvider`,
however, `HadoopFsRelationProvider` has been removed in 2.0, so when loading
`com.databricks.spark.avro.DefaultSource`, it will throw
`NoClassDefFoundError(HadoopFsRelationProvider)` instead of
`ClassNotFoundException(com.databricks.spark.avro.DefaultSource)`
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]