ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmytro Sen (JIRA)" <j...@apache.org>
Subject [jira] [Reopened] (AMBARI-15741) Remove PHD references from HAWQ
Date Fri, 08 Apr 2016 16:06:25 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-15741?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Dmytro Sen reopened AMBARI-15741:
---------------------------------

The patch breaks unit tests in branch-2.2
{code}
----------------------------------------------------------------------
Failed tests:
ERROR: test_configure_default (test_hawqmaster.TestHawqMaster)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/dmitry/ambari/ambari-server/../ambari-common/src/test/python/mock/mock.py",
line 1191, in patched
    arg = patching.__enter__()
  File "/home/dmitry/ambari/ambari-server/../ambari-common/src/test/python/mock/mock.py",
line 1250, in __enter__
    self.target = self.getter()
  File "/home/dmitry/ambari/ambari-server/../ambari-common/src/test/python/mock/mock.py",
line 1412, in <lambda>
    getter = lambda: _importer(target)
  File "/home/dmitry/ambari/ambari-server/../ambari-common/src/test/python/mock/mock.py",
line 1096, in _importer
    thing = __import__(import_path)
  File "/home/dmitry/ambari/ambari-server/src/main/resources/common-services/HAWQ/2.0.0/package/scripts/hawqmaster.py",
line 25, in <module>
    from resource_management.libraries.functions import stack_select
  File "/home/dmitry/ambari/ambari-common/src/main/python/resource_management/libraries/functions/stack_select.py",
line 28, in <module>
  File "/home/dmitry/ambari/ambari-common/src/main/python/resource_management/libraries/functions/get_stack_version.py",
line 33, in <module>
  File "/home/dmitry/ambari/ambari-common/src/main/python/resource_management/libraries/functions/stack_tools.py",
line 28, in <module>
ImportError: cannot import name pad

ERROR: test_install_default (test_hawqmaster.TestHawqMaster)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/dmitry/ambari/ambari-server/../ambari-common/src/test/python/mock/mock.py",
line 1191, in patched
    arg = patching.__enter__()
  File "/home/dmitry/ambari/ambari-server/../ambari-common/src/test/python/mock/mock.py",
line 1250, in __enter__
    self.target = self.getter()
  File "/home/dmitry/ambari/ambari-server/../ambari-common/src/test/python/mock/mock.py",
line 1412, in <lambda>
    getter = lambda: _importer(target)
  File "/home/dmitry/ambari/ambari-server/../ambari-common/src/test/python/mock/mock.py",
line 1096, in _importer
    thing = __import__(import_path)
  File "/home/dmitry/ambari/ambari-server/src/main/resources/common-services/HAWQ/2.0.0/package/scripts/hawqmaster.py",
line 25, in <module>
    from resource_management.libraries.functions import stack_select
  File "/home/dmitry/ambari/ambari-common/src/main/python/resource_management/libraries/functions/stack_select.py",
line 28, in <module>
  File "/home/dmitry/ambari/ambari-common/src/main/python/resource_management/libraries/functions/get_stack_version.py",
line 33, in <module>
  File "/home/dmitry/ambari/ambari-common/src/main/python/resource_management/libraries/functions/stack_tools.py",
line 28, in <module>
ImportError: cannot import name pad

ERROR: test_start_default (test_hawqmaster.TestHawqMaster)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/dmitry/ambari/ambari-server/../ambari-common/src/test/python/mock/mock.py",
line 1191, in patched
    arg = patching.__enter__()
  File "/home/dmitry/ambari/ambari-server/../ambari-common/src/test/python/mock/mock.py",
line 1250, in __enter__
    self.target = self.getter()
  File "/home/dmitry/ambari/ambari-server/../ambari-common/src/test/python/mock/mock.py",
line 1412, in <lambda>
    getter = lambda: _importer(target)
  File "/home/dmitry/ambari/ambari-server/../ambari-common/src/test/python/mock/mock.py",
line 1096, in _importer
    thing = __import__(import_path)
  File "/home/dmitry/ambari/ambari-server/src/main/resources/common-services/HAWQ/2.0.0/package/scripts/hawqmaster.py",
line 25, in <module>
    from resource_management.libraries.functions import stack_select
  File "/home/dmitry/ambari/ambari-common/src/main/python/resource_management/libraries/functions/stack_select.py",
line 28, in <module>
  File "/home/dmitry/ambari/ambari-common/src/main/python/resource_management/libraries/functions/get_stack_version.py",
line 33, in <module>
  File "/home/dmitry/ambari/ambari-common/src/main/python/resource_management/libraries/functions/stack_tools.py",
line 28, in <module>
ImportError: cannot import name pad

ERROR: test_stop_default (test_hawqmaster.TestHawqMaster)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/dmitry/ambari/ambari-server/../ambari-common/src/test/python/mock/mock.py",
line 1191, in patched
    arg = patching.__enter__()
  File "/home/dmitry/ambari/ambari-server/../ambari-common/src/test/python/mock/mock.py",
line 1250, in __enter__
    self.target = self.getter()
  File "/home/dmitry/ambari/ambari-server/../ambari-common/src/test/python/mock/mock.py",
line 1412, in <lambda>
    getter = lambda: _importer(target)
  File "/home/dmitry/ambari/ambari-server/../ambari-common/src/test/python/mock/mock.py",
line 1096, in _importer
    thing = __import__(import_path)
  File "/home/dmitry/ambari/ambari-server/src/main/resources/common-services/HAWQ/2.0.0/package/scripts/hawqmaster.py",
line 25, in <module>
    from resource_management.libraries.functions import stack_select
  File "/home/dmitry/ambari/ambari-common/src/main/python/resource_management/libraries/functions/stack_select.py",
line 28, in <module>
  File "/home/dmitry/ambari/ambari-common/src/main/python/resource_management/libraries/functions/get_stack_version.py",
line 33, in <module>
  File "/home/dmitry/ambari/ambari-common/src/main/python/resource_management/libraries/functions/stack_tools.py",
line 28, in <module>
ImportError: cannot import name pad

----------------------------------------------------------------------
Total run:954
Total errors:4
Total failures:0
ERROR
{code}

Please fix.

> Remove PHD references from HAWQ
> -------------------------------
>
>                 Key: AMBARI-15741
>                 URL: https://issues.apache.org/jira/browse/AMBARI-15741
>             Project: Ambari
>          Issue Type: Bug
>    Affects Versions: trunk, 2.2.0
>            Reporter: Lav Jain
>            Assignee: Lav Jain
>            Priority: Minor
>             Fix For: 2.3.0, 2.2.2
>
>         Attachments: AMBARI-15741.branch22.patch, AMBARI-15741.patch
>
>
> Remove any reference to PHD (pivotal) stack in HAWQ codebase as it has been obsoleted.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message