コード例 #1
0
ファイル: cloud.py プロジェクト: Gkodkod/mrjob
 def _default_opts(self):
     return combine_dicts(
         super(HadoopInTheCloudJobRunner, self)._default_opts(),
         dict(
             max_mins_idle=_DEFAULT_MAX_MINS_IDLE,
             # don't use a list because it makes it hard to read option
             # values when running in verbose mode. See #1284
             ssh_bind_ports=xrange(40001, 40841),
             ssh_tunnel=False,
             ssh_tunnel_is_open=False,
             # ssh_bin isn't included here. For example, the Dataproc
             # runner launches ssh through the gcloud util
         ),
     )
コード例 #2
0
ファイル: cloud.py プロジェクト: Affirm/mrjob
 def _default_opts(self):
     return combine_dicts(
         super(HadoopInTheCloudJobRunner, self)._default_opts(),
         dict(
             cloud_part_size_mb=100,  # 100 MB
             max_mins_idle=_DEFAULT_MAX_MINS_IDLE,
             # don't use a list because it makes it hard to read option
             # values when running in verbose mode. See #1284
             ssh_bind_ports=xrange(40001, 40841),
             ssh_tunnel=False,
             ssh_tunnel_is_open=False,
             # ssh_bin isn't included here. For example, the Dataproc
             # runner launches ssh through the gcloud util
         ),
     )