rubenssoto opened a new issue #3814:
URL: https://github.com/apache/hudi/issues/3814


   Hello,
   
   I have spark server using EMR 6.2 and I started the thrift server using the 
following command
   ```
   sudo /usr/lib/spark/sbin/start-thriftserver.sh --packages 
org.apache.hudi:hudi-spark3-bundle_2.12:0.9.0,org.apache.spark:spark-avro_2.12:3.0.1
 --conf 'spark.serializer=org.apache.spark.serializer.KryoSerializer' --conf 
'spark.sql.extensions=org.apache.spark.sql.hudi.HoodieSparkSessionExtension'
   ```
   
   I made a JDBC connection using a SQL Client, so I tried to execute:
   ```
   create table if not exists dbt_test.hudi_table0 (
     id int, 
     name string, 
     price double
   ) using hudi
   options (
     type = 'cow',
     primaryKey = 'id'
   );
   ```
   
   And I had the error
   ```
   SQL Error: Error running query: java.lang.ClassNotFoundException: 
hudi.DefaultSource
   ```
   
   Could you help me with this?
   
   Thank you


-- 
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.

To unsubscribe, e-mail: commits-unsubscr...@hudi.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to