You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by GitBox <gi...@apache.org> on 2022/02/22 11:53:16 UTC

[GitHub] [hudi] xiaozhch5 opened a new pull request #4870: Add hive-standalone-metastore dependency to hudi-flink-bundle module

xiaozhch5 opened a new pull request #4870:
URL: https://github.com/apache/hudi/pull/4870


   ## *Tips*
   - *Thank you very much for contributing to Apache Hudi.*
   - *Please review https://hudi.apache.org/contribute/how-to-contribute before opening a pull request.*
   
   ## What is the purpose of the pull request
   
   Solve the problem of "Caused by: java.lang.ClassNotFoundException: org.apache.hudi.org.apache.hadoop.hive.metastore.api.NoSuchObjectException
   " in hive 3.
   
   ## Brief change log
   
   add dependency
   
   ```xml
           <dependency>
             <groupId>org.apache.hive</groupId>
             <artifactId>hive-standalone-metastore</artifactId>
             <version>${hive.version}</version>
             <scope>${flink.bundle.hive.scope}</scope>
           </dependency>
   ```
   
   to hudi-flink-bundle module
   
   ## Verify this pull request
   
   *(Please pick either of the following options)*
   
   This pull request is already covered by existing tests, such as *(please describe tests)*.
   
   I compile the source code of hudi with hive 3, and succeed in synchronizing the data to hive;
   
   The test tutorial: 
   
   ```sql
   CREATE TABLE sourceT (
     uuid varchar(20),
     name varchar(10),
     age int,
     ts timestamp(3),
     `partition` varchar(20)
   ) WITH (
     'connector' = 'datagen',
     'rows-per-second' = '1'
   );
   
   create table t2(
     uuid varchar(20),
     name varchar(10),
     age int,
     ts timestamp(3),
     `partition` varchar(20)
   )
   with (
     'connector' = 'hudi',
     'path' = 'hdfs://host146:8020/hudi/t4', -- $HUDI_DEMO 替换成的绝对路径
     'table.type' = 'MERGE_ON_READ',
     'write.bucket_assign.tasks' = '2',
     'write.tasks' = '2',
     'hive_sync.enable' = 'true',
     'hive_sync.mode' = 'hms',
     'hive_sync.metastore.uris' = 'thrift://host145:9083' -- ip 替换成 HMS 的地址
   );
   
   insert into t2 select * from sourceT;
   ```
   
   Test result:
   
   ![image](https://user-images.githubusercontent.com/46479816/155126847-b36463d0-2372-41d8-9c99-56554a7f753b.png)
   
   
   ## Committer checklist
   
    - [ ] Has a corresponding JIRA in PR title & commit
    
    - [✔ ] Commit message is descriptive of the change
    
    - [ ] CI is green
   
    - [ ] Necessary doc changes done or have another open PR
          
    - [ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.
   


-- 
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-unsubscribe@hudi.apache.org

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



[GitHub] [hudi] hudi-bot commented on pull request #4870: Add hive-standalone-metastore dependency to hudi-flink-bundle module

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on pull request #4870:
URL: https://github.com/apache/hudi/pull/4870#issuecomment-1047723764


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "27d010612e88bb81d00c232770a80ed1f6ba5ac2",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6203",
       "triggerID" : "27d010612e88bb81d00c232770a80ed1f6ba5ac2",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 27d010612e88bb81d00c232770a80ed1f6ba5ac2 Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6203) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
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-unsubscribe@hudi.apache.org

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



[GitHub] [hudi] hudi-bot commented on pull request #4870: Add hive-standalone-metastore dependency to hudi-flink-bundle module

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on pull request #4870:
URL: https://github.com/apache/hudi/pull/4870#issuecomment-1047720973


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "27d010612e88bb81d00c232770a80ed1f6ba5ac2",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "27d010612e88bb81d00c232770a80ed1f6ba5ac2",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 27d010612e88bb81d00c232770a80ed1f6ba5ac2 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
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-unsubscribe@hudi.apache.org

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



[GitHub] [hudi] hudi-bot commented on pull request #4870: [MINOR] Add hive-standalone-metastore dependency to hudi-flink-bundle module

Posted by GitBox <gi...@apache.org>.
hudi-bot commented on pull request #4870:
URL: https://github.com/apache/hudi/pull/4870#issuecomment-1047791414


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "27d010612e88bb81d00c232770a80ed1f6ba5ac2",
       "status" : "SUCCESS",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6203",
       "triggerID" : "27d010612e88bb81d00c232770a80ed1f6ba5ac2",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 27d010612e88bb81d00c232770a80ed1f6ba5ac2 Azure: [SUCCESS](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6203) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
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-unsubscribe@hudi.apache.org

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



[GitHub] [hudi] hudi-bot removed a comment on pull request #4870: Add hive-standalone-metastore dependency to hudi-flink-bundle module

Posted by GitBox <gi...@apache.org>.
hudi-bot removed a comment on pull request #4870:
URL: https://github.com/apache/hudi/pull/4870#issuecomment-1047720973


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "27d010612e88bb81d00c232770a80ed1f6ba5ac2",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "27d010612e88bb81d00c232770a80ed1f6ba5ac2",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 27d010612e88bb81d00c232770a80ed1f6ba5ac2 UNKNOWN
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
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-unsubscribe@hudi.apache.org

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



[GitHub] [hudi] danny0405 merged pull request #4870: [MINOR] Add hive-standalone-metastore dependency to hudi-flink-bundle module

Posted by GitBox <gi...@apache.org>.
danny0405 merged pull request #4870:
URL: https://github.com/apache/hudi/pull/4870


   


-- 
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-unsubscribe@hudi.apache.org

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



[GitHub] [hudi] hudi-bot removed a comment on pull request #4870: [MINOR] Add hive-standalone-metastore dependency to hudi-flink-bundle module

Posted by GitBox <gi...@apache.org>.
hudi-bot removed a comment on pull request #4870:
URL: https://github.com/apache/hudi/pull/4870#issuecomment-1047723764


   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "27d010612e88bb81d00c232770a80ed1f6ba5ac2",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6203",
       "triggerID" : "27d010612e88bb81d00c232770a80ed1f6ba5ac2",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 27d010612e88bb81d00c232770a80ed1f6ba5ac2 Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=6203) 
   
   <details>
   <summary>Bot commands</summary>
     @hudi-bot supports the following commands:
   
    - `@hudi-bot run azure` re-run the last Azure build
   </details>


-- 
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-unsubscribe@hudi.apache.org

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