{"push_id":721041966,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"c59e268d17cf10e46dbdbe760e2a7580a6364692","before":"f6c0bd5c3755b2f9bab633a5d478240fdaf1c593","commits":[{"sha":"c59e268d17cf10e46dbdbe760e2a7580a6364692","author":{"email":"f4cb39176214af887b60612afa61899ab250d165@JPark.me","name":"JPark"},"message":"[SPARK-8863] [EC2] Check aws access key from aws credentials if there is no boto config\n\n'spark_ec2.py' use boto to control ec2.\nAnd boto can support '~/.aws/credentials' which is AWS CLI default configuration file.\n\nWe can check this information from ref of boto.\n\n\"A boto config file is a text file formatted like an .ini configuration file that specifies values for options that control the behavior of the boto library. In Unix/Linux systems, on startup, the boto library looks for configuration files in the following locations and in the following order:\n/etc/boto.cfg - for site-wide settings that all users on this machine will use\n(if profile is given) ~/.aws/credentials - for credentials shared between SDKs\n(if profile is given) ~/.boto - for user-specific settings\n~/.aws/credentials - for credentials shared between SDKs\n~/.boto - for user-specific settings\"\n\n* ref of boto: http://boto.readthedocs.org/en/latest/boto_config_tut.html\n* ref of aws cli : http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html\n\nHowever 'spark_ec2.py' only check boto config & environment variable even if there is '~/.aws/credentials', and 'spark_ec2.py' is terminated.\n\nSo I changed to check '~/.aws/credentials'.\n\ncc rxin\n\nJira : https://issues.apache.org/jira/browse/SPARK-8863\n\nAuthor: JPark <JPark@JPark.me>\n\nCloses #7252 from JuhongPark/master and squashes the following commits:\n\n23c5792 [JPark] Check aws access key from aws credentials if there is no boto config","distinct":true,"url":"https://api.github.com/repos/apache/spark/commits/c59e268d17cf10e46dbdbe760e2a7580a6364692"}]}