-
Notifications
You must be signed in to change notification settings - Fork 586
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid Certificate For EMR job result of different domain #621
Comments
Based on a loose reading of this thread, this is an issue that happens on Python 2.6 but not Python 2.7. I've been able to duplicate this bug with boto 2.11.0 on Python 2.6.7 but not Python 2.7.5. It looks like the boto version doesn't really matter. The "magic" happens in The simple solution would be to just pass So it sounds like further wrapping the EMR connection is the way to go. sigh At least I'm halfway done coding it. :) |
secondary sort and self-terminating job flows * jobs: * SORT_VALUES: Secondary sort by value (Yelp#240) * see mrjob/examples/ * can now override jobconf() again (Yelp#656) * renamed mrjob.compat.get_jobconf_value() to jobconf_from_env() * examples: * bash_wrap/ (mapper/reducer_cmd() example) * mr_most_used_word.py (two step job) * mr_next_word_stats.py (SORT_VALUES example) * runners: * All runners: * single --setup option works but is not yet documented (Yelp#206) * setup now uses sh rather than python internally * EMR runner: * max_hours_idle: self-terminating idle job flows (Yelp#628) * mins_to_end_of_hour option gives finer control over self-termination. * Can reuse pooled job flows where previous job failed (Yelp#633) * Throws IOError if output path already exists (Yelp#634) * Gracefully handles SSL cert issues (Yelp#621, Yelp#706) * Automatically infers EMR/S3 endpoints from region (Yelp#658) * ls() supports s3n:// schema (Yelp#672) * Fixed log parsing crash on JarSteps (Yelp#645) * visible_to_all_users works with boto <2.8.0 (Yelp#701) * must use --interpreter with non-Python scripts (Yelp#683) * cat() can decompress gzipped data (Yelp#601) * Hadoop runner: * check_input_paths: can disable input path checking (Yelp#583) * cat() can decompress gzipped data (Yelp#601) * Inline/Local runners: * Fixed counter parsing for multi-step jobs in inline mode * Supports per-step jobconf (Yelp#616) * Documentation revamp * mrjob.parse.urlparse() works consistently across Python versions (Yelp#686) * deprecated: * many constants in mrjob.emr replaced with functions in mrjob.aws * removed deprecated features: * old conf locations (~/.mrjob and in PYTHONPATH) (Yelp#747) * built-in protocols must be instances (Yelp#488)
First off, thanks for the work on this! Really looking useful to us.
We've had a problem getting our MRJob onto EMR recently due to this somewhat cryptic error:
We eventually figured out that the mapping from our declared "aws_region" in our
.mrjob.conf
file was being mapped to elasticmapreduce.us-west-1.amazonaws.com, while the certificate was declaring itself us-west-1.elasticmapreduce.amazonaws.com. This mapping is made at:https://github.com/Yelp/mrjob/blob/master/mrjob/emr.py#L127
We changed this line to read:
and magically, our jobs are running. I do not know why this is happening, if Amazon has changed their certificates or domain management.
The text was updated successfully, but these errors were encountered: