Project: Apache Hadoop (App Definition and Development / Database)
File: RELEASENOTES.3.0.0-beta1.md

<! --> These release notes cover new developer and user-facing incompatibilities, important issues, features, and major improvements. | Major | wasb: implement high-performance random access and seek of block blobs* Random access and seek improvements for the wasb:// (Azure) file system. | Major | Fix NM startup failure with old state store due to version mismatch* <!-- markdown --> This fixes the LevelDB state store for the NodeManager. As of this patch, the state store versions now correspond to the following table. Previous Patch: YARN-5049 LevelDB Key: queued Hadoop Versions: 2.9.0, 3.0.0-alpha1 Corresponding LevelDB Version: 1.2 Previous Patch: YARN-6127 LevelDB Key: AMRMProxy/NextMasterKey Hadoop Versions: 2.9.0, 3.0.0-alpha4 Corresponding LevelDB Version: 1.1 | Major | Move commons logging APIs over to slf4j in hadoop-common* In Hadoop common, fatal log level is changed to error because slf4j API does not support fatal log level. | Minor | Customize User-Agent header sent in HTTP/HTTPS requests by WASB.* WASB now includes the current Apache Hadoop version in the User-Agent string passed to Azure Blob service. Users also may include optional additional information to identify their application. See the documentation of configuration property fs.wasb.user.agent.id for further details. | Major | [JDK9] Add a second copy of Hamlet without \_ as a one-character identifier* Added org.apache.hadoop.yarn.webapp.hamlet2 package without \_ as a one-character identifier. Please use this package instead of org.apache.hadoop.yarn.webapp.hamlet. | Major | Rename the split EC / replicated block metrics* The metrics and MBeans introduced in HDFS-10999 have been renamed for brevity and clarity. | Blocker | Rework hadoop\_usage to be broken up by clients/daemons/etc.* This patch changes how usage output is generated to now require a sub-command type. This allows users to see who the intended audience for a command is or it is a daemon. | Major | Serialize FileStatus via protobuf* FileStatus and FsPermission Writable serialization is deprecated and its implementation (incompatibly) replaced with protocol buffers. The FsPermissionProto record moved from hdfs.proto to acl.proto. HdfsFileStatus is now a subtype of FileStatus. FsPermissionExtension with its associated flags for ACLs, encryption, and erasure coding has been deprecated; users should query these attributes on the FileStatus object directly. The FsPermission instance in AclStatus no longer retains or reports these extended attributes (likely unused). | Major | Azure: BlockBlobInputStream position incorrect after seek* Bug fix to Azure Filesystem related to HADOOP-14535. | Minor | Remove commons-logging dependency from hadoop-yarn-server-applicationhistoryservice module* commons-logging dependency was removed from hadoop-yarn-server-applicationhistoryservice. If you rely on the transitive commons-logging dependency, please define the dependency explicitly. | Minor | Azure: IndexOutOfBoundsException in BlockBlobInputStream* Bug fix to Azure Filesystem related to HADOOP-14535 | Major | Disable setting tcp socket send/receive buffers for write pipelines* The size of the TCP socket buffers are no longer hardcoded by default. Instead the OS now will automatically tune the size for the buffer. | Major | Enable POSIX ACL inheritance by default* <!-- markdown --> HDFS-6962 introduced POSIX ACL inheritance feature but it is disable by default. Now enable the feature by default. Please be aware any code expecting the old ACL inheritance behavior will have to be updated. Please see the HDFS Permissions Guide for further

