Hello,
I am trying to install an Ambari service that has a large number of files that 
contribute to 11GB size of archive.zip file.
When ambary-agent downloads this file, it crashes. Here is what shown in 
ambari-agent log:

DEBUG 2018-04-20 11:36:27,077 Controller.py:471 - Waiting 0.9 for next heartbeat
ERROR 2018-04-20 11:36:27,148 CustomServiceOrchestrator.py:437 - Caught an 
exception while executing custom service command: <type 
'exceptions.MemoryError'>: ;
Traceback (most recent call last):
  File 
"/usr/lib/python2.6/site-packages/ambari_agent/CustomServiceOrchestrator.py", 
line 345, in runCommand
    base_dir = self.file_cache.get_service_base_dir(command, server_url_prefix)
  File "/usr/lib/python2.6/site-packages/ambari_agent/FileCache.py", line 78, 
in get_service_base_dir
    server_url_prefix)
  File "/usr/lib/python2.6/site-packages/ambari_agent/FileCache.py", line 167, 
in provide_directory
    if (membuffer.getvalue().strip()):
  File "/usr/lib64/python2.7/StringIO.py", line 271, in getvalue
    self.buf += ''.join(self.buflist)
MemoryError

Is there any workaround for this problem?
The version of ambari-agent is 2.5.1.0

Thanks,
Anh Arsenault







________________________________



ATTENTION: -----

The information contained in this message (including any files transmitted with 
this message) may contain proprietary, trade secret or other confidential 
and/or legally privileged information. Any pricing information contained in 
this message or in any files transmitted with this message is always 
confidential and cannot be shared with any third parties without prior written 
approval from Syncsort. This message is intended to be read only by the 
individual or entity to whom it is addressed or by their designee. If the 
reader of this message is not the intended recipient, you are on notice that 
any use, disclosure, copying or distribution of this message, in any form, is 
strictly prohibited. If you have received this message in error, please 
immediately notify the sender and/or Syncsort and destroy all copies of this 
message in your possession, custody or control.

Reply via email to