i4late opened a new issue #1610:
URL: https://github.com/apache/incubator-hudi/issues/1610


   when running
   /var/hoodie/ws/hudi-hive-sync/run_sync_tool.sh \
     --jdbc-url jdbc:hive2://hiveserver:10000 \
     --user hive \
     --pass hive \
     --partitioned-by dt \
     --base-path /user/hive/warehouse/stock_ticks_cow \
     --database default \
     --table stock_ticks_cow
   
   The information is as follows
   
   2020-05-09 09:47:54,583 INFO  [main] hive.HiveSyncTool 
(HiveSyncTool.java:syncHoodieTable(107)) - Trying to sync hoodie table 
stock_ticks_cow with base path /user/hive/warehouse/stock_ticks_cow of type 
COPY_ON_WRITE
   2020-05-09 09:47:54,778 INFO  [main] hive.metastore 
(HiveMetaStoreClient.java:close(564)) - Closed a connection to metastore, 
current connections: 0
   Exception in thread "main" java.lang.NoSuchMethodError: 
org.apache.avro.Schema$Field.<init>(Ljava/lang/String;Lorg/apache/avro/Schema;Ljava/lang/String;Ljava/lang/Object;)V
        at 
org.apache.hudi.avro.HoodieAvroUtils.addMetadataFields(HoodieAvroUtils.java:143)
        at 
org.apache.hudi.common.table.TableSchemaResolver.getTableSchemaFromCommitMetadata(TableSchemaResolver.java:201)
        at 
org.apache.hudi.common.table.TableSchemaResolver.getTableParquetSchema(TableSchemaResolver.java:166)
        at 
org.apache.hudi.hive.HoodieHiveClient.getDataSchema(HoodieHiveClient.java:339)
        at 
org.apache.hudi.hive.HiveSyncTool.syncHoodieTable(HiveSyncTool.java:112)
        at 
org.apache.hudi.hive.HiveSyncTool.syncHoodieTable(HiveSyncTool.java:87)
        at org.apache.hudi.hive.HiveSyncTool.main(HiveSyncTool.java:207)
   


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


Reply via email to