JulianJaffePinterest commented on pull request #10920:
URL: https://github.com/apache/druid/pull/10920#issuecomment-843974756


   @birTiwana the problem is that you don't have the 
`org.apache.spark.sql.sources.DataSourceRegister` resource in your 
META-INF/services, so the short name resolution isn't working. How are you 
building the jar?
   
   If you're using `mvn clean package -pl extensions-core/spark-extensions`, 
try deleting the line in the pom that sets the ServicesResourcesTransformer 
(`<transformer 
implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer"/>`
 ). If you don't want to include the resource in your META-INF services, you 
can also just use the fully qualified name instead: 
`org.apache.druid.spark.v2.DruidDataSourceV2`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to