Laszlo Gaal has submitted this change and it was merged. ( 
http://gerrit.cloudera.org:8080/22582 )

Change subject: IMPALA-13826: Migrate from imp to importlib in the config 
generator
......................................................................

IMPALA-13826: Migrate from imp to importlib in the config generator

Python has deprecated the 'imp' package in Python 3.4, and removed it in
Python 3.12. The deprecation has also started throwing warnings in
versions before 3.12.

The template generator used a single call to imp.load_source to load the
template Python file. This is now replaced with code snippet published
in Python's official documentation.

Change-Id: I472d093eeaac97a380d444a1756b54f825b2d031
Reviewed-on: http://gerrit.cloudera.org:8080/22582
Reviewed-by: Zoltan Borok-Nagy <[email protected]>
Tested-by: Laszlo Gaal <[email protected]>
---
M bin/generate_xml_config.py
1 file changed, 28 insertions(+), 2 deletions(-)

Approvals:
  Zoltan Borok-Nagy: Looks good to me, approved
  Laszlo Gaal: Verified

--
To view, visit http://gerrit.cloudera.org:8080/22582
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I472d093eeaac97a380d444a1756b54f825b2d031
Gerrit-Change-Number: 22582
Gerrit-PatchSet: 5
Gerrit-Owner: Laszlo Gaal <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Laszlo Gaal <[email protected]>
Gerrit-Reviewer: Zoltan Borok-Nagy <[email protected]>

Reply via email to