ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Florian Barca (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-12508) Downloading HDFS client configurations broken on Windows
Date Wed, 22 Jul 2015 19:17:07 GMT
Florian Barca created AMBARI-12508:
--------------------------------------

             Summary: Downloading HDFS client configurations broken on Windows
                 Key: AMBARI-12508
                 URL: https://issues.apache.org/jira/browse/AMBARI-12508
             Project: Ambari
          Issue Type: Task
          Components: ambari-server
    Affects Versions: 2.1.0
            Reporter: Florian Barca
            Assignee: Florian Barca
             Fix For: 2.2.0


Script.generate_configs() on Windows is using the tar archiver, whereas the server expects
a zip. This was caught by a unit test failure:
----------------------------------------------------------------------
Failed tests:
ERROR: test_generate_configs_default (test_hdfs_client.Test)
----------------------------------------------------------------------
Traceback (most recent call last):
File "C:\src\ambari\ambari-common\src\test\python\mock\mock.py", line 1199, in patched
return func(*args, **keywargs)
File "C:\src\ambari\ambari-server\src\test\python\stacks\2.0.6\HDFS\test_hdfs_client.py",
line 270, in test_generate_configs_default
target = RMFTestCase.TARGET_COMMON_SERVICES
File "C:\src\ambari\ambari-server\src\test\python\stacks\utils\RMFTestCase.py", line 147,
in executeScript
method(RMFTestCase.env, *command_args)
File "C:\src\ambari\ambari-common\src\main\python\resource_management\libraries\script\script.py",
line 558, in generate_configs
tar.add(conf_tmp_dir, arcname=os.path.basename("."))
File "C:\Python27\lib\tarfile.py", line 1979, in add
tarinfo = self.gettarinfo(name, arcname)
File "C:\Python27\lib\tarfile.py", line 1851, in gettarinfo
statres = os.lstat(name)
WindowsError: Error 2 The system cannot find the file specified: '/tmp/123'



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

Mime
View raw message