miho120 / ambari-airflow-mpack

Ambari stack service for installing and managing Apache Airflow on HDP cluster
Apache License 2.0
59 stars 44 forks source link

pip repo path #7

Closed ghost closed 6 years ago

ghost commented 6 years ago

I can't to install package from public repo because host have no internet access. I must install python package from internal repo only. So could you please add option where i can add path to repo during installation? For example: pip install airflow --index-url https://link --trusted-host host

miho120 commented 6 years ago

Hi @ururu-fy. Thanks for informing. Possibility to add pip arguments has been added in commit 92dd09b407bea97af792231b6dd3c3c287112d3b. When you're installing airflow mpack and seeing service configuration form, go to "Advanced airflow-env" and you should see "Advanced pip installation parameters".

E.g.: image

P.S. The field available for editing only during installation process.

ghost commented 6 years ago

Thank you! Done.

ghost commented 6 years ago

Sorry i hurried. image Ambari 2.6.1

miho120 commented 6 years ago

Have you tried reinstall airflow service in ambari?

miho120 commented 6 years ago

Could you also send a screenshot of section configuration during installation process?

ghost commented 6 years ago

I was upgrade mpack only. I didn't reinstall airflow. Is it need?

ghost commented 6 years ago

Oh. sorry... i understand, option will appear into installation wizard. I will make new install on Dev cluster and will report you.

ghost commented 6 years ago

Everything work fine, thanks!