[jira] [Commented] (AMBARI-18337) Syntax Error in Ambari HAWQ Unit test with Python 2.6
[ https://issues.apache.org/jira/browse/AMBARI-18337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15508287#comment-15508287 ] Hudson commented on AMBARI-18337: - FAILURE: Integrated in Jenkins build Ambari-branch-2.5 #62 (See [https://builds.apache.org/job/Ambari-branch-2.5/62/]) AMBARI-18337: Syntax Error in Ambari HAWQ Unit test with Python 2.6 (ljain: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=ef837ba141c74b1db2497217995205e5d9340432]) * (edit) ambari-server/src/test/python/common-services/HAWQ/test_service_advisor.py > Syntax Error in Ambari HAWQ Unit test with Python 2.6 > - > > Key: AMBARI-18337 > URL: https://issues.apache.org/jira/browse/AMBARI-18337 > Project: Ambari > Issue Type: Bug > Components: ambari-server >Affects Versions: trunk > Environment: CentOS6, Python 2.6 >Reporter: Masahiro Tanaka >Assignee: Masahiro Tanaka > Fix For: trunk, 2.5.0, 2.4.2 > > Attachments: AMBARI-18337.patch > > > With Python 2.6, {code} {"A", "B"} {code} syntax isn't allowed. > Ref. https://docs.python.org/2/library/stdtypes.html#set-types-set-frozenset > {code} > As of Python 2.7, non-empty sets (not frozensets) can be created by placing a > comma-separated list of elements within braces, for example: {'jack', > 'sjoerd'}, in addition to the set constructor. > {code} > Error > {code} > Traceback (most recent call last): > File "unitTests.py", line 129, in stack_test_executor > modules] > File "/usr/lib64/python2.6/unittest.py", line 575, in loadTestsFromName > module = __import__('.'.join(parts_copy)) > File > "/tmp/ambari/ambari-server/src/test/python/common-services/HAWQ/test_service_advisor.py", > li > ne 646 > self.assertFalse({'HAWQMASTER', 'HAWQSTANDBY'}.issubset(hostComponents)) > ^ > SyntaxError: invalid syntax > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (AMBARI-18337) Syntax Error in Ambari HAWQ Unit test with Python 2.6
[ https://issues.apache.org/jira/browse/AMBARI-18337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15508135#comment-15508135 ] Hudson commented on AMBARI-18337: - FAILURE: Integrated in Jenkins build Ambari-trunk-Commit #5699 (See [https://builds.apache.org/job/Ambari-trunk-Commit/5699/]) AMBARI-18337: Syntax Error in Ambari HAWQ Unit test with Python 2.6 (ljain: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=3b30de0a8ad939768e9194fb63ef19f07eaabaee]) * (edit) ambari-server/src/test/python/common-services/HAWQ/test_service_advisor.py > Syntax Error in Ambari HAWQ Unit test with Python 2.6 > - > > Key: AMBARI-18337 > URL: https://issues.apache.org/jira/browse/AMBARI-18337 > Project: Ambari > Issue Type: Bug > Components: ambari-server >Affects Versions: trunk > Environment: CentOS6, Python 2.6 >Reporter: Masahiro Tanaka >Assignee: Masahiro Tanaka > Fix For: trunk, 2.5.0, 2.4.2 > > Attachments: AMBARI-18337.patch > > > With Python 2.6, {code} {"A", "B"} {code} syntax isn't allowed. > Ref. https://docs.python.org/2/library/stdtypes.html#set-types-set-frozenset > {code} > As of Python 2.7, non-empty sets (not frozensets) can be created by placing a > comma-separated list of elements within braces, for example: {'jack', > 'sjoerd'}, in addition to the set constructor. > {code} > Error > {code} > Traceback (most recent call last): > File "unitTests.py", line 129, in stack_test_executor > modules] > File "/usr/lib64/python2.6/unittest.py", line 575, in loadTestsFromName > module = __import__('.'.join(parts_copy)) > File > "/tmp/ambari/ambari-server/src/test/python/common-services/HAWQ/test_service_advisor.py", > li > ne 646 > self.assertFalse({'HAWQMASTER', 'HAWQSTANDBY'}.issubset(hostComponents)) > ^ > SyntaxError: invalid syntax > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (AMBARI-18337) Syntax Error in Ambari HAWQ Unit test with Python 2.6
[ https://issues.apache.org/jira/browse/AMBARI-18337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15507874#comment-15507874 ] Lav Jain commented on AMBARI-18337: --- Committed to branch-2.4 (0a992d667ab485050fb14984310e39020eb6b8b7), branch-2.5 (ef837ba141c74b1db2497217995205e5d9340432) and trunk (3b30de0a8ad939768e9194fb63ef19f07eaabaee) > Syntax Error in Ambari HAWQ Unit test with Python 2.6 > - > > Key: AMBARI-18337 > URL: https://issues.apache.org/jira/browse/AMBARI-18337 > Project: Ambari > Issue Type: Bug > Components: ambari-server >Affects Versions: trunk > Environment: CentOS6, Python 2.6 >Reporter: Masahiro Tanaka >Assignee: Masahiro Tanaka > Fix For: trunk, 2.5.0, 2.4.2 > > Attachments: AMBARI-18337.patch > > > With Python 2.6, {code} {"A", "B"} {code} syntax isn't allowed. > Ref. https://docs.python.org/2/library/stdtypes.html#set-types-set-frozenset > {code} > As of Python 2.7, non-empty sets (not frozensets) can be created by placing a > comma-separated list of elements within braces, for example: {'jack', > 'sjoerd'}, in addition to the set constructor. > {code} > Error > {code} > Traceback (most recent call last): > File "unitTests.py", line 129, in stack_test_executor > modules] > File "/usr/lib64/python2.6/unittest.py", line 575, in loadTestsFromName > module = __import__('.'.join(parts_copy)) > File > "/tmp/ambari/ambari-server/src/test/python/common-services/HAWQ/test_service_advisor.py", > li > ne 646 > self.assertFalse({'HAWQMASTER', 'HAWQSTANDBY'}.issubset(hostComponents)) > ^ > SyntaxError: invalid syntax > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (AMBARI-18337) Syntax Error in Ambari HAWQ Unit test with Python 2.6
[ https://issues.apache.org/jira/browse/AMBARI-18337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15495500#comment-15495500 ] Masahiro Tanaka commented on AMBARI-18337: -- Hi [~lavjain], thank you for reviewing on RB. Hi [~adenisso], [~mithmatt], could you review this? > Syntax Error in Ambari HAWQ Unit test with Python 2.6 > - > > Key: AMBARI-18337 > URL: https://issues.apache.org/jira/browse/AMBARI-18337 > Project: Ambari > Issue Type: Bug > Components: ambari-server >Affects Versions: trunk > Environment: CentOS6, Python 2.6 >Reporter: Masahiro Tanaka >Assignee: Masahiro Tanaka > Attachments: AMBARI-18337.patch > > > With Python 2.6, {code} {"A", "B"} {code} syntax isn't allowed. > Ref. https://docs.python.org/2/library/stdtypes.html#set-types-set-frozenset > {code} > As of Python 2.7, non-empty sets (not frozensets) can be created by placing a > comma-separated list of elements within braces, for example: {'jack', > 'sjoerd'}, in addition to the set constructor. > {code} > Error > {code} > Traceback (most recent call last): > File "unitTests.py", line 129, in stack_test_executor > modules] > File "/usr/lib64/python2.6/unittest.py", line 575, in loadTestsFromName > module = __import__('.'.join(parts_copy)) > File > "/tmp/ambari/ambari-server/src/test/python/common-services/HAWQ/test_service_advisor.py", > li > ne 646 > self.assertFalse({'HAWQMASTER', 'HAWQSTANDBY'}.issubset(hostComponents)) > ^ > SyntaxError: invalid syntax > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (AMBARI-18337) Syntax Error in Ambari HAWQ Unit test with Python 2.6
[ https://issues.apache.org/jira/browse/AMBARI-18337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15475395#comment-15475395 ] Hadoop QA commented on AMBARI-18337: {color:green}+1 overall{color}. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12827665/AMBARI-18337.patch against trunk revision . {color:green}+1 @author{color}. The patch does not contain any @author tags. {color:green}+1 tests included{color}. The patch appears to include 1 new or modified test files. {color:green}+1 javac{color}. The applied patch does not increase the total number of javac compiler warnings. {color:green}+1 release audit{color}. The applied patch does not increase the total number of release audit warnings. {color:green}+1 core tests{color}. The patch passed unit tests in ambari-server. Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/8623//testReport/ Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/8623//console This message is automatically generated. > Syntax Error in Ambari HAWQ Unit test with Python 2.6 > - > > Key: AMBARI-18337 > URL: https://issues.apache.org/jira/browse/AMBARI-18337 > Project: Ambari > Issue Type: Bug > Components: ambari-server >Affects Versions: trunk > Environment: CentOS6, Python 2.6 >Reporter: Masahiro Tanaka >Assignee: Masahiro Tanaka > Attachments: AMBARI-18337.patch > > > With Python 2.6, {code} {"A", "B"} {code} syntax isn't allowed. > Ref. https://docs.python.org/2/library/stdtypes.html#set-types-set-frozenset > {code} > As of Python 2.7, non-empty sets (not frozensets) can be created by placing a > comma-separated list of elements within braces, for example: {'jack', > 'sjoerd'}, in addition to the set constructor. > {code} > Error > {code} > Traceback (most recent call last): > File "unitTests.py", line 129, in stack_test_executor > modules] > File "/usr/lib64/python2.6/unittest.py", line 575, in loadTestsFromName > module = __import__('.'.join(parts_copy)) > File > "/tmp/ambari/ambari-server/src/test/python/common-services/HAWQ/test_service_advisor.py", > li > ne 646 > self.assertFalse({'HAWQMASTER', 'HAWQSTANDBY'}.issubset(hostComponents)) > ^ > SyntaxError: invalid syntax > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)