ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmytro Sen (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (AMBARI-5341) Namenode unittests are broken
Date Fri, 04 Apr 2014 10:00:20 GMT

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

Dmytro Sen resolved AMBARI-5341.
--------------------------------

    Resolution: Fixed

Committed to trunk

> Namenode unittests are broken
> -----------------------------
>
>                 Key: AMBARI-5341
>                 URL: https://issues.apache.org/jira/browse/AMBARI-5341
>             Project: Ambari
>          Issue Type: Bug
>            Reporter: Andrew Onischuk
>            Assignee: Andrew Onischuk
>             Fix For: 1.5.1
>
>
>     ERROR: test_stop_default (test_snamenode.TestSNamenode)
>     ----------------------------------------------------------------------
>     Traceback (most recent call last):
>       File "/root/ambari/ambari-server/src/test/python/stacks/1.3.2/HDFS/test_snamenode.py",
line 60, in test_stop_default
>         config_file="default.json"
>       File "/root/ambari/ambari-server/src/test/python/stacks/utils/RMFTestCase.py",
line 92, in executeScript
>         method(RMFTestCase.env)
>       File "/root/ambari/ambari-server/src/test/python/stacks/utils/../../../../main/resources/stacks/HDP/1.3.2/services/HDFS/package/scripts/snamenode.py",
line 42, in stop
>         import params
>       File "/root/ambari/ambari-server/src/test/python/stacks/utils/../../../../main/resources/stacks/HDP/2.0.6/services/HDFS/package/scripts/params.py",
line 113, in <module>
>         dfs_domain_socket_dir = os.path.dirname(dfs_domain_socket_path)
>       File "/usr/lib64/python2.6/posixpath.py", line 119, in dirname
>         i = p.rfind('/') + 1
>       File "/root/ambari/ambari-agent/src/main/python/resource_management/libraries/script/config_dictionary.py",
line 75, in __getattr__
>         raise Fail("Configuration parameter '"+self.name+"' was not found in configurations
dictionary!")
>     Fail: Configuration parameter 'dfs.domain.socket.path' was not found in configurations
dictionary!
>     
>     ERROR: test_stop_secured (test_snamenode.TestSNamenode)
>     ----------------------------------------------------------------------
>     Traceback (most recent call last):
>       File "/root/ambari/ambari-server/src/test/python/stacks/1.3.2/HDFS/test_snamenode.py",
line 112, in test_stop_secured
>         config_file="secured.json"
>       File "/root/ambari/ambari-server/src/test/python/stacks/utils/RMFTestCase.py",
line 92, in executeScript
>         method(RMFTestCase.env)
>       File "/root/ambari/ambari-server/src/test/python/stacks/utils/../../../../main/resources/stacks/HDP/1.3.2/services/HDFS/package/scripts/snamenode.py",
line 42, in stop
>         import params
>       File "/root/ambari/ambari-server/src/test/python/stacks/utils/../../../../main/resources/stacks/HDP/2.0.6/services/HDFS/package/scripts/params.py",
line 113, in <module>
>         dfs_domain_socket_dir = os.path.dirname(dfs_domain_socket_path)
>       File "/usr/lib64/python2.6/posixpath.py", line 119, in dirname
>         i = p.rfind('/') + 1
>       File "/root/ambari/ambari-agent/src/main/python/resource_management/libraries/script/config_dictionary.py",
line 75, in __getattr__
>         raise Fail("Configuration parameter '"+self.name+"' was not found in configurations
dictionary!")
>     Fail: Configuration parameter 'dfs.domain.socket.path' was not found in configurations
dictionary!
>     



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message