ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Onischuk" <aonis...@hortonworks.com>
Subject Review Request 20005: Namenode unittests are broken
Date Thu, 03 Apr 2014 16:33:16 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/20005/
-----------------------------------------------------------

Review request for Ambari and Vitalyi Brodetskyi.


Bugs: AMBARI-5341
    https://issues.apache.org/jira/browse/AMBARI-5341


Repository: ambari


Description
-------


    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!
    


Diffs
-----

  ambari-server/src/test/python/stacks/utils/RMFTestCase.py 4cb6837 

Diff: https://reviews.apache.org/r/20005/diff/


Testing
-------


Thanks,

Andrew Onischuk


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message