Jump to content

Spark Thrift Server JDBC Issue

Sonu Prakash

Recommended Posts


We are trying to connect to Spark Thrift server using JDBC through Spotfire but it's throwing

Error retrieving metadata: Error getting tables: java.lang.IllegalArgumentException: Can not create a Path from an empty string (HRESULT: 80131500) error.

When we check the Spark Thrift server logs the statement it's sending is:Listing tables 'catalog : null, schemaPattern : %, tableTypes : TABLE,EXTERNAL TABLE, tableName : null'


When we try the same jars using SQL Developer: The statement is:Listing tables 'catalog : null, schemaPattern : sample_db, tableTypes : TABLE,VIEW, tableName : null'

The SQL Developer sends the right schemaPattern : sample_dbbut Spotfire sendsschemaPattern : %. This is the discrepancy between the 2 JDBC client.

Any help is much appreciated.




Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...