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/04/24 15:03:49 UTC

[GitHub] [hudi] hadonchen opened a new pull request, #5417: add org.apache.hive:hive-exec

hadonchen opened a new pull request, #5417:
URL: https://github.com/apache/hudi/pull/5417

   This pull request add <include>org.apache.hive:hive-exec</include>  to fix the problem that could not find Class org.apache.hudi.org.apache.hadoop.hive.ql.metadata.Hive
   
   When I use the profile flink-bundle-shade-hive to install Hudi to get hudi-flink-bundle_2.11-0.x.jar , follow  https://hudi.apache.org/docs/syncing_metastore#flink-setup. After build the project , I use hive sync mode that jdbc. hms and get the ClassNotFoundException :
   
   	java.lang.NoClassDefFoundError: org/apache/hudi/org/apache/hadoop/hive/ql/metadata/Hive
   	at org.apache.hudi.hive.HoodieHiveClient.<init>(HoodieHiveClient.java:90) ~[blob_p-0951bf12da72a889217ad35a2081c3630b972965-a3df0e22aa1074568a0afdd661880a9d:0.10.1]
   	at org.apache.hudi.hive.HiveSyncTool.<init>(HiveSyncTool.java:78) ~[blob_p-0951bf12da72a889217ad35a2081c3630b972965-a3df0e22aa1074568a0afdd661880a9d:0.10.1]
   	at org.apache.hudi.sink.utils.HiveSyncContext.hiveSyncTool(HiveSyncContext.java:51) ~[blob_p-0951bf12da72a889217ad35a2081c3630b972965-a3df0e22aa1074568a0afdd661880a9d:0.10.1]
   	at org.apache.hudi.sink.StreamWriteOperatorCoordinator.syncHive(StreamWriteOperatorCoordinator.java:302) ~[blob_p-0951bf12da72a889217ad35a2081c3630b972965-a3df0e22aa1074568a0afdd661880a9d:0.10.1]
   	at org.apache.hudi.sink.utils.NonThrownExecutor.lambda$execute$0(NonThrownExecutor.java:93) ~[blob_p-0951bf12da72a889217ad35a2081c3630b972965-a3df0e22aa1074568a0afdd661880a9d:0.10.1]
   	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_144]
   	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_144]
   	at java.lang.Thread.run(Thread.java:748) [?:1.8.0_144]
   
   
   **I found https://github.com/apache/hudi/blob/cc3896be2a023f8819883d745178503286ac2ab1/packaging/hudi-utilities-bundle/pom.xml missing the <include>org.apache.hive:hive-exec</include>.**
   
   
   ## Brief change log
   
   *(for example:)*
     - *Modify AnnotationLocation checkstyle rule in checkstyle.xml*
   
   ## Verify this pull request
   
   *(Please pick either of the following options)*
   
   This pull request is a trivial rework / code cleanup without any test coverage.
   
   *(or)*
   
   This pull request is already covered by existing tests, such as *(please describe tests)*.
   
   (or)
   
   This change added tests and can be verified as follows:
   
   *(example:)*
   
     - *Added integration tests for end-to-end.*
     - *Added HoodieClientWriteTest to verify the change.*
     - *Manually verified the change by running a job locally.*
   
   ## 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 #5417: Flink hive sync got ClassNotFoundException (org/apache/hudi/org/apache/hadoop/hive/ql/metadata/Hive)

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

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "494a47ba3fa5f0afd151166e2a3d61866dd427c9",
       "status" : "FAILURE",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=8272",
       "triggerID" : "494a47ba3fa5f0afd151166e2a3d61866dd427c9",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 494a47ba3fa5f0afd151166e2a3d61866dd427c9 Azure: [FAILURE](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=8272) 
   
   <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] hadonchen closed pull request #5417: Flink hive sync got ClassNotFoundException (org/apache/hudi/org/apache/hadoop/hive/ql/metadata/Hive)

Posted by GitBox <gi...@apache.org>.
hadonchen closed pull request #5417: Flink hive sync got ClassNotFoundException (org/apache/hudi/org/apache/hadoop/hive/ql/metadata/Hive)
URL: https://github.com/apache/hudi/pull/5417


-- 
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 #5417: fix java.lang.NoClassDefFoundError: org/apache/hudi/org/apache/hadoop/hive/ql/metadata/Hive

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

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "494a47ba3fa5f0afd151166e2a3d61866dd427c9",
       "status" : "UNKNOWN",
       "url" : "TBD",
       "triggerID" : "494a47ba3fa5f0afd151166e2a3d61866dd427c9",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 494a47ba3fa5f0afd151166e2a3d61866dd427c9 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 #5417: Flink hive sync got ClassNotFoundException (org/apache/hudi/org/apache/hadoop/hive/ql/metadata/Hive)

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

   <!--
   Meta data
   {
     "version" : 1,
     "metaDataEntries" : [ {
       "hash" : "494a47ba3fa5f0afd151166e2a3d61866dd427c9",
       "status" : "PENDING",
       "url" : "https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=8272",
       "triggerID" : "494a47ba3fa5f0afd151166e2a3d61866dd427c9",
       "triggerType" : "PUSH"
     } ]
   }-->
   ## CI report:
   
   * 494a47ba3fa5f0afd151166e2a3d61866dd427c9 Azure: [PENDING](https://dev.azure.com/apache-hudi-ci-org/785b6ef4-2f42-4a89-8f0e-5f0d7039a0cc/_build/results?buildId=8272) 
   
   <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