Comments (8)
https://github.com/awslabs/emr-bootstrap-actions/blob/master/spark/maximize-spark-default-config script does grep statements wrong for example
NUM_CORE_NODES=$(grep /mnt/var/lib/info/job-flow.json -e "CORE" -A 4 | grep -e requestedInstanceCount | cut -d':' -f2 | sed 's/\s\+//g')
does not work since Core is not in camel case, at least in ami 3.3.1
from emr-bootstrap-actions.
This works on 3.3.1 for NUM_CORE_NODES:
"instanceGroupName": "core",
"instanceRole": "Core",
"marketType": "Spot",
"instanceType": "m3.2xlarge",
"requestedInstanceCount": 10,
"bidPrice": ".25"
grep /mnt/var/lib/info/job-flow.json -i -e "CORE" -A 4 | grep -e requestedInstanceCount | cut -d':' -f2 | sed 's/\s+//g' | cut -d',' -f1
10
from emr-bootstrap-actions.
that is strange.
from emr-bootstrap-actions.
I started a new cluster and set the instanceGroupName for the core group to 'CORE' and that worked better, but it's still messed up. Then it grabs the trailing comma when getting the requestedInstanceCount (like "1,") - which is why I added the "cut -d',' -f1" to the end of my command.
from emr-bootstrap-actions.
Thank you for the report and discussion. This issue is addressed in pull #40. These changes to script maximize-spark-default-config are now live at s3://support.elasticmapreduce/spark/.
Changed the script use instance count from json file and to key off the slaveInstanceType property instead to avoid issues with names.
There is still room for more improvement such that this script will can be called later while running to pick up resizes.
from emr-bootstrap-actions.
Changes look good to me. thx!!
from emr-bootstrap-actions.
jonchase - please close issue if resolved. Thanks!
from emr-bootstrap-actions.
Looks like someone beat me to closing it. Works as expected now, thanks.
from emr-bootstrap-actions.
Related Issues (20)
- bootstrapping opentsdb using emr-4.6.0, HBASE_HOME issue HOT 1
- Support Scala 2.11 HOT 1
- zookeeper version is invalid HOT 1
- Installing latest version of Impala on EMR HOT 10
- Permission denied error AMI 3.11.0 HOT 1
- Bootstrap for Apache Kylin HOT 3
- is there any plan to create one BA for JCE? HOT 1
- Error downloading file from Amazon S3 HOT 4
- Kafka support on EMR 5.x HOT 2
- Support jupyter notebook HOT 1
- Reading LZO files from Spark stand alone program HOT 1
- Persto 0.157.1 in EMR is facing issues regarding client side encryption AWS KMS Master Key HOT 1
- running an s3 jar file with dependencies HOT 1
- Installing latest version of Impala on EMR HOT 1
- Bootstrap for Sentry HOT 1
- Add bootstrap script to install netdata HOT 1
- sudo R command not found, when using the emR_bootstrap.sh
- Error while reading core-site.xml in elasticsearch bootstrap action HOT 1
- EMR cluster fails at boot strap HOT 1
- Bootstrap has execute failed to my shell script file on S3 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from emr-bootstrap-actions.