This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class ChangeInPathsTrigger | |
| def initialize(triggered_project, triggered_paths) | |
| @triggered_project = triggered_project | |
| @triggered_paths = triggered_paths | |
| end | |
| def build_necessary?(reasons) | |
| p = @triggered_project | |
| p.notify :polling_source_control |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff -Naur ../tmp/hadoop-0.20.1+169.68/src/contrib/cloud/src/py/hadoop/cloud/cli.py src/hadoop/src/contrib/cloud/src/py/hadoop/cloud/cli.py | |
| --- ../tmp/hadoop-0.20.1+169.68/src/contrib/cloud/src/py/hadoop/cloud/cli.py 2010-03-18 17:29:55.000000000 -0700 | |
| +++ src/hadoop/src/contrib/cloud/src/py/hadoop/cloud/cli.py 2010-05-17 15:00:26.000000000 -0700 | |
| @@ -292,7 +292,7 @@ | |
| opt.get('public_key'), opt.get('user_data_file'), | |
| opt.get('availability_zone'), opt.get('user_packages'), | |
| opt.get('auto_shutdown'), opt.get('env'), | |
| - opt.get('security_group')) | |
| + opt.get('security_group'), opt.get('spot_price')) | |
| service.launch_master(template, config_dir, opt.get('client_cidr')) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff -Naur ../tmp/hadoop-0.20.1+169.68/src/contrib/cloud/src/py/hadoop/cloud/cli.py src/hadoop/src/contrib/cloud/src/py/hadoop/cloud/cli.py | |
| --- ../tmp/hadoop-0.20.1+169.68/src/contrib/cloud/src/py/hadoop/cloud/cli.py 2010-03-18 17:29:55.000000000 -0700 | |
| +++ src/hadoop/src/contrib/cloud/src/py/hadoop/cloud/cli.py 2010-05-17 15:00:26.000000000 -0700 | |
| @@ -37,7 +37,8 @@ | |
| DEFAULT_CLOUD_PROVIDER = 'ec2' | |
| DEFAULT_CONFIG_DIR_NAME = '.hadoop-cloud' | |
| -DEFAULT_CONFIG_DIR = os.path.join(os.environ['HOME'], DEFAULT_CONFIG_DIR_NAME) | |
| +DEFAULT_CONFIG_DIR = os.path.join(os.environ['BACKTYPE_HOME'], 'src/configs/hadoop/cloudera') | |
| +#DEFAULT_CONFIG_DIR = os.path.join(os.environ['HOME'], DEFAULT_CONFIG_DIR_NAME) |