| Major | Add configuration for MR job to finish when all reducers are complete (even with unfinished mappers)* Enables mapreduce.job.finish-when-all-reducers-done by default. With this enabled, a MapReduce job will complete as soon as all of its reducers are complete, even if some mappers are still running. This can occur if a mapper was relaunched after node failure but the relaunched task's output is not actually needed. Previously the job would wait for all mappers to complete. | Major | Configuration.dumpConfiguration should redact sensitive information* <!-- markdown --> Configuration.dumpConfiguration no longer prints out the clear text values for the sensitive keys listed in `hadoop.security.sensitive-config-keys`. Callers can override the default list of sensitive keys either to redact more keys or print the clear text values for a few extra keys for debugging purpose. | Major | Replace xerces in XmlEditsVisitor* New patch with changes in maven dependency. (removed apache xcerces as dependency) | Minor | Mark FileStatus::isDir as final* The deprecated FileStatus::isDir method has been marked as final. FileSystems should override FileStatus::isDirectory | Major | wasb: improve throughput by 34% when account limit exceeded* Up to 34% throughput improvement for the wasb:// (Azure) file system when fs.azure.selfthrottling.enable is false fs.azure.autothrottling.enable is true. | Major | WASB: delete recursive should not fail if a file is deleted* Recursive directory delete improvement for the wasb filesystem. | Major | RM may allocate wrong AM Container for new attempt* ResourceManager will now record ResourceRequests from different attempts into different objects. | Blocker | Change default EC cell size to 1MB for better performance* The cell size of the provided HDFS erasure coding policies has been changed from 64k to 1024k for better performance. The policy names have all been changed accordingly, i.e. RS-6-3.1024k. | Major | ec -listPolicies should list all policies in system, no matter it's enabled or disabled* <!-- markdown --> `hdfs ec -listPolicies` now lists enabled, disabled, and removed policies, rather than just enabled policies. | Major | Issues with the count of failed/killed tasks in the jhist file* This adds some new job counters, the number of failed MAP/REDUCE tasks and the number of killed MAP/REDUCE tasks. | Critical | YARN Timeline Service v.2: alpha 2* We are releasing the alpha2 version of a major revision of YARN Timeline Service: v.2. YARN Timeline Service v.2 addresses two major challenges: improving scalability and reliability of Timeline Service, and enhancing usability by introducing flows and aggregation. YARN Timeline Service v.2 alpha1 was introduced in 3.0.0-alpha1 via YARN-2928. YARN Timeline Service v.2 alpha2 is now being provided so that users and developers can test it and provide feedback and suggestions for making it a ready replacement for Timeline Service v.1.x. Security is provided via Kerberos Authentication and delegation tokens. There is also a simple read level authorization provided via

Some of the notable improvements since alpha-1 are: Security via Kerberos Authentication and delegation tokens Read side simple authorization via whitelist Client configurable entity sort ordering New REST APIs for apps, app attempts, containers, fetching metrics by timerange, pagination, sub-app entities Support for storing sub-application entities (entities that exist outside the scope of an application) Configurable TTLs (time-to-live) for tables, configurable table prefixes, configurable hbase cluster Flow level aggregations done as dynamic (table level) coprocessors Uses latest stable HBase release 1.2.6 More details are available in the documentation. | Major | refresh changelog/release notes with newer Apache Yetus build* Additionally, this patch updates maven-site-plugin to 3.6 and doxia-module-markdown to 1.8-SNAPSHOT to work around problems with unknown schemas in URLs in markdown formatted content. | Major | S3Guard: Improved Consistency for S3A* S3Guard (pronounced see-guard) is a new feature for the S3A connector to Amazon S3, which uses DynamoDB for a high performance and consistent metadata repository. Essentially: S3Guard caches directory information, so your S3A clients get faster lookups and resilience to inconsistency between S3 list operations and the status of objects. When files are created, with S3Guard, they'll always be found. S3Guard does not address update consistency: if a file is updated, while the directory information will be updated, calling open() on the path may still return the old data. Similarly, deleted objects may also potentially be opened. Please consult the S3Guard documentation in the Amazon S3 section of our documentation. Note: part of this update includes moving to a new version of the AWS SDK 1.11, one which includes the Dynamo DB client and its a shaded version of Jackson 2. The large aws-sdk-bundle JAR is needed to use the S3A client with or without S3Guard enabled. The good news: because Jackson is shaded, there will be no conflict between any Jackson version used in your application and that which the AWS SDK needs. | Minor | Calling maven-site-plugin directly for docs profile is unnecessary* maven-site-plugin is no longer called directly at package phase. | Major | Audit-log delegation token related operations* <!-- markdown --> NameNode now audit-logs `getDelegationToken`, `renewDelegationToken`, `cancelDelegationToken`. | Blocker | Rename split EC / replicated block metrics in BlockManager* This renames ClientProtocol#getECBlockGroupsStats to ClientProtocol#getEcBlockGroupStats and ClientProtocol#getBlockStats to ClientProtocol#getReplicatedBlockStats. The return-type classes have also been similarly renamed. Their fields have also been renamed to drop the "stats" suffix. Additionally, ECBlockGroupStats#pendingDeletionBlockGroups has been renamed to ECBlockGroupStats#pendingDeletionBlocks, to clarify that this is the number of blocks, not block groups, pending deletion. The corresponding NameNode metric has also been renamed to PendingDeletionECBlocks. | Minor | Switch to v2 of the S3 List Objects API in S3A* S3A now defaults to using the "v2" S3 list API, which speeds up large-scale path listings. Non-AWS S3 implementations may not support this API: consult the S3A documentation on how to revert to the v1 API. | Blocker | Remove Guava Supplier and change to java Supplier in AMRMClient and AMRMClientAysnc* AMRMClient#waitFor and AMRMClientAsync#waitFor now take java.util.function.Supplier as an argument, rather than com.google.common.base.Supplier. | Major | WASB: Block compaction for Azure Block Blobs* Block Compaction for Azure Block Blobs. When the number of blocks in a block blob is above 32000, the process of compaction replaces a sequence of small blocks with with one big block. | Major | Change ErasureCodingWorker.stripedReadPool to cached thread pool* Changed {{stripedReadPool}} to unbounded cachedThreadPool. User should combine {{dfs.datanode.ec.reconstruction.stripedblock.threads}} and {{dfs.namenode.replication.max-streams}} to tune recovery

