All,
I’d like to remind you to avoid “from resource_management import *” in the
python code. “import *” seems to cause issues in some production environments
where Ambari is deployed. Recently, the “import *” was removed from almost
every params.py and a bad merge added it back in.
- When you
I completely agree Jonathan. Thank you for starting this initiative.
Cheers,
Alejandro
On 2/18/15, 9:19 AM, "Jonathan Hurley" wrote:
>Hi Developers,
>
>We¹ve been seeing some issues in certain environments where our Python
>global imports aren¹t working. On the surface, executing the imports in
Hi Developers,
We’ve been seeing some issues in certain environments where our Python global
imports aren’t working. On the surface, executing the imports in a clean Python
shell works, but when the agent code gets executed, we’re hit with a bunch of
NameErrors for the imports that Python can’t