Skip to main content
advincenting
Gold ⭐️
Mar 28, 2020 6:51 AM UTC
Solved

ASK:Ambari Hive View Expert : When and How to generate table of ds_jobimpl_xx and ds_jobimpl_xx_id_seq?

I have a problem when init Hive view. It inits ds_jobimpl_xx table but miss add ds_jobimpl_xx_id_seq to ambari_sequences.

I go through all Hive view code but can not find any info about those. Any expert can help me to clarify it?  Thank you.

advincenting
Gold ⭐️
Mar 28, 2020 8:53 AM UTC

After going through code I find in here to generate ds_jobimpl_xx  and insert ds_jobimpl_xx_id_seq. 

 

https://github.com/apache/ambari/blob/trunk/ambari-server/src/main/java/org/apache/ambari/server/view/persistence/DataStoreImpl.java

1 reply

advincenting
advincentingAuthorAnswer
Gold ⭐️
Mar 28, 2020 8:53 AM UTC

After going through code I find in here to generate ds_jobimpl_xx  and insert ds_jobimpl_xx_id_seq. 

 

https://github.com/apache/ambari/blob/trunk/ambari-server/src/main/java/org/apache/ambari/server/view/persistence/DataStoreImpl.java

Translate