In this case, Hue is using MySQL as a backing store. It is not obvious to me what all syncdb is doing but I need to solve a race condition in Chef that would potentially see syncdb executed with multiple times after Hue is running.
Please see the above repo to get more details on syncdb process.
@kkane has this been resolved? Can you post your solution or accept best answer?