I am create a setup.py file using the apache-beam recommended format: (Apache Beam Python 3.5 SDK 2.20.0) https://github.com/apache/beam/blob/master/sdks/python/apache_beam/examples/complete/juliaset/setup.py
All worked well when I had one apt-get install command. once I added two more apt-get installs:
Worked:
CUSTOM_COMMANDS = [['echo', 'Custom command worked!'],
['apt-get', 'update'],
['apt-get', 'install', '-y', 'unzip']]
Fires error on unzip installation:
CUSTOM_COMMANDS = [['echo', 'Custom command worked!'],
['apt-get', 'update'],
['apt-get', 'install', '-y', 'unzip'],
['apt-get', 'install', '-y', 'default-jre'],
['apt-get', 'install', '-y', 'perl']]
The error:
RuntimeError: Command ['apt-get', 'install', '-y', 'unzip'] failed: exit code: 100
any idea what am I missing?
thans, eilalan