[
https://issues.apache.org/jira/browse/AMBARI-15080?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15153192#comment-15153192
]
Oleksandr Diachenko commented on AMBARI-15080:
----------------------------------------------
Pushed to trunk:
commit defbeddae55d110b3323b389c2666071eec6883d
Author: Oleksandr Diachenko <[email protected]>
Date: Thu Feb 18 13:54:05 2016 -0800
AMBARI-15080. HBase unittest fails when using python 2.6(Lav Jain via
odiachenko).
> HBase unittest fails when using python 2.6
> ------------------------------------------
>
> Key: AMBARI-15080
> URL: https://issues.apache.org/jira/browse/AMBARI-15080
> Project: Ambari
> Issue Type: Bug
> Components: ambari-server
> Affects Versions: trunk
> Reporter: Lav Jain
> Assignee: Lav Jain
> Priority: Critical
> Fix For: 2.3.0
>
> Attachments: AMBARI-15080.patch
>
>
> {code}
> [root@c6401 ambari-server]# python
> Python 2.6.6 (r266:84292, Jul 23 2015, 15:22:56)
> [GCC 4.4.7 20120313 (Red Hat 4.4.7-11)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> [root@c6401 ambari-server]# mvn test
> .
> .
> .
> ----------------------------------------------------------------------
> Failed tests:
> ERROR: Failed to load test files ['test_phoenix_queryserver',
> 'test_hbase_master', 'test_hbase_client', 'test_hbase_service_check',
> 'test_hbase_regionserver']
> ----------------------------------------------------------------------
> Traceback (most recent call last):
> File "unitTests.py", line 120, in stack_test_executor
> modules]
> File "/usr/lib64/python2.6/unittest.py", line 575, in loadTestsFromName
> module = __import__('.'.join(parts_copy))
> File
> "/root/ambari/ambari-server/src/test/python/stacks/2.0.6/HBASE/test_phoenix_queryserver.py",
> line 21, in <module>
> from unittest import SkipTest
> ImportError: cannot import name SkipTest
> ----------------------------------------------------------------------
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)