sambhav13 opened a new issue, #6125:
URL: https://github.com/apache/hudi/issues/6125

   **_Tips before filing an issue_**
   
   - Have you gone through our [FAQs](https://hudi.apache.org/learn/faq/)?
   
   - Join the mailing list to engage in conversations and get faster support at 
[email protected].
   
   - If you have triaged this as a bug, then file an 
[issue](https://issues.apache.org/jira/projects/HUDI/issues) directly.
   
   **Describe the problem you faced**
   Tried Running 
https://github.com/apache/hudi/tree/master/hudi-examples/hudi-examples-dbt . 
Started the spark Thrift server on 10000 port and configured that in dbt. On 
running dbt run , error comes saying 
**org.apache.hudi.exception.HoodieException: 'hoodie.table.name' must be set.** 
 
   
   A clear and concise description of the problem.
   
   **To Reproduce**
   
   Steps to reproduce the behavior:
   
   1. Start thrift server locally using  ./sbin/start-thriftserver.sh --jars 
hudi-spark-bundle_2.11-0.10.1.jar using spark-3.1.1-bin-hadoop3.2 
   2. Set up ~/.dbt/profiles.yaml
   learnDbt:
     outputs:
       dev:
         host: localhost
         method: thrift
         port: 10000
         schema: sales
         threads: 1
         type: spark
     target: dev
   
   spark:
     outputs:
       dev:
         host: localhost
         method: thrift
         port: 10000
         schema: sales
         threads: 1
         type: spark
     target: dev
   
   3.  dbt debug to test connectivity
   4. dbt run to create models.
   
   **Expected behavior**
   
   As expected on the dbt run command the command should be able to 
successfully create models.
   
   **Environment Description**
   local cloned  repo on macOs.
   * Hudi version :
   0.11
   * Spark version :
   3.1.1
   * Hive version :
   
   * Hadoop version :
   * 3.2
   
   * Storage (HDFS/S3/GCS..) :
   Local Storage
   * Running on Docker? (yes/no) :
   no
   
   **Additional context**
   
   Add any other context about the problem here.
   
   **Stacktrace**
   " Database Error
   10:38:28      org.apache.hive.service.cli.HiveSQLException: Error running 
query: org.apache.hudi.exception.HoodieException: 'hoodie.table.name' must be 
set" 
   ```Add the stacktrace of the error.```
   <img width="1904" alt="dbt-run-with_hudi-examples-dbt" 
src="https://user-images.githubusercontent.com/4696334/179422321-84f9514b-3ee6-4988-924b-2aff80f5d670.png";>
   
   


-- 
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: [email protected]

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

Reply via email to