We faced an interesting issue here.
We had a task to restore dynamodb from backup stored in s3. We took the backup using AWS pipeline. But when we started restoring, which we had been doing for a long time, we found the cluster was not able to provisioned and it was failing on bootstraping.
Digging more into it we found the AWS Dynamodb import template of datapipeline use default subnet under default VPC. Now, we don't have Internet Gateway for this VPC. Since, EMR needs IG to work successfully, this pipeline was failing with "internal error"
We started talking with AWS support. After some discussion, we changed our private subnet. Again the EMR provisioning was failing as the template to restore dynamodb that provided by AWS uses AMI Version 3.9.0 which does not support private subnet.
So we decided to change the AMI Version 3.9 to release label "emr-4.5.0" which we have been using for all our EMR so far. Again we failed with error:
That is, the template script provided by AWS does not support emr release label 4.5.0. To overcome the problem, we had to modify EmrCluster bootstrap action in pipeline definition which was:
This was only supported by AMI 3.9.0. For release label emr-4.5.0, it should be added as configuration properties as follows:
Now, we exported the pipeline definition and added the above configuration. The final pipeline definition was looking like this:
We had a task to restore dynamodb from backup stored in s3. We took the backup using AWS pipeline. But when we started restoring, which we had been doing for a long time, we found the cluster was not able to provisioned and it was failing on bootstraping.
Digging more into it we found the AWS Dynamodb import template of datapipeline use default subnet under default VPC. Now, we don't have Internet Gateway for this VPC. Since, EMR needs IG to work successfully, this pipeline was failing with "internal error"
We started talking with AWS support. After some discussion, we changed our private subnet. Again the EMR provisioning was failing as the template to restore dynamodb that provided by AWS uses AMI Version 3.9.0 which does not support private subnet.
So we decided to change the AMI Version 3.9 to release label "emr-4.5.0" which we have been using for all our EMR so far. Again we failed with error:
Unable to create resource for @EmrClusterForLoad_2016-12-28T20:33:21 due to: The supplied bootstrap action(s): 'bootstrap-action.7237c1e1-31de-4c02-ae68-c546dd581732' are not supported by release 'emr-4.5.0'. (Service: AmazonElasticMapReduce; Status Code: 400; Error Code: ValidationException; Request ID: e8be350e-cd3c-11e6-8e60-cb10b4c3228c)
That is, the template script provided by AWS does not support emr release label 4.5.0. To overcome the problem, we had to modify EmrCluster bootstrap action in pipeline definition which was:
s3://#{myDDBRegion}.elasticmapreduce/bootstrap-actions/configure-hadoop, --mapred-key-value,mapreduce.map.speculative=false
This was only supported by AMI 3.9.0. For release label emr-4.5.0, it should be added as configuration properties as follows:
--
{
"configuration": {
"ref": "EmrConfigurationId_XXWNE"
},
"releaseLabel": "emr-4.5.0",
"type": "EmrCluster",
...
},
{
"property": {
"ref": "PropertyId_3ghq7"
},
"type": "EmrConfiguration",
"id": "EmrConfigurationId_XXWNE",
"classification": "mapred-site",
"name": "DefaultEmrConfiguration1"
},
{
"key": "mapreduce.map.speculative",
"type": "Property",
"id": "PropertyId_3ghq7",
"value": "false",
"name": "DefaultProperty1"
},
--
Now, we exported the pipeline definition and added the above configuration. The final pipeline definition was looking like this:
{
"objects": [
{
"property": [
{
"ref": "PropertyId_3ghq7"
}
],
"name": "DefaultEmrConfiguration1",
"id": "EmrConfigurationId_XXWNE",
"type": "EmrConfiguration",
"classification": "mapred-site"
},
{
"output": {
"ref": "DDBDestinationTable"
},
"input": {
"ref": "S3InputDataNode"
},
"maximumRetries": "1",
"name": "TableLoadActivity",
"step": "s3://dynamodb-emr-#{myDDBRegion}/emr-ddb-storage-handler/2.1.0/emr-ddb-2.1.0.jar,org.apache.hadoop.dynamodb.tools.DynamoDbImport,#{input.directoryPath},#{output.tableName},#{output.writeThroughputPercent}",
"runsOn": {
"ref": "EmrClusterForLoad"
},
"id": "TableLoadActivity",
"type": "EmrActivity",
"resizeClusterBeforeRunning": "true"
},
{
"subnetId": "subnet-xxxxxxx",
"name": "EmrClusterForLoad",
"coreInstanceCount": "1",
"coreInstanceType": "m3.xlarge",
"releaseLabel": "emr-4.5.0",
"id": "EmrClusterForLoad",
"masterInstanceType": "m3.xlarge",
"region": "#{myDDBRegion}",
"type": "EmrCluster",
"terminateAfter": "23 Hours",
"configuration": {
"ref": "EmrConfigurationId_XXWNE"
}
},
{
"failureAndRerunMode": "CASCADE",
"resourceRole": "PSS-BDP-QA-DataPipelineDefaultResourceRole",
"pipelineLogUri": "s3://pss-bdp-qa-logfiles/datapipeline-logs/PSS-BDP-SQA-Dynamodb-Import-1/",
"role": "PSS-BDP-DataPipelineDefaultRole",
"scheduleType": "ONDEMAND",
"name": "Default",
"id": "Default"
},
{
"writeThroughputPercent": "#{myDDBWriteThroughputRatio}",
"name": "DDBDestinationTable",
"id": "DDBDestinationTable",
"type": "DynamoDBDataNode",
"tableName": "#{myDDBTableName}"
},
{
"directoryPath": "#{myInputS3Loc}",
"name": "S3InputDataNode",
"id": "S3InputDataNode",
"type": "S3DataNode"
},
{
"key": "mapreduce.map.speculative",
"type": "Property",
"id": "PropertyId_3ghq7",
"value": "false",
"name": "DefaultProperty1"
}
],
"parameters": [
{
"description": "Input S3 folder",
"id": "myInputS3Loc",
"type": "AWS::S3::ObjectKey"
},
{
"description": "Target DynamoDB table name",
"id": "myDDBTableName",
"type": "String"
},
{
"default": "0.25",
"watermark": "Enter value between 0.1-1.0",
"description": "DynamoDB write throughput ratio",
"id": "myDDBWriteThroughputRatio",
"type": "Double"
},
{
"default": "us-east-1",
"watermark": "us-east-1",
"description": "Region of the DynamoDB table",
"id": "myDDBRegion",
"type": "String"
}
],
"values": {
"myDDBRegion": "us-east-1",
"myDDBTableName": "TABLE_TEST",
"myDDBWriteThroughputRatio": "1",
"myInputS3Loc": "s3://my-dynamobackup/TABLE_TEST_201609/2016-12-22-22-55-57"
}
}
Rajajinagar Escorts
Itpl Escorts
Majestic Escorts
Hyderabad Escorts
Pune Escorts
Jaipur Escorts
Mumbai Escorts
Lucknow Call Girls
Pune Escorts
Bangalore Escorts
Koramangala Escorts
Jayanagar Escorts
Cooke town Escorts
Benson town Escorts
Brigade road Escorts
Devanahalli Escorts
Hb layout Escorts
Kr puram Escorts
Btm layout Escorts
Bangalore Escorts
Commercial street Escorts
Indira nagar Escorts
Hsr layout Escorts
Sadashiv nagar Escorts
Whitefield Escorts
Adugodi Escorts
Richmond road Escorts
Brookefield Escorts
Cunningham road Escorts
Shantala nagar Escorts
Bangalore Escorts provides escort call girls by the escort agency in Bangalore. We have selected the best high profile call girls in Bangalore. Visit us www.piyagupta.com/
South Bangalore Escorts
Marathahalli Escorts
Electronic City Escorts
Hebbal Escorts
Mg road Escorts
Ulsoor Escorts
Ub city Escorts
Nandi hills Escorts
Malleswaram Escorts
Sexy escorts in Chennai with the best reviews. Gorgeous young busty escorts Chennai incall/outcall, our escort girls provide a 1st class experience for gentlemen. www.chennai-escort.com/
Anna Nagar Escorts
Chetput Escorts
Guindy Escorts
KK Nagar Escorts
Saidapet Escorts
t nagar Escorts
Villivakkam Escorts
Adyar Escorts
Ashok Nagar Escorts
Chindadripet Escorts
Kodambakkam Escorts
Mambalam Escorts
Nanganallur Escorts
Poonamalee Escorts
Sowkarpet Escorts
Thiruvanmiyur Escorts
Triplicane Escorts
Ambattur Escorts
Ayanavaram Escorts
Chromepet Escorts
Kothavalchavadi Escorts
Parrys Escorts
Porur Escorts
Sunguvar Escorts
Thirisoolam Escorts
Vadapalani Escorts
Amjikarai Escorts
Besant Nagar Escorts
Egmore Escorts
Koyambedu Escorts
Perambur Escorts
Purasaiwakkam Escorts
Teynampet Escorts
Thondaiyarpet Escorts
Vandalur Escorts
Lucknow Escorts
Lucknow Escorts
Vandalur Escorts
Chennai Escorts
If you searching for high-class independent escort girls in Hyderabad I and Hyderabad to full enjoy with Hyderabad call girls top class independent escort girls in Hyderabad
Call Girls in Hyderabad
Call Girl in Chandigarh
You can book call girls in Guwahati or escorts in Guwahati for incall facility or outcall Facility
as and when required.
Escort Services in Guwahati
Guwahati Escort Service
I am Noor Escorts an Noida escorts & College Call Girl in Noida available 24 hours for erotic escort services in Noida Call Girls.so you can fulfill your dreams with Cheap Call Girls In Noida Escorts.
Escorts Near The Leela Palace Hotel Delhi ###
Escorts Near Hyatt Regency Hotel Delhi ###
Escorts Near Crowne Plaza Hotel Delhi ###
Escorts Near Fraser Suites Hotel Delhi ###
Escorts Near Eros Hotel Delhi ###
Escorts Near The Suryaa Hotel Delhi ###
Escorts Near Radisson Blu Hotel Delhi ###
Escorts Near Jaypee Vasant Continental Hotel Delhi ###
Escorts Near Sheraton Hotel Delhi ###
Escort girls in Delhi make independent Brahma; Delhi call girls are always ready to serve you for interested people. Call girls in Delhi have been placed in many categories. Surely we are available according to you, you can come on our website and contact us. Delhi Escort Service
Call Girls Service in Hyderabad
Hyderabad escort model
It feels astonishing and satisfying to have an energetic young lady in your arms while longing for some warmth during desolate winter's evenings. You can pick an energetic school young lady escort in Mumbai from our gigantic assortment and request that she accomplish something astonishing that could please you past your minds. visit my blog :-
Call Girls Trident Hotel Bandra Kurla &&
Call Girls Hotel Hiltop &&
Call Girls ITC Grand Central, A Luxury Collection Hotel &&
Call Girls ITC Maratha, a Luxury Collection Hotel &&
Call Girls InterContinental Mumbai Central &&
Call Girls Hotel Bawa Continental &&
Call Girls JW Marriott Mumbai Sahar &&
Call Girls The Leela Mumbai &&
Call Girls The Lalit Mumbai &&
Call Girls Peninsula Redpine &&
Call/Whatsapp+91- 9873777170 Delhi Call Girls & Delhi Escorts Service | Russian Model along with exciting call girls facility available.visit my blog:-
Call Girls Near The Grand Hotel Delhi &&
Call Girls Near The Radisson Blu Mbd Hotel Delhi &&
Call Girls Near The Oberoi Hotel Gurgaon &&
Call Girls Near The Country Inn & Suites By Carlson Hotel Gurgaon &&
Call Girls Near The Galaxy Hotel Gurgaon &&
Call Girls Near The Ramada Hotel Gurgaon &&
Call Girls Near The Le Méridien Hotel Gurgaon &&
Call Girls Near The Crowne Plaza Hotel Gurgaon &&
Call Girls Near Optus Sarovar Premiere Hotel Gurgaon &&
Call Girls Near Vivanta By Taj Hotel Gurgaon &&
Hottest Hyderabad Escorts. Perfect selection of sexy escort girls available for Incalls & Outcalls in Hyderabad - www.rozmerimarlo.com
Abids Escorts
Kukatpally Escorts
Jubilee Hills Escorts
Gachibowli Escorts
Nallagandla Escorts
Banjara Hills Escorts
Begumpet Escorts
Miyapur Escorts
Shamshabad Escorts
Chintalkunta Escorts
Bhagyanagar Escorts
Bandlaguda Escorts
Charminar Escorts
Lakdikapool Escorts
Manikonda Escorts
Mallapur Escorts
Rajahmundry Escorts
Amberpet Escorts
Ameerpet Escorts
Bagh Linghampally Escorts
Hitech City Escorts
Hill Forth Escorts
Hafeezpet Escorts
Doodh Bowhli Escorts
Dilsukhnagar Escorts
Chandrayangutta Escorts
Chaitanyapuri Escorts