You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2018/10/13 03:28:00 UTC

[jira] [Commented] (IMPALA-7690) TestAdmissionController.test_pool_config_change_while_queued fails on centos6

    [ https://issues.apache.org/jira/browse/IMPALA-7690?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16648717#comment-16648717 ] 

ASF subversion and git services commented on IMPALA-7690:
---------------------------------------------------------

Commit e65ac1a4341acfce7c1afc08c0c0566ee0ca50ab in impala's branch refs/heads/master from [~bikram.sngh91]
[ https://git-wip-us.apache.org/repos/asf?p=impala.git;h=e65ac1a ]

IMPALA-7690: Make test_pool_config_change_while_queued compatible with
python 2.6

The ElementTree XML API used in test_pool_config_change_while_queued
used iter() which was added in python 2.7. Switching it to
getiterator() made it compatible with python 2.6.

Change-Id: Id2593609e5be288054d1361f0fe57580e17ea042
Reviewed-on: http://gerrit.cloudera.org:8080/11660
Reviewed-by: Pooja Nilangekar <po...@cloudera.com>
Reviewed-by: Michael Brown <mi...@cloudera.com>
Tested-by: Impala Public Jenkins <im...@cloudera.com>


> TestAdmissionController.test_pool_config_change_while_queued fails on centos6
> -----------------------------------------------------------------------------
>
>                 Key: IMPALA-7690
>                 URL: https://issues.apache.org/jira/browse/IMPALA-7690
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Backend
>    Affects Versions: Impala 3.1.0
>            Reporter: Pooja Nilangekar
>            Assignee: Bikramjeet Vig
>            Priority: Blocker
>              Labels: broken-build
>             Fix For: Impala 3.1.0
>
>
> TestAdmissionController.test_pool_config_change_while_queued fails on Centos6 because python 2.6 does not support iter() on {{xml.etree.ElementTree. }}
>  
> Here are the logs from the test failure:
>  
> {code:java}
> custom_cluster/test_admission_controller.py:767: in test_pool_config_change_while_queued
>     config.set_config_value(pool_name, config_str, 1)
> common/resource_pool_config.py:43: in set_config_value
>     node = self.__find_xml_node(self.root, pool_name, config_str)
> common/resource_pool_config.py:86: in __find_xml_node
>     for property in xml_root.iter('property'):
> E   AttributeError: _ElementInterface instance has no attribute 'iter'
> {code}
>  
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org