Amazon EMR release 5.21.0
5.21.0 application versions
The following applications are supported in this release: Flink
The table below lists the application versions available in this release of Amazon EMR and the application versions in the preceding three Amazon EMR releases (when applicable).
For a comprehensive history of application versions for each release of Amazon EMR, see the following topics:
emr-5.21.0 | emr-5.20.1 | emr-5.20.0 | emr-5.19.1 | |
---|---|---|---|---|
AWS SDK for Java | 1.11.479 | 1.11.461 | 1.11.461 | 1.11.433 |
Python | 2.7, 3.6 | 2.7, 3.6 | 2.7, 3.6 | 2.7, 3.4 |
Scala | 2.11.12 | 2.11.12 | 2.11.12 | 2.11.8 |
AmazonCloudWatchAgent | - | - | - | - |
Delta | - | - | - | - |
Flink | 1.7.0 | 1.6.2 | 1.6.2 | 1.6.1 |
Ganglia | 3.7.2 | 3.7.2 | 3.7.2 | 3.7.2 |
HBase | 1.4.8 | 1.4.8 | 1.4.8 | 1.4.7 |
HCatalog | 2.3.4 | 2.3.4 | 2.3.4 | 2.3.3 |
Hadoop | 2.8.5 | 2.8.5 | 2.8.5 | 2.8.5 |
Hive | 2.3.4 | 2.3.4 | 2.3.4 | 2.3.3 |
Hudi | - | - | - | - |
Hue | 4.3.0 | 4.3.0 | 4.3.0 | 4.2.0 |
Iceberg | - | - | - | - |
JupyterEnterpriseGateway | - | - | - | - |
JupyterHub | 0.9.4 | 0.9.4 | 0.9.4 | 0.9.4 |
Livy | 0.5.0 | 0.5.0 | 0.5.0 | 0.5.0 |
MXNet | 1.3.1 | 1.3.1 | 1.3.1 | 1.3.0 |
Mahout | 0.13.0 | 0.13.0 | 0.13.0 | 0.13.0 |
Oozie | 5.0.0 | 5.0.0 | 5.0.0 | 5.0.0 |
Phoenix | 4.14.0 | 4.14.0 | 4.14.0 | 4.14.0 |
Pig | 0.17.0 | 0.17.0 | 0.17.0 | 0.17.0 |
Presto | 0.215 | 0.214 | 0.214 | 0.212 |
Spark | 2.4.0 | 2.4.0 | 2.4.0 | 2.3.2 |
Sqoop | 1.4.7 | 1.4.7 | 1.4.7 | 1.4.7 |
TensorFlow | 1.12.0 | 1.12.0 | 1.12.0 | 1.11.0 |
Tez | 0.9.1 | 0.9.1 | 0.9.1 | 0.8.4 |
Trino (PrestoSQL) | - | - | - | - |
Zeppelin | 0.8.0 | 0.8.0 | 0.8.0 | 0.8.0 |
ZooKeeper | 3.4.13 | 3.4.13 | 3.4.13 | 3.4.13 |
5.21.0 release notes
The following release notes include information for Amazon EMR release 5.21.0. Changes are relative to 5.20.0.
Initial release date: February 18, 2019
Last updated date: April 3, 2019
Upgrades
Flink 1.7.0
Presto 0.215
AWS SDK for Java 1.11.479
New features
(April 3, 2019) With Amazon EMR version 5.21.0 and later, you can override cluster configurations and specify additional configuration classifications for each instance group in a running cluster. You do this by using the Amazon EMR console, the AWS Command Line Interface (AWS CLI), or the AWS SDK. For more information, see Supplying a Configuration for an Instance Group in a Running Cluster.
Changes, enhancements, and resolved issues
-
Zeppelin
-
Backported ZEPPELIN-3878
.
-
Known issues
-
Hue (Fixed in Amazon EMR release 5.24.0)
-
Hue running on Amazon EMR does not support Solr. Beginning with Amazon EMR release 5.20.0, a misconfiguration issue causes Solr to be enabled and a harmless error message to appear similar to the following:
Solr server could not be contacted properly: HTTPConnectionPool('host=ip-xx-xx-xx-xx.ec2.internal', port=1978): Max retries exceeded with url: /solr/admin/info/system?user.name=hue&doAs=administrator&wt=json (Caused by NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused',))
To prevent the Solr error message from appearing:
Connect to the primary node command line using SSH.
Use a text editor to open the
hue.ini
file. For example:sudo vim /etc/hue/conf/hue.ini
Search for the term
appblacklist
and modify the line to the following:appblacklist = search
Save your changes and restart Hue as shown in the following example:
sudo stop hue; sudo start hue
-
-
Tez
-
This issue was fixed in Amazon EMR 5.22.0.
When you connect to the Tez UI at http://
MasterDNS
:8080/tez-ui through an SSH connection to the cluster primary node, the error "Adapter operation failed - Timeline server (ATS) is out of reach. Either it is down, or CORS is not enabled" appears, or tasks unexpectedly show N/A.This is caused by the Tez UI making requests to the YARN Timeline Server using
localhost
rather than the host name of the primary node. As a workaround, a script is available to run as a bootstrap action or step. The script updates the host name in the Tezconfigs.env
file. For more information and the location of the script, see the Bootstrap Instructions.
-
In Amazon EMR version 5.19.0, 5.20.0, and 5.21.0, YARN node labels are stored in an HDFS directory. In some situations, this leads to core node startup delays and then causes cluster time-out and launch failure. Beginning with Amazon EMR 5.22.0, this issue is resolved. YARN node labels are stored on the local disk of each cluster node, avoiding dependencies on HDFS.
-
Known issue in clusters with multiple primary nodes and Kerberos authentication
If you run clusters with multiple primary nodes and Kerberos authentication in Amazon EMR releases 5.20.0 and later, you may encounter problems with cluster operations such as scale down or step submission, after the cluster has been running for some time. The time period depends on the Kerberos ticket validity period that you defined. The scale-down problem impacts both automatic scale-down and explicit scale down requests that you submitted. Additional cluster operations can also be impacted.
Workaround:
-
SSH as
hadoop
user to the lead primary node of the EMR cluster with multiple primary nodes. -
Run the following command to renew Kerberos ticket for
hadoop
user.kinit -kt <keytab_file> <principal>
Typically, the keytab file is located at
/etc/hadoop.keytab
and the principal is in the form ofhadoop/<hostname>@<REALM>
.
Note
This workaround will be effective for the time period the Kerberos ticket is valid. This duration is 10 hours by default, but can configured by your Kerberos settings. You must re-run the above command once the Kerberos ticket expires.
-
5.21.0 component versions
The components that Amazon EMR installs with this release are listed below. Some are installed as part of big-data application packages. Others are unique to Amazon EMR and installed for system processes and features. These typically start with emr
or aws
. Big-data application packages in the most recent Amazon EMR release are usually the latest version found in the community. We make community releases available in Amazon EMR as quickly as possible.
Some components in Amazon EMR differ from community versions. These components have a version label in the form
. The CommunityVersion
-amzn-EmrVersion
starts at 0. For example, if open source community component named EmrVersion
myapp-component
with version 2.2 has been modified three times for inclusion in different Amazon EMR releases, its release version is listed as 2.2-amzn-2
.
Component | Version | Description |
---|---|---|
aws-sagemaker-spark-sdk | 1.2.1 | Amazon SageMaker Spark SDK |
emr-ddb | 4.7.0 | Amazon DynamoDB connector for Hadoop ecosystem applications. |
emr-goodies | 2.5.1 | Extra convenience libraries for the Hadoop ecosystem. |
emr-kinesis | 3.4.0 | Amazon Kinesis connector for Hadoop ecosystem applications. |
emr-s3-dist-cp | 2.11.0 | Distributed copy application optimized for Amazon S3. |
emr-s3-select | 1.2.0 | EMR S3Select Connector |
emrfs | 2.30.0 | Amazon S3 connector for Hadoop ecosystem applications. |
flink-client | 1.7.0 | Apache Flink command line client scripts and applications. |
ganglia-monitor | 3.7.2 | Embedded Ganglia agent for Hadoop ecosystem applications along with the Ganglia monitoring agent. |
ganglia-metadata-collector | 3.7.2 | Ganglia metadata collector for aggregating metrics from Ganglia monitoring agents. |
ganglia-web | 3.7.1 | Web application for viewing metrics collected by the Ganglia metadata collector. |
hadoop-client | 2.8.5-amzn-1 | Hadoop command-line clients such as 'hdfs', 'hadoop', or 'yarn'. |
hadoop-hdfs-datanode | 2.8.5-amzn-1 | HDFS node-level service for storing blocks. |
hadoop-hdfs-library | 2.8.5-amzn-1 | HDFS command-line client and library |
hadoop-hdfs-namenode | 2.8.5-amzn-1 | HDFS service for tracking file names and block locations. |
hadoop-httpfs-server | 2.8.5-amzn-1 | HTTP endpoint for HDFS operations. |
hadoop-kms-server | 2.8.5-amzn-1 | Cryptographic key management server based on Hadoop's KeyProvider API. |
hadoop-mapred | 2.8.5-amzn-1 | MapReduce execution engine libraries for running a MapReduce application. |
hadoop-yarn-nodemanager | 2.8.5-amzn-1 | YARN service for managing containers on an individual node. |
hadoop-yarn-resourcemanager | 2.8.5-amzn-1 | YARN service for allocating and managing cluster resources and distributed applications. |
hadoop-yarn-timeline-server | 2.8.5-amzn-1 | Service for retrieving current and historical information for YARN applications. |
hbase-hmaster | 1.4.8 | Service for an HBase cluster responsible for coordination of Regions and execution of administrative commands. |
hbase-region-server | 1.4.8 | Service for serving one or more HBase regions. |
hbase-client | 1.4.8 | HBase command-line client. |
hbase-rest-server | 1.4.8 | Service providing a RESTful HTTP endpoint for HBase. |
hbase-thrift-server | 1.4.8 | Service providing a Thrift endpoint to HBase. |
hcatalog-client | 2.3.4-amzn-0 | The 'hcat' command line client for manipulating hcatalog-server. |
hcatalog-server | 2.3.4-amzn-0 | Service providing HCatalog, a table and storage management layer for distributed applications. |
hcatalog-webhcat-server | 2.3.4-amzn-0 | HTTP endpoint providing a REST interface to HCatalog. |
hive-client | 2.3.4-amzn-0 | Hive command line client. |
hive-hbase | 2.3.4-amzn-0 | Hive-hbase client. |
hive-metastore-server | 2.3.4-amzn-0 | Service for accessing the Hive metastore, a semantic repository storing metadata for SQL on Hadoop operations. |
hive-server2 | 2.3.4-amzn-0 | Service for accepting Hive queries as web requests. |
hue-server | 4.3.0 | Web application for analyzing data using Hadoop ecosystem applications |
jupyterhub | 0.9.4 | Multi-user server for Jupyter notebooks |
livy-server | 0.5.0-incubating | REST interface for interacting with Apache Spark |
nginx | 1.12.1 | nginx [engine x] is an HTTP and reverse proxy server |
mahout-client | 0.13.0 | Library for machine learning. |
mxnet | 1.3.1 | A flexible, scalable, and efficient library for deep learning. |
mysql-server | 5.5.54+ | MySQL database server. |
nvidia-cuda | 9.2.88 | Nvidia drivers and Cuda toolkit |
oozie-client | 5.0.0 | Oozie command-line client. |
oozie-server | 5.0.0 | Service for accepting Oozie workflow requests. |
opencv | 3.4.0 | Open Source Computer Vision Library. |
phoenix-library | 4.14.0-HBase-1.4 | The phoenix libraries for server and client |
phoenix-query-server | 4.14.0-HBase-1.4 | A light weight server providing JDBC access as well as Protocol Buffers and JSON format access to the Avatica API |
presto-coordinator | 0.215 | Service for accepting queries and managing query execution among presto-workers. |
presto-worker | 0.215 | Service for executing pieces of a query. |
pig-client | 0.17.0 | Pig command-line client. |
r | 3.4.1 | The R Project for Statistical Computing |
spark-client | 2.4.0 | Spark command-line clients. |
spark-history-server | 2.4.0 | Web UI for viewing logged events for the lifetime of a completed Spark application. |
spark-on-yarn | 2.4.0 | In-memory execution engine for YARN. |
spark-yarn-slave | 2.4.0 | Apache Spark libraries needed by YARN slaves. |
sqoop-client | 1.4.7 | Apache Sqoop command-line client. |
tensorflow | 1.12.0 | TensorFlow open source software library for high performance numerical computation. |
tez-on-yarn | 0.9.1 | The tez YARN application and libraries. |
webserver | 2.4.25+ | Apache HTTP server. |
zeppelin-server | 0.8.0 | Web-based notebook that enables interactive data analytics. |
zookeeper-server | 3.4.13 | Centralized service for maintaining configuration information, naming, providing distributed synchronization, and providing group services. |
zookeeper-client | 3.4.13 | ZooKeeper command line client. |
5.21.0 configuration classifications
Configuration classifications allow you to customize applications. These often correspond to a configuration XML file for the application, such as hive-site.xml
. For more information, see Configure applications.
Classifications | Description |
---|---|
capacity-scheduler | Change values in Hadoop's capacity-scheduler.xml file. |
container-log4j | Change values in Hadoop YARN's container-log4j.properties file. |
core-site | Change values in Hadoop's core-site.xml file. |
emrfs-site | Change EMRFS settings. |
flink-conf | Change flink-conf.yaml settings. |
flink-log4j | Change Flink log4j.properties settings. |
flink-log4j-yarn-session | Change Flink log4j-yarn-session.properties settings. |
flink-log4j-cli | Change Flink log4j-cli.properties settings. |
hadoop-env | Change values in the Hadoop environment for all Hadoop components. |
hadoop-log4j | Change values in Hadoop's log4j.properties file. |
hadoop-ssl-server | Change hadoop ssl server configuration |
hadoop-ssl-client | Change hadoop ssl client configuration |
hbase | Amazon EMR-curated settings for Apache HBase. |
hbase-env | Change values in HBase's environment. |
hbase-log4j | Change values in HBase's hbase-log4j.properties file. |
hbase-metrics | Change values in HBase's hadoop-metrics2-hbase.properties file. |
hbase-policy | Change values in HBase's hbase-policy.xml file. |
hbase-site | Change values in HBase's hbase-site.xml file. |
hdfs-encryption-zones | Configure HDFS encryption zones. |
hdfs-site | Change values in HDFS's hdfs-site.xml. |
hcatalog-env | Change values in HCatalog's environment. |
hcatalog-server-jndi | Change values in HCatalog's jndi.properties. |
hcatalog-server-proto-hive-site | Change values in HCatalog's proto-hive-site.xml. |
hcatalog-webhcat-env | Change values in HCatalog WebHCat's environment. |
hcatalog-webhcat-log4j2 | Change values in HCatalog WebHCat's log4j2.properties. |
hcatalog-webhcat-site | Change values in HCatalog WebHCat's webhcat-site.xml file. |
hive-beeline-log4j2 | Change values in Hive's beeline-log4j2.properties file. |
hive-parquet-logging | Change values in Hive's parquet-logging.properties file. |
hive-env | Change values in the Hive environment. |
hive-exec-log4j2 | Change values in Hive's hive-exec-log4j2.properties file. |
hive-llap-daemon-log4j2 | Change values in Hive's llap-daemon-log4j2.properties file. |
hive-log4j2 | Change values in Hive's hive-log4j2.properties file. |
hive-site | Change values in Hive's hive-site.xml file |
hiveserver2-site | Change values in Hive Server2's hiveserver2-site.xml file |
hue-ini | Change values in Hue's ini file |
httpfs-env | Change values in the HTTPFS environment. |
httpfs-site | Change values in Hadoop's httpfs-site.xml file. |
hadoop-kms-acls | Change values in Hadoop's kms-acls.xml file. |
hadoop-kms-env | Change values in the Hadoop KMS environment. |
hadoop-kms-log4j | Change values in Hadoop's kms-log4j.properties file. |
hadoop-kms-site | Change values in Hadoop's kms-site.xml file. |
jupyter-notebook-conf | Change values in Jupyter Notebook's jupyter_notebook_config.py file. |
jupyter-hub-conf | Change values in JupyterHubs's jupyterhub_config.py file. |
jupyter-s3-conf | Configure Jupyter Notebook S3 persistence. |
jupyter-sparkmagic-conf | Change values in Sparkmagic's config.json file. |
livy-conf | Change values in Livy's livy.conf file. |
livy-env | Change values in the Livy environment. |
livy-log4j | Change Livy log4j.properties settings. |
mapred-env | Change values in the MapReduce application's environment. |
mapred-site | Change values in the MapReduce application's mapred-site.xml file. |
oozie-env | Change values in Oozie's environment. |
oozie-log4j | Change values in Oozie's oozie-log4j.properties file. |
oozie-site | Change values in Oozie's oozie-site.xml file. |
phoenix-hbase-metrics | Change values in Phoenix's hadoop-metrics2-hbase.properties file. |
phoenix-hbase-site | Change values in Phoenix's hbase-site.xml file. |
phoenix-log4j | Change values in Phoenix's log4j.properties file. |
phoenix-metrics | Change values in Phoenix's hadoop-metrics2-phoenix.properties file. |
pig-env | Change values in the Pig environment. |
pig-properties | Change values in Pig's pig.properties file. |
pig-log4j | Change values in Pig's log4j.properties file. |
presto-log | Change values in Presto's log.properties file. |
presto-config | Change values in Presto's config.properties file. |
presto-password-authenticator | Change values in Presto's password-authenticator.properties file. |
presto-env | Change values in Presto's presto-env.sh file. |
presto-node | Change values in Presto's node.properties file. |
presto-connector-blackhole | Change values in Presto's blackhole.properties file. |
presto-connector-cassandra | Change values in Presto's cassandra.properties file. |
presto-connector-hive | Change values in Presto's hive.properties file. |
presto-connector-jmx | Change values in Presto's jmx.properties file. |
presto-connector-kafka | Change values in Presto's kafka.properties file. |
presto-connector-localfile | Change values in Presto's localfile.properties file. |
presto-connector-memory | Change values in Presto's memory.properties file. |
presto-connector-mongodb | Change values in Presto's mongodb.properties file. |
presto-connector-mysql | Change values in Presto's mysql.properties file. |
presto-connector-postgresql | Change values in Presto's postgresql.properties file. |
presto-connector-raptor | Change values in Presto's raptor.properties file. |
presto-connector-redis | Change values in Presto's redis.properties file. |
presto-connector-redshift | Change values in Presto's redshift.properties file. |
presto-connector-tpch | Change values in Presto's tpch.properties file. |
presto-connector-tpcds | Change values in Presto's tpcds.properties file. |
spark | Amazon EMR-curated settings for Apache Spark. |
spark-defaults | Change values in Spark's spark-defaults.conf file. |
spark-env | Change values in the Spark environment. |
spark-hive-site | Change values in Spark's hive-site.xml file |
spark-log4j | Change values in Spark's log4j.properties file. |
spark-metrics | Change values in Spark's metrics.properties file. |
sqoop-env | Change values in Sqoop's environment. |
sqoop-oraoop-site | Change values in Sqoop OraOop's oraoop-site.xml file. |
sqoop-site | Change values in Sqoop's sqoop-site.xml file. |
tez-site | Change values in Tez's tez-site.xml file. |
yarn-env | Change values in the YARN environment. |
yarn-site | Change values in YARN's yarn-site.xml file. |
zeppelin-env | Change values in the Zeppelin environment. |
zookeeper-config | Change values in ZooKeeper's zoo.cfg file. |
zookeeper-log4j | Change values in ZooKeeper's log4j.properties file. |