| Major | Ensure to use CLI command to enable/disable erasure coding policy* dfs.namenode.ec.policies.enabled was removed in order to ensure there is only one approach to enable/disable erasure coding policies to avoid sync up. | Major | Rename dfs.datanode.ec.reconstruction.stripedblock.threads.size to dfs.datanode.ec.reconstruction.threads* <!-- markdown --> Config key `dfs.datanode.ec.reconstruction.stripedblock.threads.size` has been renamed to `dfs.datanode.ec.reconstruction.threads`. | Blocker | Remove S3N and obsolete bits of S3A; rework docs* \* The s3n:// client has been removed. Please upgrade to the s3a:// client. \* The s3a's original output stream has been removed, the "fast" output stream is the sole option available. There is no need to explicitly enable this, and trying to disable it (fs.s3a.fast.upload=false) will have no effect. | Major | Erasure Coding: Persist erasure coding policies in NameNode* Persist all built-in erasure coding policies and user defined erasure coding policies into NameNode fsImage and editlog reliably, so that all erasure coding policies remain consistent after NameNode restart. | Major | Support erasure coding policy operations in namenode edit log* See RN in HDFS-7859 as part of the work. | Major | Increase minimum cmake version for all platforms* CMake v3.1.0 is now the minimum version required to build Apache Hadoop's native components. | Major | Introduce a config to allow setting up write pipeline with fewer nodes than replication factor* Added new configuration "dfs.client.block.write.replace-datanode-on-failure.min-replication". The minimum number of replications that are needed to not to fail the write pipeline if new datanodes can not be found to replace failed datanodes (could be due to network failure) in the write pipeline. If the number of the remaining datanodes in the write pipeline is greater than or equal to this property value, continue writing to the remaining nodes. Otherwise throw exception. If this is set to 0, an exception will be thrown, when a replacement can not be found. | Major | Rename AddECPolicyResponse to AddErasureCodingPolicyResponse* HdfsAdmin#addErasureCodingPolicies now returns an AddErasureCodingPolicyResponse[] rather than AddECPolicyResponse[]. The corresponding RPC definition and PB message have also been renamed. | Critical | Configurable and pluggable erasure codec and policy* This allows users to: \* develop and plugin their own erasure codec and coders. The plugin will be loaded automatically from hadoop jars, the corresponding codec and coder will be registered for runtime use. \* define their own erasure coding policies thru an xml file and CLI command. The added policies will be persisted into fsimage. | Major | Enable YARN RM scale out via federation using multiple RM's* A federation-based approach to transparently scale a single YARN cluster to tens of thousands of nodes, by federating multiple YARN standalone clusters (sub-clusters). The applications running in this federated environment will see a single massive YARN cluster and will be able to schedule tasks on any node of the federated cluster. Under the hood, the federation system will negotiate with sub-clusters ResourceManagers and provide resources to the application. The goal is to allow an individual job to span sub-clusters seamlessly. | Major | Scheduling of OPPORTUNISTIC containers through YARN RM* This extends the centralized YARN RM in to enable the scheduling of OPPORTUNISTIC containers in a centralized fashion. This way, users can use OPPORTUNISTIC containers to improve the cluster's utilization, without needing to enable distributed scheduling.