EsharEditor / ambari-hue-service

Ambari stack service for easily installing and managing Hue on HDP cluster
Apache License 2.0
107 stars 68 forks source link

config is not saved to hue.ini #20

Open zyfo2 opened 7 years ago

zyfo2 commented 7 years ago

After installing, I can change conf, but it's not saved to hue.ini file and not working. Am I supposed to get the content of pseudo-distributed conf and save it to hue.ini?

EsharEditor commented 7 years ago

Hi zyfo2: What‘s the version you are using for hue? if the version is 3.11.0+,the conf of pseudo-distributed can be used.

OneCricketeer commented 7 years ago

@zyfo2 All ini files under $HUE_HOME/desktop/conf are treated equally.

At least that is what it says in the files.

zyfo2 commented 7 years ago

Thanks for help. @EsharEditor @cricket007 I'm using 3.12.0. I'm fairly new to ambari and hue. I didn't see the pseudo content saved in the setup so just wanna make sure that I need to add it. After adding File(os.path.join(params.hue_conf_dir, 'hue.ini'), owner=params.hue_user, group=params.hue_group, content=InlineTemplate(params.hue_pseudodistributed_content), mode=0644, ) in setup_hue.py and make a few fixs in this pseudo conf, it works.