Hadoop Change Log Release 1.1.1 - Unreleased INCOMPATIBLE CHANGES NEW FEATURES IMPROVEMENTS HADOOP-8823. ant package target should not depend on cn-docs. (szetszwo) BUG FIXES Release 1.1.0 - 2012.09.28 INCOMPATIBLE CHANGES HDFS-2617. Replaced Kerberized SSL for image transfer and fsck with SPNEGO-based solution. (Jakob Homan, Owen O'Malley, Alejandro Abdelnur and Aaron T. Myers via atm) HDFS-3044. fsck move should be non-destructive by default. (Colin Patrick McCabe via eli) HADOOP-8230. Enable sync by default and disable append. (eli) HADOOP-8365. Provide ability to disable working sync. (eli) HADOOP-8552. Conflict: Same security.log.file for multiple users. (kkambatl via tucu) NEW FEATURES MAPREDUCE-3118. Backport Gridmix and Rumen features to branch-0.20-security (Ravi Gummadi via amarrk) HADOOP-7806. Support binding to sub-interfaces. (harsh, eli via eli) HDFS-3150. Add option for clients to contact DNs via hostname. (eli) HDFS-3148. The client should be able to use multiple local interfaces for data transfer. (eli) HDFS-3055. Implement recovery mode (Colin Patrick McCabe via todd) HADOOP-8209. Add option to relax build-version check for branch-1. (eli) HDFS-3518. Add a utility method DistributedFileSystem.isHealthy(uri) for checking if the given HDFS is healthy. (szetszwo) HADOOP-7823. Port HADOOP-4012 providing split support for bzip2 compressed files. (Andrew Purtell via cdouglas) HDFS-3703. Datanodes are marked stale if heartbeat is not received in configured timeout and are selected as the last location to read from. (Jing Zhao via szetszwo) MAPREDUCE-4328. Add a JobTracker safemode to allow it to be resilient to NameNode failures. The safemode can be entered either automatically via the configurable background thread to monitor the NameNode or by the admin. In the safemode the JobTracker doesn't schedule new tasks, marks all failed tasks as KILLED for future retries and doesn't accept new job submissions. (acmurthy) IMPROVEMENTS HADOOP-8656. Backport forced daemon shutdown of HADOOP-8353 into branch-1 (Roman Shaposhnik via stevel) MAPREDUCE-3597. [Rumen] Provide a way to access other info of history file from Rumen tool. (ravigummadi) MAPREDUCE-2517. Add system tests to Gridmix. (Vinay Thota via amarrk) MAPREDUCE-3008. [Gridmix] Improve cumulative CPU usage emulation for short running tasks. (amarrk) MAPREDUCE-2836. Provide option to fail jobs when submitted to non-existent fair scheduler pools. (Ahmed Radwan via todd) HDFS-2332. Add test for HADOOP-7629 (using an immutable FsPermission object as an RPC parameter fails). (todd) HADOOP-7509. Improve exception message thrown when Authentication is required. (Ravi Prakash via suresh) HADOOP-7745. Fix wrong variable name in exception message introduced in HADOOP-7509. (Ravi Prakash via suresh) MAPREDUCE-2957. The TT should not re-init if it has no good local dirs. (eli) MAPREDUCE-2850. Add test for MAPREDUCE-2413. (ravigummadi) MAPREDUCE-3278. Fix a busy loop in ReduceTask that would cause 100% cpu utilization during the fetch phase. (todd) MAPREDUCE-3365. Expose the event-logging debug feature of FairScheduler. (Sho Shimauchi via harsh) MAPREDUCE-3395. Add mapred.disk.healthChecker.interval to mapred-default.xml. (eli via harsh) MAPREDUCE-3015. Add local dir failure info to metrics and the web UI. (eli) MAPREDUCE-3394. Add log guard for a debug message in ReduceTask (todd) MAPREDUCE-3419. Don't mark exited TT threads as dead in MiniMRCluster (eli) MAPREDUCE-3424. Some LinuxTaskController cleanup (eli) MAPREDUCE-2103. task-controller shouldn't require o-r permissions. (eli) HDFS-2638. Improve a block recovery log. (eli) HDFS-2654. Make BlockReaderLocal not extend RemoteBlockReader2. (eli) HDFS-2547. Fix inaccuracy in ReplicationTargetChooser comments. (harsh) MAPREDUCE-2919. The JT web UI should show job start times. (harsh) HDFS-2741. Document the max transfer threads property for branch-1. Backport of HDFS-1866. (Markus Jelsma via harsh) HDFS-2872. Add sanity checks during edits loading that generation stamps are non-decreasing. (Colin Patrick McCabe via eli) MAPREDUCE-4001. Improve MAPREDUCE-3789's fix logic by looking at job's slot demands instead. (harsh) MAPREDUCE-2835. Make per-job counter limits configurable. (tomwhite) HDFS-3131. Improve TestStorageRestore. (Brandon Li via atm) HDFS-1378. Edit log replay should track and report file offsets in case of errors. (atm and todd, backport by Colin Patrick McCabe via todd) HDFS-3094. add -nonInteractive and -force option to namenode -format command. (Arpit Gupta via todd) HADOOP-6995. Allow wildcards to be used in ProxyUsers configurations (todd via tucu) HADOOP-8430. Backport new FileSystem methods introduced by HADOOP-8014. (eli) HDFS-3504. Support configurable retry policy in DFSClient for RPC connections and RPC calls, and add MultipleLinearRandomRetry, a new retry policy. (szetszwo) HDFS-3516. Check content-type in WebHdfsFileSystem. (szetszwo) HADOOP-7753. Support fadvise and sync_file_range in NativeIO. Add ReadaheadPool infrastructure for use in HDFS and MR. (Brandon Li and todd via suresh) HDFS-2465. Add HDFS support for fadvise readahead and drop-behind. (todd via suresh) MAPREDUCE-4400. Avoid task finish sleep to improve small job/workflow latency. (llu) HDFS-3814. Make the replication monitor multipliers configurable in 1.x. (Jing Zhao via suresh) HDFS-3617. Port HDFS-96 to branch-1 (support blocks greater than 2GB). (Patrick Kling and harsh via eli) MAPREDUCE-3289. Make use of fadvise in the NM's shuffle handler. (Todd Lipcon and Brandon Li via sseth) MAPREDUCE-4511. Add IFile readahead (ahmed via tucu) MAPREDUCE-1906. Lower minimum heartbeat interval between tasktracker and JobTracker for smaller clusters. (Todd Lipcon, backport by Brandon Li via sseth) HADOOP-8617. Backport HADOOP-6148, HADOOP-6166 and HADOOP-7333 for a pure Java CRC32 calculator implementation. (Brandon Li via szetszwo) HDFS-496. Backport: Use PureJavaCrc32 in HDFS. (Brandon Li via szetszwo) MAPREDUCE-782. Use PureJavaCrc32 in mapreduce spills. (Todd Lipcon, backport by Brandon Li via sseth) HDFS-3667. Add retry support to WebHdfsFileSystem. (szetszwo) HADOOP-8748. Refactor DFSClient retry utility methods to a new class in org.apache.hadoop.io.retry. Contributed by Arun C Murthy. HDFS-3871. Change DFSClient to use RetryUtils. (Arun C Murthy via szetszwo) MAPREDUCE-4603. Add support for JobClient to retry job-submission when JobTracker is in SafeMode. (acmurthy) BUG FIXES HDFS-3696. Set chunked streaming mode in WebHdfsFileSystem write operations to get around a Java library bug causing OutOfMemoryError. (szetszwo) MAPREDUCE-4087. [Gridmix] GenerateDistCacheData job of Gridmix can become slow in some cases (ravigummadi) HDFS-2305. Running multiple 2NNs can result in corrupt file system. (atm) HADOOP-7634. Docs specify wrong owner for task-controller.cfg (eli) HADOOP-7665. branch-0.20-security doesn't include SPNEGO settings in core-default.xml (atm) HADOOP-7666. branch-0.20-security doesn't include o.a.h.security.TestAuthenticationFilter (atm) HADOOP-7621. alfredo config should be in a file not readable by users (atm) HADOOP-7653. tarball doesn't include .eclipse.templates. (Jonathan Natkins via eli) MAPREDUCE-2932. Missing instrumentation plugin class shouldn't crash the TT startup per design. (harsh via eli) HADOOP-7629. Allow immutable FsPermission objects to be used as IPC parameters. (todd) MAPREDUCE-3405. Fix compilation in contrib tests broken by commit of MAPREDUCE-3015. (todd) MAPREDUCE-2073. TestTrackerDistributedCacheManager should be up-front about requirements on build environment. (todd) HADOOP-7297. Remove docs for CN and BN, as they aren't present. (harsh) HDFS-2541. For a sufficiently large value of blocks, the DN Scanner may request a random number with a negative seed value. (harsh via eli) MAPREDUCE-2377. task-controller fails to parse configuration if it doesn't end in \n. (todd via eli) MAPREDUCE-2905. Fix fair scheduler to prevent clumping of tasks when assignmultiple is enabled. (todd) MAPREDUCE-2376. test-task-controller fails if run as a userid < 1000. (todd via eli) HADOOP-7870. fix SequenceFile#createWriter with boolean createParent arg to respect createParent. (Jon Hsieh via eli) HADOOP-7879. DistributedFileSystem#createNonRecursive should also incrementWriteOps statistics. (Jon Hsieh via todd) HDFS-2637. The rpc timeout for block recovery is too low. (eli) HADOOP-7898. Fix javadoc warnings in AuthenticationToken.java. (suresh via eli) HADOOP-7908. Fix three javadoc warnings on branch-1. (eli) HDFS-2653. DFSClient should cache whether addrs are non-local when short-circuiting is enabled. (eli) HADOOP-7942. enabling clover coverage reports fails hadoop unit test compilation. (jitendra) HDFS-2728. Remove dfsadmin -printTopology from branch-1 docs since it does not exist. (harsh) HDFS-1910. NameNode should not save fsimage twice. (shv) HDFS-2790. FSNamesystem.setTimes throws exception with wrong configuration name in the message. (Arpit Gupta via eli) HADOOP-7982. UserGroupInformation fails to login if thread's context classloader can't load HadoopLoginModule. (todd) HADOOP-7988. Upper case in hostname part of the principals doesn't work with kerberos. (jitendra) HDFS-2877. If locking of a storage dir fails, it will remove the other NN's lock file on exit. (todd) MAPREDUCE-3789. CapacityTaskScheduler shouldn't perform unnecessary reservations, when used in heterogenous environments. (harsh) HDFS-2869. Fix an error in the webhdfs docs for the mkdir op (harsh) HDFS-3008. Negative caching of local addrs doesn't work. (eli) HDFS-3078. 2NN https port setting is broken (eli) HADOOP-5836. Bug in S3N handling of directory markers using an object with a trailing "/" causes jobs to fail. (Jagane Sundar, Ian Nowland via suresh) MAPREDUCE-1740. NPE in getMatchingLevelForNodes when node locations are variable depth (ahmed via tucu) HADOOP-8154. DNS#getIPs shouldn't silently return the local host IP for bogus interface names. (eli) MAPREDUCE-3992. Reduce fetcher doesn't verify HTTP status code of response (todd) HADOOP-8159. NetworkTopology: getLeaf should check for invalid topologies. (Colin Patrick McCabe via eli) HDFS-3129. NetworkTopology: add test that getLeaf should check for invalid topologies. (Colin Patrick McCabe via eli) MAPREDUCE-4095. TestJobInProgress#testLocality uses a bogus topology. (Colin Patrick McCabe via eli) HDFS-3176. Use MD5MD5CRC32FileChecksum.readFields() in JsonUtil . (Kihwal Lee via szetszwo) HADOOP-8269. Fix some javadoc warnings on branch-1. (eli) MAPREDUCE-3674. Invoked with no queueName request param, the jobqueue_details.jsp injects a null queue name into schedulers. (harsh) HADOOP-8314. HttpServer#hasAdminAccess should return false if authorization is enabled but user is not authenticated. (tucu) MAPREDUCE-4088. Task stuck in JobLocalizer prevented other tasks on the same node from (Ravi Prakash via bobby) HADOOP-6546. BloomMapFile can return false negatives. (Clark Jefcoat via suresh) MAPREDUCE-4241. Pipes examples do not compile on Ubuntu 12.04. (Andrew Bayer via eli) HDFS-3330. If GetImageServlet throws an Error or RTE, response should not have HTTP "OK" status. (todd via eli) HADOOP-8329. Build fails with Java 7. (eli) HDFS-3453. HDFS 1.x client is not interoperable with pre 1.x server. (Kihwal Lee via suresh) HADOOP-5464. DFSClient did not treat write timeout of 0 properly. (Raghu Angadi and Brandon Li via szetszwo) HADOOP-6947. Kerberos relogin should set refreshKrb5Config to true. (Todd Lipcon via ddas) HDFS-3522. If a namenode is in safemode, it should throw SafeModeException when getBlockLocations has zero locations. (Brandon Li via szetszwo) HDFS-3551. WebHDFS CREATE should use client location for HTTP redirection. (szetszwo) HADOOP-6527. Backport HADOOP-7389: Use of TestingGroups by tests causes subsequent tests to fail. (Ivan Mitic via szetszwo) HADOOP-8417. HADOOP-6963 didn't update hadoop-core-pom-template.xml (Zhihong Ted Yu via cos) HADOOP-8399. Remove JDK5 dependency from Hadoop 1.0+ line (Konstantin Boudnik via mattf) HADOOP-8445. Token should not print the password in toString (Ravi Prakash via tgraves) MAPREDUCE-2903. Map Tasks graph is throwing XML Parse error when Job is executed with 0 maps. (Devaraj K via mattf) MAPREDUCE-2129. Job may hang if mapreduce.job.committer.setup.cleanup.needed=false and mapreduce.map/reduce.failures.maxpercent>0 (Subroto Sanyal via tgraves) HDFS-3466. Get HTTP kerberos principal from the web authentication keytab. (omalley) HDFS-3596. Improve FSEditLog pre-allocation in branch-1 (Colin Patrick McCabe, backported by Jing Zhao via suresh) HDFS-3966. TestFileCreation should use JUnit4 to make assumeTrue work. (Jing Zhao via suresh) HDFS-3698. TestHftpFileSystem is failing in branch-1 due to changed default secure port. (atm) MAPREDUCE-4673. Fix TestRawHistoryFile and TestJobHistoryServer to not write to /tmp. (Arpit Gupta via vinodkv) MAPREDUCE-4675. Fixed a race condition caused in TestKillSubProcesses caused due to a recent commit. (Bikas Saha via vinodkv) MAPREDUCE-3837. Job tracker is not able to recover job in case of crash and after that no user can submit job. (Mayank Bansal via tomwhite) MAPREDUCE-4558. Disable TestJobTrackerSafeMode (sseth) HDFS-3701. HDFS may miss the final block when reading a file opened for writing if one of the datanode is dead. (umamahesh and nkeywal via umamahesh) HDFS-2751. Backport: Datanode may incorrectly drop OS cache behind reads even for short reads. (Brandon Li via szetszwo) HDFS-3461. Make HFTP and HSFTP use http and https respectively for getting, renewing, and cancelling the underlying token. Systems with weak crypto (kssl) configured will continue to use https. (omalley) MAPREDUCE-4698. Fix failing unit test - TestJobHistoryConfig. Optionally initialize the jobtracker on a JobTracker.startTracker. (Gopal V via sseth) Release 1.0.4 - 2012.10.02 NEW FEATURES IMPROVEMENTS HADOOP-7154. Should set MALLOC_ARENA_MAX in hadoop-env.sh (todd via mattf) MAPREDUCE-4399. Change the Jetty response buffer size to improve shuffle performance. (Luke Lu via suresh) BUG FIXES HDFS-3652. FSEditLog failure removes the wrong edit stream when storage dirs have same name. (todd) Release 1.0.3 - 2012.05.07 NEW FEATURES IMPROVEMENTS MAPREDUCE-4017. Add jobname to jobsummary log (tgraves and Koji Noguchi via bobby) BUG FIXES HADOOP-6924. Adds a directory to the list of directories to search for the libjvm.so file. The new directory is found by running a 'find' command and the first output is taken. This was done to handle the build of Hadoop with IBM's JDK. (Stephen Watt, Guillermo Cabrera and ddas) HADOOP-6941. Adds support for building Hadoop with IBM's JDK (Stephen Watt, Eli and ddas) HADOOP-8188. Fixes the build process to do with jsvc, with IBM's JDK as the underlying jdk. (ddas) HDFS-3127. Do not throw exceptions when FSImage.restoreStorageDirs() fails. (Brandon Li via szetszwo) MAPREDUCE-3377. Ensure OutputCommitter.checkOutputSpecs is called prior to copying job.xml. (Jane Chen via acmurthy) HADOOP-5528. Ensure BinaryPartitioner is present in mapred libs. (Klaas Bosteels via acmurthy) HADOOP-6963. In FileUtil.getDU(..), neither include the size of directories nor follow symbolic links. (Ravi Prakash via szetszwo) HADOOP-8251. Fix SecurityUtil.fetchServiceTicket after HADOOP-6941. (todd) HADOOP-8293. Fix the Makefile.am for the native library to include the JNI path. (omalley) MAPREDUCE-4154. streaming MR job succeeds even if the streaming command fails. (Devaraj Das via tgraves) HDFS-119. Fix a bug in logSync(), which causes NameNode block forever. (shv) HADOOP-8294. IPC Connection becomes unusable even if server address was temporarilly unresolvable. Backport of HADOOP-7428. (Kihwal Lee via mattf) HDFS-3310. Make sure that we abort when no edit log directories are left. (Colin Patrick McCabe via eli) MAPREDUCE-4207. Remove System.out.println() in FileInputFormat (Kihwal Lee via harsh) HDFS-3265. PowerPc Build error. (Kumar Ravi via mattf) HDFS-1041. DFSClient.getFileChecksum(..) should retry if connection to the first datanode fails. (szetszwo) HADOOP-8338. Fix renew and cancel of RPC HDFS delegation tokens. (omalley) HADOOP-8346. Makes oid changes to make SPNEGO work. Was broken due to fixes introduced by the IBM JDK compatibility patch. (ddas) HADOOP-8352. Regenerate configure scripts for the c++ compilation. (omalley) HDFS-3061. Cached directory size in INodeDirectory can get permanently out of sync with computed size, causing quota issues; port of HDFS-1487. (Kihwal Lee via mattf) HADOOP-7381. FindBugs OutOfMemoryError. (Joep Rottinghuis via mattf) HADOOP-8151. Error handling in snappy decompressor throws invalid exceptions. (Matt Foley) HDFS-3374. hdfs' TestDelegationToken fails intermittently with a race condition. (Owen O'Malley via mattf) MAPREDUCE-3857. Grep example ignores mapred.job.queue.name. (Jonathan Eagles via mattf) MAPREDUCE-1238. mapred metrics shows negative count of waiting maps and reduces (tgraves via bobby) MAPREDUCE-4003. log.index (No such file or directory) AND Task process exit with nonzero status of 126. (Koji Noguchi via tgraves) MAPREDUCE-4012. Hadoop Job setup error leaves no useful info to users (when LinuxTaskController is used) (tgraves) HADOOP-8027. Visiting /jmx on the daemon web interfaces may print unnecessary error in logs (Aaron Myers and Hitesh Shah) Release 1.0.2 - 2012.03.24 NEW FEATURES HADOOP-7206. Support Snappy compression. (Issei Yoshida and Alejandro Abdelnur via vinodkv). HDFS-2701. Cleanup FS* processIOError methods. (eli) HDFS-2978. The NameNode should expose name dir statuses via JMX. (atm) IMPROVEMENTS MAPREDUCE-3773. Add queue metrics with buckets for job run times. (omalley via acmurthy) HADOOP-1722. Allow hadoop streaming to handle non-utf8 byte array. (Klaas Bosteels and Matthias Lehmann via acmurthy) HADOOP-5450. Add support for application-specific typecodes to typed bytes. (Klaas Bosteels via acmurthy) HADOOP-8090. rename hadoop 64 bit rpm/deb package name. (Giridharan Kesavan via mattf) BUG FIXES HADOOP-8050. Deadlock in metrics. (Kihwal Lee via mattf) MAPREDUCE-3824. Distributed caches are not removed properly. (Thomas Graves via mattf) MAPREDUCE-3583. Change pid to String and stime to BigInteger in order to avoid NumberFormatException caused by overflow. (Zhihong Yu via szetszwo) HDFS-3006. In WebHDFS, when the return body is empty, set the Content-Type to application/octet-stream instead of application/json. (szetszwo) MAPREDUCE-764. Fix TypedBytesInput.readRaw to preserve custom type codes. (Klaas Bosteels via acmurthy) HDFS-2703. removedStorageDirs is not updated everywhere we remove a storage dir. (eli) HDFS-2702. A single failed name dir can cause the NN to exit. (eli) HDFS-3075. Backport HADOOP-4885: Try to restore failed name-node storage directories at checkpoint time. (Brandon Li via szetszwo) HDFS-3101. Cannot read empty file using WebHDFS. (szetszwo) MAPREDUCE-3851. Allow more aggressive action on detection of the jetty issue (tgraves via bobby) HADOOP-8088. User-group mapping cache incorrectly does negative caching on transient failures (Kihwal Lee via bobby) HADOOP-8132. 64bit secure datanodes do not start as the jsvc path is wrong (Arpit Gupta via mattf) HADOOP-8201. create the configure script for native compilation as part of the build (Giri Kesavan via mattf) Release 1.0.1 - 2012.02.14 NEW FEATURES IMPROVEMENTS MAPREDUCE-3607. Port missing new API mapreduce lib classes to 1.x. (tomwhite) HADOOP-7987. Support setting the run-as user in unsecure mode. (jitendra) HADOOP-7988. Upper case in hostname part of the principals doesn't work with kerberos. (jitendra) HDFS-2814. NamenodeMXBean does not account for svn revision in the version information. (Hitesh Shah via jitendra) HADOOP-7470. Move up to Jackson 1.8.8. (Enis Soztutar via szetszwo) HDFS-2379. Allow block reports to proceed without holding FSDataset lock. (todd via suresh) HADOOP-8009. Create hadoop-client and hadoop-minicluster artifacts for downstream projects. (Alejandro Abdelnur via mattf) MAPREDUCE-3184. Add a thread to the TaskTracker which monitors for spinning Jetty selector threads, and shuts down the daemon when one is detected. (todd) BUG FIXES HADOOP-7960. Port HADOOP-5203 to branch-1, build version comparison is too restrictive. (mattf) HADOOP-7964. Deadlock in NetUtils and SecurityUtil class initialization. (Daryn Sharp via suresh) HADOOP-8010. hadoop-config.sh errors when HADOOP_HOME_WARN_SUPPRESS is set to true and HADOOP_HOME is present. (Roman Shaposhnik via mattf) HADOOP-8052. Hadoop Metrics2 should emit Float.MAX_VALUE (instead of Double.MAX_VALUE) to avoid making Ganglia's gmetad core. (Varun Kapoor via mattf) MAPREDUCE-3343. TaskTracker Out of Memory because of distributed cache. (Zhao Yunjiong). HADOOP-8037. Binary tarball does not preserve platform info for native builds, and RPMs fail to provide needed symlinks for libhadoop.so. (Matt Foley) Release 1.0.0 - 2011.12.15 NEW FEATURES HDFS-2316. [umbrella] WebHDFS: a complete FileSystem implementation for accessing HDFS over HTTP (szetszwo) HDFS-2539. Support doAs and GETHOMEDIRECTORY in WebHDFS. (szetszwo) IMPROVEMENTS HDFS-2427. Change the default permission in WebHDFS to 755 and add range check/validation for all parameters. (szetszwo) HDFS-2501. Add version prefix and root methods to WebHDFS. (szetszwo) HADOOP-7728. Enable task memory management to be configurable in hadoop config setup script. (ramya) HDFS-2450. Filesystem supports path with both short names and FQDN. (Daryn Sharp via suresh) HDFS-617. Support for non-recursive create() in HDFS. (Kan Zhang via jitendra) HADOOP-6840. Support non-recursive create() in FileSystem & SequenceFile.Writer. (Nicolas Spiegelberg via jitendra) HADOOP-6886. LocalFileSystem Needs createNonRecursive API. (Nicolas Spiegelberg via jitendra) HADOOP-5124. A few optimizations to FsNamesystem#RecentInvalidateSets. (Hairong Kuang via jitendra) HADOOP-7664. Remove warmings when overriding final parameter configuration if the override value is same as the final parameter value. (Ravi Prakash via szetszwo) HADOOP-7816. Allow HADOOP_HOME deprecated warning suppression based on config specified in hadoop-env.sh (Dave Thompson via suresh) MAPREDUCE-3169. Create a new MiniMRCluster equivalent which only provides client APIs cross MR1 and MR2. (Ahmed via tucu) HDFS-2552. Add Forrest doc for WebHDFS REST API. (szetszwo) HDFS-2246. Shortcut a local client reads to a Datanodes files directly. (Andrew Purtell, Suresh, Jitendra) HADOOP-7804. Enable hadoop config generator to set configurations to enable short circuit read. (Arpit Gupta via jitendra) HDFS-2604. Add a log message to show if WebHDFS is enabled and a configuration section in the forrest doc. (szetszwo) HADOOP-7923. Update doc versions from 0.20 to 1.0, and automate the updating of version numbers in the doc system. (szetszwo via mattf) BUG FIXES HDFS-2673. While Namenode processing the blocksBeingWrittenReport, it will log incorrect number blocks count. (Uma Maheswara via mattf) MAPREDUCE-3319. Hadoop example "multifilewc" broken in 0.20.205.0. (Subroto Sanyal via mattf) HDFS-2589. Remove unnecessary hftp token fetch and renewal thread. (Daryn Sharp via mattf) MAPREDUCE-3475. JT can't renew its own tokens. (Daryn Sharp via mattf) HADOOP-7869. HADOOP_HOME warning happens all of the time (Owen O'Malley via mattf) HADOOP-7815. Fixed configuring map memory mb in hadoop-setup-conf.sh. (Ramya Sunil) HDFS-2346. TestHost2NodesMap & TestReplicasMap will fail depending upon execution order of test methods. (Laxman and Uma Maheswara Rao via Matt Foley) MAPREDUCE-3374. src/c++/task-controller/configure is not set executable in the tarball and that prevents task-controller from rebuilding. (Roman Shaposhnik via Matt Foley) HDFS-1943. Fail to start datanode while start-dfs.sh is executed by root user. (Wei Yongjun's patch updated by Matt Foley) HADOOP-7784. Fixed jsvc packaging. (Eric Yang) HADOOP-7740. Fixed security audit logger configuration. (Arpit Gupta via Eric Yang) HADOOP-7765. Clean packaging working directory for Debian packaging. (Eric Yang) HDFS-2441. Remove the Content-Type set by HttpServer.QuotingInputFilter in WebHDFS responses. (szetszwo) HDFS-2428. Convert com.sun.jersey.api.ParamException$QueryParamException to IllegalArgumentException and response it as http BAD_REQUEST in WebHDFS. (szetszwo) HDFS-2424. Added a root element "HdfsFileStatuses" for the response of WebHDFS listStatus. (szetszwo) HDFS-2439. Fix NullPointerException in WebHDFS when opening a non-existing file or creating a file without specifying the replication parameter. (szetszwo) HDFS-2453. Fix http response code for partial content in WebHDFS, added getDefaultBlockSize() and getDefaultReplication() in WebHdfsFileSystem and cleared content type in ExceptionHandler. (szetszwo) HDFS-2416. Distcp with a WebHDFS uri on a secure cluster fails. (jitendra) HDFS-2494. Close the streams and DFSClient in DatanodeWebHdfsMethods. (Uma Maheswara Rao G via szetszwo) HDFS-2432. WebHDFS: response FORBIDDEN when setReplication on non-files; clear umask before creating a flie; throw IllegalArgumentException if setOwner with both owner and group empty; throw FileNotFoundException if getFileStatus on non-existing files; fix bugs in getBlockLocations; and changed getFileChecksum json response root to "FileChecksum". (szetszwo) HDFS-2065. Add null checks in DFSClient.getFileChecksum(..). (Uma Maheswara Rao G via szetszwo) HDFS-2527. WebHDFS: remove the use of "Range" header in Open; use ugi username if renewer parameter is null in GetDelegationToken; response OK when setting replication for non-files; rename GETFILEBLOCKLOCATIONS to GET_BLOCK_LOCATIONS and state that it is a private unstable API; replace isDirectory and isSymlink with enum {FILE, DIRECTORY, SYMLINK} in HdfsFileStatus JSON object. (szetszwo) HDFS-2528. WebHDFS: set delegation kind to WEBHDFS and add a HDFS token when http requests are redirected to datanode. (szetszwo) HDFS-2540. WebHDFS: change "Expect: 100-continue" to two-step write; change "HdfsFileStatus" and "localName" respectively to "FileStatus" and "pathSuffix" in JSON response. (szetszwo) HDFS-1257. Race condition on FSNamesystem#recentInvalidateSets introduced by HADOOP-5124. (Eric Payne via jitendra) HDFS-611. Heartbeats times from Datanodes increase when there are plenty of blocks to delete. (Zheng Shao via jitendra) HADOOP-7853. multiple javax security configurations cause conflicts. (Daryn via jitendra) HDFS-2590. Fix the missing links in the WebHDFS forrest doc. (szetszwo) HADOOP-7854. UGI getCurrentUser is not synchronized. (Daryn Sharp via jitendra) HADOOP-7865. Test Failures in 1.0 hdfs/common. (jitendra) MAPREDUCE-3480. Disable TestJvmReuse in branch-1. (jitendra) HADOOP-7855. fix to remove datanode dir creation and attribute setup from hadoop-conf-setup.sh (gkesavan) HADOOP-7461. Fix to add jackson dependency to hadoop pom. (gkesavan) Release 0.20.205.0 - 2011.10.06 NEW FEATURES HDFS-2202. Add a new DFSAdmin command to set balancer bandwidth of datanodes without restarting. (Eric Payne via szetszwo) HDFS-200. Support append and sync for hadoop 0.20 branch. (dhruba) HDFS-826. Allow a mechanism for an application to detect that datanode(s) have died in the write pipeline. (dhruba) HDFS-142. Blocks that are being written by a client are stored in the blocksBeingWritten directory. (Dhruba Borthakur, Nicolas Spiegelberg, Todd Lipcon via dhruba) HDFS-630. Client can exclude specific nodes in the write pipeline. (Nicolas Spiegelberg via dhruba) HDFS-895. Allow hflush/sync to occur in parallel with new writes to the file. (Todd Lipcon via hairong) HDFS-1520. Lightweight NameNode operation recoverLease to trigger lease recovery. (Hairong Kuang via dhruba) MAPREDUCE-2764. Allow JobTracker to renew and cancel arbitrary token types, including delegation tokens obtained via hftp. (omalley) HADOOP-7119 add Kerberos HTTP SPNEGO authentication support to Hadoop JT/NN/DN/TT web-consoles backport from Trunk (sanjay) HDFS-2284. Add a new FileSystem, webhdfs://, for supporting write Http access to HDFS. (szetszwo) HDFS-2317. Support read access to HDFS in WebHDFS. (szetszwo) HDFS-2338. Add configuration option to enable/disable WebHDFS. (jitendra via szetszwo) HDFS-2318. Provide authentication to WebHDFS using SPNEGO and delegation tokens. (szetszwo) HDFS-2340. Support getFileBlockLocations and getDelegationToken in WebHDFS. (szetszwo) HDFS-2348. Support getContentSummary and getFileChecksum in WebHDFS. (szetszwo) HDFS-2385. Support renew and cancel delegation tokens in WebHDFS. (szetszwo) MAPREDUCE-2777. Backport of MAPREDUCE-220 and MAPREDUCE-2469. Includes adding cumulative CPU usage and total heap usage to task conters. (amarrk) BUG FIXES HDFS-2404. WebHDFS liststatus json response is not correct. (Suresh Srinivas via mattf) HDFS-2358. NPE when the default filesystem's uri has no authority. (Daryn Sharp via mattf) MAPREDUCE-3112. Calling hadoop cli inside mapreduce job leads to errors. (Eric Yang via mattf) HADOOP-7691. Hadoop deb pkg group id. (Eric Yang via mattf) HADOOP-7685. Resolve issues with hadoop-common file hadoop-setup-conf.sh. (Eric Yang and Devaraj K, via mattf) HADOOP-7684. jobhistory server and secondarynamenode should have init.d script for rpm and deb. (Eric Yang via mattf) HADOOP-7683. remove hdfs-site.xml template has properties that are not used in 0.20-security. (Arpit Gupta via mattf) HADOOP-7603. Set default hdfs, mapred uid, and hadoop group gid for RPM packages. (Eric Yang via mattf) HADOOP-7681. log4j.properties is missing properties for security audit and hdfs audit should be changed to info. (Arpit Gupta via mattf) HADOOP-7679. log4j.properties templates must define mapred.jobsummary.logger (Ramya Sunil via mattf) HDFS-2325. Fuse-DFS fails to build on Hadoop 20.203.0 (Kihwal Lee via mattf) HDFS-2342. add Jersey libraries to ivy.xml files in contrib, to fix TestSleepJob and TestHdfsProxy. (Tsz Wo (Nicholas), SZE via mattf) MAPREDUCE-2324. Removed usage of broken ResourceEstimator.getEstimatedReduceInputSize to check against usable disk-space on TaskTracker. (Robert Evans via acmurthy) MAPREDUCE-2729. Ensure jobs with reduces which can't be launched due to slow-start do not count for user-limits. (Sherry Chen via acmurthy) HADOOP-6833. IPC leaks call parameters when exceptions thrown. (Todd Lipcon via eli) HADOOP-7400. Fix HdfsProxyTests fails when the -Dtest.build.dir and -Dbuild.test is set a dir other than build dir (gkesavan) MAPREDUCE-2650. back-port MAPREDUCE-2238 to 0.20-security. (Sherry Chen via mahadev) HDFS-2053. Bug in INodeDirectory#computeContentSummary warning (Michael Noll via eli) HDFS-2117. DiskChecker#mkdirsWithExistsAndPermissionCheck may return true even when the dir is not created. (eli) MAPREDUCE-2489. Jobsplits with random hostnames can make the queue unusable. (Jeffrey Naisbitt via mahadev) HDFS-2190. NN fails to start if it encounters an empty or malformed fstime file. (atm) HDFS-2259. DN web-UI doesn't work with paths that contain html. (eli) HDFS-561. Fix write pipeline READ_TIMEOUT. (Todd Lipcon via dhruba) HDFS-606. Fix ConcurrentModificationException in invalidateCorruptReplicas. (Todd Lipcon via dhruba) HDFS-1118. Fix socketleak on DFSClient. (Zheng Shao via dhruba) HDFS-988. Fix bug where savenameSpace can corrupt edits log. (Nicolas Spiegelberg via dhruba) HDFS-1054. remove sleep before retry for allocating a block. (Todd Lipcon via dhruba) HDFS-1207. FSNamesystem.stallReplicationWork should be volatile. (Todd Lipcon via dhruba) HDFS-1141. completeFile does not check lease ownership. (Todd Lipcon via dhruba) HDFS-1204. Lease expiration should recover single files, not entire lease holder (Sam Rash via dhruba) HDFS-1346. DFSClient receives out of order packet ack. (hairong) HDFS-1057. Concurrent readers hit ChecksumExceptions if following a writer to very end of file (Sam Rash via dhruba) HDFS-724. Use a bidirectional heartbeat to detect stuck pipeline. (hairong) HDFS-1555. Disallow pipelien recovery if a file is already being lease recovered. (hairong) HDFS-1554. New semantics for recoverLease. (hairong) HADOOP-7596. Makes packaging of 64-bit jsvc possible. Has other bug fixes to do with packaging. (Eric Yang via ddas) HDFS-2309. TestRenameWhileOpen fails. (jitendra) HDFS-2300. TestFileAppend4 and TestMultiThreadedSync failure. (jitendra) HDFS-1122. client block verification may result in blocks in DataBlockScanner prematurely. (Sam Rash via jitendra) HADOOP-6722. NetUtils.connect should check that it hasn't connected a socket to itself. (Todd Lipcon via suresh) HDFS-1779. After NameNode restart , Clients can not read partial files even after client invokes Sync. (Uma Maheswara Rao G via jitendra) HDFS-1197. Blocks are considered "complete" prematurely after commitBlockSynchronization or DN restart. (Todd Lipcon via jitendra) HDFS-1218. Blocks recovered on startup should be treated with lower priority during block synchronization. (Todd Lipcon via suresh) HDFS-1186. DNs should interrupt writers at start of recovery. (Todd Lipcon via suresh) HDFS-1252. Fix TestDFSConcurrentFileOperations. (Todd Lipcon via suresh). HDFS-1260. Block lost when multiple DNs trying to recover it to different genstamps. (Todd Lipcon via jitendra) HADOOP-7626. Bugfix for a config generator (Eric Yang via ddas) MAPREDUCE-2549. Fix resource leaks in Eclipse plugin. (Devaraj K via acmurthy) HDFS-2328. HFTP throws NPE if security is enabled locally, but not remotely. (omalley) HADOOP-7602. wordcount, sort etc on har files fails with NPE. (John George via jitendra) HADOOP-7625. Fix TestDelegationToken by having DFSClient set the service correctly and having the test cases use the common jar. (omalley) HADOOP-7644. Fix TestDelegationTokenRenewal and TestDelegationTokenFetcher to use and test the new style renewers. (omalley) HADOOP-7637. Fix to include FairScheduler configuration file in RPM. (Eric Yang via ddas) HADOOP-7633. Adds log4j.properties to the hadoop-conf dir on deploy (Eric Yang via ddas) HADOOP-7631. Fixes a config problem to do with running streaming jobs (Eric Yang via ddas) HADOOP-7630. Fixes hadoop-metrics2.properties to have a property *.period set to a default value. (Eric Yang via ddas) HADOOP-7615. Fixes to have contrib jars in the HADOOP_CLASSPATH for the binary layout case. (Eric Yang via ddas) HADOOP-7661. FileSystem.getCanonicalServiceName throws NPE for any file system uri that doesn't have an authority. (jitendra) HADOOP-7649. TestMapredGroupMappingServiceRefresh and TestRefreshUserMappings fail after HADOOP-7625. (jitendra) HADOOP-7658. Fix hadoop config template for secured and unsecured installation (Eric Yang via gkesavan) MAPREDUCE-3076. Annotate o.a.h.mapreduce.TestSleepJob with @Ignore since it is not a junit test. (acmurthy via szetszwo) HDFS-2331. Fix WebHdfsFileSystem compilation problems for a bug in JDK version < 1.6.0_26. (Abhijit Suresh Shingate via szetszwo) HADOOP-7645. HTTP auth tests requiring Kerberos infrastructure are not disabled on branch-0.20-security. (jitendra) HADOOP-7674. TestKerberosName fails in 20 branch. (jitendra) HDFS-2333. Change DFSOutputStream back to package private, otherwise, there are two SC_START_IN_CTOR findbugs warnings. (szetszwo) HADOOP-7676. Enable hbase to run as hdfs user (gkesavan) HDFS-2359. Fix NullPointerException in DataBlockScanner. (Jonthan Eagles via suresh) MAPREDUCE-3081. Fix for vaidya.sh to work with the new layout (Suhas via gkesavan) HDFS-2366. Initialize WebHdfsFileSystem.ugi in object construction. (szetszwo) HDFS-2361. hftp is broken. Fixed username checks in JspHelper. (jitendra) HDFS-2375. Fix TestFileAppend4 failure. (suresh) HDFS-2373. Commands using WebHDFS and hftp print unnecessary debug info on the console with security enabled. (Arpit Gupta via suresh) HADOOP-7610. Fix for hadoop debian package (Eric Yang via gkesavan) HADOOP-7715. Removed unnecessary security logger configuration. (Eric Yang) HADOOP-7711. Fixed recursive sourcing of HADOOP_OPTS environment variables (Arpit Gupta via Eric Yang) HDFS-2392. Dist with hftp is failing again. (Daryn Sharp via jitendra) HDFS-2408. DFSClient#getNumCurrentReplicas is package private in 205 but public in branch-0.20-append (stack via atm) HADOOP-7721. dfs.web.authentication.kerberos.principal expects the full hostname and does not replace _HOST with the hostname. (jitendra) HDFS-2403. NamenodeWebHdfsMethods.generateDelegationToken(..) does not use the renewer parameter. (szetszwo) HADOOP-7724. Fixed hadoop-setup-conf.sh to put proxy user in core-site.xml. (Arpit Gupta via Eric Yang) HDFS-2411. With WebHDFS enabled in secure mode the auth to local mappings are not being respected. (jitendra) IMPROVEMENTS MAPREDUCE-2928. MR-2413 improvements (Eli Collins via mattf) HADOOP-7655. provide a small validation script that smoke tests the installed cluster. (Arpit Gupta via mattf) MAPREDUCE-2187. Reporter sends progress during sort/merge. (Anupam Seth via acmurthy) MAPREDUCE-2705. Implements launch of multiple tasks concurrently. (Thomas Graves via ddas) HADOOP-7343. Make the number of warnings accepted by test-patch configurable to limit false positives. (Thomas Graves via cdouglas) HDFS-1836. Thousand of CLOSE_WAIT socket. Contributed by Todd Lipcon, ported to security branch by Bharath Mundlapudi. (via mattf) HADOOP-7432. Back-port HADOOP-7110 to 0.20-security: Implement chmod in NativeIO library. (Sherry Chen via mattf) HADOOP-7314. Add support for throwing UnknownHostException when a host doesn't resolve. Needed for MAPREDUCE-2489. (Jeffrey Naisbitt via mattf) MAPREDUCE-2494. Make the distributed cache delete entires using LRU priority (Robert Joseph Evans via mahadev) HADOOP-6889. Make RPC to have an option to timeout - backport to 0.20-security. Unit tests updated to 17/Aug/2011 version. (John George and Ravi Prakash via mattf) MAPREDUCE-2780. Use a utility method to set service in token. (Daryn Sharp via jitendra) HADOOP-7472. RPC client should deal with IP address change. (Kihwal Lee via suresh) MAPREDUCE-2489. Jobsplits with random hostnames can make the queue unusable (Jeffrey Naisbit via mahadev) MAPREDUCE-2852. Jira for YDH bug 2854624. (Kihwal Lee via eli) HDFS-1210. DFSClient should log exception when block recovery fails. (Todd Lipcon via dhruba) HDFS-1211. Block receiver should not log "rewind" packets at INFO level. (Todd Lipcon) HDFS-1164. TestHdfsProxy is failing. (Todd Lipcon) HDFS-1202. DataBlockScanner throws NPE when updated before initialized. (Todd Lipcon) HADOOP-7539. merge hadoop archive goodness from trunk to .20 (John George via mahadev) HADOOP-7594. Support HTTP REST in HttpServer. (szetszwo) HDFS-1242. Add test for appendFile() race solved in HDFS-142. (Todd Lipcon via jitendra) HDFS-2320. Make 0.20-append protocol changes compatible with 0.20-secuirty. (suresh) MAPREDUCE-2610. Make QueueAclsInfo public. (Joep Rottinghuis via acmurthy) MAPREDUCE-2915. Ensure LTC passes java.library.path. (Kihwal Lee via acmurthy) HADOOP-7599. Script improvements to setup a secure Hadoop cluster (Eric Yang via ddas) MAPREDUCE-2981. Backport FairScheduler from trunk. (Matei Zaharia via acmurthy) MAPREDUCE-1734. Undeprecate old API in branch-0.20-security. (Todd Lipcon via acmurthy) HDFS-2356. Support case insensitive query parameter names in WebHDFS. (szetszwo) HADOOP-7510. Add configurable option to use original hostname in token instead of IP to allow server IP change. (Daryn Sharp via suresh) HDFS-2368. Move SPNEGO conf properties from hdfs-default.xml to hdfs-site.xml. (szetszwo) HADOOP-7710. Added hadoop-setup-application.sh for creating application directory (Arpit Gupta via Eric Yang) HADOOP-7708. Fixed hadoop-setup-conf.sh to handle config file consistently. (Eric Yang) HADOOP-7707. Added toggle for dfs.support.append, WebHDFS and hadoop proxy user to setup config script. (Arpit Gupta via Eric Yang) HADOOP-7720. Added parameter for HBase user to setup config script. (Arpit Gupta via Eric Yang) HDFS-2395. Add a root element in the JSON responses of WebHDFS. (szetszwo) Release 0.20.204.0 - 2011-8-25 NEW FEATURES HADOOP-6255. Create RPM and Debian packages for common. Changes deployment layout to be consistent across the binary tgz, rpm, and deb. Adds setup scripts for easy one node cluster configuration and user creation. (Eric Yang via omalley) HADOOP-7324. Ganglia plugins for metrics v2. (Priyo Mustafi via llu) BUG FIXES MAPREDUCE-2804. Fixed a race condition in setting up the log directories for tasks that are starting at the same time. (omalley) MAPREDUCE-2846. Fixed a race condition in writing the log index file that caused tasks to fail. (omalley) MAPREDUCE-2651. Fix race condition in Linux task controller for job log directory creation. (Bharath Mundlapudi via llu) MAPREDUCE-2621. TestCapacityScheduler fails with "Queue "q1" does not exist". (Sherry Chen via mahadev) HADOOP-7475. Fix hadoop-setup-single-node.sh to reflect new layout. (eyang via omalley) HADOOP-7045. TestDU fails on systems with local file systems with extended attributes. (eli) MAPREDUCE-2495. exit() the TaskTracker when the distributed cache cleanup thread dies. (Robert Joseph Evans via cdouglas) HDFS-1878. TestHDFSServerPorts unit test failure - race condition in FSNamesystem.close() causes NullPointerException without serious consequence. (mattf) MAPREDUCE-2452. Moves the cancellation of delegation tokens to a separate thread. (ddas) MAPREDUCE-2555. Avoid sprious logging from completedtasks. (Thomas Graves via cdouglas) MAPREDUCE-2451. Log the details from health check script at the JobTracker. (Thomas Graves via cdouglas) MAPREDUCE-2535. Fix NPE in JobClient caused by retirement. (Robert Joseph Evans via cdouglas) MAPREDUCE-2456. Log the reduce taskID and associated TaskTrackers with failed fetch notifications in the JobTracker log. (Jeffrey Naisbitt via cdouglas) HDFS-2044. TestQueueProcessingStatistics failing automatic test due to timing issues. (mattf) HADOOP-7248. Update eclipse target to generate .classpath from ivy config. (Thomas Graves and Tom White via cdouglas) MAPREDUCE-2558. Add queue-level metrics 0.20-security branch (test fixes) (Jeffrey Naisbitt via mahadev) HADOOP-7364. TestMiniMRDFSCaching fails if test.build.dir is set to something other than build/test. (Thomas Graves via mahadev) HADOOP-7277. Add generation of run configurations to eclipse target. (Jeffrey Naisbitt and Philip Zeyliger via cdouglas) HADOOP-7373. Fix {start,stop}-{dfs,mapred} and hadoop-daemons.sh from trying to use the wrong bin directory. (omalley) HADOOP-7274. Fix typos in IOUtils. (Jonathan Eagles via cdouglas) HADOOP-7369. Fix permissions in tarball for sbin/* and libexec/* (omalley) MAPREDUCE-2479. Move distributed cache cleanup to a background task, backporting MAPREDUCE-1568. (Robert Joseph Evans via cdouglas) HADOOP-7356. Fix bin/hadoop scripts (eyang via omalley) HADOOP-7272. Remove unnecessary security related info logs. (suresh) MAPREDUCE-2514. Fix typo in TaskTracker ReinitTrackerAction log message. (Jonathan Eagles via cdouglas) HDFS-1906. Remove logging exception stack trace in client logs when one of the datanode targets to read from is not reachable. (suresh) MAPREDUCE-2490. Add logging to graylist and blacklist activity to aid diagnosis of related issues. (Jonathan Eagles via cdouglas) MAPREDUCE-2447. Fix Child.java to set Task.jvmContext sooner to avoid corner cases in error handling. (Siddharth Seth via acmurthy) MAPREDUCE-2429. Validate JVM in TaskUmbilicalProtocol. (Siddharth Seth via acmurthy) MAPREDUCE-2418. Show job errors in JobHistory page. (Siddharth Seth via acmurthy) HDFS-1592. At Startup, Valid volumes required in FSDataset doesn't handle consistently with volumes tolerated. (Bharath Mundlapudi) HDFS-1598. Directory listing on hftp:// does not show .*.crc files. (szetszwo) HDFS-1750. ListPathsServlet should not use HdfsFileStatus.getLocalName() to get file name since it may return an empty string. (szetszwo) HDFS-1758. Make Web UI JSP pages thread safe. (Tanping via suresh) HDFS-1773. Do not show decommissioned datanodes, which are not in both include and exclude lists, on web and JMX interfaces. (Tanping Wang via szetszwo) MAPREDUCE-2409. Distinguish distributed cache artifacts localized as files, archives. (Siddharth Seth via cdouglas) MAPREDUCE-118. Fix Job.getJobID() to get the new ID as soon as it's assigned. (Amareshwari Sriramadasu and Dick King via cdouglas) MAPREDUCE-2411. Force an exception when the queue has an invalid name or its ACLs are misconfigured. (Dick King via cdouglas) HDFS-1258. Clearing namespace quota on "/" corrupts fs image. (Aaron T. Myers via szetszwo) HDFS-1189. Quota counts missed between clear quota and set quota. (John George via szetszwo) HDFS-1692. In secure mode, Datanode process doesn't exit when disks fail. (bharathm via boryas) MAPREDUCE-2420. JobTracker should be able to renew delegation token over HTTP (boryas) MAPREDUCE-2443. Fix TaskAspect for TaskUmbilicalProtocol.ping(..). (Siddharth Seth via szetszwo) HDFS-1842. Handle editlog opcode conflict with 0.20.203 during upgrade, by throwing an error to indicate the editlog needs to be empty. (suresh) HDFS-1377. Quota bug for partial blocks allows quotas to be violated. (eli) HDFS-2057. Wait time to terminate the threads causes unit tests to take longer time. (Bharath Mundlapudi via suresh) HDFS-2218. Disable TestHdfsProxy.testHdfsProxyInterface in automated test suite for 0.20-security-204 release. (Matt Foley) IMPROVEMENTS HADOOP-7144. Expose JMX metrics via JSON servlet. (Robert Joseph Evans via cdouglas) MAPREDUCE-2524. Port reduce failure reporting semantics from trunk, to fail faulty maps more aggressively. (Thomas Graves via cdouglas) MAPREDUCE-2529. Add support for regex-based shuffle metric counting exceptions. (Thomas Graves via cdouglas) HADOOP-7398. Add mechanism to suppress warnings about use of HADOOP_HOME. (omalley) HDFS-2023. Backport of NPE for File.list and File.listFiles. Merged ports of HADOOP-7322, HDFS-1934, HADOOP-7342, and HDFS-2019. (Bharath Mundlapudi via mattf) MAPREDUCE-2415. Distribute the user task logs on to multiple disks. (Bharath Mundlapudi via omalley) MAPREDUCE-2413. TaskTracker should handle disk failures by reinitializing itself. (Ravi Gummadi and Jagane Sundar via omalley) HDFS-1541. Not marking datanodes dead when namenode in safemode. (hairong) HDFS-1767. Namenode ignores non-initial block report from datanodes when in safemode during startup. (Matt Foley via suresh) MAPREDUCE-1251. c++ utils doesn't compile. (Eli Collins via shv) HADOOP-7459. Remove jdk-1.6.0 dependency check from rpm. (omalley) HADOOP-7330. Fix MetricsSourceAdapter to use the value instead of the object. (Luke Lu via omalley) Release 0.20.203.0 - 2011-5-11 MAPREDUCE-1280. Update Eclipse plugin to the new eclipse.jdt API. (Alex Kozlov via szetszwo) HADOOP-7259. Contrib modules should include the build.properties from the enclosing hadoop directory. (omalley) HADOOP-7253. Update the default configuration to fix security audit log and metrics2 property configuration warnings. (omalley) HADOOP-7247. Update documentation to match current jar names. (omalley) HADOOP-7246. Update the log4j configuration to match the EventCounter package. (Luke Lu via omalley) HADOOP-7143. Restore HadoopArchives. (Joep Rottinghuis via omalley) MAPREDUCE-2316. Updated CapacityScheduler documentation. (acmurthy) HADOOP-7243. Fix contrib unit tests missing dependencies. (omalley) HADOOP-7190. Add metrics v1 back for backwards compatibility. (omalley) MAPREDUCE-2360. Remove stripping of scheme, authority from submit dir in support of viewfs. (cdouglas) MAPREDUCE-2359 Use correct file system to access distributed cache objects. (Krishna Ramachandran) MAPREDUCE-2361. "Fix Distributed Cache is not adding files to class paths correctly" - Drop the host/scheme/fragment from URI (cdouglas) MAPREDUCE-2362. Fix unit-test failures: TestBadRecords (NPE due to rearranged MapTask code) and TestTaskTrackerMemoryManager (need hostname in output-string pattern). (Greg Roelofs, Krishna Ramachandran) HDFS-1729. Add statistics logging for better visibility into startup time costs. (Matt Foley) MAPREDUCE-2363. When a queue is built without any access rights we explain the problem. (Richard King) MAPREDUCE-1563. TaskDiagnosticInfo may be missed sometime. (Krishna Ramachandran) MAPREDUCE-2364. Don't hold the rjob lock while localizing resources. (ddas via omalley) MAPREDUCE-2365. New counters for FileInputFormat (BYTES_READ) and FileOutputFormat (BYTES_WRITTEN). New counter MAP_OUTPUT_MATERIALIZED_BYTES for compressed MapOutputSize. (Siddharth Seth) HADOOP-7040. Change DiskErrorException to IOException (boryas) HADOOP-7104. Remove unnecessary DNS reverse lookups from RPC layer (kzhang) MAPREDUCE-2366. Fix a problem where the task browser UI can't retrieve the stdxxx printouts of streaming jobs that abend in the unix code, in the common case where the containing job doesn't reuse JVM's. (Richard King) HADOOP-6977. Herriot daemon clients should vend statistics (cos) HADOOP-6971. Clover build doesn't generate per-test coverage (cos) HADOOP-6879. Provide SSH based (Jsch) remote execution API for system tests. (cos) HADOOP-7215. RPC clients must use network interface corresponding to the host in the client's kerberos principal key. (suresh) HADOOP-7232. Fix Javadoc warnings. (omalley) HADOOP-7258. The Gzip codec should not return null decompressors. (omalley) Release 0.20.202.0 - unreleased MAPREDUCE-2355. Add a configuration knob mapreduce.tasktracker.outofband.heartbeat.damper that limits out of band heartbeats (acmurthy) MAPREDUCE-2356. Fix a race-condition that corrupted a task's state on the JobTracker. (Luke Lu) MAPREDUCE-2357. Always propagate IOExceptions that are thrown by non-FileInputFormat. (Luke Lu) HADOOP-7163. RPC handles SocketTimeOutException during SASL negotiation. (ddas) MAPREDUCE-2358. MapReduce assumes the default FileSystem is HDFS. (Krishna Ramachandran) MAPREDUCE-1904. Reducing locking contention in TaskTracker's MapOutputServlet LocalDirAllocator. (Rajesh Balamohan via acmurthy) HDFS-1626. Make BLOCK_INVALIDATE_LIMIT configurable. (szetszwo) HDFS-1584. Adds a check for whether relogin is needed to getDelegationToken in HftpFileSystem. (Kan Zhang via ddas) HADOOP-7115. Reduces the number of calls to getpwuid_r and getpwgid_r, by implementing a cache in NativeIO. (ddas) HADOOP-6882. An XSS security exploit in jetty-6.1.14. jetty upgraded to 6.1.26. (ddas) MAPREDUCE-2278. Fixes a memory leak in the TaskTracker. (cdouglas) HDFS-1353 redux. Modulate original 1353 to not bump RPC version. (jhoman) MAPREDUCE-2082 Race condition in writing the jobtoken password file when launching pipes jobs (jitendra and ddas) HADOOP-6978. Fixes task log servlet vulnerabilities via symlinks. (Todd Lipcon and Devaraj Das) MAPREDUCE-2178. Write task initialization to avoid race conditions leading to privilege escalation and resource leakage by performing more actiions as the user. (Owen O'Malley, Devaraj Das, Chris Douglas via cdouglas) HDFS-1364. HFTP client should support relogin from keytab HADOOP-6907. Make RPC client to use per-proxy configuration. (Kan Zhang via ddas) MAPREDUCE-2055. Fix JobTracker to decouple job retirement from copy of job-history file to HDFS and enhance RetiredJobInfo to carry aggregated job-counters to prevent a disk roundtrip on job-completion to fetch counters for the JobClient. (Krishna Ramachandran via acmurthy) HDFS-1353. Remove most of getBlockLocation optimization (jghoman) MAPREDUCE-2023. TestDFSIO read test may not read specified bytes. (htang) HDFS-1340. A null delegation token is appended to the url if security is disabled when browsing filesystem.(boryas) HDFS-1352. Fix jsvc.location. (jghoman) HADOOP-6860. 'compile-fault-inject' should never be called directly. (cos) MAPREDUCE-2005. TestDelegationTokenRenewal fails (boryas) MAPREDUCE-2000. Rumen is not able to extract counters for Job history logs from Hadoop 0.20. (htang) MAPREDUCE-1961. ConcurrentModificationException when shutting down Gridmix. (htang) HADOOP-6899. RawLocalFileSystem set working directory does not work for relative names. (suresh) HDFS-495. New clients should be able to take over files lease if the old client died. (shv) HADOOP-6728. Re-design and overhaul of the Metrics framework. (Luke Lu via acmurthy) MAPREDUCE-1966. Change blacklisting of tasktrackers on task failures to be a simple graylist to fingerpoint bad tasktrackers. (Greg Roelofs via acmurthy) HADOOP-6864. Add ability to get netgroups (as returned by getent netgroup command) using native code (JNI) instead of forking. (Erik Steffl) HDFS-1318. HDFS Namenode and Datanode WebUI information needs to be accessible programmatically for scripts. (Tanping Wang via suresh) HDFS-1315. Add fsck event to audit log and remove other audit log events corresponding to FSCK listStatus and open calls. (suresh) MAPREDUCE-1941. Provides access to JobHistory file (raw) with job user/acl permission. (Srikanth Sundarrajan via ddas) MAPREDUCE-291. Optionally a separate daemon should serve JobHistory. (Srikanth Sundarrajan via ddas) MAPREDUCE-1936. Make Gridmix3 more customizable (sync changes from trunk). (htang) HADOOP-5981. Fix variable substitution during parsing of child environment variables. (Krishna Ramachandran via acmurthy) MAPREDUCE-339. Greedily schedule failed tasks to cause early job failure. (cdouglas) MAPREDUCE-1872. Hardened CapacityScheduler to have comprehensive, coherent limits on tasks/jobs for jobs/users/queues. Also, added the ability to refresh queue definitions without the need to restart the JobTracker. (acmurthy) HDFS-1161. Make DN minimum valid volumes configurable. (shv) HDFS-457. Reintroduce volume failure tolerance for DataNodes. (shv) HDFS-1307 Add start time, end time and total time taken for FSCK to FSCK report. (suresh) MAPREDUCE-1207. Sanitize user environment of map/reduce tasks and allow admins to set environment and java options. (Krishna Ramachandran via acmurthy) HDFS-1298 - Add support in HDFS for new statistics added in FileSystem to track the file system operations (suresh) HDFS-1301. TestHDFSProxy need to use server side conf for ProxyUser stuff.(boryas) HADOOP-6859 - Introduce additional statistics to FileSystem to track file system operations (suresh) HADOOP-6818. Provides a JNI implementation of Unix Group resolution. The config hadoop.security.group.mapping should be set to org.apache.hadoop.security.JniBasedUnixGroupsMapping to enable this implementation. (ddas) MAPREDUCE-1938. Introduces a configuration for putting user classes before the system classes during job submission and in task launches. Two things need to be done in order to use this feature - (1) mapreduce.user.classpath.first : this should be set to true in the jobconf, and, (2) HADOOP_USER_CLASSPATH_FIRST : this is relevant for job submissions done using bin/hadoop shell script. HADOOP_USER_CLASSPATH_FIRST should be defined in the environment with some non-empty value (like "true"), and then bin/hadoop should be executed. (ddas) HADOOP-6669. Respect compression configuration when creating DefaultCodec compressors. (Koji Noguchi via cdouglas) HADOOP-6855. Add support for netgroups, as returned by command getent netgroup. (Erik Steffl) HDFS-599. Allow NameNode to have a seprate port for service requests from client requests. (Dmytro Molkov via hairong) HDFS-132. Fix namenode to not report files deleted metrics for deletions done while replaying edits during startup. (shv) MAPREDUCE-1521. Protection against incorrectly configured reduces (mahadev) MAPREDUCE-1936. Make Gridmix3 more customizable. (htang) MAPREDUCE-517. Enhance the CapacityScheduler to assign multiple tasks per-heartbeat. (acmurthy) MAPREDUCE-323. Re-factor layout of JobHistory files on HDFS to improve operability. (Dick King via acmurthy) MAPREDUCE-1921. Ensure exceptions during reading of input data in map tasks are augmented by information about actual input file which caused the exception. (Krishna Ramachandran via acmurthy) MAPREDUCE-1118. Enhance the JobTracker web-ui to ensure tabular columns are sortable, also added a /scheduler servlet to CapacityScheduler for enhanced UI for queue information. (Krishna Ramachandran via acmurthy) HADOOP-5913. Add support for starting/stopping queues. (cdouglas) HADOOP-6835. Add decode support for concatenated gzip files. (Greg Roelofs) HDFS-1158. Revert HDFS-457. (shv) MAPREDUCE-1699. Ensure JobHistory isn't disabled for any reason. (Krishna Ramachandran via acmurthy) MAPREDUCE-1682. Fix speculative execution to ensure tasks are not scheduled after job failure. (acmurthy) MAPREDUCE-1914. Ensure unique sub-directories for artifacts in the DistributedCache are cleaned up. (Dick King via acmurthy) HADOOP-6713. Multiple RPC Reader Threads (Bharathm) HDFS-1250. Namenode should reject block reports and block received requests from dead datanodes (suresh) MAPREDUCE-1863. [Rumen] Null failedMapAttemptCDFs in job traces generated by Rumen. (htang) MAPREDUCE-1309. Rumen refactory. (htang) HDFS-1114. Implement LightWeightGSet for BlocksMap in order to reduce NameNode memory footprint. (szetszwo) MAPREDUCE-572. Fixes DistributedCache.checkURIs to throw error if link is missing for uri in cache archives. (amareshwari) MAPREDUCE-787. Fix JobSubmitter to honor user given symlink in the path. (amareshwari) HADOOP-6815. refreshSuperUserGroupsConfiguration should use server side configuration for the refresh( boryas) MAPREDUCE-1868. Add a read and connection timeout to JobClient while pulling tasklogs. (Krishna Ramachandran via acmurthy) HDFS-1119. Introduce a GSet interface to BlocksMap. (szetszwo) MAPREDUCE-1778. Ensure failure to setup CompletedJobStatusStore is not silently ignored by the JobTracker. (Krishna Ramachandran via acmurthy) MAPREDUCE-1538. Add a limit on the number of artifacts in the DistributedCache to ensure we cleanup aggressively. (Dick King via acmurthy) MAPREDUCE-1850. Add information about the host from which a job is submitted. (Krishna Ramachandran via acmurthy) HDFS-1110. Reuses objects for commonly used file names in namenode to reduce the heap usage. (suresh) HADOOP-6810. Extract a subset of tests for smoke (DOA) validation. (cos) HADOOP-6642. Remove debug stmt left from original patch. (cdouglas) HADOOP-6808. Add comments on how to setup File/Ganglia Context for kerberos metrics (Erik Steffl) HDFS-1061. INodeFile memory optimization. (bharathm) HDFS-1109. HFTP supports filenames that contains the character "+". (Dmytro Molkov via dhruba, backported by szetszwo) HDFS-1085. Check file length and bytes read when reading a file through hftp in order to detect failure. (szetszwo) HDFS-1311. Running tests with 'testcase' cause triple execution of the same test case (cos) HDFS-1150.FIX. Verify datanodes' identities to clients in secure clusters. Update to patch to improve handling of jsvc source in build.xml (jghoman) HADOOP-6752. Remote cluster control functionality needs JavaDocs improvement. (Balaji Rajagopalan via cos) MAPREDUCE-1288. Fixes TrackerDistributedCacheManager to take into account the owner of the localized file in the mapping from cache URIs to CacheStatus objects. (ddas) MAPREDUCE-1682. Fix speculative execution to ensure tasks are not scheduled after job failure. (acmurthy) MAPREDUCE-1914. Ensure unique sub-directories for artifacts in the DistributedCache are cleaned up. (Dick King via acmurthy) MAPREDUCE-1538. Add a limit on the number of artifacts in the DistributedCache to ensure we cleanup aggressively. (Dick King via acmurthy) MAPREDUCE-1900. Fixes a FS leak that i missed in the earlier patch. (ddas) MAPREDUCE-1900. Makes JobTracker/TaskTracker close filesystems, created on behalf of users, when they are no longer needed. (ddas) HADOOP-6832. Add a static user plugin for web auth for external users. (omalley) HDFS-1007. Fixes a bug in SecurityUtil.buildDTServiceName to do with handling of null hostname. (omalley) HDFS-1007. makes long running servers using hftp work. Also has some refactoring in the MR code to do with handling of delegation tokens. (omalley & ddas) HDFS-1178. The NameNode servlets should not use RPC to connect to the NameNode. (omalley) MAPREDUCE-1807. Re-factor TestQueueManager. (Richard King via acmurthy) HDFS-1150. Fixes the earlier patch to do logging in the right directory and also adds facility for monitoring processes (via -Dprocname in the command line). (Jakob Homan via ddas) HADOOP-6781. security audit log shouldn't have exception in it. (boryas) HADOOP-6776. Fixes the javadoc in UGI.createProxyUser. (ddas) HDFS-1150. building jsvc from source tar. source tar is also checked in. (jitendra) HDFS-1150. Bugfix in the hadoop shell script. (ddas) HDFS-1153. The navigation to /dfsnodelist.jsp with invalid input parameters produces NPE and HTTP 500 error (rphulari) MAPREDUCE-1664. Bugfix to enable queue administrators of a queue to view job details of jobs submitted to that queue even though they are not part of acl-view-job. HDFS-1150. Bugfix to add more knobs to secure datanode starter. HDFS-1157. Modifications introduced by HDFS-1150 are breaking aspect's bindings (cos) HDFS-1130. Adds a configuration dfs.cluster.administrators for controlling access to the default servlets in hdfs. (ddas) HADOOP-6706.FIX. Relogin behavior for RPC clients could be improved (boryas) HDFS-1150. Verify datanodes' identities to clients in secure clusters. (jghoman) MAPREDUCE-1442. Fixed regex in job-history related to parsing Counter values. (Luke Lu via acmurthy) HADOOP-6760. WebServer shouldn't increase port number in case of negative port setting caused by Jetty's race. (cos) HDFS-1146. Javadoc for getDelegationTokenSecretManager in FSNamesystem. (jitendra) HADOOP-6706. Fix on top of the earlier patch. Closes the connection on a SASL connection failure, and retries again with a new connection. (ddas) MAPREDUCE-1716. Fix on top of earlier patch for logs truncation a.k.a MAPREDUCE-1100. Addresses log truncation issues when binary data is written to log files and adds a header to a truncated log file to inform users of the done trucation. HDFS-1383. Improve the error messages when using hftp://. MAPREDUCE-1744. Fixed DistributedCache apis to take a user-supplied FileSystem to allow for better proxy behaviour for Oozie. (Richard King) MAPREDUCE-1733. Authentication between pipes processes and java counterparts. (jitendra) MAPREDUCE-1664. Bugfix on top of the previous patch. (ddas) HDFS-1136. FileChecksumServlets.RedirectServlet doesn't carry forward the delegation token (boryas) HADOOP-6756. Change value of FS_DEFAULT_NAME_KEY from fs.defaultFS to fs.default.name which is a correct name for 0.20 (steffl) HADOOP-6756. Document (javadoc comments) and cleanup configuration keys in CommonConfigurationKeys.java (steffl) MAPREDUCE-1759. Exception message for unauthorized user doing killJob, killTask, setJobPriority needs to be improved. (gravi via vinodkv) HADOOP-6715. AccessControlList.toString() returns empty string when we set acl to "*". (gravi via vinodkv) HADOOP-6757. NullPointerException for hadoop clients launched from streaming tasks. (amarrk via vinodkv) HADOOP-6631. FileUtil.fullyDelete() should continue to delete other files despite failure at any level. (vinodkv) MAPREDUCE-1317. NPE in setHostName in Rumen. (rksingh) MAPREDUCE-1754. Replace mapred.persmissions.supergroup with an acl : mapreduce.cluster.administrators and HADOOP-6748.: Remove hadoop.cluster.administrators. Contributed by Amareshwari Sriramadasu. HADOOP-6701. Incorrect exit codes for "dfs -chown", "dfs -chgrp" (rphulari) HADOOP-6640. FileSystem.get() does RPC retires within a static synchronized block. (hairong) HDFS-1006. Removes unnecessary logins from the previous patch. (ddas) HADOOP-6745. adding some java doc to Server.RpcMetrics, UGI (boryas) MAPREDUCE-1707. TaskRunner can get NPE in getting ugi from TaskTracker. (vinodkv) HDFS-1104. Fsck triggers full GC on NameNode. (hairong) HADOOP-6332. Large-scale Automated Test Framework (sharad, Sreekanth Ramakrishnan, at all via cos) HADOOP-6526. Additional fix for test context on top of existing one. (cos) HADOOP-6710. Symbolic umask for file creation is not conformant with posix. (suresh) HADOOP-6693. Added metrics to track kerberos login success and failure. (suresh) MAPREDUCE-1711. Gridmix should provide an option to submit jobs to the same queues as specified in the trace. (rksing via htang) MAPREDUCE-1687. Stress submission policy does not always stress the cluster. (htang) MAPREDUCE-1641. Bug-fix to ensure command line options such as -files/-archives are checked for duplicate artifacts in the DistributedCache. (Amareshwari Sreeramadasu via acmurthy) MAPREDUCE-1641. Fix DistributedCache to ensure same files cannot be put in both the archives and files sections. (Richard King via acmurthy) HADOOP-6670. Fixes a testcase issue introduced by the earlier commit of the HADOOP-6670 patch. (ddas) MAPREDUCE-1718. Fixes a problem to do with correctly constructing service name for the delegation token lookup in HftpFileSystem (borya via ddas) HADOOP-6674. Fixes the earlier patch to handle pings correctly (ddas). MAPREDUCE-1664. Job Acls affect when Queue Acls are set. (Ravi Gummadi via vinodkv) HADOOP-6718. Fixes a problem to do with clients not closing RPC connections on a SASL failure. (ddas) MAPREDUCE-1397. NullPointerException observed during task failures. (Amareshwari Sriramadasu via vinodkv) HADOOP-6670. Use the UserGroupInformation's Subject as the criteria for equals and hashCode. (omalley) HADOOP-6716. System won't start in non-secure mode when kerb5.conf (edu.mit.kerberos on Mac) is not present. (boryas) MAPREDUCE-1607. Task controller may not set permissions for a task cleanup attempt's log directory. (Amareshwari Sreeramadasu via vinodkv) MAPREDUCE-1533. JobTracker performance enhancements. (Amar Kamat via vinodkv) MAPREDUCE-1701. AccessControlException while renewing a delegation token in not correctly handled in the JobTracker. (boryas) HDFS-481. Incremental patch to fix broken unit test in contrib/hdfsproxy HADOOP-6706. Fixes a bug in the earlier version of the same patch (ddas) HDFS-1096. allow dfsadmin/mradmin refresh of superuser proxy group mappings(boryas). HDFS-1012. Support for cluster specific path entries in ldap for hdfsproxy (Srikanth Sundarrajan via Nicholas) HDFS-1011. Improve Logging in HDFSProxy to include cluster name associated with the request (Srikanth Sundarrajan via Nicholas) HDFS-1010. Retrieve group information from UnixUserGroupInformation instead of LdapEntry (Srikanth Sundarrajan via Nicholas) HDFS-481. Bug fix - hdfsproxy: Stack overflow + Race conditions (Srikanth Sundarrajan via Nicholas) MAPREDUCE-1657. After task logs directory is deleted, tasklog servlet displays wrong error message about job ACLs. (Ravi Gummadi via vinodkv) MAPREDUCE-1692. Remove TestStreamedMerge from the streaming tests. (Amareshwari Sriramadasu and Sreekanth Ramakrishnan via vinodkv) HDFS-1081. Performance regression in DistributedFileSystem::getFileBlockLocations in secure systems (jhoman) MAPREDUCE-1656. JobStory should provide queue info. (htang) MAPREDUCE-1317. Reducing memory consumption of rumen objects. (htang) MAPREDUCE-1317. Reverting the patch since it caused build failures. (htang) MAPREDUCE-1683. Fixed jobtracker web-ui to correctly display heap-usage. (acmurthy) HADOOP-6706. Fixes exception handling for saslConnect. The ideal solution is to the Refreshable interface but as Owen noted in HADOOP-6656, it doesn't seem to work as expected. (ddas) MAPREDUCE-1617. TestBadRecords failed once in our test runs. (Amar Kamat via vinodkv). MAPREDUCE-587. Stream test TestStreamingExitStatus fails with Out of Memory. (Amar Kamat via vinodkv). HDFS-1096. Reverting the patch since it caused build failures. (ddas) MAPREDUCE-1317. Reducing memory consumption of rumen objects. (htang) MAPREDUCE-1680. Add a metric to track number of heartbeats processed by the JobTracker. (Richard King via acmurthy) MAPREDUCE-1683. Removes JNI calls to get jvm current/max heap usage in ClusterStatus by default. (acmurthy) HADOOP-6687. user object in the subject in UGI should be reused in case of a relogin. (jitendra) HADOOP-5647. TestJobHistory fails if /tmp/_logs is not writable to. Testcase should not depend on /tmp. (Ravi Gummadi via vinodkv) MAPREDUCE-181. Bug fix for Secure job submission. (Ravi Gummadi via vinodkv) MAPREDUCE-1635. ResourceEstimator does not work after MAPREDUCE-842. (Amareshwari Sriramadasu via vinodkv) MAPREDUCE-1526. Cache the job related information while submitting the job. (rksingh) HADOOP-6674. Turn off SASL checksums for RPCs. (jitendra via omalley) HADOOP-5958. Replace fork of DF with library call. (cdouglas via omalley) HDFS-999. Secondary namenode should login using kerberos if security is configured. Bugfix to original patch. (jhoman) MAPREDUCE-1594. Support for SleepJobs in Gridmix (rksingh) HDFS-1007. Fix. ServiceName for delegation token for Hftp has hftp port and not RPC port. MAPREDUCE-1376. Support for varied user submissions in Gridmix (rksingh) HDFS-1080. SecondaryNameNode image transfer should use the defined http address rather than local ip address (jhoman) HADOOP-6661. User document for UserGroupInformation.doAs for secure impersonation. (jitendra) MAPREDUCE-1624. Documents the job credentials and associated details to do with delegation tokens (ddas) HDFS-1036. Documentation for fetchdt for forrest (boryas) HDFS-1039. New patch on top of previous patch. Gets namenode address from conf. (jitendra) HADOOP-6656. Renew Kerberos TGT when 80% of the renew lifetime has been used up. (omalley) HADOOP-6653. Protect against NPE in setupSaslConnection when real user is null. (omalley) HADOOP-6649. An error in the previous committed patch. (jitendra) HADOOP-6652. ShellBasedUnixGroupsMapping shouldn't have a cache. (ddas) HADOOP-6649. login object in UGI should be inside the subject (jitendra) HADOOP-6637. Benchmark overhead of RPC session establishment (shv via jitendra) HADOOP-6648. Credentials must ignore null tokens that can be generated when using HFTP to talk to insecure clusters. (omalley) HADOOP-6632. Fix on JobTracker to reuse filesystem handles if possible. (ddas) HADOOP-6647. balancer fails with "is not authorized for protocol interface NamenodeProtocol" in secure environment (boryas) MAPREDUCE-1612. job conf file is not accessible from job history web page. (Ravi Gummadi via vinodkv) MAPREDUCE-1611. Refresh nodes and refresh queues doesnt work with service authorization enabled. (Amar Kamat via vinodkv) HADOOP-6644. util.Shell getGROUPS_FOR_USER_COMMAND method name - should use common naming convention (boryas) MAPREDUCE-1609. Fixes a problem with localization of job log directories when tasktracker is re-initialized that can result in failed tasks. (Amareshwari Sriramadasu via yhemanth) MAPREDUCE-1610. Update forrest documentation for directory structure of localized files. (Ravi Gummadi via yhemanth) MAPREDUCE-1532. Fixes a javadoc and an exception message in JobInProgress when the authenticated user is different from the user in conf. (ddas) MAPREDUCE-1417. Update forrest documentation for private and public distributed cache files. (Ravi Gummadi via yhemanth) HADOOP-6634. AccessControlList uses full-principal names to verify acls causing queue-acls to fail (vinodkv) HADOOP-6642. Fix javac, javadoc, findbugs warnings. (chrisdo via acmurthy) HDFS-1044. Cannot submit mapreduce job from secure client to unsecure sever. (boryas) HADOOP-6638. try to relogin in a case of failed RPC connection (expired tgt) only in case the subject is loginUser or proxyUgi.realUser. (boryas) HADOOP-6632. Support for using different Kerberos keys for different instances of Hadoop services. (jitendra) HADOOP-6526. Need mapping from long principal names to local OS user names. (jitendra) MAPREDUCE-1604. Update Forrest documentation for job authorization ACLs. (Amareshwari Sriramadasu via yhemanth) HDFS-1045. In secure clusters, re-login is necessary for https clients before opening connections (jhoman) HADOOP-6603. Addition to original patch to be explicit about new method not being for general use. (jhoman) MAPREDUCE-1543. Add audit log messages for job and queue access control checks. (Amar Kamat via yhemanth) MAPREDUCE-1606. Fixed occassinal timeout in TestJobACL. (Ravi Gummadi via acmurthy) HADOOP-6633. normalize property names for JT/NN kerberos principal names in configuration. (boryas) HADOOP-6613. Changes the RPC server so that version is checked first on an incoming connection. (Kan Zhang via ddas) HADOOP-5592. Fix typo in Streaming doc in reference to GzipCodec. (Corinne Chandel via tomwhite) MAPREDUCE-813. Updates Streaming and M/R tutorial documents. (Corinne Chandel via ddas) MAPREDUCE-927. Cleanup of task-logs should happen in TaskTracker instead of the Child. (Amareshwari Sriramadasu via vinodkv) HDFS-1039. Service should be set in the token in JspHelper.getUGI. (jitendra) MAPREDUCE-1599. MRBench reuses jobConf and credentials there in. (jitendra) MAPREDUCE-1522. FileInputFormat may use the default FileSystem for the input path. (Tsz Wo (Nicholas), SZE via cdouglas) HDFS-1036. In DelegationTokenFetch pass Configuration object so getDefaultUri will work correctly. HDFS-1038. In nn_browsedfscontent.jsp fetch delegation token only if security is enabled. (jitendra) HDFS-1036. in DelegationTokenFetch dfs.getURI returns no port (boryas) HADOOP-6598. Verbose logging from the Group class (one more case) (boryas) HADOOP-6627. Bad Connection to FS" message in FSShell should print message from the exception (boryas) HDFS-1033. In secure clusters, NN and SNN should verify that the remote principal during image and edits transfer (jhoman) HDFS-1005. Fixes a bug to do with calling the cross-realm API in Fsck client. (ddas) MAPREDUCE-1422. Fix cleanup of localized job directory to work if files with non-deletable permissions are created within it. (Amar Kamat via yhemanth) HDFS-1007. Fixes bugs to do with 20S cluster talking to 20 over hftp (borya) MAPREDUCE:1566. Fixes bugs in the earlier patch. (ddas) HDFS-992. A bug in backport for HDFS-992. (jitendra) HADOOP-6598. Remove verbose logging from the Groups class. (borya) HADOOP-6620. NPE if renewer is passed as null in getDelegationToken. (jitendra) HDFS-1023. Second Update to original patch to fix username (jhoman) MAPREDUCE-1435. Add test cases to already committed patch for this jira, synchronizing changes with trunk. (yhemanth) HADOOP-6612. Protocols RefreshUserToGroupMappingsProtocol and RefreshAuthorizationPolicyProtocol authorization settings thru KerberosInfo (boryas) MAPREDUCE-1566. Bugfix for tests on top of the earlier patch. (ddas) MAPREDUCE-1566. Mechanism to import tokens and secrets from a file in to the submitted job. (omalley) HADOOP-6603. Provide workaround for issue with Kerberos not resolving corss-realm principal. (kan via jhoman) HDFS-1023. Update to original patch to fix username (jhoman) HDFS-814. Add an api to get the visible length of a DFSDataInputStream. (hairong) HDFS-1023. Allow http server to start as regular user if https principal is not defined. (jhoman) HDFS-1022. Merge all three test specs files (common, hdfs, mapred) into one. (steffl) HDFS-101. DFS write pipeline: DFSClient sometimes does not detect second datanode failure. (hairong) HDFS-1015. Intermittent failure in TestSecurityTokenEditLog. (jitendra) MAPREDUCE-1550. A bugfix on top of what was committed earlier (ddas). MAPREDUCE-1155. DISABLING THE TestStreamingExitStatus temporarily. (ddas) HDFS-1020. Changes the check for renewer from short name to long name in the cancel/renew delegation token methods. (jitendra via ddas) HDFS-1019. Fixes values of delegation token parameters in hdfs-default.xml. (jitendra via ddas) MAPREDUCE-1430. Fixes a backport issue with the earlier patch. (ddas) MAPREDUCE-1559. Fixes a problem in DelegationTokenRenewal class to do with using the right credentials when talking to the NameNode.(ddas) MAPREDUCE-1550. Fixes a problem to do with creating a filesystem using the user's UGI in the JobHistory browsing. (ddas) HADOOP-6609. Fix UTF8 to use a thread local DataOutputBuffer instead of a static that was causing a deadlock in RPC. (omalley) HADOOP-6584. Fix javadoc warnings introduced by original HADOOP-6584 patch (jhoman) HDFS-1017. browsedfs jsp should call JspHelper.getUGI rather than using createRemoteUser(). (jhoman) MAPREDUCE-899. Modified LinuxTaskController to check that task-controller has right permissions and ownership before performing any actions. (Amareshwari Sriramadasu via yhemanth) HDFS-204. Revive number of files listed metrics. (hairong) HADOOP-6569. FsShell#cat should avoid calling uneccessary getFileStatus before opening a file to read. (hairong) HDFS-1014. Error in reading delegation tokens from edit logs. (jitendra) HDFS-458. Add under-10-min tests from 0.22 to 0.20.1xx, only the tests that already exist in 0.20.1xx (steffl) MAPREDUCE-1155. Just pulls out the TestStreamingExitStatus part of the patch from jira (that went to 0.22). (ddas) HADOOP-6600. Fix for branch backport only. Comparing of user should use equals. (boryas). HDFS-1006. Fixes NameNode and SecondaryNameNode to use kerberizedSSL for the http communication. (Jakob Homan via ddas) HDFS-1007. Fixes a bug on top of the earlier patch. (ddas) HDFS-1005. Fsck security. Makes it work over kerberized SSL (boryas and jhoman) HDFS-1007. Makes HFTP and Distcp use kerberized SSL. (ddas) MAPREDUCE-1455. Fixes a testcase in the earlier patch. (Ravi Gummadi via ddas) HDFS-992. Refactors block access token implementation to conform to the generic Token interface. (Kan Zhang via ddas) HADOOP-6584. Adds KrbSSL connector for jetty. (Jakob Homan via ddas) HADOOP-6589. Add a framework for better error messages when rpc connections fail to authenticate. (Kan Zhang via omalley) HADOOP-6600,HDFS-1003,MAPREDUCE-1539. mechanism for authorization check for inter-server protocols(boryas) HADOOP-6580,HDFS-993,MAPREDUCE-1516. UGI should contain authentication method. Namenode and JT should issue a delegation token only for kerberos authenticated clients. (jitendra) HDFS-984,HADOOP-6573,MAPREDUCE-1537. Delegation Tokens should be persisted in Namenode, and corresponding changes in common and mr. (jitendra) HDFS-994. Provide methods for obtaining delegation token from Namenode for hftp and other uses. Incorporates HADOOP-6594: Update hdfs script to provide fetchdt tool. (jitendra) HADOOP-6586. Log authentication and authorization failures and successes (boryas) HDFS-991. Allow use of delegation tokens to authenticate to the HDFS servlets. (omalley) HADOOP-1849. Add undocumented configuration parameter for per handler call queue size in IPC Server. (shv) HADOOP-6599. Split existing RpcMetrics with summary in RpcMetrics and details information in RpcDetailedMetrics. (suresh) HDFS-985. HDFS should issue multiple RPCs for listing a large directory. (hairong) HDFS-1000. Updates libhdfs to use the new UGI. (ddas) MAPREDUCE-1532. Ensures all filesystem operations at the client is done as the job submitter. Also, changes the renewal to maintain list of tokens to renew. (ddas) HADOOP-6596. Add a version field to the seialization of the AbstractDelegationTokenIdentifier. (omalley) HADOOP-5561. Add javadoc.maxmemory to build.xml to allow larger memory. (jkhoman via omalley) HADOOP-6579. Add a mechanism for encoding and decoding Tokens in to url-safe strings. (omalley) MAPREDUCE-1354. Make incremental changes in jobtracker for improving scalability (acmurthy) HDFS-999.Secondary namenode should login using kerberos if security is configured(boryas) MAPREDUCE-1466. Added a private configuration variable mapreduce.input.num.files, to store number of input files being processed by M/R job. (Arun Murthy via yhemanth) MAPREDUCE-1403. Save file-sizes of each of the artifacts in DistributedCache in the JobConf (Arun Murthy via yhemanth) HADOOP-6543. Fixes a compilation problem in the original commit. (ddas) MAPREDUCE-1520. Moves a call to setWorkingDirectory in Child to within a doAs block. (Amareshwari Sriramadasu via ddas) HADOOP-6543. Allows secure clients to talk to unsecure clusters. (Kan Zhang via ddas) MAPREDUCE-1505. Delays construction of the job client until it is really required. (Arun C Murthy via ddas) HADOOP-6549. TestDoAsEffectiveUser should use ip address of the host for superuser ip check. (jitendra) HDFS-464. Fix memory leaks in libhdfs. (Christian Kunz via suresh) HDFS-946. NameNode should not return full path name when lisitng a diretory or getting the status of a file. (hairong) MAPREDUCE-1398. Fix TaskLauncher to stop waiting for slots on a TIP that is killed / failed. (Amareshwari Sriramadasu via yhemanth) MAPREDUCE-1476. Fix the M/R framework to not call commit for special tasks like job setup/cleanup and task cleanup. (Amareshwari Sriramadasu via yhemanth) HADOOP-6467. Performance improvement for liststatus on directories in hadoop archives. (mahadev) HADOOP-6558. archive does not work with distcp -update. (nicholas via mahadev) HADOOP-6583. Captures authentication and authorization metrics. (ddas) MAPREDUCE-1316. Fixes a memory leak of TaskInProgress instances in the jobtracker. (Amar Kamat via yhemanth) MAPREDUCE-670. Creates ant target for 10 mins patch test build. (Jothi Padmanabhan via gkesavan) MAPREDUCE-1430. JobTracker should be able to renew delegation tokens for the jobs(boryas) HADOOP-6551, HDFS-986, MAPREDUCE-1503. Change API for tokens to throw exceptions instead of returning booleans. (omalley) HADOOP-6545. Changes the Key for the FileSystem to be UGI. (ddas) HADOOP-6572. Makes sure that SASL encryption and push to responder queue for the RPC response happens atomically. (Kan Zhang via ddas) HDFS-965. Split the HDFS TestDelegationToken into two tests, of which one proxy users and the other normal users. (jitendra via omalley) HADOOP-6560. HarFileSystem throws NPE for har://hdfs-/foo (nicholas via mahadev) MAPREDUCE-686. Move TestSpeculativeExecution.Fake* into a separate class so that it can be used by other tests. (Jothi Padmanabhan via sharad) MAPREDUCE-181. Fixes an issue in the use of the right config. (ddas) MAPREDUCE-1026. Fixes a bug in the backport. (ddas) HADOOP-6559. Makes the RPC client automatically re-login when the SASL connection setup fails. This is applicable to only keytab based logins. (ddas) HADOOP-2141. Backport changes made in the original JIRA to aid fast unit tests in Map/Reduce. (Amar Kamat via yhemanth) HADOOP-6382. Import the mavenizable pom file structure and adjust the build targets and bin scripts. (gkesvan via ltucker) MAPREDUCE-1425. archive throws OutOfMemoryError (mahadev) MAPREDUCE-1399. The archive command shows a null error message. (nicholas) HADOOP-6552. Puts renewTGT=true and useTicketCache=true for the keytab kerberos options. (ddas) MAPREDUCE-1433. Adds delegation token for MapReduce (ddas) HADOOP-4359. Fixes a bug in the earlier backport. (ddas) HADOOP-6547, HDFS-949, MAPREDUCE-1470. Move Delegation token into Common so that we can use it for MapReduce also. It is a combined patch for common, hdfs and mr. (jitendra) HADOOP-6510,HDFS-935,MAPREDUCE-1464. Support for doAs to allow authenticated superuser to impersonate proxy users. It is a combined patch with compatible fixes in HDFS and MR. (jitendra) MAPREDUCE-1435. Fixes the way symlinks are handled when cleaning up work directory files. (Ravi Gummadi via yhemanth) MAPREDUCE-6419. Fixes a bug in the backported patch. (ddas) MAPREDUCE-1457. Fixes JobTracker to get the FileSystem object within getStagingAreaDir within a privileged block. Fixes Child.java to use the appropriate UGIs while getting the TaskUmbilicalProtocol proxy and while executing the task. Contributed by Jakob Homan. (ddas) MAPREDUCE-1440. Replace the long user name in MapReduce with the local name. (ddas) HADOOP-6419. Adds SASL based authentication to RPC. Also includes the MAPREDUCE-1335 and HDFS-933 patches. Contributed by Kan Zhang. (ddas) HADOOP-6538. Sets hadoop.security.authentication to simple by default. (ddas) HDFS-938. Replace calls to UGI.getUserName() with UGI.getShortUserName()(boryas) HADOOP-6544. fix ivy settings to include JSON jackson.codehause.org libs for .20 (boryas) HDFS-907. Add tests for getBlockLocations and totalLoad metrics. (rphulari) HADOOP-6204. Implementing aspects development and fault injeciton framework for Hadoop (cos) MAPREDUCE-1432. Adds hooks in the jobtracker and tasktracker for loading the tokens in the user's ugi. This is required for the copying of files from the hdfs. (Devaraj Das vi boryas) MAPREDUCE-1383. Automates fetching of delegation tokens in File*Formats Distributed Cache and Distcp. Also, provides a config mapreduce.job.hdfs-servers that the jobs can populate with a comma separated list of namenodes. The job client automatically fetches delegation tokens from those namenodes. HADOOP-6337. Update FilterInitializer class to be more visible and take a conf for further development. (jhoman) HADOOP-6520. UGI should load tokens from the environment. (jitendra) HADOOP-6517, HADOOP-6518. Ability to add/get tokens from UserGroupInformation & Kerberos login in UGI should honor KRB5CCNAME (jitendra) HADOOP-6299. Reimplement the UserGroupInformation to use the OS specific and Kerberos JAAS login. (jhoman, ddas, oom) HADOOP-6524. Contrib tests are failing Clover'ed build. (cos) MAPREDUCE-842. Fixing a bug in the earlier version of the patch related to improper localization of the job token file. (Ravi Gummadi via yhemanth) HDFS-919. Create test to validate the BlocksVerified metric (Gary Murry via cos) MAPREDUCE-1186. Modified code in distributed cache to set permissions only on required set of localized paths. (Amareshwari Sriramadasu via yhemanth) HDFS-899. Delegation Token Implementation. (Jitendra Nath Pandey) MAPREDUCE-896. Enhance tasktracker to cleanup files that might have been created by user tasks with non-writable permissions. (Ravi Gummadi via yhemanth) HADOOP-5879. Read compression level and strategy from Configuration for gzip compression. (He Yongqiang via cdouglas) HADOOP-6161. Add get/setEnum methods to Configuration. (cdouglas) HADOOP-6382 Mavenize the build.xml targets and update the bin scripts in preparation for publishing POM files (giri kesavan via ltucker) HDFS-737. Add full path name of the file to the block information and summary of total number of files, blocks, live and deadnodes to metasave output. (Jitendra Nath Pandey via suresh) HADOOP-6577. Add hidden configuration option "ipc.server.max.response.size" to change the default 1 MB, the maximum size when large IPC handler response buffer is reset. (suresh) HADOOP-6521. Fix backward compatiblity issue with umask when applications use deprecated param dfs.umask in configuration or use FsPermission.setUMask(). (suresh) HDFS-737. Add full path name of the file to the block information and summary of total number of files, blocks, live and deadnodes to metasave output. (Jitendra Nath Pandey via suresh) HADOOP-6521. Fix backward compatiblity issue with umask when applications use deprecated param dfs.umask in configuration or use FsPermission.setUMask(). (suresh) MAPREDUCE-433. Use more reliable counters in TestReduceFetch. (Christopher Douglas via ddas) MAPREDUCE-744. Introduces the notion of a public distributed cache. (ddas) MAPREDUCE-1140. Fix DistributedCache to not decrement reference counts for unreferenced files in error conditions. (Amareshwari Sriramadasu via yhemanth) MAPREDUCE-1284. Fix fts_open() call in task-controller that was failing LinuxTaskController unit tests. (Ravi Gummadi via yhemanth) MAPREDUCE-1098. Fixed the distributed-cache to not do i/o while holding a global lock. (Amareshwari Sriramadasu via acmurthy) MAPREDUCE-1338. Introduces the notion of token cache using which tokens and secrets can be sent by the Job client to the JobTracker. (Boris Shkolnik) HADOOP-6495. Identifier should be serialized after the password is created In Token constructor. (Jitendra Nath Pandey) HADOOP-6506. Failing tests prevent the rest of test targets from execution. (cos) HADOOP-5457. Fix to continue to run builds even if contrib test fails. (gkesavan) MAPREDUCE-856. Setup secure permissions for distributed cache files. (Vinod Kumar Vavilapalli via yhemanth) MAPREDUCE-871. Fix ownership of Job/Task local files to have correct group ownership according to the egid of the tasktracker. (Vinod Kumar Vavilapalli via yhemanth) MAPREDUCE-476. Extend DistributedCache to work locally (LocalJobRunner). (Philip Zeyliger via tomwhite) MAPREDUCE-711. Removed Distributed Cache from Common, to move it under Map/Reduce. (Vinod Kumar Vavilapalli via yhemanth) MAPREDUCE-478. Allow map and reduce jvm parameters, environment variables and ulimit to be set separately. (acmurthy) MAPREDUCE-842. Setup secure permissions for localized job files, intermediate outputs and log files on tasktrackers. (Vinod Kumar Vavilapalli via yhemanth) MAPREDUCE-408. Fixes an assertion problem in TestKillSubProcesses. (Ravi Gummadi via ddas) HADOOP-4041. IsolationRunner does not work as documented. (Philip Zeyliger via tomwhite) MAPREDUCE-181. Changes the job submission process to be secure. (Devaraj Das) HADOOP-5737. Fixes a problem in the way the JobTracker used to talk to other daemons like the NameNode to get the job's files. Also adds APIs in the JobTracker to get the FileSystem objects as per the JobTracker's configuration. (Amar Kamat via ddas) HADOOP-5771. Implements unit tests for LinuxTaskController. (Sreekanth Ramakrishnan and Vinod Kumar Vavilapalli via yhemanth) HADOOP-4656, HDFS-685, MAPREDUCE-1083. Use the user-to-groups mapping service in the NameNode and JobTracker. Combined patch for these 3 jiras otherwise tests fail. (Jitendra Nath Pandey) MAPREDUCE-1250. Refactor job token to use a common token interface. (Jitendra Nath Pandey) MAPREDUCE-1026. Shuffle should be secure. (Jitendra Nath Pandey) HADOOP-4268. Permission checking in fsck. (Jitendra Nath Pandey) HADOOP-6415. Adding a common token interface for both job token and delegation token. (Jitendra Nath Pandey) HADOOP-6367, HDFS-764. Moving Access Token implementation from Common to HDFS. These two jiras must be committed together otherwise build will fail. (Jitendra Nath Pandey) HDFS-409. Add more access token tests (Jitendra Nath Pandey) HADOOP-6132. RPC client opens an extra connection for VersionedProtocol. (Jitendra Nath Pandey) HDFS-445. pread() fails when cached block locations are no longer valid. (Jitendra Nath Pandey) HDFS-195. Need to handle access token expiration when re-establishing the pipeline for dfs write. (Jitendra Nath Pandey) HADOOP-6176. Adding a couple private methods to AccessTokenHandler for testing purposes. (Jitendra Nath Pandey) HADOOP-5824. remove OP_READ_METADATA functionality from Datanode. (Jitendra Nath Pandey) HADOOP-4359. Access Token: Support for data access authorization checking on DataNodes. (Jitendra Nath Pandey) MAPREDUCE-1372. Fixed a ConcurrentModificationException in jobtracker. (Arun C Murthy via yhemanth) MAPREDUCE-1316. Fix jobs' retirement from the JobTracker to prevent memory leaks via stale references. (Amar Kamat via acmurthy) MAPREDUCE-1342. Fixed deadlock in global blacklisting of tasktrackers. (Amareshwari Sriramadasu via acmurthy) HADOOP-6460. Reinitializes buffers used for serializing responses in ipc server on exceeding maximum response size to free up Java heap. (suresh) MAPREDUCE-1100. Truncate user logs to prevent TaskTrackers' disks from filling up. (Vinod Kumar Vavilapalli via acmurthy) MAPREDUCE-1143. Fix running task counters to be updated correctly when speculative attempts are running for a TIP. (Rahul Kumar Singh via yhemanth) HADOOP-6151, 6281, 6285, 6441. Add HTML quoting of the parameters to all of the servlets to prevent XSS attacks. (omalley) MAPREDUCE-896. Fix bug in earlier implementation to prevent spurious logging in tasktracker logs for absent file paths. (Ravi Gummadi via yhemanth) MAPREDUCE-676. Fix Hadoop Vaidya to ensure it works for map-only jobs. (Suhas Gogate via acmurthy) HADOOP-5582. Fix Hadoop Vaidya to use new Counters in org.apache.hadoop.mapreduce package. (Suhas Gogate via acmurthy) HDFS-595. umask settings in configuration may now use octal or symbolic instead of decimal. Update HDFS tests as such. (jghoman) MAPREDUCE-1068. Added a verbose error message when user specifies an incorrect -file parameter. (Amareshwari Sriramadasu via acmurthy) MAPREDUCE-1171. Allow the read-error notification in shuffle to be configurable. (Amareshwari Sriramadasu via acmurthy) MAPREDUCE-353. Allow shuffle read and connection timeouts to be configurable. (Amareshwari Sriramadasu via acmurthy) HDFS-781. Namenode metrics PendingDeletionBlocks is not decremented. (suresh) MAPREDUCE-1185. Redirect running job url to history url if job is already retired. (Amareshwari Sriramadasu and Sharad Agarwal via sharad) MAPREDUCE-754. Fix NPE in expiry thread when a TT is lost. (Amar Kamat via sharad) MAPREDUCE-896. Modify permissions for local files on tasktracker before deletion so they can be deleted cleanly. (Ravi Gummadi via yhemanth) HADOOP-5771. Implements unit tests for LinuxTaskController. (Sreekanth Ramakrishnan and Vinod Kumar Vavilapalli via yhemanth) MAPREDUCE-1124. Import Gridmix3 and Rumen. (cdouglas) MAPREDUCE-1063. Document gridmix benchmark. (cdouglas) HDFS-758. Changes to report status of decommissioining on the namenode web UI. (jitendra) HADOOP-6234. Add new option dfs.umaskmode to set umask in configuration to use octal or symbolic instead of decimal. (Jakob Homan via suresh) MAPREDUCE-1147. Add map output counters to new API. (Amar Kamat via cdouglas) MAPREDUCE-1182. Fix overflow in reduce causing allocations to exceed the configured threshold. (cdouglas) HADOOP-4933. Fixes a ConcurrentModificationException problem that shows up when the history viewer is accessed concurrently. (Amar Kamat via ddas) MAPREDUCE-1140. Fix DistributedCache to not decrement reference counts for unreferenced files in error conditions. (Amareshwari Sriramadasu via yhemanth) HADOOP-6203. FsShell rm/rmr error message indicates exceeding Trash quota and suggests using -skpTrash, when moving to trash fails. (Boris Shkolnik via suresh) HADOOP-5675. Do not launch a job if DistCp has no work to do. (Tsz Wo (Nicholas), SZE via cdouglas) HDFS-457. Better handling of volume failure in Data Node storage, This fix is a port from hdfs-0.22 to common-0.20 by Boris Shkolnik. Contributed by Erik Steffl HDFS-625. Fix NullPointerException thrown from ListPathServlet. Contributed by Suresh Srinivas. HADOOP-6343. Log unexpected throwable object caught in RPC. Contributed by Jitendra Nath Pandey MAPREDUCE-1186. Fixed DistributedCache to do a recursive chmod on just the per-cache directory, not all of mapred.local.dir. (Amareshwari Sriramadasu via acmurthy) MAPREDUCE-1231. Add an option to distcp to ignore checksums when used with the upgrade option. (Jothi Padmanabhan via yhemanth) MAPREDUCE-1219. Fixed JobTracker to not collect per-job metrics, thus easing load on it. (Amareshwari Sriramadasu via acmurthy) HDFS-761. Fix failure to process rename operation from edits log due to quota verification. (suresh) MAPREDUCE-1196. Fix FileOutputCommitter to use the deprecated cleanupJob api correctly. (acmurthy) HADOOP-6344. rm and rmr immediately delete files rather than sending to trash, despite trash being enabled, if a user is over-quota. (jhoman) MAPREDUCE-1160. Reduce verbosity of log lines in some Map/Reduce classes to avoid filling up jobtracker logs on a busy cluster. (Ravi Gummadi and Hong Tang via yhemanth) HDFS-587. Add ability to run HDFS with MR test on non-default queue, also updated junit dependendcy from junit-3.8.1 to junit-4.5 (to make it possible to use Configured and Tool to process command line to be able to specify a queue). Contributed by Erik Steffl. MAPREDUCE-1158. Fix JT running maps and running reduces metrics. (sharad) MAPREDUCE-947. Fix bug in earlier implementation that was causing unit tests to fail. (Ravi Gummadi via yhemanth) MAPREDUCE-1062. Fix MRReliabilityTest to work with retired jobs (Contributed by Sreekanth Ramakrishnan) MAPREDUCE-1090. Modified log statement in TaskMemoryManagerThread to include task attempt id. (yhemanth) MAPREDUCE-1098. Fixed the distributed-cache to not do i/o while holding a global lock. (Amareshwari Sriramadasu via acmurthy) MAPREDUCE-1048. Add occupied/reserved slot usage summary on jobtracker UI. (Amareshwari Sriramadasu via sharad) MAPREDUCE-1103. Added more metrics to Jobtracker. (sharad) MAPREDUCE-947. Added commitJob and abortJob apis to OutputCommitter. Enhanced FileOutputCommitter to create a _SUCCESS file for successful jobs. (Amar Kamat & Jothi Padmanabhan via acmurthy) MAPREDUCE-1105. Remove max limit configuration in capacity scheduler in favor of max capacity percentage thus allowing the limit to go over queue capacity. (Rahul Kumar Singh via yhemanth) MAPREDUCE-1086. Setup Hadoop logging environment for tasks to point to task related parameters. (Ravi Gummadi via yhemanth) MAPREDUCE-739. Allow relative paths to be created inside archives. (mahadev) HADOOP-6097. Multiple bugs w/ Hadoop archives (mahadev) HADOOP-6231. Allow caching of filesystem instances to be disabled on a per-instance basis (ben slusky via mahadev) MAPREDUCE-826. harchive doesn't use ToolRunner / harchive returns 0 even if the job fails with exception (koji via mahadev) HDFS-686. NullPointerException is thrown while merging edit log and image. (hairong) HDFS-709. Fix TestDFSShell failure due to rename bug introduced by HDFS-677. (suresh) HDFS-677. Rename failure when both source and destination quota exceeds results in deletion of source. (suresh) HADOOP-6284. Add a new parameter, HADOOP_JAVA_PLATFORM_OPTS, to hadoop-config.sh so that it allows setting java command options for JAVA_PLATFORM. (Koji Noguchi via szetszwo) MAPREDUCE-732. Removed spurious log statements in the node blacklisting logic. (Sreekanth Ramakrishnan via yhemanth) MAPREDUCE-144. Includes dump of the process tree in task diagnostics when a task is killed due to exceeding memory limits. (Vinod Kumar Vavilapalli via yhemanth) MAPREDUCE-979. Fixed JobConf APIs related to memory parameters to return values of new configuration variables when deprecated variables are disabled. (Sreekanth Ramakrishnan via yhemanth) MAPREDUCE-277. Makes job history counters available on the job history viewers. (Jothi Padmanabhan via ddas) HADOOP-5625. Add operation duration to clienttrace. (Lei Xu via cdouglas) HADOOP-5222. Add offset to datanode clienttrace. (Lei Xu via cdouglas) HADOOP-6218. Adds a feature where TFile can be split by Record Sequence number. Contributed by Hong Tang and Raghu Angadi. MAPREDUCE-1088. Changed permissions on JobHistory files on local disk to 0744. Contributed by Arun C. Murthy. HADOOP-6304. Use java.io.File.set{Readable|Writable|Executable} where possible in RawLocalFileSystem. Contributed by Arun C. Murthy. MAPREDUCE-270. Fix the tasktracker to optionally send an out-of-band heartbeat on task-completion for better job-latency. Contributed by Arun C. Murthy Configuration changes: add mapreduce.tasktracker.outofband.heartbeat MAPREDUCE-1030. Fix capacity-scheduler to assign a map and a reduce task per-heartbeat. Contributed by Rahuk K Singh. MAPREDUCE-1028. Fixed number of slots occupied by cleanup tasks to one irrespective of slot size for the job. Contributed by Ravi Gummadi. MAPREDUCE-964. Fixed start and finish times of TaskStatus to be consistent, thereby fixing inconsistencies in metering tasks. Contributed by Sreekanth Ramakrishnan. HADOOP-5976. Add a new command, classpath, to the hadoop script. Contributed by Owen O'Malley and Gary Murry HADOOP-5784. Makes the number of heartbeats that should arrive a second at the JobTracker configurable. Contributed by Amareshwari Sriramadasu. MAPREDUCE-945. Modifies MRBench and TestMapRed to use ToolRunner so that options such as queue name can be passed via command line. Contributed by Sreekanth Ramakrishnan. HADOOP:5420 Correct bug in earlier implementation by Arun C. Murthy HADOOP-5363 Add support for proxying connections to multiple clusters with different versions to hdfsproxy. Contributed by Zhiyong Zhang HADOOP-5780. Improve per block message prited by -metaSave in HDFS. (Raghu Angadi) HADOOP-6227. Fix Configuration to allow final parameters to be set to null and prevent them from being overridden. Contributed by Amareshwari Sriramadasu. MAPREDUCE-430 Added patch supplied by Amar Kamat to allow roll forward on branch to includ externally committed patch. MAPREDUCE-768. Provide an option to dump jobtracker configuration in JSON format to standard output. Contributed by V.V.Chaitanya MAPREDUCE-834 Correct an issue created by merging this issue with patch attached to external Jira. HADOOP-6184 Provide an API to dump Configuration in a JSON format. Contributed by V.V.Chaitanya Krishna. MAPREDUCE-745 Patch added for this issue to allow branch-0.20 to merge cleanly. MAPREDUCE:478 Allow map and reduce jvm parameters, environment variables and ulimit to be set separately. MAPREDUCE:682 Removes reservations on tasktrackers which are blacklisted. Contributed by Sreekanth Ramakrishnan. HADOOP:5420 Support killing of process groups in LinuxTaskController binary HADOOP-5488 Removes the pidfile management for the Task JVM from the framework and instead passes the PID back and forth between the TaskTracker and the Task processes. Contributed by Ravi Gummadi. MAPREDUCE:467 Provide ability to collect statistics about total tasks and succeeded tasks in different time windows. MAPREDUCE-817. Add a cache for retired jobs with minimal job info and provide a way to access history file url MAPREDUCE-814. Provide a way to configure completed job history files to be on HDFS. MAPREDUCE-838 Fixes a problem in the way commit of task outputs happens. The bug was that even if commit failed, the task would be declared as successful. Contributed by Amareshwari Sriramadasu. MAPREDUCE-809 Fix job-summary logs to correctly record final status of FAILED and KILLED jobs. MAPREDUCE-740 Log a job-summary at the end of a job, while allowing it to be configured to use a custom appender if desired. MAPREDUCE-771 Fixes a bug which delays normal jobs in favor of high-ram jobs. HADOOP-5420 Support setsid based kill in LinuxTaskController. MAPREDUCE-733 Fixes a bug that when a task tracker is killed , it throws exception. Instead it should catch it and process it and allow the rest of the flow to go through MAPREDUCE-734 Fixes a bug which prevented hi ram jobs from being removed from the scheduler queue. MAPREDUCE-693 Fixes a bug that when a job is submitted and the JT is restarted (before job files have been written) and the job is killed after recovery, the conf files fail to be moved to the "done" subdirectory. MAPREDUCE-722 Fixes a bug where more slots are getting reserved for HiRAM job tasks than required. MAPREDUCE-683 TestJobTrackerRestart failed because of stale filemanager cache (which was created once per jvm). This patch makes sure that the filemanager is inited upon every JobHistory.init() and hence upon every restart. Note that this wont happen in production as upon a restart the new jobtracker will start in a new jvm and hence a new cache will be created. MAPREDUCE-709 Fixes a bug where node health check script does not display the correct message on timeout. MAPREDUCE-708 Fixes a bug where node health check script does not refresh the "reason for blacklisting". MAPREDUCE-522 Rewrote TestQueueCapacities to make it simpler and avoid timeout errors. MAPREDUCE-532 Provided ability in the capacity scheduler to limit the number of slots that can be concurrently used per queue at any given time. MAPREDUCE-211 Provides ability to run a health check script on the tasktracker nodes and blacklist nodes if they are unhealthy. Contributed by Sreekanth Ramakrishnan. MAPREDUCE-516 Remove .orig file included by mistake. MAPREDUCE-416 Moves the history file to a "done" folder whenever a job completes. HADOOP-5980 Previously, task spawned off by LinuxTaskController didn't get LD_LIBRARY_PATH in their environment. The tasks will now get same LD_LIBRARY_PATH value as when spawned off by DefaultTaskController. HADOOP-5981 This issue completes the feature mentioned in HADOOP-2838. HADOOP-2838 provided a way to set env variables in child process. This issue provides a way to inherit tt's env variables and append or reset it. So now X=$X:y will inherit X (if there) and append y to it. HADOOP-5419 This issue is to provide an improvement on the existing M/R framework to let users know which queues they have access to, and for what operations. One use case for this would that currently there is no easy way to know if the user has access to submit jobs to a queue, until it fails with an access control exception. HADOOP-5420 Support setsid based kill in LinuxTaskController. HADOOP-5643 Added the functionality to refresh jobtrackers node list via command line (bin/hadoop mradmin -refreshNodes). The command should be run as the jobtracker owner (jobtracker process owner) or from a super group (mapred.permissions.supergroup). HADOOP-2838 Now the users can set environment variables using mapred.child.env. They can do the following X=Y : set X to Y X=$X:Y : Append Y to X (which should be taken from the tasktracker) HADOOP-5818. Revert the renaming from FSNamesystem.checkSuperuserPrivilege to checkAccess by HADOOP-5643. (Amar Kamat via szetszwo) HADOOP-5801. Fixes the problem: If the hosts file is changed across restart then it should be refreshed upon recovery so that the excluded hosts are lost and the maps are re-executed. (Amar Kamat via ddas) HADOOP-5643. HADOOP-5643. Adds a way to decommission TaskTrackers while the JobTracker is running. (Amar Kamat via ddas) HADOOP-5419. Provide a facility to query the Queue ACLs for the current user. (Rahul Kumar Singh via yhemanth) HADOOP-5733. Add map/reduce slot capacity and blacklisted capacity to JobTracker metrics. (Sreekanth Ramakrishnan via cdouglas) HADOOP-5738. Split "waiting_tasks" JobTracker metric into waiting maps and waiting reduces. (Sreekanth Ramakrishnan via cdouglas) HADOOP-4842. Streaming now allows specifiying a command for the combiner. (Amareshwari Sriramadasu via ddas) HADOOP-4490. Provide ability to run tasks as job owners. (Sreekanth Ramakrishnan via yhemanth) HADOOP-5442. Paginate jobhistory display and added some search capabilities. (Amar Kamat via acmurthy) HADOOP-3327. Improves handling of READ_TIMEOUT during map output copying. (Amareshwari Sriramadasu via ddas) HADOOP-5113. Fixed logcondense to remove files for usernames beginning with characters specified in the -l option. (Peeyush Bishnoi via yhemanth) HADOOP-2898. Provide an option to specify a port range for Hadoop services provisioned by HOD. (Peeyush Bishnoi via yhemanth) HADOOP-4930. Implement a Linux native executable that can be used to launch tasks as users. (Sreekanth Ramakrishnan via yhemanth) Release 0.20.3 - Unreleased IMPROVEMENTS BUG FIXES HDFS-955. New implementation of saveNamespace() to avoid loss of edits when name-node fails during saving. (shv) Release 0.20.2 - 2010-2-16 BUG FIXES MAPREDUCE-112. Add counters for reduce input, output records to the new API. (Jothi Padmanabhan via cdouglas) HADOOP-6498. IPC client bug may cause rpc call hang. (Ruyue Ma and hairong via hairong) HDFS-927. DFSInputStream retries too many times for new block locations (Todd Lipcon via Stack) HDFS-793. DataNode should first receive the whole packet ack message before it constructs and sends its own ack message for the packet. (hairong) HDFS-723. Fix deadlock in DFSClient#DFSOutputStream. (hairong) HDFS-732. DFSClient.DFSOutputStream.close() should throw an exception if the stream cannot be closed successfully. (szetszwo) IMPROVEMENTS HDFS-187. Initialize secondary namenode http address in TestStartup. (Todd Lipcon via szetszwo) HDFS-185. Disallow chown, chgrp, chmod, setQuota, and setSpaceQuota when name-node is in safemode. (Ravi Phulari via shv) HADOOP-5611. Fix C++ libraries to build on Debian Lenny. (Todd Lipcon via tomwhite) HADOOP-5612. Some c++ scripts are not chmodded before ant execution. (Todd Lipcon via tomwhite) HDFS-579. Fix DfsTask to follow the semantics of 0.19, regarding non-zero return values as failures. (Christian Kunz via cdouglas) HDFS-596. Fix memory leak in hdfsFreeFileInfo() for libhdfs. (Zhang Bingjun via dhruba) MAPREDUCE-1070. Prevent a deadlock in the fair scheduler servlet. (Todd Lipcon via cdouglas) HADOOP-5623. Ensure streaming status messages aren't overwritten. (Rick Cox & Ravi Gummadi via tomwhite) MAPREDUCE-1163. Remove unused, hard-coded paths from libhdfs. (Allen Wittenauer via cdouglas) HADOOP-6315. Avoid incorrect use of BuiltInflater/BuiltInDeflater in GzipCodec. (Aaron Kimball via cdouglas) HADOOP-6269. Fix threading issue with defaultResource in Configuration. (Sreekanth Ramakrishnan via cdouglas) HADOOP-5759. Fix for IllegalArgumentException when CombineFileInputFormat is used as job InputFormat. (Amareshwari Sriramadasu via zshao) Release 0.20.1 - 2009-09-01 INCOMPATIBLE CHANGES HADOOP-5726. Remove pre-emption from capacity scheduler code base. (Rahul Kumar Singh via yhemanth) HADOOP-5881. Simplify memory monitoring and scheduling related configuration. (Vinod Kumar Vavilapalli via yhemanth) NEW FEATURES HADOOP-6080. Introduce -skipTrash option to rm and rmr. (Jakob Homan via shv) HADOOP-3315. Add a new, binary file foramt, TFile. (Hong Tang via cdouglas) IMPROVEMENTS HADOOP-5711. Change Namenode file close log to info. (szetszwo) HADOOP-5736. Update the capacity scheduler documentation for features like memory based scheduling, job initialization and removal of pre-emption. (Sreekanth Ramakrishnan via yhemanth) HADOOP-4674. Fix fs help messages for -test, -text, -tail, -stat and -touchz options. (Ravi Phulari via szetszwo) HADOOP-4372. Improves the way history filenames are obtained and manipulated. (Amar Kamat via ddas) HADOOP-5897. Add name-node metrics to capture java heap usage. (Suresh Srinivas via shv) HDFS-438. Improve help message for space quota command. (Raghu Angadi) MAPREDUCE-767. Remove the dependence on the CLI 2.0 snapshot. (Amar Kamat via ddas) OPTIMIZATIONS BUG FIXES HADOOP-5691. Makes org.apache.hadoop.mapreduce.Reducer concrete class instead of abstract. (Amareshwari Sriramadasu via sharad) HADOOP-5646. Fixes a problem in TestQueueCapacities. (Vinod Kumar Vavilapalli via ddas) HADOOP-5655. TestMRServerPorts fails on java.net.BindException. (Devaraj Das via hairong) HADOOP-5654. TestReplicationPolicy. fails on java.net.BindException. (hairong) HADOOP-5688. Fix HftpFileSystem checksum path construction. (Tsz Wo (Nicholas) Sze via cdouglas) HADOOP-5213. Fix Null pointer exception caused when bzip2compression was used and user closed a output stream without writing any data. (Zheng Shao via dhruba) HADOOP-5718. Remove the check for the default queue in capacity scheduler. (Sreekanth Ramakrishnan via yhemanth) HADOOP-5719. Remove jobs that failed initialization from the waiting queue in the capacity scheduler. (Sreekanth Ramakrishnan via yhemanth) HADOOP-4744. Attaching another fix to the jetty port issue. The TaskTracker kills itself if it ever discovers that the port to which jetty is actually bound is invalid (-1). (ddas) HADOOP-5349. Fixes a problem in LocalDirAllocator to check for the return path value that is returned for the case where the file we want to write is of an unknown size. (Vinod Kumar Vavilapalli via ddas) HADOOP-5636. Prevents a job from going to RUNNING state after it has been KILLED (this used to happen when the SetupTask would come back with a success after the job has been killed). (Amar Kamat via ddas) HADOOP-5641. Fix a NullPointerException in capacity scheduler's memory based scheduling code when jobs get retired. (yhemanth) HADOOP-5828. Use absolute path for mapred.local.dir of JobTracker in MiniMRCluster. (yhemanth) HADOOP-4981. Fix capacity scheduler to schedule speculative tasks correctly in the presence of High RAM jobs. (Sreekanth Ramakrishnan via yhemanth) HADOOP-5210. Solves a problem in the progress report of the reduce task. (Ravi Gummadi via ddas) HADOOP-5850. Fixes a problem to do with not being able to jobs with 0 maps/reduces. (Vinod K V via ddas) HADOOP-5728. Fixed FSEditLog.printStatistics IndexOutOfBoundsException. (Wang Xu via johan) HADOOP-4626. Correct the API links in hdfs forrest doc so that they point to the same version of hadoop. (szetszwo) HADOOP-5883. Fixed tasktracker memory monitoring to account for momentary spurts in memory usage due to java's fork() model. (yhemanth) HADOOP-5539. Fixes a problem to do with not preserving intermediate output compression for merged data. (Jothi Padmanabhan and Billy Pearson via ddas) HADOOP-5932. Fixes a problem in capacity scheduler in computing available memory on a tasktracker. (Vinod Kumar Vavilapalli via yhemanth) HADOOP-5648. Fixes a build issue in not being able to generate gridmix.jar in hadoop binary tarball. (Giridharan Kesavan via gkesavan) HADOOP-5908. Fixes a problem to do with ArithmeticException in the JobTracker when there are jobs with 0 maps. (Amar Kamat via ddas) HADOOP-5924. Fixes a corner case problem to do with job recovery with empty history files. Also, after a JT restart, sends KillTaskAction to tasks that report back but the corresponding job hasn't been initialized yet. (Amar Kamat via ddas) HADOOP-5882. Fixes a reducer progress update problem for new mapreduce api. (Amareshwari Sriramadasu via sharad) HADOOP-5746. Fixes a corner case problem in Streaming, where if an exception happens in MROutputThread after the last call to the map/reduce method, the exception goes undetected. (Amar Kamat via ddas) HADOOP-5884. Fixes accounting in capacity scheduler so that high RAM jobs take more slots. (Vinod Kumar Vavilapalli via yhemanth) HADOOP-5937. Correct a safemode message in FSNamesystem. (Ravi Phulari via szetszwo) HADOOP-5869. Fix bug in assignment of setup / cleanup task that was causing TestQueueCapacities to fail. (Sreekanth Ramakrishnan via yhemanth) HADOOP-5921. Fixes a problem in the JobTracker where it sometimes never used to come up due to a system file creation on JobTracker's system-dir failing. This problem would sometimes show up only when the FS for the system-dir (usually HDFS) is started at nearly the same time as the JobTracker. (Amar Kamat via ddas) HADOOP-5920. Fixes a testcase failure for TestJobHistory. (Amar Kamat via ddas) HDFS-26. Better error message to users when commands fail because of lack of quota. Allow quota to be set even if the limit is lower than current consumption. (Boris Shkolnik via rangadi) MAPREDUCE-2. Fixes a bug in KeyFieldBasedPartitioner in handling empty keys. (Amar Kamat via sharad) MAPREDUCE-130. Delete the jobconf copy from the log directory of the JobTracker when the job is retired. (Amar Kamat via sharad) MAPREDUCE-657. Fix hardcoded filesystem problem in CompletedJobStatusStore. (Amar Kamat via sharad) MAPREDUCE-179. Update progress in new RecordReaders. (cdouglas) MAPREDUCE-124. Fix a bug in failure handling of abort task of OutputCommiter. (Amareshwari Sriramadasu via sharad) HADOOP-6139. Fix the FsShell help messages for rm and rmr. (Jakob Homan via szetszwo) HADOOP-6141. Fix a few bugs in 0.20 test-patch.sh. (Hong Tang via szetszwo) HADOOP-6145. Fix FsShell rm/rmr error messages when there is a FNFE. (Jakob Homan via szetszwo) MAPREDUCE-565. Fix partitioner to work with new API. (Owen O'Malley via cdouglas) MAPREDUCE-465. Fix a bug in MultithreadedMapRunner. (Amareshwari Sriramadasu via sharad) MAPREDUCE-18. Puts some checks to detect cases where jetty serves up incorrect output during shuffle. (Ravi Gummadi via ddas) MAPREDUCE-735. Fixes a problem in the KeyFieldHelper to do with the end index for some inputs (Amar Kamat via ddas) HADOOP-6150. Users should be able to instantiate comparator using TFile API. (Hong Tang via rangadi) MAPREDUCE-383. Fix a bug in Pipes combiner due to bytes count not getting reset after the spill. (Christian Kunz via sharad) MAPREDUCE-40. Keep memory management backwards compatible for job configuration parameters and limits. (Rahul Kumar Singh via yhemanth) MAPREDUCE-796. Fixes a ClassCastException in an exception log in MultiThreadedMapRunner. (Amar Kamat via ddas) MAPREDUCE-838. Fixes a problem in the way commit of task outputs happens. The bug was that even if commit failed, the task would be declared as successful. (Amareshwari Sriramadasu via ddas) MAPREDUCE-805. Fixes some deadlocks in the JobTracker due to the fact the JobTracker lock hierarchy wasn't maintained in some JobInProgress method calls. (Amar Kamat via ddas) HDFS-167. Fix a bug in DFSClient that caused infinite retries on write. (Bill Zeller via szetszwo) HDFS-527. Remove unnecessary DFSClient constructors. (szetszwo) MAPREDUCE-832. Reduce number of warning messages printed when deprecated memory variables are used. (Rahul Kumar Singh via yhemanth) MAPREDUCE-745. Fixes a testcase problem to do with generation of JobTracker IDs. (Amar Kamat via ddas) MAPREDUCE-834. Enables memory management on tasktrackers when old memory management parameters are used in configuration. (Sreekanth Ramakrishnan via yhemanth) MAPREDUCE-818. Fixes Counters#getGroup API. (Amareshwari Sriramadasu via sharad) MAPREDUCE-807. Handles the AccessControlException during the deletion of mapred.system.dir in the JobTracker. The JobTracker will bail out if it encounters such an exception. (Amar Kamat via ddas) HADOOP-6213. Remove commons dependency on commons-cli2. (Amar Kamat via sharad) MAPREDUCE-430. Fix a bug related to task getting stuck in case of OOM error. (Amar Kamat via ddas) HADOOP-6215. fix GenericOptionParser to deal with -D with '=' in the value. (Amar Kamat via sharad) MAPREDUCE-421. Fix Pipes to use returned system exit code. (Christian Kunz via omalley) HDFS-525. The SimpleDateFormat object in ListPathsServlet is not thread safe. (Suresh Srinivas and cdouglas) MAPREDUCE-911. Fix a bug in TestTaskFail related to speculative execution. (Amareshwari Sriramadasu via sharad) MAPREDUCE-687. Fix an assertion in TestMiniMRMapRedDebugScript. (Amareshwari Sriramadasu via sharad) MAPREDUCE-924. Fixes the TestPipes testcase to use Tool. (Amareshwari Sriramadasu via sharad) Release 0.20.0 - 2009-04-15 INCOMPATIBLE CHANGES HADOOP-4210. Fix findbugs warnings for equals implementations of mapred ID classes. Removed public, static ID::read and ID::forName; made ID an abstract class. (Suresh Srinivas via cdouglas) HADOOP-4253. Fix various warnings generated by findbugs. Following deprecated methods in RawLocalFileSystem are removed: public String getName() public void lock(Path p, boolean shared) public void release(Path p) (Suresh Srinivas via johan) HADOOP-4618. Move http server from FSNamesystem into NameNode. FSNamesystem.getNameNodeInfoPort() is removed. FSNamesystem.getDFSNameNodeMachine() and FSNamesystem.getDFSNameNodePort() replaced by FSNamesystem.getDFSNameNodeAddress(). NameNode(bindAddress, conf) is removed. (shv) HADOOP-4567. GetFileBlockLocations returns the NetworkTopology information of the machines where the blocks reside. (dhruba) HADOOP-4435. The JobTracker WebUI displays the amount of heap memory in use. (dhruba) HADOOP-4628. Move Hive into a standalone subproject. (omalley) HADOOP-4188. Removes task's dependency on concrete filesystems. (Sharad Agarwal via ddas) HADOOP-1650. Upgrade to Jetty 6. (cdouglas) HADOOP-3986. Remove static Configuration from JobClient. (Amareshwari Sriramadasu via cdouglas) JobClient::setCommandLineConfig is removed JobClient::getCommandLineConfig is removed JobShell, TestJobShell classes are removed HADOOP-4422. S3 file systems should not create bucket. (David Phillips via tomwhite) HADOOP-4035. Support memory based scheduling in capacity scheduler. (Vinod Kumar Vavilapalli via yhemanth) HADOOP-3497. Fix bug in overly restrictive file globbing with a PathFilter. (tomwhite) HADOOP-4445. Replace running task counts with running task percentage in capacity scheduler UI. (Sreekanth Ramakrishnan via yhemanth) HADOOP-4631. Splits the configuration into three parts - one for core, one for mapred and the last one for HDFS. (Sharad Agarwal via cdouglas) HADOOP-3344. Fix libhdfs build to use autoconf and build the same architecture (32 vs 64 bit) of the JVM running Ant. The libraries for pipes, utils, and libhdfs are now all in c++//lib. (Giridharan Kesavan via nigel) HADOOP-4874. Remove LZO codec because of licensing issues. (omalley) HADOOP-4970. The full path name of a file is preserved inside Trash. (Prasad Chakka via dhruba) HADOOP-4103. NameNode keeps a count of missing blocks. It warns on WebUI if there are such blocks. '-report' and '-metaSave' have extra info to track such blocks. (Raghu Angadi) HADOOP-4783. Change permissions on history files on the jobtracker to be only group readable instead of world readable. (Amareshwari Sriramadasu via yhemanth) HADOOP-5531. Removed Chukwa from Hadoop 0.20.0. (nigel) NEW FEATURES HADOOP-4575. Add a proxy service for relaying HsftpFileSystem requests. Includes client authentication via user certificates and config-based access control. (Kan Zhang via cdouglas) HADOOP-4661. Add DistCh, a new tool for distributed ch{mod,own,grp}. (szetszwo) HADOOP-4709. Add several new features and bug fixes to Chukwa. Added Hadoop Infrastructure Care Center (UI for visualize data collected by Chukwa) Added FileAdaptor for streaming small file in one chunk Added compression to archive and demux output Added unit tests and validation for agent, collector, and demux map reduce job Added database loader for loading demux output (sequence file) to jdbc connected database Added algorithm to distribute collector load more evenly (Jerome Boulon, Eric Yang, Andy Konwinski, Ariel Rabkin via cdouglas) HADOOP-4179. Add Vaidya tool to analyze map/reduce job logs for performanc problems. (Suhas Gogate via omalley) HADOOP-4029. Add NameNode storage information to the dfshealth page and move DataNode information to a separated page. (Boris Shkolnik via szetszwo) HADOOP-4348. Add service-level authorization for Hadoop. (acmurthy) HADOOP-4826. Introduce admin command saveNamespace. (shv) HADOOP-3063 BloomMapFile - fail-fast version of MapFile for sparsely populated key space (Andrzej Bialecki via stack) HADOOP-1230. Add new map/reduce API and deprecate the old one. Generally, the old code should work without problem. The new api is in org.apache.hadoop.mapreduce and the old classes in org.apache.hadoop.mapred are deprecated. Differences in the new API: 1. All of the methods take Context objects that allow us to add new methods without breaking compatability. 2. Mapper and Reducer now have a "run" method that is called once and contains the control loop for the task, which lets applications replace it. 3. Mapper and Reducer by default are Identity Mapper and Reducer. 4. The FileOutputFormats use part-r-00000 for the output of reduce 0 and part-m-00000 for the output of map 0. 5. The reduce grouping comparator now uses the raw compare instead of object compare. 6. The number of maps in FileInputFormat is controlled by min and max split size rather than min size and the desired number of maps. (omalley) HADOOP-3305. Use Ivy to manage dependencies. (Giridharan Kesavan and Steve Loughran via cutting) IMPROVEMENTS HADOOP-4565. Added CombineFileInputFormat to use data locality information to create splits. (dhruba via zshao) HADOOP-4749. Added a new counter REDUCE_INPUT_BYTES. (Yongqiang He via zshao) HADOOP-4234. Fix KFS "glue" layer to allow applications to interface with multiple KFS metaservers. (Sriram Rao via lohit) HADOOP-4245. Update to latest version of KFS "glue" library jar. (Sriram Rao via lohit) HADOOP-4244. Change test-patch.sh to check Eclipse classpath no matter it is run by Hudson or not. (szetszwo) HADOOP-3180. Add name of missing class to WritableName.getClass IOException. (Pete Wyckoff via omalley) HADOOP-4178. Make the capacity scheduler's default values configurable. (Sreekanth Ramakrishnan via omalley) HADOOP-4262. Generate better error message when client exception has null message. (stevel via omalley) HADOOP-4226. Refactor and document LineReader to make it more readily understandable. (Yuri Pradkin via cdouglas) HADOOP-4238. When listing jobs, if scheduling information isn't available print NA instead of empty output. (Sreekanth Ramakrishnan via johan) HADOOP-4284. Support filters that apply to all requests, or global filters, to HttpServer. (Kan Zhang via cdouglas) HADOOP-4276. Improve the hashing functions and deserialization of the mapred ID classes. (omalley) HADOOP-4485. Add a compile-native ant task, as a shorthand. (enis) HADOOP-4454. Allow # comments in slaves file. (Rama Ramasamy via omalley) HADOOP-3461. Remove hdfs.StringBytesWritable. (szetszwo) HADOOP-4437. Use Halton sequence instead of java.util.Random in PiEstimator. (szetszwo) HADOOP-4572. Change INode and its sub-classes to package private. (szetszwo) HADOOP-4187. Does a runtime lookup for JobConf/JobConfigurable, and if found, invokes the appropriate configure method. (Sharad Agarwal via ddas) HADOOP-4453. Improve ssl configuration and handling in HsftpFileSystem, particularly when used with DistCp. (Kan Zhang via cdouglas) HADOOP-4583. Several code optimizations in HDFS. (Suresh Srinivas via szetszwo) HADOOP-3923. Remove org.apache.hadoop.mapred.StatusHttpServer. (szetszwo) HADOOP-4622. Explicitly specify interpretor for non-native pipes binaries. (Fredrik Hedberg via johan) HADOOP-4505. Add a unit test to test faulty setup task and cleanup task killing the job. (Amareshwari Sriramadasu via johan) HADOOP-4608. Don't print a stack trace when the example driver gets an unknown program to run. (Edward Yoon via omalley) HADOOP-4645. Package HdfsProxy contrib project without the extra level of directories. (Kan Zhang via omalley) HADOOP-4126. Allow access to HDFS web UI on EC2 (tomwhite via omalley) HADOOP-4612. Removes RunJar's dependency on JobClient. (Sharad Agarwal via ddas) HADOOP-4185. Adds setVerifyChecksum() method to FileSystem. (Sharad Agarwal via ddas) HADOOP-4523. Prevent too many tasks scheduled on a node from bringing it down by monitoring for cumulative memory usage across tasks. (Vinod Kumar Vavilapalli via yhemanth) HADOOP-4640. Adds an input format that can split lzo compressed text files. (johan) HADOOP-4666. Launch reduces only after a few maps have run in the Fair Scheduler. (Matei Zaharia via johan) HADOOP-4339. Remove redundant calls from FileSystem/FsShell when generating/processing ContentSummary. (David Phillips via cdouglas) HADOOP-2774. Add counters tracking records spilled to disk in MapTask and ReduceTask. (Ravi Gummadi via cdouglas) HADOOP-4513. Initialize jobs asynchronously in the capacity scheduler. (Sreekanth Ramakrishnan via yhemanth) HADOOP-4649. Improve abstraction for spill indices. (cdouglas) HADOOP-3770. Add gridmix2, an iteration on the gridmix benchmark. (Runping Qi via cdouglas) HADOOP-4708. Add support for dfsadmin commands in TestCLI. (Boris Shkolnik via cdouglas) HADOOP-4758. Add a splitter for metrics contexts to support more than one type of collector. (cdouglas) HADOOP-4722. Add tests for dfsadmin quota error messages. (Boris Shkolnik via cdouglas) HADOOP-4690. fuse-dfs - create source file/function + utils + config + main source files. (pete wyckoff via mahadev) HADOOP-3750. Fix and enforce module dependencies. (Sharad Agarwal via tomwhite) HADOOP-4747. Speed up FsShell::ls by removing redundant calls to the filesystem. (David Phillips via cdouglas) HADOOP-4305. Improves the blacklisting strategy, whereby, tasktrackers that are blacklisted are not given tasks to run from other jobs, subject to the following conditions (all must be met): 1) The TaskTracker has been blacklisted by at least 4 jobs (configurable) 2) The TaskTracker has been blacklisted 50% more number of times than the average (configurable) 3) The cluster has less than 50% trackers blacklisted Once in 24 hours, a TaskTracker blacklisted for all jobs is given a chance. Restarting the TaskTracker moves it out of the blacklist. (Amareshwari Sriramadasu via ddas) HADOOP-4688. Modify the MiniMRDFSSort unit test to spill multiple times, exercising the map-side merge code. (cdouglas) HADOOP-4737. Adds the KILLED notification when jobs get killed. (Amareshwari Sriramadasu via ddas) HADOOP-4728. Add a test exercising different namenode configurations. (Boris Shkolnik via cdouglas) HADOOP-4807. Adds JobClient commands to get the active/blacklisted tracker names. Also adds commands to display running/completed task attempt IDs. (ddas) HADOOP-4699. Remove checksum validation from map output servlet. (cdouglas) HADOOP-4838. Added a registry to automate metrics and mbeans management. (Sanjay Radia via acmurthy) HADOOP-3136. Fixed the default scheduler to assign multiple tasks to each tasktracker per heartbeat, when feasible. To ensure locality isn't hurt too badly, the scheudler will not assign more than one off-switch task per heartbeat. The heartbeat interval is also halved since the task-tracker is fixed to no longer send out heartbeats on each task completion. A slow-start for scheduling reduces is introduced to ensure that reduces aren't started till sufficient number of maps are done, else reduces of jobs whose maps aren't scheduled might swamp the cluster. Configuration changes to mapred-default.xml: add mapred.reduce.slowstart.completed.maps (acmurthy) HADOOP-4545. Add example and test case of secondary sort for the reduce. (omalley) HADOOP-4753. Refactor gridmix2 to reduce code duplication. (cdouglas) HADOOP-4909. Fix Javadoc and make some of the API more consistent in their use of the JobContext instead of Configuration. (omalley) HADOOP-4830. Add end-to-end test cases for testing queue capacities. (Vinod Kumar Vavilapalli via yhemanth) HADOOP-4980. Improve code layout of capacity scheduler to make it easier to fix some blocker bugs. (Vivek Ratan via yhemanth) HADOOP-4916. Make user/location of Chukwa installation configurable by an external properties file. (Eric Yang via cdouglas) HADOOP-4950. Make the CompressorStream, DecompressorStream, BlockCompressorStream, and BlockDecompressorStream public to facilitate non-Hadoop codecs. (omalley) HADOOP-4843. Collect job history and configuration in Chukwa. (Eric Yang via cdouglas) HADOOP-5030. Build Chukwa RPM to install into configured directory. (Eric Yang via cdouglas) HADOOP-4828. Updates documents to do with configuration (HADOOP-4631). (Sharad Agarwal via ddas) HADOOP-4939. Adds a test that would inject random failures for tasks in large jobs and would also inject TaskTracker failures. (ddas) HADOOP-4920. Stop storing Forrest output in Subversion. (cutting) HADOOP-4944. A configuration file can include other configuration files. (Rama Ramasamy via dhruba) HADOOP-4804. Provide Forrest documentation for the Fair Scheduler. (Sreekanth Ramakrishnan via yhemanth) HADOOP-5248. A testcase that checks for the existence of job directory after the job completes. Fails if it exists. (ddas) HADOOP-4664. Introduces multiple job initialization threads, where the number of threads are configurable via mapred.jobinit.threads. (Matei Zaharia and Jothi Padmanabhan via ddas) HADOOP-4191. Adds a testcase for JobHistory. (Ravi Gummadi via ddas) HADOOP-5466. Change documenation CSS style for headers and code. (Corinne Chandel via szetszwo) HADOOP-5275. Add ivy directory and files to built tar. (Giridharan Kesavan via nigel) HADOOP-5468. Add sub-menus to forrest documentation and make some minor edits. (Corinne Chandel via szetszwo) HADOOP-5437. Fix TestMiniMRDFSSort to properly test jvm-reuse. (omalley) HADOOP-5521. Removes dependency of TestJobInProgress on RESTART_COUNT JobHistory tag. (Ravi Gummadi via ddas) HADOOP-5714. Add a metric for NameNode getFileInfo operation. (Jakob Homan via szetszwo) OPTIMIZATIONS HADOOP-3293. Fixes FileInputFormat to do provide locations for splits based on the rack/host that has the most number of bytes. (Jothi Padmanabhan via ddas) HADOOP-4683. Fixes Reduce shuffle scheduler to invoke getMapCompletionEvents in a separate thread. (Jothi Padmanabhan via ddas) BUG FIXES HADOOP-5379. CBZip2InputStream to throw IOException on data crc error. (Rodrigo Schmidt via zshao) HADOOP-5326. Fixes CBZip2OutputStream data corruption problem. (Rodrigo Schmidt via zshao) HADOOP-4204. Fix findbugs warnings related to unused variables, naive Number subclass instantiation, Map iteration, and badly scoped inner classes. (Suresh Srinivas via cdouglas) HADOOP-4207. Update derby jar file to release 10.4.2 release. (Prasad Chakka via dhruba) HADOOP-4325. SocketInputStream.read() should return -1 in case EOF. (Raghu Angadi) HADOOP-4408. FsAction functions need not create new objects. (cdouglas) HADOOP-4440. TestJobInProgressListener tests for jobs killed in queued state (Amar Kamat via ddas) HADOOP-4346. Implement blocking connect so that Hadoop is not affected by selector problem with JDK default implementation. (Raghu Angadi) HADOOP-4388. If there are invalid blocks in the transfer list, Datanode should handle them and keep transferring the remaining blocks. (Suresh Srinivas via szetszwo) HADOOP-4587. Fix a typo in Mapper javadoc. (Koji Noguchi via szetszwo) HADOOP-4530. In fsck, HttpServletResponse sendError fails with IllegalStateException. (hairong) HADOOP-4377. Fix a race condition in directory creation in NativeS3FileSystem. (David Phillips via cdouglas) HADOOP-4621. Fix javadoc warnings caused by duplicate jars. (Kan Zhang via cdouglas) HADOOP-4566. Deploy new hive code to support more types. (Zheng Shao via dhruba) HADOOP-4571. Add chukwa conf files to svn:ignore list. (Eric Yang via szetszwo) HADOOP-4589. Correct PiEstimator output messages and improve the code readability. (szetszwo) HADOOP-4650. Correct a mismatch between the default value of local.cache.size in the config and the source. (Jeff Hammerbacher via cdouglas) HADOOP-4606. Fix cygpath error if the log directory does not exist. (szetszwo via omalley) HADOOP-4141. Fix bug in ScriptBasedMapping causing potential infinite loop on misconfigured hadoop-site. (Aaron Kimball via tomwhite) HADOOP-4691. Correct a link in the javadoc of IndexedSortable. (szetszwo) HADOOP-4598. '-setrep' command skips under-replicated blocks. (hairong) HADOOP-4429. Set defaults for user, group in UnixUserGroupInformation so login fails more predictably when misconfigured. (Alex Loddengaard via cdouglas) HADOOP-4676. Fix broken URL in blacklisted tasktrackers page. (Amareshwari Sriramadasu via cdouglas) HADOOP-3422 Ganglia counter metrics are all reported with the metric name "value", so the counter values can not be seen. (Jason Attributor and Brian Bockelman via stack) HADOOP-4704. Fix javadoc typos "the the". (szetszwo) HADOOP-4677. Fix semantics of FileSystem::getBlockLocations to return meaningful values. (Hong Tang via cdouglas) HADOOP-4669. Use correct operator when evaluating whether access time is enabled (Dhruba Borthakur via cdouglas) HADOOP-4732. Pass connection and read timeouts in the correct order when setting up fetch in reduce. (Amareshwari Sriramadasu via cdouglas) HADOOP-4558. Fix capacity reclamation in capacity scheduler. (Amar Kamat via yhemanth) HADOOP-4770. Fix rungridmix_2 script to work with RunJar. (cdouglas) HADOOP-4738. When using git, the saveVersion script will use only the commit hash for the version and not the message, which requires escaping. (cdouglas) HADOOP-4576. Show pending job count instead of task count in the UI per queue in capacity scheduler. (Sreekanth Ramakrishnan via yhemanth) HADOOP-4623. Maintain running tasks even if speculative execution is off. (Amar Kamat via yhemanth) HADOOP-4786. Fix broken compilation error in TestTrackerBlacklistAcrossJobs. (yhemanth) HADOOP-4785. Fixes theJobTracker heartbeat to not make two calls to System.currentTimeMillis(). (Amareshwari Sriramadasu via ddas) HADOOP-4792. Add generated Chukwa configuration files to version control ignore lists. (cdouglas) HADOOP-4796. Fix Chukwa test configuration, remove unused components. (Eric Yang via cdouglas) HADOOP-4708. Add binaries missed in the initial checkin for Chukwa. (Eric Yang via cdouglas) HADOOP-4805. Remove black list collector from Chukwa Agent HTTP Sender. (Eric Yang via cdouglas) HADOOP-4837. Move HADOOP_CONF_DIR configuration to chukwa-env.sh (Jerome Boulon via cdouglas) HADOOP-4825. Use ps instead of jps for querying process status in Chukwa. (Eric Yang via cdouglas) HADOOP-4844. Fixed javadoc for org.apache.hadoop.fs.permission.AccessControlException to document that it's deprecated in favour of org.apache.hadoop.security.AccessControlException. (acmurthy) HADOOP-4706. Close the underlying output stream in IFileOutputStream::close. (Jothi Padmanabhan via cdouglas) HADOOP-4855. Fixed command-specific help messages for refreshServiceAcl in DFSAdmin and MRAdmin. (acmurthy) HADOOP-4820. Remove unused method FSNamesystem::deleteInSafeMode. (Suresh Srinivas via cdouglas) HADOOP-4698. Lower io.sort.mb to 10 in the tests and raise the junit memory limit to 512m from 256m. (Nigel Daley via cdouglas) HADOOP-4860. Split TestFileTailingAdapters into three separate tests to avoid contention. (Eric Yang via cdouglas) HADOOP-3921. Fixed clover (code coverage) target to work with JDK 6. (tomwhite via nigel) HADOOP-4845. Modify the reduce input byte counter to record only the compressed size and add a human-readable label. (Yongqiang He via cdouglas) HADOOP-4458. Add a test creating symlinks in the working directory. (Amareshwari Sriramadasu via cdouglas) HADOOP-4879. Fix org.apache.hadoop.mapred.Counters to correctly define Object.equals rather than depend on contentEquals api. (omalley via acmurthy) HADOOP-4791. Fix rpm build process for Chukwa. (Eric Yang via cdouglas) HADOOP-4771. Correct initialization of the file count for directories with quotas. (Ruyue Ma via shv) HADOOP-4878. Fix eclipse plugin classpath file to point to ivy's resolved lib directory and added the same to test-patch.sh. (Giridharan Kesavan via acmurthy) HADOOP-4774. Fix default values of some capacity scheduler configuration items which would otherwise not work on a fresh checkout. (Sreekanth Ramakrishnan via yhemanth) HADOOP-4876. Fix capacity scheduler reclamation by updating count of pending tasks correctly. (Sreekanth Ramakrishnan via yhemanth) HADOOP-4849. Documentation for Service Level Authorization implemented in HADOOP-4348. (acmurthy) HADOOP-4827. Replace Consolidator with Aggregator macros in Chukwa (Eric Yang via cdouglas) HADOOP-4894. Correctly parse ps output in Chukwa jettyCollector.sh. (Ari Rabkin via cdouglas) HADOOP-4892. Close fds out of Chukwa ExecPlugin. (Ari Rabkin via cdouglas) HADOOP-4889. Fix permissions in RPM packaging. (Eric Yang via cdouglas) HADOOP-4869. Fixes the TT-JT heartbeat to have an explicit flag for restart apart from the initialContact flag that there was earlier. (Amareshwari Sriramadasu via ddas) HADOOP-4716. Fixes ReduceTask.java to clear out the mapping between hosts and MapOutputLocation upon a JT restart (Amar Kamat via ddas) HADOOP-4880. Removes an unnecessary testcase from TestJobTrackerRestart. (Amar Kamat via ddas) HADOOP-4924. Fixes a race condition in TaskTracker re-init. (ddas) HADOOP-4854. Read reclaim capacity interval from capacity scheduler configuration. (Sreekanth Ramakrishnan via yhemanth) HADOOP-4896. HDFS Fsck does not load HDFS configuration. (Raghu Angadi) HADOOP-4956. Creates TaskStatus for failed tasks with an empty Counters object instead of null. (ddas) HADOOP-4979. Fix capacity scheduler to block cluster for failed high RAM requirements across task types. (Vivek Ratan via yhemanth) HADOOP-4949. Fix native compilation. (Chris Douglas via acmurthy) HADOOP-4787. Fixes the testcase TestTrackerBlacklistAcrossJobs which was earlier failing randomly. (Amareshwari Sriramadasu via ddas) HADOOP-4914. Add description fields to Chukwa init.d scripts (Eric Yang via cdouglas) HADOOP-4884. Make tool tip date format match standard HICC format. (Eric Yang via cdouglas) HADOOP-4925. Make Chukwa sender properties configurable. (Ari Rabkin via cdouglas) HADOOP-4947. Make Chukwa command parsing more forgiving of whitespace. (Ari Rabkin via cdouglas) HADOOP-5026. Make chukwa/bin scripts executable in repository. (Andy Konwinski via cdouglas) HADOOP-4977. Fix a deadlock between the reclaimCapacity and assignTasks in capacity scheduler. (Vivek Ratan via yhemanth) HADOOP-4988. Fix reclaim capacity to work even when there are queues with no capacity. (Vivek Ratan via yhemanth) HADOOP-5065. Remove generic parameters from argument to setIn/OutputFormatClass so that it works with SequenceIn/OutputFormat. (cdouglas via omalley) HADOOP-4818. Pass user config to instrumentation API. (Eric Yang via cdouglas) HADOOP-4993. Fix Chukwa agent configuration and startup to make it both more modular and testable. (Ari Rabkin via cdouglas) HADOOP-5048. Fix capacity scheduler to correctly cleanup jobs that are killed after initialization, but before running. (Sreekanth Ramakrishnan via yhemanth) HADOOP-4671. Mark loop control variables shared between threads as volatile. (cdouglas) HADOOP-5079. HashFunction inadvertently destroys some randomness (Jonathan Ellis via stack) HADOOP-4999. A failure to write to FsEditsLog results in IndexOutOfBounds exception. (Boris Shkolnik via rangadi) HADOOP-5139. Catch IllegalArgumentException during metrics registration in RPC. (Hairong Kuang via szetszwo) HADOOP-5085. Copying a file to local with Crc throws an exception. (hairong) HADOOP-4759. Removes temporary output directory for failed and killed tasks by launching special CLEANUP tasks for the same. (Amareshwari Sriramadasu via ddas) HADOOP-5211. Fix check for job completion in TestSetupAndCleanupFailure. (enis) HADOOP-5254. The Configuration class should be able to work with XML parsers that do not support xmlinclude. (Steve Loughran via dhruba) HADOOP-4692. Namenode in infinite loop for replicating/deleting corrupt blocks. (hairong) HADOOP-5255. Fix use of Math.abs to avoid overflow. (Jonathan Ellis via cdouglas) HADOOP-5269. Fixes a problem to do with tasktracker holding on to FAILED_UNCLEAN or KILLED_UNCLEAN tasks forever. (Amareshwari Sriramadasu via ddas) HADOOP-5214. Fixes a ConcurrentModificationException while the Fairshare Scheduler accesses the tasktrackers stored by the JobTracker. (Rahul Kumar Singh via yhemanth) HADOOP-5233. Addresses the three issues - Race condition in updating status, NPE in TaskTracker task localization when the conf file is missing (HADOOP-5234) and NPE in handling KillTaskAction of a cleanup task (HADOOP-5235). (Amareshwari Sriramadasu via ddas) HADOOP-5247. Introduces a broadcast of KillJobAction to all trackers when a job finishes. This fixes a bunch of problems to do with NPE when a completed job is not in memory and a tasktracker comes to the jobtracker with a status report of a task belonging to that job. (Amar Kamat via ddas) HADOOP-5282. Fixed job history logs for task attempts that are failed by the JobTracker, say due to lost task trackers. (Amar Kamat via yhemanth) HADOOP-4963. Fixes a logging to do with getting the location of map output file. (Amareshwari Sriramadasu via ddas) HADOOP-5292. Fix NPE in KFS::getBlockLocations. (Sriram Rao via lohit) HADOOP-5241. Fixes a bug in disk-space resource estimation. Makes the estimation formula linear where blowUp = Total-Output/Total-Input. (Sharad Agarwal via ddas) HADOOP-5142. Fix MapWritable#putAll to store key/value classes. (Do??acan G??ney via enis) HADOOP-4744. Workaround for jetty6 returning -1 when getLocalPort is invoked on the connector. The workaround patch retries a few times before failing. (Jothi Padmanabhan via yhemanth) HADOOP-5280. Adds a check to prevent a task state transition from FAILED to any of UNASSIGNED, RUNNING, COMMIT_PENDING or SUCCEEDED. (ddas) HADOOP-5272. Fixes a problem to do with detecting whether an attempt is the first attempt of a Task. This affects JobTracker restart. (Amar Kamat via ddas) HADOOP-5306. Fixes a problem to do with logging/parsing the http port of a lost tracker. Affects JobTracker restart. (Amar Kamat via ddas) HADOOP-5111. Fix Job::set* methods to work with generics. (cdouglas) HADOOP-5274. Fix gridmix2 dependency on wordcount example. (cdouglas) HADOOP-5145. Balancer sometimes runs out of memory after running days or weeks. (hairong) HADOOP-5338. Fix jobtracker restart to clear task completion events cached by tasktrackers forcing them to fetch all events afresh, thus avoiding missed task completion events on the tasktrackers. (Amar Kamat via yhemanth) HADOOP-4695. Change TestGlobalFilter so that it allows a web page to be filtered more than once for a single access. (Kan Zhang via szetszwo) HADOOP-5298. Change TestServletFilter so that it allows a web page to be filtered more than once for a single access. (szetszwo) HADOOP-5432. Disable ssl during unit tests in hdfsproxy, as it is unused and causes failures. (cdouglas) HADOOP-5416. Correct the shell command "fs -test" forrest doc description. (Ravi Phulari via szetszwo) HADOOP-5327. Fixed job tracker to remove files from system directory on ACL check failures and also check ACLs on restart. (Amar Kamat via yhemanth) HADOOP-5395. Change the exception message when a job is submitted to an invalid queue. (Rahul Kumar Singh via yhemanth) HADOOP-5276. Fixes a problem to do with updating the start time of a task when the tracker that ran the task is lost. (Amar Kamat via ddas) HADOOP-5278. Fixes a problem to do with logging the finish time of a task during recovery (after a JobTracker restart). (Amar Kamat via ddas) HADOOP-5490. Fixes a synchronization problem in the EagerTaskInitializationListener class. (Jothi Padmanabhan via ddas) HADOOP-5493. The shuffle copier threads return the codecs back to the pool when the shuffle completes. (Jothi Padmanabhan via ddas) HADOOP-5505. Fix JspHelper initialization in the context of MiniDFSCluster. (Raghu Angadi) HADOOP-5414. Fixes IO exception while executing hadoop fs -touchz fileName by making sure that lease renewal thread exits before dfs client exits. (hairong) HADOOP-5103. FileInputFormat now reuses the clusterMap network topology object and that brings down the log messages in the JobClient to do with NetworkTopology.add significantly. (Jothi Padmanabhan via ddas) HADOOP-5483. Fixes a problem in the Directory Cleanup Thread due to which TestMiniMRWithDFS sometimes used to fail. (ddas) HADOOP-5281. Prevent sharing incompatible ZlibCompressor instances between GzipCodec and DefaultCodec. (cdouglas) HADOOP-5463. Balancer throws "Not a host:port pair" unless port is specified in fs.default.name. (Stuart White via hairong) HADOOP-5514. Fix JobTracker metrics and add metrics for wating, failed tasks. (cdouglas) HADOOP-5516. Fix NullPointerException in TaskMemoryManagerThread that comes when monitored processes disappear when the thread is running. (Vinod Kumar Vavilapalli via yhemanth) HADOOP-5382. Support combiners in the new context object API. (omalley) HADOOP-5471. Fixes a problem to do with updating the log.index file in the case where a cleanup task is run. (Amareshwari Sriramadasu via ddas) HADOOP-5534. Fixed a deadlock in Fair scheduler's servlet. (Rahul Kumar Singh via yhemanth) HADOOP-5328. Fixes a problem in the renaming of job history files during job recovery. Amar Kamat via ddas) HADOOP-5417. Don't ignore InterruptedExceptions that happen when calling into rpc. (omalley) HADOOP-5320. Add a close() in TestMapReduceLocal. (Jothi Padmanabhan via szetszwo) HADOOP-5520. Fix a typo in disk quota help message. (Ravi Phulari via szetszwo) HADOOP-5519. Remove claims from mapred-default.xml that prime numbers of tasks are helpful. (Owen O'Malley via szetszwo) HADOOP-5484. TestRecoveryManager fails wtih FileAlreadyExistsException. (Amar Kamat via hairong) HADOOP-5564. Limit the JVM heap size in the java command for initializing JAVA_PLATFORM. (Suresh Srinivas via szetszwo) HADOOP-5565. Add API for failing/finalized jobs to the JT metrics instrumentation. (Jerome Boulon via cdouglas) HADOOP-5390. Remove duplicate jars from tarball, src from binary tarball added by hdfsproxy. (Zhiyong Zhang via cdouglas) HADOOP-5066. Building binary tarball should not build docs/javadocs, copy src, or run jdiff. (Giridharan Kesavan via cdouglas) HADOOP-5459. Fix undetected CRC errors where intermediate output is closed before it has been completely consumed. (cdouglas) HADOOP-5571. Remove widening primitive conversion in TupleWritable mask manipulation. (Jingkei Ly via cdouglas) HADOOP-5588. Remove an unnecessary call to listStatus(..) in FileSystem.globStatusInternal(..). (Hairong Kuang via szetszwo) HADOOP-5473. Solves a race condition in killing a task - the state is KILLED if there is a user request pending to kill the task and the TT reported the state as SUCCESS. (Amareshwari Sriramadasu via ddas) HADOOP-5576. Fix LocalRunner to work with the new context object API in mapreduce. (Tom White via omalley) HADOOP-4374. Installs a shutdown hook in the Task JVM so that log.index is updated before the JVM exits. Also makes the update to log.index atomic. (Ravi Gummadi via ddas) HADOOP-5577. Add a verbose flag to mapreduce.Job.waitForCompletion to get the running job's information printed to the user's stdout as it runs. (omalley) HADOOP-5607. Fix NPE in TestCapacityScheduler. (cdouglas) HADOOP-5605. All the replicas incorrectly got marked as corrupt. (hairong) HADOOP-5337. JobTracker, upon restart, now waits for the TaskTrackers to join back before scheduling new tasks. This fixes race conditions associated with greedy scheduling as was the case earlier. (Amar Kamat via ddas) HADOOP-5227. Fix distcp so -update and -delete can be meaningfully combined. (Tsz Wo (Nicholas), SZE via cdouglas) HADOOP-5305. Increase number of files and print debug messages in TestCopyFiles. (szetszwo) HADOOP-5548. Add synchronization for JobTracker methods in RecoveryManager. (Amareshwari Sriramadasu via sharad) HADOOP-3810. NameNode seems unstable on a cluster with little space left. (hairong) HADOOP-5068. Fix NPE in TestCapacityScheduler. (Vinod Kumar Vavilapalli via szetszwo) HADOOP-5585. Clear FileSystem statistics between tasks when jvm-reuse is enabled. (omalley) HADOOP-5394. JobTracker might schedule 2 attempts of the same task with the same attempt id across restarts. (Amar Kamat via sharad) HADOOP-5645. After HADOOP-4920 we need a place to checkin releasenotes.html. (nigel) Release 0.19.2 - Unreleased BUG FIXES HADOOP-5154. Fixes a deadlock in the fairshare scheduler. (Matei Zaharia via yhemanth) HADOOP-5146. Fixes a race condition that causes LocalDirAllocator to miss files. (Devaraj Das via yhemanth) HADOOP-4638. Fixes job recovery to not crash the job tracker for problems with a single job file. (Amar Kamat via yhemanth) HADOOP-5384. Fix a problem that DataNodeCluster creates blocks with generationStamp == 1. (szetszwo) HADOOP-5376. Fixes the code handling lost tasktrackers to set the task state to KILLED_UNCLEAN only for relevant type of tasks. (Amareshwari Sriramadasu via yhemanth) HADOOP-5285. Fixes the issues - (1) obtainTaskCleanupTask checks whether job is inited before trying to lock the JobInProgress (2) Moves the CleanupQueue class outside the TaskTracker and makes it a generic class that is used by the JobTracker also for deleting the paths on the job's output fs. (3) Moves the references to completedJobStore outside the block where the JobTracker is locked. (ddas) HADOOP-5392. Fixes a problem to do with JT crashing during recovery when the job files are garbled. (Amar Kamat vi ddas) HADOOP-5332. Appending to files is not allowed (by default) unless dfs.support.append is set to true. (dhruba) HADOOP-5333. libhdfs supports appending to files. (dhruba) HADOOP-3998. Fix dfsclient exception when JVM is shutdown. (dhruba) HADOOP-5440. Fixes a problem to do with removing a taskId from the list of taskIds that the TaskTracker's TaskMemoryManager manages. (Amareshwari Sriramadasu via ddas) HADOOP-5446. Restore TaskTracker metrics. (cdouglas) HADOOP-5449. Fixes the history cleaner thread. (Amareshwari Sriramadasu via ddas) HADOOP-5479. NameNode should not send empty block replication request to DataNode. (hairong) HADOOP-5259. Job with output hdfs:/user//outputpath (no authority) fails with Wrong FS. (Doug Cutting via hairong) HADOOP-5522. Documents the setup/cleanup tasks in the mapred tutorial. (Amareshwari Sriramadasu via ddas) HADOOP-5549. ReplicationMonitor should schedule both replication and deletion work in one iteration. (hairong) HADOOP-5554. DataNodeCluster and CreateEditsLog should create blocks with the same generation stamp value. (hairong via szetszwo) HADOOP-5231. Clones the TaskStatus before passing it to the JobInProgress. (Amareshwari Sriramadasu via ddas) HADOOP-4719. Fix documentation of 'ls' format for FsShell. (Ravi Phulari via cdouglas) HADOOP-5374. Fixes a NPE problem in getTasksToSave method. (Amareshwari Sriramadasu via ddas) HADOOP-4780. Cache the size of directories in DistributedCache, avoiding long delays in recalculating it. (He Yongqiang via cdouglas) HADOOP-5551. Prevent directory destruction on file create. (Brian Bockelman via shv) HADOOP-5671. Fix FNF exceptions when copying from old versions of HftpFileSystem. (Tsz Wo (Nicholas), SZE via cdouglas) HADOOP-5579. Set errno correctly in libhdfs for permission, quota, and FNF conditions. (Brian Bockelman via cdouglas) HADOOP-5816. Fixes a problem in the KeyFieldBasedComparator to do with ArrayIndexOutOfBounds exception. (He Yongqiang via ddas) HADOOP-5951. Add Apache license header to StorageInfo.java. (Suresh Srinivas via szetszwo) Release 0.19.1 - 2009-02-23 IMPROVEMENTS HADOOP-4739. Fix spelling and grammar, improve phrasing of some sections in mapred tutorial. (Vivek Ratan via cdouglas) HADOOP-3894. DFSClient logging improvements. (Steve Loughran via shv) HADOOP-5126. Remove empty file BlocksWithLocations.java (shv) HADOOP-5127. Remove public methods in FSDirectory. (Jakob Homan via shv) BUG FIXES HADOOP-4697. Fix getBlockLocations in KosmosFileSystem to handle multiple blocks correctly. (Sriram Rao via cdouglas) HADOOP-4420. Add null checks for job, caused by invalid job IDs. (Aaron Kimball via tomwhite) HADOOP-4632. Fix TestJobHistoryVersion to use test.build.dir instead of the current workding directory for scratch space. (Amar Kamat via cdouglas) HADOOP-4508. Fix FSDataOutputStream.getPos() for append. (dhruba via szetszwo) HADOOP-4727. Fix a group checking bug in fill_stat_structure(...) in fuse-dfs. (Brian Bockelman via szetszwo) HADOOP-4836. Correct typos in mapred related documentation. (Jord? Polo via szetszwo) HADOOP-4821. Usage description in the Quotas guide documentations are incorrect. (Boris Shkolnik via hairong) HADOOP-4847. Moves the loading of OutputCommitter to the Task. (Amareshwari Sriramadasu via ddas) HADOOP-4966. Marks completed setup tasks for removal. (Amareshwari Sriramadasu via ddas) HADOOP-4982. TestFsck should run in Eclipse. (shv) HADOOP-5008. TestReplication#testPendingReplicationRetry leaves an opened fd unclosed. (hairong) HADOOP-4906. Fix TaskTracker OOM by keeping a shallow copy of JobConf in TaskTracker.TaskInProgress. (Sharad Agarwal via acmurthy) HADOOP-4918. Fix bzip2 compression to work with Sequence Files. (Zheng Shao via dhruba). HADOOP-4965. TestFileAppend3 should close FileSystem. (shv) HADOOP-4967. Fixes a race condition in the JvmManager to do with killing tasks. (ddas) HADOOP-5009. DataNode#shutdown sometimes leaves data block scanner verification log unclosed. (hairong) HADOOP-5086. Use the appropriate FileSystem for trash URIs. (cdouglas) HADOOP-4955. Make DBOutputFormat us column names from setOutput(). (Kevin Peterson via enis) HADOOP-4862. Minor : HADOOP-3678 did not remove all the cases of spurious IOExceptions logged by DataNode. (Raghu Angadi) HADOOP-5034. NameNode should send both replication and deletion requests to DataNode in one reply to a heartbeat. (hairong) HADOOP-5156. TestHeartbeatHandling uses MiiDFSCluster.getNamesystem() which does not exit in branch 0.19 and 0.20. (hairong) HADOOP-5161. Accepted sockets do not get placed in DataXceiverServer#childSockets. (hairong) HADOOP-5193. Correct calculation of edits modification time. (shv) HADOOP-4494. Allow libhdfs to append to files. (Pete Wyckoff via dhruba) HADOOP-5166. Fix JobTracker restart to work when ACLs are configured for the JobTracker. (Amar Kamat via yhemanth). HADOOP-5067. Fixes TaskInProgress.java to keep track of count of failed and killed tasks correctly. (Amareshwari Sriramadasu via ddas) HADOOP-4760. HDFS streams should not throw exceptions when closed twice. (enis) Release 0.19.0 - 2008-11-18 INCOMPATIBLE CHANGES HADOOP-3595. Remove deprecated methods for mapred.combine.once functionality, which was necessary to providing backwards compatible combiner semantics for 0.18. (cdouglas via omalley) HADOOP-3667. Remove the following deprecated methods from JobConf: addInputPath(Path) getInputPaths() getMapOutputCompressionType() getOutputPath() getSystemDir() setInputPath(Path) setMapOutputCompressionType(CompressionType style) setOutputPath(Path) (Amareshwari Sriramadasu via omalley) HADOOP-3652. Remove deprecated class OutputFormatBase. (Amareshwari Sriramadasu via cdouglas) HADOOP-2885. Break the hadoop.dfs package into separate packages under hadoop.hdfs that reflect whether they are client, server, protocol, etc. DistributedFileSystem and DFSClient have moved and are now considered package private. (Sanjay Radia via omalley) HADOOP-2325. Require Java 6. (cutting) HADOOP-372. Add support for multiple input paths with a different InputFormat and Mapper for each path. (Chris Smith via tomwhite) HADOOP-1700. Support appending to file in HDFS. (dhruba) HADOOP-3792. Make FsShell -test consistent with unix semantics, returning zero for true and non-zero for false. (Ben Slusky via cdouglas) HADOOP-3664. Remove the deprecated method InputFormat.validateInput, which is no longer needed. (tomwhite via omalley) HADOOP-3549. Give more meaningful errno's in libhdfs. In particular, EACCES is returned for permission problems. (Ben Slusky via omalley) HADOOP-4036. ResourceStatus was added to TaskTrackerStatus by HADOOP-3759, so increment the InterTrackerProtocol version. (Hemanth Yamijala via omalley) HADOOP-3150. Moves task promotion to tasks. Defines a new interface for committing output files. Moves job setup to jobclient, and moves jobcleanup to a separate task. (Amareshwari Sriramadasu via ddas) HADOOP-3446. Keep map outputs in memory during the reduce. Remove fs.inmemory.size.mb and replace with properties defining in memory map output retention during the shuffle and reduce relative to maximum heap usage. (cdouglas) HADOOP-3245. Adds the feature for supporting JobTracker restart. Running jobs can be recovered from the history file. The history file format has been modified to support recovery. The task attempt ID now has the JobTracker start time to disinguish attempts of the same TIP across restarts. (Amar Ramesh Kamat via ddas) HADOOP-4007. REMOVE DFSFileInfo - FileStatus is sufficient. (Sanjay Radia via hairong) HADOOP-3722. Fixed Hadoop Streaming and Hadoop Pipes to use the Tool interface and GenericOptionsParser. (Enis Soztutar via acmurthy) HADOOP-2816. Cluster summary at name node web reports the space utilization as: Configured Capacity: capacity of all the data directories - Reserved space Present Capacity: Space available for dfs,i.e. remaining+used space DFS Used%: DFS used space/Present Capacity (Suresh Srinivas via hairong) HADOOP-3938. Disk space quotas for HDFS. This is similar to namespace quotas in 0.18. (rangadi) HADOOP-4293. Make Configuration Writable and remove unreleased WritableJobConf. Configuration.write is renamed to writeXml. (omalley) HADOOP-4281. Change dfsadmin to report available disk space in a format consistent with the web interface as defined in HADOOP-2816. (Suresh Srinivas via cdouglas) HADOOP-4430. Further change the cluster summary at name node web that was changed in HADOOP-2816: Non DFS Used - This indicates the disk space taken by non DFS file from the Configured capacity DFS Used % - DFS Used % of Configured Capacity DFS Remaining % - Remaing % Configured Capacity available for DFS use DFS command line report reflects the same change. Config parameter dfs.datanode.du.pct is no longer used and is removed from the hadoop-default.xml. (Suresh Srinivas via hairong) HADOOP-4116. Balancer should provide better resource management. (hairong) HADOOP-4599. BlocksMap and BlockInfo made package private. (shv) NEW FEATURES HADOOP-3341. Allow streaming jobs to specify the field separator for map and reduce input and output. The new configuration values are: stream.map.input.field.separator stream.map.output.field.separator stream.reduce.input.field.separator stream.reduce.output.field.separator All of them default to "\t". (Zheng Shao via omalley) HADOOP-3479. Defines the configuration file for the resource manager in Hadoop. You can configure various parameters related to scheduling, such as queues and queue properties here. The properties for a queue follow a naming convention,such as, hadoop.rm.queue.queue-name.property-name. (Hemanth Yamijala via ddas) HADOOP-3149. Adds a way in which map/reducetasks can create multiple outputs. (Alejandro Abdelnur via ddas) HADOOP-3714. Add a new contrib, bash-tab-completion, which enables bash tab completion for the bin/hadoop script. See the README file in the contrib directory for the installation. (Chris Smith via enis) HADOOP-3730. Adds a new JobConf constructor that disables loading default configurations. (Alejandro Abdelnur via ddas) HADOOP-3772. Add a new Hadoop Instrumentation api for the JobTracker and the TaskTracker, refactor Hadoop Metrics as an implementation of the api. (Ari Rabkin via acmurthy) HADOOP-2302. Provides a comparator for numerical sorting of key fields. (ddas) HADOOP-153. Provides a way to skip bad records. (Sharad Agarwal via ddas) HADOOP-657. Free disk space should be modelled and used by the scheduler to make scheduling decisions. (Ari Rabkin via omalley) HADOOP-3719. Initial checkin of Chukwa, which is a data collection and analysis framework. (Jerome Boulon, Andy Konwinski, Ari Rabkin, and Eric Yang) HADOOP-3873. Add -filelimit and -sizelimit options to distcp to cap the number of files/bytes copied in a particular run to support incremental updates and mirroring. (TszWo (Nicholas), SZE via cdouglas) HADOOP-3585. FailMon package for hardware failure monitoring and analysis of anomalies. (Ioannis Koltsidas via dhruba) HADOOP-1480. Add counters to the C++ Pipes API. (acmurthy via omalley) HADOOP-3854. Add support for pluggable servlet filters in the HttpServers. (Tsz Wo (Nicholas) Sze via omalley) HADOOP-3759. Provides ability to run memory intensive jobs without affecting other running tasks on the nodes. (Hemanth Yamijala via ddas) HADOOP-3746. Add a fair share scheduler. (Matei Zaharia via omalley) HADOOP-3754. Add a thrift interface to access HDFS. (dhruba via omalley) HADOOP-3828. Provides a way to write skipped records to DFS. (Sharad Agarwal via ddas) HADOOP-3948. Separate name-node edits and fsimage directories. (Lohit Vijayarenu via shv) HADOOP-3939. Add an option to DistCp to delete files at the destination not present at the source. (Tsz Wo (Nicholas) Sze via cdouglas) HADOOP-3601. Add a new contrib module for Hive, which is a sql-like query processing tool that uses map/reduce. (Ashish Thusoo via omalley) HADOOP-3866. Added sort and multi-job updates in the JobTracker web ui. (Craig Weisenfluh via omalley) HADOOP-3698. Add access control to control who is allowed to submit or modify jobs in the JobTracker. (Hemanth Yamijala via omalley) HADOOP-1869. Support access times for HDFS files. (dhruba) HADOOP-3941. Extend FileSystem API to return file-checksums. (szetszwo) HADOOP-3581. Prevents memory intensive user tasks from taking down nodes. (Vinod K V via ddas) HADOOP-3970. Provides a way to recover counters written to JobHistory. (Amar Kamat via ddas) HADOOP-3702. Adds ChainMapper and ChainReducer classes allow composing chains of Maps and Reduces in a single Map/Reduce job, something like MAP+ / REDUCE MAP*. (Alejandro Abdelnur via ddas) HADOOP-3445. Add capacity scheduler that provides guaranteed capacities to queues as a percentage of the cluster. (Vivek Ratan via omalley) HADOOP-3992. Add a synthetic load generation facility to the test directory. (hairong via szetszwo) HADOOP-3981. Implement a distributed file checksum algorithm in HDFS and change DistCp to use file checksum for comparing src and dst files (szetszwo) HADOOP-3829. Narrown down skipped records based on user acceptable value. (Sharad Agarwal via ddas) HADOOP-3930. Add common interfaces for the pluggable schedulers and the cli & gui clients. (Sreekanth Ramakrishnan via omalley) HADOOP-4176. Implement getFileChecksum(Path) in HftpFileSystem. (szetszwo) HADOOP-249. Reuse JVMs across Map-Reduce Tasks. Configuration changes to hadoop-default.xml: add mapred.job.reuse.jvm.num.tasks (Devaraj Das via acmurthy) HADOOP-4070. Provide a mechanism in Hive for registering UDFs from the query language. (tomwhite) HADOOP-2536. Implement a JDBC based database input and output formats to allow Map-Reduce applications to work with databases. (Fredrik Hedberg and Enis Soztutar via acmurthy) HADOOP-3019. A new library to support total order partitions. (cdouglas via omalley) HADOOP-3924. Added a 'KILLED' job status. (Subramaniam Krishnan via acmurthy) IMPROVEMENTS HADOOP-4205. hive: metastore and ql to use the refactored SerDe library. (zshao) HADOOP-4106. libhdfs: add time, permission and user attribute support (part 2). (Pete Wyckoff through zshao) HADOOP-4104. libhdfs: add time, permission and user attribute support. (Pete Wyckoff through zshao) HADOOP-3908. libhdfs: better error message if llibhdfs.so doesn't exist. (Pete Wyckoff through zshao) HADOOP-3732. Delay intialization of datanode block verification till the verification thread is started. (rangadi) HADOOP-1627. Various small improvements to 'dfsadmin -report' output. (rangadi) HADOOP-3577. Tools to inject blocks into name node and simulated data nodes for testing. (Sanjay Radia via hairong) HADOOP-2664. Add a lzop compatible codec, so that files compressed by lzop may be processed by map/reduce. (cdouglas via omalley) HADOOP-3655. Add additional ant properties to control junit. (Steve Loughran via omalley) HADOOP-3543. Update the copyright year to 2008. (cdouglas via omalley) HADOOP-3587. Add a unit test for the contrib/data_join framework. (cdouglas) HADOOP-3402. Add terasort example program (omalley) HADOOP-3660. Add replication factor for injecting blocks in simulated datanodes. (Sanjay Radia via cdouglas) HADOOP-3684. Add a cloning function to the contrib/data_join framework permitting users to define a more efficient method for cloning values from the reduce than serialization/deserialization. (Runping Qi via cdouglas) HADOOP-3478. Improves the handling of map output fetching. Now the randomization is by the hosts (and not the map outputs themselves). (Jothi Padmanabhan via ddas) HADOOP-3617. Removed redundant checks of accounting space in MapTask and makes the spill thread persistent so as to avoid creating a new one for each spill. (Chris Douglas via acmurthy) HADOOP-3412. Factor the scheduler out of the JobTracker and make it pluggable. (Tom White and Brice Arnould via omalley) HADOOP-3756. Minor. Remove unused dfs.client.buffer.dir from hadoop-default.xml. (rangadi) HADOOP-3747. Adds counter suport for MultipleOutputs. (Alejandro Abdelnur via ddas) HADOOP-3169. LeaseChecker daemon should not be started in DFSClient constructor. (TszWo (Nicholas), SZE via hairong) HADOOP-3824. Move base functionality of StatusHttpServer to a core package. (TszWo (Nicholas), SZE via cdouglas) HADOOP-3646. Add a bzip2 compatible codec, so bzip compressed data may be processed by map/reduce. (Abdul Qadeer via cdouglas) HADOOP-3861. MapFile.Reader and Writer should implement Closeable. (tomwhite via omalley) HADOOP-3791. Introduce generics into ReflectionUtils. (Chris Smith via cdouglas) HADOOP-3694. Improve unit test performance by changing MiniDFSCluster to listen only on 127.0.0.1. (cutting) HADOOP-3620. Namenode should synchronously resolve a datanode's network location when the datanode registers. (hairong) HADOOP-3860. NNThroughputBenchmark is extended with rename and delete benchmarks. (shv) HADOOP-3892. Include unix group name in JobConf. (Matei Zaharia via johan) HADOOP-3875. Change the time period between heartbeats to be relative to the end of the heartbeat rpc, rather than the start. This causes better behavior if the JobTracker is overloaded. (acmurthy via omalley) HADOOP-3853. Move multiple input format (HADOOP-372) extension to library package. (tomwhite via johan) HADOOP-9. Use roulette scheduling for temporary space when the size is not known. (Ari Rabkin via omalley) HADOOP-3202. Use recursive delete rather than FileUtil.fullyDelete. (Amareshwari Sriramadasu via omalley) HADOOP-3368. Remove common-logging.properties from conf. (Steve Loughran via omalley) HADOOP-3851. Fix spelling mistake in FSNamesystemMetrics. (Steve Loughran via omalley) HADOOP-3780. Remove asynchronous resolution of network topology in the JobTracker (Amar Kamat via omalley) HADOOP-3852. Add ShellCommandExecutor.toString method to make nicer error messages. (Steve Loughran via omalley) HADOOP-3844. Include message of local exception in RPC client failures. (Steve Loughran via omalley) HADOOP-3935. Split out inner classes from DataNode.java. (johan) HADOOP-3905. Create generic interfaces for edit log streams. (shv) HADOOP-3062. Add metrics to DataNode and TaskTracker to record network traffic for HDFS reads/writes and MR shuffling. (cdouglas) HADOOP-3742. Remove HDFS from public java doc and add javadoc-dev for generative javadoc for developers. (Sanjay Radia via omalley) HADOOP-3944. Improve documentation for public TupleWritable class in join package. (Chris Douglas via enis) HADOOP-2330. Preallocate HDFS transaction log to improve performance. (dhruba and hairong) HADOOP-3965. Convert DataBlockScanner into a package private class. (shv) HADOOP-3488. Prevent hadoop-daemon from rsync'ing log files (Stefan Groshupf and Craig Macdonald via omalley) HADOOP-3342. Change the kill task actions to require http post instead of get to prevent accidental crawls from triggering it. (enis via omalley) HADOOP-3937. Limit the job name in the job history filename to 50 characters. (Matei Zaharia via omalley) HADOOP-3943. Remove unnecessary synchronization in NetworkTopology.pseudoSortByDistance. (hairong via omalley) HADOOP-3498. File globbing alternation should be able to span path components. (tomwhite) HADOOP-3361. Implement renames for NativeS3FileSystem. (Albert Chern via tomwhite) HADOOP-3605. Make EC2 scripts show an error message if AWS_ACCOUNT_ID is unset. (Al Hoang via tomwhite) HADOOP-4147. Remove unused class JobWithTaskContext from class JobInProgress. (Amareshwari Sriramadasu via johan) HADOOP-4151. Add a byte-comparable interface that both Text and BytesWritable implement. (cdouglas via omalley) HADOOP-4174. Move fs image/edit log methods from ClientProtocol to NamenodeProtocol. (shv via szetszwo) HADOOP-4181. Include a .gitignore and saveVersion.sh change to support developing under git. (omalley) HADOOP-4186. Factor LineReader out of LineRecordReader. (tomwhite via omalley) HADOOP-4184. Break the module dependencies between core, hdfs, and mapred. (tomwhite via omalley) HADOOP-4075. test-patch.sh now spits out ant commands that it runs. (Ramya R via nigel) HADOOP-4117. Improve configurability of Hadoop EC2 instances. (tomwhite) HADOOP-2411. Add support for larger CPU EC2 instance types. (Chris K Wensel via tomwhite) HADOOP-4083. Changed the configuration attribute queue.name to mapred.job.queue.name. (Hemanth Yamijala via acmurthy) HADOOP-4194. Added the JobConf and JobID to job-related methods in JobTrackerInstrumentation for better metrics. (Mac Yang via acmurthy) HADOOP-3975. Change test-patch script to report working the dir modifications preventing the suite from being run. (Ramya R via cdouglas) HADOOP-4124. Added a command-line switch to allow users to set job priorities, also allow it to be manipulated via the web-ui. (Hemanth Yamijala via acmurthy) HADOOP-2165. Augmented JobHistory to include the URIs to the tasks' userlogs. (Vinod Kumar Vavilapalli via acmurthy) HADOOP-4062. Remove the synchronization on the output stream when a connection is closed and also remove an undesirable exception when a client is stoped while there is no pending RPC request. (hairong) HADOOP-4227. Remove the deprecated class org.apache.hadoop.fs.ShellCommand. (szetszwo) HADOOP-4006. Clean up FSConstants and move some of the constants to better places. (Sanjay Radia via rangadi) HADOOP-4279. Trace the seeds of random sequences in append unit tests to make itermitant failures reproducible. (szetszwo via cdouglas) HADOOP-4209. Remove the change to the format of task attempt id by incrementing the task attempt numbers by 1000 when the job restarts. (Amar Kamat via omalley) HADOOP-4301. Adds forrest doc for the skip bad records feature. (Sharad Agarwal via ddas) HADOOP-4354. Separate TestDatanodeDeath.testDatanodeDeath() into 4 tests. (szetszwo) HADOOP-3790. Add more unit tests for testing HDFS file append. (szetszwo) HADOOP-4321. Include documentation for the capacity scheduler. (Hemanth Yamijala via omalley) HADOOP-4424. Change menu layout for Hadoop documentation (Boris Shkolnik via cdouglas). HADOOP-4438. Update forrest documentation to include missing FsShell commands. (Suresh Srinivas via cdouglas) HADOOP-4105. Add forrest documentation for libhdfs. (Pete Wyckoff via cutting) HADOOP-4510. Make getTaskOutputPath public. (Chris Wensel via omalley) OPTIMIZATIONS HADOOP-3556. Removed lock contention in MD5Hash by changing the singleton MessageDigester by an instance per Thread using ThreadLocal. (Iv?n de Prado via omalley) HADOOP-3328. When client is writing data to DFS, only the last datanode in the pipeline needs to verify the checksum. Saves around 30% CPU on intermediate datanodes. (rangadi) HADOOP-3863. Use a thread-local string encoder rather than a static one that is protected by a lock. (acmurthy via omalley) HADOOP-3864. Prevent the JobTracker from locking up when a job is being initialized. (acmurthy via omalley) HADOOP-3816. Faster directory listing in KFS. (Sriram Rao via omalley) HADOOP-2130. Pipes submit job should have both blocking and non-blocking versions. (acmurthy via omalley) HADOOP-3769. Make the SampleMapper and SampleReducer from GenericMRLoadGenerator public, so they can be used in other contexts. (Lingyun Yang via omalley) HADOOP-3514. Inline the CRCs in intermediate files as opposed to reading it from a different .crc file. (Jothi Padmanabhan via ddas) HADOOP-3638. Caches the iFile index files in memory to reduce seeks (Jothi Padmanabhan via ddas) HADOOP-4225. FSEditLog.logOpenFile() should persist accessTime rather than modificationTime. (shv) HADOOP-4380. Made several new classes (Child, JVMId, JobTrackerInstrumentation, QueueManager, ResourceEstimator, TaskTrackerInstrumentation, and TaskTrackerMetricsInst) in org.apache.hadoop.mapred package private instead of public. (omalley) BUG FIXES HADOOP-3563. Refactor the distributed upgrade code so that it is easier to identify datanode and namenode related code. (dhruba) HADOOP-3640. Fix the read method in the NativeS3InputStream. (tomwhite via omalley) HADOOP-3711. Fixes the Streaming input parsing to properly find the separator. (Amareshwari Sriramadasu via ddas) HADOOP-3725. Prevent TestMiniMRMapDebugScript from swallowing exceptions. (Steve Loughran via cdouglas) HADOOP-3726. Throw exceptions from TestCLI setup and teardown instead of swallowing them. (Steve Loughran via cdouglas) HADOOP-3721. Refactor CompositeRecordReader and related mapred.join classes to make them clearer. (cdouglas) HADOOP-3720. Re-read the config file when dfsadmin -refreshNodes is invoked so dfs.hosts and dfs.hosts.exclude are observed. (lohit vijayarenu via cdouglas) HADOOP-3485. Allow writing to files over fuse. (Pete Wyckoff via dhruba) HADOOP-3723. The flags to the libhdfs.create call can be treated as a bitmask. (Pete Wyckoff via dhruba) HADOOP-3643. Filter out completed tasks when asking for running tasks in the JobTracker web/ui. (Amar Kamat via omalley) HADOOP-3777. Ensure that Lzo compressors/decompressors correctly handle the case where native libraries aren't available. (Chris Douglas via acmurthy) HADOOP-3728. Fix SleepJob so that it doesn't depend on temporary files, this ensures we can now run more than one instance of SleepJob simultaneously. (Chris Douglas via acmurthy) HADOOP-3795. Fix saving image files on Namenode with different checkpoint stamps. (Lohit Vijayarenu via mahadev) HADOOP-3624. Improving createeditslog to create tree directory structure. (Lohit Vijayarenu via mahadev) HADOOP-3778. DFSInputStream.seek() did not retry in case of some errors. (LN via rangadi) HADOOP-3661. The handling of moving files deleted through fuse-dfs to Trash made similar to the behaviour from dfs shell. (Pete Wyckoff via dhruba) HADOOP-3819. Unset LANG and LC_CTYPE in saveVersion.sh to make it compatible with non-English locales. (Rong-En Fan via cdouglas) HADOOP-3848. Cache calls to getSystemDir in the TaskTracker instead of calling it for each task start. (acmurthy via omalley) HADOOP-3131. Fix reduce progress reporting for compressed intermediate data. (Matei Zaharia via acmurthy) HADOOP-3796. fuse-dfs configuration is implemented as file system mount options. (Pete Wyckoff via dhruba) HADOOP-3836. Fix TestMultipleOutputs to correctly clean up. (Alejandro Abdelnur via acmurthy) HADOOP-3805. Improve fuse-dfs write performance. (Pete Wyckoff via zshao) HADOOP-3846. Fix unit test CreateEditsLog to generate paths correctly. (Lohit Vjayarenu via cdouglas) HADOOP-3904. Fix unit tests using the old dfs package name. (TszWo (Nicholas), SZE via johan) HADOOP-3319. Fix some HOD error messages to go stderr instead of stdout. (Vinod Kumar Vavilapalli via omalley) HADOOP-3907. Move INodeDirectoryWithQuota to its own .java file. (Tsz Wo (Nicholas), SZE via hairong) HADOOP-3919. Fix attribute name in hadoop-default for mapred.jobtracker.instrumentation. (Ari Rabkin via omalley) HADOOP-3903. Change the package name for the servlets to be hdfs instead of dfs. (Tsz Wo (Nicholas) Sze via omalley) HADOOP-3773. Change Pipes to set the default map output key and value types correctly. (Koji Noguchi via omalley) HADOOP-3952. Fix compilation error in TestDataJoin referencing dfs package. (omalley) HADOOP-3951. Fix package name for FSNamesystem logs and modify other hard-coded Logs to use the class name. (cdouglas) HADOOP-3889. Improve error reporting from HftpFileSystem, handling in DistCp. (Tsz Wo (Nicholas), SZE via cdouglas) HADOOP-3946. Fix TestMapRed after hadoop-3664. (tomwhite via omalley) HADOOP-3949. Remove duplicate jars from Chukwa. (Jerome Boulon via omalley) HADOOP-3933. DataNode sometimes sends up to io.byte.per.checksum bytes more than required to client. (Ning Li via rangadi) HADOOP-3962. Shell command "fs -count" should support paths with different file systems. (Tsz Wo (Nicholas), SZE via mahadev) HADOOP-3957. Fix javac warnings in DistCp and TestCopyFiles. (Tsz Wo (Nicholas), SZE via cdouglas) HADOOP-3958. Fix TestMapRed to check the success of test-job. (omalley via acmurthy) HADOOP-3985. Fix TestHDFSServerPorts to use random ports. (Hairong Kuang via omalley) HADOOP-3964. Fix javadoc warnings introduced by FailMon. (dhruba) HADOOP-3785. Fix FileSystem cache to be case-insensitive for scheme and authority. (Bill de hOra via cdouglas) HADOOP-3506. Fix a rare NPE caused by error handling in S3. (Tom White via cdouglas) HADOOP-3705. Fix mapred.join parser to accept InputFormats named with underscore and static, inner classes. (cdouglas) HADOOP-4023. Fix javadoc warnings introduced when the HDFS javadoc was made private. (omalley) HADOOP-4030. Remove lzop from the default list of codecs. (Arun Murthy via cdouglas) HADOOP-3961. Fix task disk space requirement estimates for virtual input jobs. Delays limiting task placement until after 10% of the maps have finished. (Ari Rabkin via omalley) HADOOP-2168. Fix problem with C++ record reader's progress not being reported to framework. (acmurthy via omalley) HADOOP-3966. Copy findbugs generated output files to PATCH_DIR while running test-patch. (Ramya R via lohit) HADOOP-4037. Fix the eclipse plugin for versions of kfs and log4j. (nigel via omalley) HADOOP-3950. Cause the Mini MR cluster to wait for task trackers to register before continuing. (enis via omalley) HADOOP-3910. Remove unused ClusterTestDFSNamespaceLogging and ClusterTestDFS. (Tsz Wo (Nicholas), SZE via cdouglas) HADOOP-3954. Disable record skipping by default. (Sharad Agarwal via cdouglas) HADOOP-4050. Fix TestFairScheduler to use absolute paths for the work directory. (Matei Zaharia via omalley) HADOOP-4069. Keep temporary test files from TestKosmosFileSystem under test.build.data instead of /tmp. (lohit via omalley) HADOOP-4078. Create test files for TestKosmosFileSystem in separate directory under test.build.data. (lohit) HADOOP-3968. Fix getFileBlockLocations calls to use FileStatus instead of Path reflecting the new API. (Pete Wyckoff via lohit) HADOOP-3963. libhdfs does not exit on its own, instead it returns error to the caller and behaves as a true library. (Pete Wyckoff via dhruba) HADOOP-4100. Removes the cleanupTask scheduling from the Scheduler implementations and moves it to the JobTracker. (Amareshwari Sriramadasu via ddas) HADOOP-4097. Make hive work well with speculative execution turned on. (Joydeep Sen Sarma via dhruba) HADOOP-4113. Changes to libhdfs to not exit on its own, rather return an error code to the caller. (Pete Wyckoff via dhruba) HADOOP-4054. Remove duplicate lease removal during edit log loading. (hairong) HADOOP-4071. FSNameSystem.isReplicationInProgress should add an underReplicated block to the neededReplication queue using method "add" not "update". (hairong) HADOOP-4154. Fix type warnings in WritableUtils. (szetszwo via omalley) HADOOP-4133. Log files generated by Hive should reside in the build directory. (Prasad Chakka via dhruba) HADOOP-4094. Hive now has hive-default.xml and hive-site.xml similar to core hadoop. (Prasad Chakka via dhruba) HADOOP-4112. Handles cleanupTask in JobHistory (Amareshwari Sriramadasu via ddas) HADOOP-3831. Very slow reading clients sometimes failed while reading. (rangadi) HADOOP-4155. Use JobTracker's start time while initializing JobHistory's JobTracker Unique String. (lohit) HADOOP-4099. Fix null pointer when using HFTP from an 0.18 server. (dhruba via omalley) HADOOP-3570. Includes user specified libjar files in the client side classpath path. (Sharad Agarwal via ddas) HADOOP-4129. Changed memory limits of TaskTracker and Tasks to be in KiloBytes rather than bytes. (Vinod Kumar Vavilapalli via acmurthy) HADOOP-4139. Optimize Hive multi group-by. (Namin Jain via dhruba) HADOOP-3911. Add a check to fsck options to make sure -files is not the first option to resolve conflicts with GenericOptionsParser (lohit) HADOOP-3623. Refactor LeaseManager. (szetszwo) HADOOP-4125. Handles Reduce cleanup tip on the web ui. (Amareshwari Sriramadasu via ddas) HADOOP-4087. Hive Metastore API for php and python clients. (Prasad Chakka via dhruba) HADOOP-4197. Update DATA_TRANSFER_VERSION for HADOOP-3981. (szetszwo) HADOOP-4138. Refactor the Hive SerDe library to better structure the interfaces to the serializer and de-serializer. (Zheng Shao via dhruba) HADOOP-4195. Close compressor before returning to codec pool. (acmurthy via omalley) HADOOP-2403. Escapes some special characters before logging to history files. (Amareshwari Sriramadasu via ddas) HADOOP-4200. Fix a bug in the test-patch.sh script. (Ramya R via nigel) HADOOP-4084. Add explain plan capabilities to Hive Query Language. (Ashish Thusoo via dhruba) HADOOP-4121. Preserve cause for exception if the initialization of HistoryViewer for JobHistory fails. (Amareshwari Sri Ramadasu via acmurthy) HADOOP-4213. Fixes NPE in TestLimitTasksPerJobTaskScheduler. (Sreekanth Ramakrishnan via ddas) HADOOP-4077. Setting access and modification time for a file requires write permissions on the file. (dhruba) HADOOP-3592. Fix a couple of possible file leaks in FileUtil (Bill de hOra via rangadi) HADOOP-4120. Hive interactive shell records the time taken by a query. (Raghotham Murthy via dhruba) HADOOP-4090. The hive scripts pick up hadoop from HADOOP_HOME and then the path. (Raghotham Murthy via dhruba) HADOOP-4242. Remove extra ";" in FSDirectory that blocks compilation in some IDE's. (szetszwo via omalley) HADOOP-4249. Fix eclipse path to include the hsqldb.jar. (szetszwo via omalley) HADOOP-4247. Move InputSampler into org.apache.hadoop.mapred.lib, so that examples.jar doesn't depend on tools.jar. (omalley) HADOOP-4269. Fix the deprecation of LineReader by extending the new class into the old name and deprecating it. Also update the tests to test the new class. (cdouglas via omalley) HADOOP-4280. Fix conversions between seconds in C and milliseconds in Java for access times for files. (Pete Wyckoff via rangadi) HADOOP-4254. -setSpaceQuota command does not convert "TB" extenstion to terabytes properly. Implementation now uses StringUtils for parsing this. (Raghu Angadi) HADOOP-4259. Findbugs should run over tools.jar also. (cdouglas via omalley) HADOOP-4275. Move public method isJobValidName from JobID to a private method in JobTracker. (omalley) HADOOP-4173. fix failures in TestProcfsBasedProcessTree and TestTaskTrackerMemoryManager tests. ProcfsBasedProcessTree and memory management in TaskTracker are disabled on Windows. (Vinod K V via rangadi) HADOOP-4189. Fixes the history blocksize & intertracker protocol version issues introduced as part of HADOOP-3245. (Amar Kamat via ddas) HADOOP-4190. Fixes the backward compatibility issue with Job History. introduced by HADOOP-3245 and HADOOP-2403. (Amar Kamat via ddas) HADOOP-4237. Fixes the TestStreamingBadRecords.testNarrowDown testcase. (Sharad Agarwal via ddas) HADOOP-4274. Capacity scheduler accidently modifies the underlying data structures when browing the job lists. (Hemanth Yamijala via omalley) HADOOP-4309. Fix eclipse-plugin compilation. (cdouglas) HADOOP-4232. Fix race condition in JVM reuse when multiple slots become free. (ddas via acmurthy) HADOOP-4302. Fix a race condition in TestReduceFetch that can yield false negatvies. (cdouglas) HADOOP-3942. Update distcp documentation to include features introduced in HADOOP-3873, HADOOP-3939. (Tsz Wo (Nicholas), SZE via cdouglas) HADOOP-4319. fuse-dfs dfs_read function returns as many bytes as it is told to read unlesss end-of-file is reached. (Pete Wyckoff via dhruba) HADOOP-4246. Ensure we have the correct lower bound on the number of retries for fetching map-outputs; also fixed the case where the reducer automatically kills on too many unique map-outputs could not be fetched for small jobs. (Amareshwari Sri Ramadasu via acmurthy) HADOOP-4163. Report FSErrors from map output fetch threads instead of merely logging them. (Sharad Agarwal via cdouglas) HADOOP-4261. Adds a setup task for jobs. This is required so that we don't setup jobs that haven't been inited yet (since init could lead to job failure). Only after the init has successfully happened do we launch the setupJob task. (Amareshwari Sriramadasu via ddas) HADOOP-4256. Removes Completed and Failed Job tables from jobqueue_details.jsp. (Sreekanth Ramakrishnan via ddas) HADOOP-4267. Occasional exceptions during shutting down HSQLDB is logged but not rethrown. (enis) HADOOP-4018. The number of tasks for a single job cannot exceed a pre-configured maximum value. (dhruba) HADOOP-4288. Fixes a NPE problem in CapacityScheduler. (Amar Kamat via ddas) HADOOP-4014. Create hard links with 'fsutil hardlink' on Windows. (shv) HADOOP-4393. Merged org.apache.hadoop.fs.permission.AccessControlException and org.apache.hadoop.security.AccessControlIOException into a single class hadoop.security.AccessControlException. (omalley via acmurthy) HADOOP-4287. Fixes an issue to do with maintaining counts of running/pending maps/reduces. (Sreekanth Ramakrishnan via ddas) HADOOP-4361. Makes sure that jobs killed from command line are killed fast (i.e., there is a slot to run the cleanup task soon). (Amareshwari Sriramadasu via ddas) HADOOP-4400. Add "hdfs://" to fs.default.name on quickstart.html. (Jeff Hammerbacher via omalley) HADOOP-4378. Fix TestJobQueueInformation to use SleepJob rather than WordCount via TestMiniMRWithDFS. (Sreekanth Ramakrishnan via acmurthy) HADOOP-4376. Fix formatting in hadoop-default.xml for hadoop.http.filter.initializers. (Enis Soztutar via acmurthy) HADOOP-4410. Adds an extra arg to the API FileUtil.makeShellPath to determine whether to canonicalize file paths or not. (Amareshwari Sriramadasu via ddas) HADOOP-4236. Ensure un-initialized jobs are killed correctly on user-demand. (Sharad Agarwal via acmurthy) HADOOP-4373. Fix calculation of Guaranteed Capacity for the capacity-scheduler. (Hemanth Yamijala via acmurthy) HADOOP-4053. Schedulers must be notified when jobs complete. (Amar Kamat via omalley) HADOOP-4335. Fix FsShell -ls for filesystems without owners/groups. (David Phillips via cdouglas) HADOOP-4426. TestCapacityScheduler broke due to the two commits HADOOP-4053 and HADOOP-4373. This patch fixes that. (Hemanth Yamijala via ddas) HADOOP-4418. Updates documentation in forrest for Mapred, streaming and pipes. (Amareshwari Sriramadasu via ddas) HADOOP-3155. Ensure that there is only one thread fetching TaskCompletionEvents on TaskTracker re-init. (Dhruba Borthakur via acmurthy) HADOOP-4425. Fix EditLogInputStream to overload the bulk read method. (cdouglas) HADOOP-4427. Adds the new queue/job commands to the manual. (Sreekanth Ramakrishnan via ddas) HADOOP-4278. Increase debug logging for unit test TestDatanodeDeath. Fix the case when primary is dead. (dhruba via szetszwo) HADOOP-4423. Keep block length when the block recovery is triggered by append. (szetszwo) HADOOP-4449. Fix dfsadmin usage. (Raghu Angadi via cdouglas) HADOOP-4455. Added TestSerDe so that unit tests can run successfully. (Ashish Thusoo via dhruba) HADOOP-4457. Fixes an input split logging problem introduced by HADOOP-3245. (Amareshwari Sriramadasu via ddas) HADOOP-4464. Separate out TestFileCreationClient from TestFileCreation. (Tsz Wo (Nicholas), SZE via cdouglas) HADOOP-4404. saveFSImage() removes files from a storage directory that do not correspond to its type. (shv) HADOOP-4149. Fix handling of updates to the job priority, by changing the list of jobs to be keyed by the priority, submit time, and job tracker id. (Amar Kamat via omalley) HADOOP-4296. Fix job client failures by not retiring a job as soon as it is finished. (dhruba) HADOOP-4439. Remove configuration variables that aren't usable yet, in particular mapred.tasktracker.tasks.maxmemory and mapred.task.max.memory. (Hemanth Yamijala via omalley) HADOOP-4230. Fix for serde2 interface, limit operator, select * operator, UDF trim functions and sampling. (Ashish Thusoo via dhruba) HADOOP-4358. No need to truncate access time in INode. Also fixes NPE in CreateEditsLog. (Raghu Angadi) HADOOP-4387. TestHDFSFileSystemContract fails on windows nightly builds. (Raghu Angadi) HADOOP-4466. Ensure that SequenceFileOutputFormat isn't tied to Writables and can be used with other Serialization frameworks. (Chris Wensel via acmurthy) HADOOP-4525. Fix ipc.server.ipcnodelay originally missed in in HADOOP-2232. (cdouglas via Clint Morgan) HADOOP-4498. Ensure that JobHistory correctly escapes the job name so that regex patterns work. (Chris Wensel via acmurthy) HADOOP-4446. Modify guaranteed capacity labels in capacity scheduler's UI to reflect the information being displayed. (Sreekanth Ramakrishnan via yhemanth) HADOOP-4282. Some user facing URLs are not filtered by user filters. (szetszwo) HADOOP-4595. Fixes two race conditions - one to do with updating free slot count, and another to do with starting the MapEventsFetcher thread. (ddas) HADOOP-4552. Fix a deadlock in RPC server. (Raghu Angadi) HADOOP-4471. Sort running jobs by priority in the capacity scheduler. (Amar Kamat via yhemanth) HADOOP-4500. Fix MultiFileSplit to get the FileSystem from the relevant path rather than the JobClient. (Joydeep Sen Sarma via cdouglas) Release 0.18.4 - Unreleased BUG FIXES HADOOP-5114. Remove timeout for accept() in DataNode. This makes accept() fail in JDK on Windows and causes many tests to fail. (Raghu Angadi) HADOOP-5192. Block receiver should not remove a block that's created or being written by other threads. (hairong) HADOOP-5134. FSNamesystem#commitBlockSynchronization adds under-construction block locations to blocksMap. (Dhruba Borthakur via hairong) HADOOP-5412. Simulated DataNode should not write to a block that's being written by another thread. (hairong) HADOOP-5465. Fix the problem of blocks remaining under-replicated by providing synchronized modification to the counter xmitsInProgress in DataNode. (hairong) HADOOP-5557. Fixes some minor problems in TestOverReplicatedBlocks. (szetszwo) HADOOP-5644. Namenode is stuck in safe mode. (suresh Srinivas via hairong) HADOOP-6017. Lease Manager in NameNode does not handle certain characters in filenames. This results in fatal errors in Secondary NameNode and while restrating NameNode. (Tsz Wo (Nicholas), SZE via rangadi) Release 0.18.3 - 2009-01-27 IMPROVEMENTS HADOOP-4150. Include librecordio in hadoop releases. (Giridharan Kesavan via acmurthy) HADOOP-4668. Improve documentation for setCombinerClass to clarify the restrictions on combiners. (omalley) BUG FIXES HADOOP-4499. DFSClient should invoke checksumOk only once. (Raghu Angadi) HADOOP-4597. Calculate mis-replicated blocks when safe-mode is turned off manually. (shv) HADOOP-3121. lsr should keep listing the remaining items but not terminate if there is any IOException. (szetszwo) HADOOP-4610. Always calculate mis-replicated blocks when safe-mode is turned off. (shv) HADOOP-3883. Limit namenode to assign at most one generation stamp for a particular block within a short period. (szetszwo) HADOOP-4556. Block went missing. (hairong) HADOOP-4643. NameNode should exclude excessive replicas when counting live replicas for a block. (hairong) HADOOP-4703. Should not wait for proxy forever in lease recovering. (szetszwo) HADOOP-4647. NamenodeFsck should close the DFSClient it has created. (szetszwo) HADOOP-4616. Fuse-dfs can handle bad values from FileSystem.read call. (Pete Wyckoff via dhruba) HADOOP-4061. Throttle Datanode decommission monitoring in Namenode. (szetszwo) HADOOP-4659. Root cause of connection failure is being lost to code that uses it for delaying startup. (Steve Loughran and Hairong via hairong) HADOOP-4614. Lazily open segments when merging map spills to avoid using too many file descriptors. (Yuri Pradkin via cdouglas) HADOOP-4257. The DFS client should pick only one datanode as the candidate to initiate lease recovery. (Tsz Wo (Nicholas), SZE via dhruba) HADOOP-4713. Fix librecordio to handle records larger than 64k. (Christian Kunz via cdouglas) HADOOP-4635. Fix a memory leak in fuse dfs. (pete wyckoff via mahadev) HADOOP-4714. Report status between merges and make the number of records between progress reports configurable. (Jothi Padmanabhan via cdouglas) HADOOP-4726. Fix documentation typos "the the". (Edward J. Yoon via szetszwo) HADOOP-4679. Datanode prints tons of log messages: waiting for threadgroup to exit, active threads is XX. (hairong) HADOOP-4746. Job output directory should be normalized. (hairong) HADOOP-4717. Removal of default port# in NameNode.getUri() causes a map/reduce job failed to prompt temporary output. (hairong) HADOOP-4778. Check for zero size block meta file when updating a block. (szetszwo) HADOOP-4742. Replica gets deleted by mistake. (Wang Xu via hairong) HADOOP-4702. Failed block replication leaves an incomplete block in receiver's tmp data directory. (hairong) HADOOP-4613. Fix block browsing on Web UI. (Johan Oskarsson via shv) HADOOP-4806. HDFS rename should not use src path as a regular expression. (szetszwo) HADOOP-4795. Prevent lease monitor getting into an infinite loop when leases and the namespace tree does not match. (szetszwo) HADOOP-4620. Fixes Streaming to handle well the cases of map/reduce with empty input/output. (Ravi Gummadi via ddas) HADOOP-4857. Fixes TestUlimit to have exactly 1 map in the jobs spawned. (Ravi Gummadi via ddas) HADOOP-4810. Data lost at cluster startup time. (hairong) HADOOP-4797. Improve how RPC server reads and writes large buffers. Avoids soft-leak of direct buffers and excess copies in NIO layer. (Raghu Angadi) HADOOP-4840. TestNodeCount sometimes fails with NullPointerException. (hairong) HADOOP-4904. Fix deadlock while leaving safe mode. (shv) HADOOP-1980. 'dfsadmin -safemode enter' should prevent the namenode from leaving safemode automatically. (shv) HADOOP-4951. Lease monitor should acquire the LeaseManager lock but not the Monitor lock. (szetszwo) HADOOP-4935. processMisReplicatedBlocks() should not clear excessReplicateMap. (shv) HADOOP-4961. Fix ConcurrentModificationException in lease recovery of empty files. (shv) HADOOP-4971. A long (unexpected) delay at datanodes could make subsequent block reports from many datanode at the same time. (Raghu Angadi) HADOOP-4910. NameNode should exclude replicas when choosing excessive replicas to delete to avoid data lose. (hairong) HADOOP-4983. Fixes a problem in updating Counters in the status reporting. (Amareshwari Sriramadasu via ddas) Release 0.18.2 - 2008-11-03 BUG FIXES HADOOP-3614. Fix a bug that Datanode may use an old GenerationStamp to get meta file. (szetszwo) HADOOP-4314. Simulated datanodes should not include blocks that are still being written in their block report. (Raghu Angadi) HADOOP-4228. dfs datanode metrics, bytes_read and bytes_written, overflow due to incorrect type used. (hairong) HADOOP-4395. The FSEditLog loading is incorrect for the case OP_SET_OWNER. (szetszwo) HADOOP-4351. FSNamesystem.getBlockLocationsInternal throws ArrayIndexOutOfBoundsException. (hairong) HADOOP-4403. Make TestLeaseRecovery and TestFileCreation more robust. (szetszwo) HADOOP-4292. Do not support append() for LocalFileSystem. (hairong) HADOOP-4399. Make fuse-dfs multi-thread access safe. (Pete Wyckoff via dhruba) HADOOP-4369. Use setMetric(...) instead of incrMetric(...) for metrics averages. (Brian Bockelman via szetszwo) HADOOP-4469. Rename and add the ant task jar file to the tar file. (nigel) HADOOP-3914. DFSClient sends Checksum Ok only once for a block. (Christian Kunz via hairong) HADOOP-4467. SerializationFactory now uses the current context ClassLoader allowing for user supplied Serialization instances. (Chris Wensel via acmurthy) HADOOP-4517. Release FSDataset lock before joining ongoing create threads. (szetszwo) HADOOP-4526. fsck failing with NullPointerException. (hairong) HADOOP-4483 Honor the max parameter in DatanodeDescriptor.getBlockArray(..) (Ahad Rana and Hairong Kuang via szetszwo) HADOOP-4340. Correctly set the exit code from JobShell.main so that the 'hadoop jar' command returns the right code to the user. (acmurthy) NEW FEATURES HADOOP-2421. Add jdiff output to documentation, listing all API changes from the prior release. (cutting) Release 0.18.1 - 2008-09-17 IMPROVEMENTS HADOOP-3934. Upgrade log4j to 1.2.15. (omalley) BUG FIXES HADOOP-3995. In case of quota failure on HDFS, rename does not restore source filename. (rangadi) HADOOP-3821. Prevent SequenceFile and IFile from duplicating codecs in CodecPool when closed more than once. (Arun Murthy via cdouglas) HADOOP-4040. Remove coded default of the IPC idle connection timeout from the TaskTracker, which was causing HDFS client connections to not be collected. (ddas via omalley) HADOOP-4046. Made WritableComparable's constructor protected instead of private to re-enable class derivation. (cdouglas via omalley) HADOOP-3940. Fix in-memory merge condition to wait when there are no map outputs or when the final map outputs are being fetched without contention. (cdouglas) Release 0.18.0 - 2008-08-19 INCOMPATIBLE CHANGES HADOOP-2703. The default options to fsck skips checking files that are being written to. The output of fsck is incompatible with previous release. (lohit vijayarenu via dhruba) HADOOP-2865. FsShell.ls() printout format changed to print file names in the end of the line. (Edward J. Yoon via shv) HADOOP-3283. The Datanode has a RPC server. It currently supports two RPCs: the first RPC retrives the metadata about a block and the second RPC sets the generation stamp of an existing block. (Tsz Wo (Nicholas), SZE via dhruba) HADOOP-2797. Code related to upgrading to 0.14 (Block CRCs) is removed. As result, upgrade to 0.18 or later from 0.13 or earlier is not supported. If upgrading from 0.13 or earlier is required, please upgrade to an intermediate version (0.14-0.17) and then to this version. (rangadi) HADOOP-544. This issue introduces new classes JobID, TaskID and TaskAttemptID, which should be used instead of their string counterparts. Functions in JobClient, TaskReport, RunningJob, jobcontrol.Job and TaskCompletionEvent that use string arguments are deprecated in favor of the corresponding ones that use ID objects. Applications can use xxxID.toString() and xxxID.forName() methods to convert/restore objects to/from strings. (Enis Soztutar via ddas) HADOOP-2188. RPC client sends a ping rather than throw timeouts. RPC server does not throw away old RPCs. If clients and the server are on different versions, they are not able to function well. In addition, The property ipc.client.timeout is removed from the default hadoop configuration. It also removes metrics RpcOpsDiscardedOPsNum. (hairong) HADOOP-2181. This issue adds logging for input splits in Jobtracker log and jobHistory log. Also adds web UI for viewing input splits in job UI and history UI. (Amareshwari Sriramadasu via ddas) HADOOP-3226. Run combiners multiple times over map outputs as they are merged in both the map and the reduce tasks. (cdouglas via omalley) HADOOP-3329. DatanodeDescriptor objects should not be stored in the fsimage. (dhruba) HADOOP-2656. The Block object has a generation stamp inside it. Existing blocks get a generation stamp of 0. This is needed to support appends. (dhruba) HADOOP-3390. Removed deprecated ClientProtocol.abandonFileInProgress(). (Tsz Wo (Nicholas), SZE via rangadi) HADOOP-3405. Made some map/reduce internal classes non-public: MapTaskStatus, ReduceTaskStatus, JobSubmissionProtocol, CompletedJobStatusStore. (enis via omaley) HADOOP-3265. Removed depcrecated API getFileCacheHints(). (Lohit Vijayarenu via rangadi) HADOOP-3310. The namenode instructs the primary datanode to do lease recovery. The block gets a new generation stamp. (Tsz Wo (Nicholas), SZE via dhruba) HADOOP-2909. Improve IPC idle connection management. Property ipc.client.maxidletime is removed from the default configuration, instead it is defined as twice of the ipc.client.connection.maxidletime. A connection with outstanding requests won't be treated as idle. (hairong) HADOOP-3459. Change in the output format of dfs -ls to more closely match /bin/ls. New format is: perm repl owner group size date name (Mukund Madhugiri via omally) HADOOP-3113. An fsync invoked on a HDFS file really really persists data! The datanode moves blocks in the tmp directory to the real block directory on a datanode-restart. (dhruba) HADOOP-3452. Change fsck to return non-zero status for a corrupt FileSystem. (lohit vijayarenu via cdouglas) HADOOP-3193. Include the address of the client that found the corrupted block in the log. Also include a CorruptedBlocks metric to track the size of the corrupted block map. (cdouglas) HADOOP-3512. Separate out the tools into a tools jar. (omalley) HADOOP-3598. Ensure that temporary task-output directories are not created if they are not necessary e.g. for Maps with no side-effect files. (acmurthy) HADOOP-3665. Modify WritableComparator so that it only creates instances of the keytype if the type does not define a WritableComparator. Calling the superclass compare will throw a NullPointerException. Also define a RawComparator for NullWritable and permit it to be written as a key to SequenceFiles. (cdouglas) HADOOP-3673. Avoid deadlock caused by DataNode RPC receoverBlock(). (Tsz Wo (Nicholas), SZE via rangadi) NEW FEATURES HADOOP-3074. Provides a UrlStreamHandler for DFS and other FS, relying on FileSystem (taton) HADOOP-2585. Name-node imports namespace data from a recent checkpoint accessible via a NFS mount. (shv) HADOOP-3061. Writable types for doubles and bytes. (Andrzej Bialecki via omalley) HADOOP-2857. Allow libhdfs to set jvm options. (Craig Macdonald via omalley) HADOOP-3317. Add default port for HDFS namenode. The port in "hdfs:" URIs now defaults to 8020, so that one may simply use URIs of the form "hdfs://example.com/dir/file". (cutting) HADOOP-2019. Adds support for .tar, .tgz and .tar.gz files in DistributedCache (Amareshwari Sriramadasu via ddas) HADOOP-3058. Add FSNamesystem status metrics. (Lohit Vjayarenu via rangadi) HADOOP-1915. Allow users to specify counters via strings instead of enumerations. (tomwhite via omalley) HADOOP-2065. Delay invalidating corrupt replicas of block until its is removed from under replicated state. If all replicas are found to be corrupt, retain all copies and mark the block as corrupt. (Lohit Vjayarenu via rangadi) HADOOP-3221. Adds org.apache.hadoop.mapred.lib.NLineInputFormat, which splits files into splits each of N lines. N can be specified by configuration property "mapred.line.input.format.linespermap", which defaults to 1. (Amareshwari Sriramadasu via ddas) HADOOP-3336. Direct a subset of annotated FSNamesystem calls for audit logging. (cdouglas) HADOOP-3400. A new API FileSystem.deleteOnExit() that facilitates handling of temporary files in HDFS. (dhruba) HADOOP-4. Add fuse-dfs to contrib, permitting one to mount an HDFS filesystem on systems that support FUSE, e.g., Linux. (Pete Wyckoff via cutting) HADOOP-3246. Add FTPFileSystem. (Ankur Goel via cutting) HADOOP-3250. Extend FileSystem API to allow appending to files. (Tsz Wo (Nicholas), SZE via cdouglas) HADOOP-3177. Implement Syncable interface for FileSystem. (Tsz Wo (Nicholas), SZE via dhruba) HADOOP-1328. Implement user counters in streaming. (tomwhite via omalley) HADOOP-3187. Quotas for namespace management. (Hairong Kuang via ddas) HADOOP-3307. Support for Archives in Hadoop. (Mahadev Konar via ddas) HADOOP-3460. Add SequenceFileAsBinaryOutputFormat to permit direct writes of serialized data. (Koji Noguchi via cdouglas) HADOOP-3230. Add ability to get counter values from command line. (tomwhite via omalley) HADOOP-930. Add support for native S3 files. (tomwhite via cutting) HADOOP-3502. Quota API needs documentation in Forrest. (hairong) HADOOP-3413. Allow SequenceFile.Reader to use serialization framework. (tomwhite via omalley) HADOOP-3541. Import of the namespace from a checkpoint documented in hadoop user guide. (shv) IMPROVEMENTS HADOOP-3677. Simplify generation stamp upgrade by making is a local upgrade on datandodes. Deleted distributed upgrade. (rangadi) HADOOP-2928. Remove deprecated FileSystem.getContentLength(). (Lohit Vijayarenu via rangadi) HADOOP-3130. Make the connect timeout smaller for getFile. (Amar Ramesh Kamat via ddas) HADOOP-3160. Remove deprecated exists() from ClientProtocol and FSNamesystem (Lohit Vjayarenu via rangadi) HADOOP-2910. Throttle IPC Clients during bursts of requests or server slowdown. Clients retry connection for up to 15 minutes when socket connection times out. (hairong) HADOOP-3295. Allow TextOutputFormat to use configurable spearators. (Zheng Shao via cdouglas). HADOOP-3308. Improve QuickSort by excluding values eq the pivot from the partition. (cdouglas) HADOOP-2461. Trim property names in configuration. (Tsz Wo (Nicholas), SZE via shv) HADOOP-2799. Deprecate o.a.h.io.Closable in favor of java.io.Closable. (Tsz Wo (Nicholas), SZE via cdouglas) HADOOP-3345. Enhance the hudson-test-patch target to cleanup messages, fix minor defects, and add eclipse plugin and python unit tests. (nigel) HADOOP-3144. Improve robustness of LineRecordReader by defining a maximum line length (mapred.linerecordreader.maxlength), thereby avoiding reading too far into the following split. (Zheng Shao via cdouglas) HADOOP-3334. Move lease handling from FSNamesystem into a seperate class. (Tsz Wo (Nicholas), SZE via rangadi) HADOOP-3332. Reduces the amount of logging in Reducer's shuffle phase. (Devaraj Das) HADOOP-3355. Enhances Configuration class to accept hex numbers for getInt and getLong. (Amareshwari Sriramadasu via ddas) HADOOP-3350. Add an argument to distcp to permit the user to limit the number of maps. (cdouglas) HADOOP-3013. Add corrupt block reporting to fsck. (lohit vijayarenu via cdouglas) HADOOP-3377. Remove TaskRunner::replaceAll and replace with equivalent String::replace. (Brice Arnould via cdouglas) HADOOP-3398. Minor improvement to a utility function in that participates in backoff calculation. (cdouglas) HADOOP-3381. Clear referenced when directories are deleted so that effect of memory leaks are not multiplied. (rangadi) HADOOP-2867. Adds the task's CWD to its LD_LIBRARY_PATH. (Amareshwari Sriramadasu via ddas) HADOOP-3232. DU class runs the 'du' command in a seperate thread so that it does not block user. DataNode misses heartbeats in large nodes otherwise. (Johan Oskarsson via rangadi) HADOOP-3035. During block transfers between datanodes, the receiving datanode, now can report corrupt replicas received from src node to the namenode. (Lohit Vijayarenu via rangadi) HADOOP-3434. Retain the cause of the bind failure in Server::bind. (Steve Loughran via cdouglas) HADOOP-3429. Increases the size of the buffers used for the communication for Streaming jobs. (Amareshwari Sriramadasu via ddas) HADOOP-3486. Change default for initial block report to 0 seconds and document it. (Sanjay Radia via omalley) HADOOP-3448. Improve the text in the assertion making sure the layout versions are consistent in the data node. (Steve Loughran via omalley) HADOOP-2095. Improve the Map-Reduce shuffle/merge by cutting down buffer-copies; changed intermediate sort/merge to use the new IFile format rather than SequenceFiles and compression of map-outputs is now implemented by compressing the entire file rather than SequenceFile compression. Shuffle also has been changed to use a simple byte-buffer manager rather than the InMemoryFileSystem. Configuration changes to hadoop-default.xml: deprecated mapred.map.output.compression.type (acmurthy) HADOOP-236. JobTacker now refuses connection from a task tracker with a different version number. (Sharad Agarwal via ddas) HADOOP-3427. Improves the shuffle scheduler. It now waits for notifications from shuffle threads when it has scheduled enough, before scheduling more. (ddas) HADOOP-2393. Moves the handling of dir deletions in the tasktracker to a separate thread. (Amareshwari Sriramadasu via ddas) HADOOP-3501. Deprecate InMemoryFileSystem. (cutting via omalley) HADOOP-3366. Stall the shuffle while in-memory merge is in progress. (acmurthy) HADOOP-2916. Refactor src structure, but leave package structure alone. (Raghu Angadi via mukund) HADOOP-3492. Add forrest documentation for user archives. (Mahadev Konar via hairong) HADOOP-3467. Improve documentation for FileSystem::deleteOnExit. (Tsz Wo (Nicholas), SZE via cdouglas) HADOOP-3379. Documents stream.non.zero.exit.status.is.failure for Streaming. (Amareshwari Sriramadasu via ddas) HADOOP-3096. Improves documentation about the Task Execution Environment in the Map-Reduce tutorial. (Amareshwari Sriramadasu via ddas) HADOOP-2984. Add forrest documentation for DistCp. (cdouglas) HADOOP-3406. Add forrest documentation for Profiling. (Amareshwari Sriramadasu via ddas) HADOOP-2762. Add forrest documentation for controls of memory limits on hadoop daemons and Map-Reduce tasks. (Amareshwari Sriramadasu via ddas) HADOOP-3535. Fix documentation and name of IOUtils.close to reflect that it should only be used in cleanup contexts. (omalley) HADOOP-3593. Updates the mapred tutorial. (ddas) HADOOP-3547. Documents the way in which native libraries can be distributed via the DistributedCache. (Amareshwari Sriramadasu via ddas) HADOOP-3606. Updates the Streaming doc. (Amareshwari Sriramadasu via ddas) HADOOP-3532. Add jdiff reports to the build scripts. (omalley) HADOOP-3100. Develop tests to test the DFS command line interface. (mukund) HADOOP-3688. Fix up HDFS docs. (Robert Chansler via hairong) OPTIMIZATIONS HADOOP-3274. The default constructor of BytesWritable creates empty byte array. (Tsz Wo (Nicholas), SZE via shv) HADOOP-3272. Remove redundant copy of Block object in BlocksMap. (Lohit Vjayarenu via shv) HADOOP-3164. Reduce DataNode CPU usage by using FileChannel.tranferTo(). On Linux DataNode takes 5 times less CPU while serving data. Results may vary on other platforms. (rangadi) HADOOP-3248. Optimization of saveFSImage. (Dhruba via shv) HADOOP-3297. Fetch more task completion events from the job tracker and task tracker. (ddas via omalley) HADOOP-3364. Faster image and log edits loading. (shv) HADOOP-3369. Fast block processing during name-node startup. (shv) HADOOP-1702. Reduce buffer copies when data is written to DFS. DataNodes take 30% less CPU while writing data. (rangadi) HADOOP-3095. Speed up split generation in the FileInputSplit, especially for non-HDFS file systems. Deprecates InputFormat.validateInput. (tomwhite via omalley) HADOOP-3552. Add forrest documentation for Hadoop commands. (Sharad Agarwal via cdouglas) BUG FIXES HADOOP-2905. 'fsck -move' triggers NPE in NameNode. (Lohit Vjayarenu via rangadi) Increment ClientProtocol.versionID missed by HADOOP-2585. (shv) HADOOP-3254. Restructure internal namenode methods that process heartbeats to use well-defined BlockCommand object(s) instead of using the base java Object. (Tsz Wo (Nicholas), SZE via dhruba) HADOOP-3176. Change lease record when a open-for-write-file gets renamed. (dhruba) HADOOP-3269. Fix a case when namenode fails to restart while processing a lease record. ((Tsz Wo (Nicholas), SZE via dhruba) HADOOP-3282. Port issues in TestCheckpoint resolved. (shv) HADOOP-3268. file:// URLs issue in TestUrlStreamHandler under Windows. (taton) HADOOP-3127. Deleting files in trash should really remove them. (Brice Arnould via omalley) HADOOP-3300. Fix locking of explicit locks in NetworkTopology. (tomwhite via omalley) HADOOP-3270. Constant DatanodeCommands are stored in static final immutable variables for better code clarity. (Tsz Wo (Nicholas), SZE via dhruba) HADOOP-2793. Fix broken links for worst performing shuffle tasks in the job history page. (Amareshwari Sriramadasu via ddas) HADOOP-3313. Avoid unnecessary calls to System.currentTimeMillis in RPC::Invoker. (cdouglas) HADOOP-3318. Recognize "Darwin" as an alias for "Mac OS X" to support Soylatte. (Sam Pullara via omalley) HADOOP-3301. Fix misleading error message when S3 URI hostname contains an underscore. (tomwhite via omalley) HADOOP-3338. Fix Eclipse plugin to compile after HADOOP-544 was committed. Updated all references to use the new JobID representation. (taton via nigel) HADOOP-3337. Loading FSEditLog was broken by HADOOP-3283 since it changed Writable serialization of DatanodeInfo. This patch handles it. (Tsz Wo (Nicholas), SZE via rangadi) HADOOP-3101. Prevent JobClient from throwing an exception when printing usage. (Edward J. Yoon via cdouglas) HADOOP-3119. Update javadoc for Text::getBytes to better describe its behavior. (Tim Nelson via cdouglas) HADOOP-2294. Fix documentation in libhdfs to refer to the correct free function. (Craig Macdonald via cdouglas) HADOOP-3335. Prevent the libhdfs build from deleting the wrong files on make clean. (cutting via omalley) HADOOP-2930. Make {start,stop}-balancer.sh work even if hadoop-daemon.sh is not in the PATH. (Spiros Papadimitriou via hairong) HADOOP-3085. Catch Exception in metrics util classes to ensure that misconfigured metrics don't prevent others from updating. (cdouglas) HADOOP-3299. CompositeInputFormat should configure the sub-input formats. (cdouglas via omalley) HADOOP-3309. Lower io.sort.mb and fs.inmemory.size.mb for MiniMRDFSSort unit test so it passes on Windows. (lohit vijayarenu via cdouglas) HADOOP-3348. TestUrlStreamHandler should set URLStreamFactory after DataNodes are initialized. (Lohit Vijayarenu via rangadi) HADOOP-3371. Ignore InstanceAlreadyExistsException from MBeanUtil::registerMBean. (lohit vijayarenu via cdouglas) HADOOP-3349. A file rename was incorrectly changing the name inside a lease record. (Tsz Wo (Nicholas), SZE via dhruba) HADOOP-3365. Removes an unnecessary copy of the key from SegmentDescriptor to MergeQueue. (Devaraj Das) HADOOP-3388. Fix for TestDatanodeBlockScanner to handle blocks with generation stamps in them. (dhruba) HADOOP-3203. Fixes TaskTracker::localizeJob to pass correct file sizes for the jarfile and the jobfile. (Amareshwari Sriramadasu via ddas) HADOOP-3391. Fix a findbugs warning introduced by HADOOP-3248 (rangadi) HADOOP-3393. Fix datanode shutdown to call DataBlockScanner::shutdown and close its log, even if the scanner thread is not running. (lohit vijayarenu via cdouglas) HADOOP-3399. A debug message was logged at info level. (rangadi) HADOOP-3396. TestDatanodeBlockScanner occationally fails. (Lohit Vijayarenu via rangadi) HADOOP-3339. Some of the failures on 3rd datanode in DFS write pipelie are not detected properly. This could lead to hard failure of client's write operation. (rangadi) HADOOP-3409. Namenode should save the root inode into fsimage. (hairong) HADOOP-3296. Fix task cache to work for more than two levels in the cache hierarchy. This also adds a new counter to track cache hits at levels greater than two. (Amar Kamat via cdouglas) HADOOP-3375. Lease paths were sometimes not removed from LeaseManager.sortedLeasesByPath. (Tsz Wo (Nicholas), SZE via dhruba) HADOOP-3424. Values returned by getPartition should be checked to make sure they are in the range 0 to #reduces - 1 (cdouglas via omalley) HADOOP-3408. Change FSNamesystem to send its metrics as integers to accommodate collectors that don't support long values. (lohit vijayarenu via cdouglas) HADOOP-3403. Fixes a problem in the JobTracker to do with handling of lost tasktrackers. (Arun Murthy via ddas) HADOOP-1318. Completed maps are not failed if the number of reducers are zero. (Amareshwari Sriramadasu via ddas). HADOOP-3351. Fixes the history viewer tool to not do huge StringBuffer allocations. (Amareshwari Sriramadasu via ddas) HADOOP-3419. Fixes TestFsck to wait for updates to happen before checking results to make the test more reliable. (Lohit Vijaya Renu via omalley) HADOOP-3259. Makes failure to read system properties due to a security manager non-fatal. (Edward Yoon via omalley) HADOOP-3451. Update libhdfs to use FileSystem::getFileBlockLocations instead of removed getFileCacheHints. (lohit vijayarenu via cdouglas) HADOOP-3401. Update FileBench to set the new "mapred.work.output.dir" property to work post-3041. (cdouglas via omalley) HADOOP-2669. DFSClient locks pendingCreates appropriately. (dhruba) HADOOP-3410. Fix KFS implemenation to return correct file modification time. (Sriram Rao via cutting) HADOOP-3340. Fix DFS metrics for BlocksReplicated, HeartbeatsNum, and BlockReportsAverageTime. (lohit vijayarenu via cdouglas) HADOOP-3435. Remove the assuption in the scripts that bash is at /bin/bash and fix the test patch to require bash instead of sh. (Brice Arnould via omalley) HADOOP-3471. Fix spurious errors from TestIndexedSort and add additional logging to let failures be reproducible. (cdouglas) HADOOP-3443. Avoid copying map output across partitions when renaming a single spill. (omalley via cdouglas) HADOOP-3454. Fix Text::find to search only valid byte ranges. (Chad Whipkey via cdouglas) HADOOP-3417. Removes the static configuration variable, commandLineConfig from JobClient. Moves the cli parsing from JobShell to GenericOptionsParser. Thus removes the class org.apache.hadoop.mapred.JobShell. (Amareshwari Sriramadasu via ddas) HADOOP-2132. Only RUNNING/PREP jobs can be killed. (Jothi Padmanabhan via ddas) HADOOP-3476. Code cleanup in fuse-dfs. (Peter Wyckoff via dhruba) HADOOP-2427. Ensure that the cwd of completed tasks is cleaned-up correctly on task-completion. (Amareshwari Sri Ramadasu via acmurthy) HADOOP-2565. Remove DFSPath cache of FileStatus. (Tsz Wo (Nicholas), SZE via hairong) HADOOP-3326. Cleanup the local-fs and in-memory merge in the ReduceTask by spawing only one thread each for the on-disk and in-memory merge. (Sharad Agarwal via acmurthy) HADOOP-3493. Fix TestStreamingFailure to use FileUtil.fullyDelete to ensure correct cleanup. (Lohit Vijayarenu via acmurthy) HADOOP-3455. Fix NPE in ipc.Client in case of connection failure and improve its synchronization. (hairong) HADOOP-3240. Fix a testcase to not create files in the current directory. Instead the file is created in the test directory (Mahadev Konar via ddas) HADOOP-3496. Fix failure in TestHarFileSystem.testArchives due to change in HADOOP-3095. (tomwhite) HADOOP-3135. Get the system directory from the JobTracker instead of from the conf. (Subramaniam Krishnan via ddas) HADOOP-3503. Fix a race condition when client and namenode start simultaneous recovery of the same block. (dhruba & Tsz Wo (Nicholas), SZE) HADOOP-3440. Fixes DistributedCache to not create symlinks for paths which don't have fragments even when createSymLink is true. (Abhijit Bagri via ddas) HADOOP-3463. Hadoop-daemons script should cd to $HADOOP_HOME. (omalley) HADOOP-3489. Fix NPE in SafeModeMonitor. (Lohit Vijayarenu via shv) HADOOP-3509. Fix NPE in FSNamesystem.close. (Tsz Wo (Nicholas), SZE via shv) HADOOP-3491. Name-node shutdown causes InterruptedException in ResolutionMonitor. (Lohit Vijayarenu via shv) HADOOP-3511. Fixes namenode image to not set the root's quota to an invalid value when the quota was not saved in the image. (hairong) HADOOP-3516. Ensure the JobClient in HadoopArchives is initialized with a configuration. (Subramaniam Krishnan via omalley) HADOOP-3513. Improve NNThroughputBenchmark log messages. (shv) HADOOP-3519. Fix NPE in DFS FileSystem rename. (hairong via tomwhite) HADOOP-3528. Metrics FilesCreated and files_deleted metrics do not match. (Lohit via Mahadev) HADOOP-3418. When a directory is deleted, any leases that point to files in the subdirectory are removed. ((Tsz Wo (Nicholas), SZE via dhruba) HADOOP-3542. Diables the creation of _logs directory for the archives directory. (Mahadev Konar via ddas) HADOOP-3544. Fixes a documentation issue for hadoop archives. (Mahadev Konar via ddas) HADOOP-3517. Fixes a problem in the reducer due to which the last InMemory merge may be missed. (Arun Murthy via ddas) HADOOP-3548. Fixes build.xml to copy all *.jar files to the dist. (Owen O'Malley via ddas) HADOOP-3363. Fix unformatted storage detection in FSImage. (shv) HADOOP-3560. Fixes a problem to do with split creation in archives. (Mahadev Konar via ddas) HADOOP-3545. Fixes a overflow problem in archives. (Mahadev Konar via ddas) HADOOP-3561. Prevent the trash from deleting its parent directories. (cdouglas) HADOOP-3575. Fix the clover ant target after package refactoring. (Nigel Daley via cdouglas) HADOOP-3539. Fix the tool path in the bin/hadoop script under cygwin. (Tsz Wo (Nicholas), Sze via omalley) HADOOP-3520. TestDFSUpgradeFromImage triggers a race condition in the Upgrade Manager. Fixed. (dhruba) HADOOP-3586. Provide deprecated, backwards compatibile semantics for the combiner to be run once and only once on each record. (cdouglas) HADOOP-3533. Add deprecated methods to provide API compatibility between 0.18 and 0.17. Remove the deprecated methods in trunk. (omalley) HADOOP-3580. Fixes a problem to do with specifying a har as an input to a job. (Mahadev Konar via ddas) HADOOP-3333. Don't assign a task to a tasktracker that it failed to execute earlier (used to happen in the case of lost tasktrackers where the tasktracker would reinitialize and bind to a different port). (Jothi Padmanabhan and Arun Murthy via ddas) HADOOP-3534. Log IOExceptions that happen in closing the name system when the NameNode shuts down. (Tsz Wo (Nicholas) Sze via omalley) HADOOP-3546. TaskTracker re-initialization gets stuck in cleaning up. (Amareshwari Sriramadasu via ddas) HADOOP-3576. Fix NullPointerException when renaming a directory to its subdirectory. (Tse Wo (Nicholas), SZE via hairong) HADOOP-3320. Fix NullPointerException in NetworkTopology.getDistance(). (hairong) HADOOP-3569. KFS input stream read() now correctly reads 1 byte instead of 4. (Sriram Rao via omalley) HADOOP-3599. Fix JobConf::setCombineOnceOnly to modify the instance rather than a parameter. (Owen O'Malley via cdouglas) HADOOP-3590. Null pointer exception in JobTracker when the task tracker is not yet resolved. (Amar Ramesh Kamat via ddas) HADOOP-3603. Fix MapOutputCollector to spill when io.sort.spill.percent is 1.0 and to detect spills when emitted records write no data. (cdouglas) HADOOP-3615. Set DatanodeProtocol.versionID to the correct value. (Tsz Wo (Nicholas), SZE via cdouglas) HADOOP-3559. Fix the libhdfs test script and config to work with the current semantics. (lohit vijayarenu via cdouglas) HADOOP-3480. Need to update Eclipse template to reflect current trunk. (Brice Arnould via tomwhite) HADOOP-3588. Fixed usability issues with archives. (mahadev) HADOOP-3635. Uncaught exception in DataBlockScanner. (Tsz Wo (Nicholas), SZE via hairong) HADOOP-3639. Exception when closing DFSClient while multiple files are open. (Benjamin Gufler via hairong) HADOOP-3572. SetQuotas usage interface has some minor bugs. (hairong) HADOOP-3649. Fix bug in removing blocks from the corrupted block map. (Lohit Vijayarenu via shv) HADOOP-3604. Work around a JVM synchronization problem observed while retrieving the address of direct buffers from compression code by obtaining a lock during this call. (Arun C Murthy via cdouglas) HADOOP-3683. Fix dfs metrics to count file listings rather than files listed. (lohit vijayarenu via cdouglas) HADOOP-3597. Fix SortValidator to use filesystems other than the default as input. Validation job still runs on default fs. (Jothi Padmanabhan via cdouglas) HADOOP-3693. Fix archives, distcp and native library documentation to conform to style guidelines. (Amareshwari Sriramadasu via cdouglas) HADOOP-3653. Fix test-patch target to properly account for Eclipse classpath jars. (Brice Arnould via nigel) HADOOP-3692. Fix documentation for Cluster setup and Quick start guides. (Amareshwari Sriramadasu via ddas) HADOOP-3691. Fix streaming and tutorial docs. (Jothi Padmanabhan via ddas) HADOOP-3630. Fix NullPointerException in CompositeRecordReader from empty sources (cdouglas) HADOOP-3706. Fix a ClassLoader issue in the mapred.join Parser that prevents it from loading user-specified InputFormats. (Jingkei Ly via cdouglas) HADOOP-3718. Fix KFSOutputStream::write(int) to output a byte instead of an int, per the OutputStream contract. (Sriram Rao via cdouglas) HADOOP-3647. Add debug logs to help track down a very occassional, hard-to-reproduce, bug in shuffle/merge on the reducer. (acmurthy) HADOOP-3716. Prevent listStatus in KosmosFileSystem from returning null for valid, empty directories. (Sriram Rao via cdouglas) HADOOP-3752. Fix audit logging to record rename events. (cdouglas) HADOOP-3737. Fix CompressedWritable to call Deflater::end to release compressor memory. (Grant Glouser via cdouglas) HADOOP-3670. Fixes JobTracker to clear out split bytes when no longer required. (Amareshwari Sriramadasu via ddas) HADOOP-3755. Update gridmix to work with HOD 0.4 (Runping Qi via cdouglas) HADOOP-3743. Fix -libjars, -files, -archives options to work even if user code does not implement tools. (Amareshwari Sriramadasu via mahadev) HADOOP-3774. Fix typos in shell output. (Tsz Wo (Nicholas), SZE via cdouglas) HADOOP-3762. Fixed FileSystem cache to work with the default port. (cutting via omalley) HADOOP-3798. Fix tests compilation. (Mukund Madhugiri via omalley) HADOOP-3794. Return modification time instead of zero for KosmosFileSystem. (Sriram Rao via cdouglas) HADOOP-3806. Remove debug statement to stdout from QuickSort. (cdouglas) HADOOP-3776. Fix NPE at NameNode when datanode reports a block after it is deleted at NameNode. (rangadi) HADOOP-3537. Disallow adding a datanode to a network topology when its network location is not resolved. (hairong) HADOOP-3571. Fix bug in block removal used in lease recovery. (shv) HADOOP-3645. MetricsTimeVaryingRate returns wrong value for metric_avg_time. (Lohit Vijayarenu via hairong) HADOOP-3521. Reverted the missing cast to float for sending Counters' values to Hadoop metrics which was removed by HADOOP-544. (acmurthy) HADOOP-3820. Fixes two problems in the gridmix-env - a syntax error, and a wrong definition of USE_REAL_DATASET by default. (Arun Murthy via ddas) HADOOP-3724. Fixes two problems related to storing and recovering lease in the fsimage. (dhruba) HADOOP-3827. Fixed compression of empty map-outputs. (acmurthy) HADOOP-3865. Remove reference to FSNamesystem from metrics preventing garbage collection. (Lohit Vijayarenu via cdouglas) HADOOP-3884. Fix so that Eclipse plugin builds against recent Eclipse releases. (cutting) HADOOP-3837. Streaming jobs report progress status. (dhruba) HADOOP-3897. Fix a NPE in secondary namenode. (Lohit Vijayarenu via cdouglas) HADOOP-3901. Fix bin/hadoop to correctly set classpath under cygwin. (Tsz Wo (Nicholas) Sze via omalley) HADOOP-3947. Fix a problem in tasktracker reinitialization. (Amareshwari Sriramadasu via ddas) Release 0.17.3 - Unreleased IMPROVEMENTS HADOOP-4164. Chinese translation of the documentation. (Xuebing Yan via omalley) BUG FIXES HADOOP-4277. Checksum verification was mistakenly disabled for LocalFileSystem. (Raghu Angadi) HADOOP-4271. Checksum input stream can sometimes return invalid data to the user. (Ning Li via rangadi) HADOOP-4318. DistCp should use absolute paths for cleanup. (szetszwo) HADOOP-4326. ChecksumFileSystem does not override create(...) correctly. (szetszwo) Release 0.17.2 - 2008-08-11 BUG FIXES HADOOP-3678. Avoid spurious exceptions logged at DataNode when clients read from DFS. (rangadi) HADOOP-3707. NameNode keeps a count of number of blocks scheduled to be written to a datanode and uses it to avoid allocating more blocks than a datanode can hold. (rangadi) HADOOP-3760. Fix a bug with HDFS file close() mistakenly introduced by HADOOP-3681. (Lohit Vijayarenu via rangadi) HADOOP-3681. DFSClient can get into an infinite loop while closing a file if there are some errors. (Lohit Vijayarenu via rangadi) HADOOP-3002. Hold off block removal while in safe mode. (shv) HADOOP-3685. Unbalanced replication target. (hairong) HADOOP-3758. Shutdown datanode on version mismatch instead of retrying continuously, preventing excessive logging at the namenode. (lohit vijayarenu via cdouglas) HADOOP-3633. Correct exception handling in DataXceiveServer, and throttle the number of xceiver threads in a data-node. (shv) HADOOP-3370. Ensure that the TaskTracker.runningJobs data-structure is correctly cleaned-up on task completion. (Zheng Shao via acmurthy) HADOOP-3813. Fix task-output clean-up on HDFS to use the recursive FileSystem.delete rather than the FileUtil.fullyDelete. (Amareshwari Sri Ramadasu via acmurthy) HADOOP-3859. Allow the maximum number of xceivers in the data node to be configurable. (Johan Oskarsson via omalley) HADOOP-3931. Fix corner case in the map-side sort that causes some values to be counted as too large and cause pre-mature spills to disk. Some values will also bypass the combiner incorrectly. (cdouglas via omalley) Release 0.17.1 - 2008-06-23 INCOMPATIBLE CHANGES HADOOP-3565. Fix the Java serialization, which is not enabled by default, to clear the state of the serializer between objects. (tomwhite via omalley) IMPROVEMENTS HADOOP-3522. Improve documentation on reduce pointing out that input keys and values will be reused. (omalley) HADOOP-3487. Balancer uses thread pools for managing its threads; therefore provides better resource management. (hairong) BUG FIXES HADOOP-2159 Namenode stuck in safemode. The counter blockSafe should not be decremented for invalid blocks. (hairong) HADOOP-3472 MapFile.Reader getClosest() function returns incorrect results when before is true (Todd Lipcon via Stack) HADOOP-3442. Limit recursion depth on the stack for QuickSort to prevent StackOverflowErrors. To avoid O(n*n) cases, when partitioning depth exceeds a multiple of log(n), change to HeapSort. (cdouglas) HADOOP-3477. Fix build to not package contrib/*/bin twice in distributions. (Adam Heath via cutting) HADOOP-3475. Fix MapTask to correctly size the accounting allocation of io.sort.mb. (cdouglas) HADOOP-3550. Fix the serialization data structures in MapTask where the value lengths are incorrectly calculated. (cdouglas) HADOOP-3526. Fix contrib/data_join framework by cloning values retained in the reduce. (Spyros Blanas via cdouglas) HADOOP-1979. Speed up fsck by adding a buffered stream. (Lohit Vijaya Renu via omalley) Release 0.17.0 - 2008-05-18 INCOMPATIBLE CHANGES HADOOP-2786. Move hbase out of hadoop core HADOOP-2345. New HDFS transactions to support appending to files. Disk layout version changed from -11 to -12. (dhruba) HADOOP-2192. Error messages from "dfs mv" command improved. (Mahadev Konar via dhruba) HADOOP-1902. "dfs du" command without any arguments operates on the current working directory. (Mahadev Konar via dhruba) HADOOP-2873. Fixed bad disk format introduced by HADOOP-2345. Disk layout version changed from -12 to -13. See changelist 630992 (dhruba) HADOOP-1985. This addresses rack-awareness for Map tasks and for HDFS in a uniform way. (ddas) HADOOP-1986. Add support for a general serialization mechanism for Map Reduce. (tomwhite) HADOOP-771. FileSystem.delete() takes an explicit parameter that specifies whether a recursive delete is intended. (Mahadev Konar via dhruba) HADOOP-2470. Remove getContentLength(String), open(String, long, long) and isDir(String) from ClientProtocol. ClientProtocol version changed from 26 to 27. (Tsz Wo (Nicholas), SZE via cdouglas) HADOOP-2822. Remove deprecated code for classes InputFormatBase and PhasedFileSystem. (Amareshwari Sriramadasu via enis) HADOOP-2116. Changes the layout of the task execution directory. (Amareshwari Sriramadasu via ddas) HADOOP-2828. The following deprecated methods in Configuration.java have been removed getObject(String name) setObject(String name, Object value) get(String name, Object defaultValue) set(String name, Object value) Iterator entries() (Amareshwari Sriramadasu via ddas) HADOOP-2824. Removes one deprecated constructor from MiniMRCluster. (Amareshwari Sriramadasu via ddas) HADOOP-2823. Removes deprecated methods getColumn(), getLine() from org.apache.hadoop.record.compiler.generated.SimpleCharStream. (Amareshwari Sriramadasu via ddas) HADOOP-3060. Removes one unused constructor argument from MiniMRCluster. (Amareshwari Sriramadasu via ddas) HADOOP-2854. Remove deprecated o.a.h.ipc.Server::getUserInfo(). (lohit vijayarenu via cdouglas) HADOOP-2563. Remove deprecated FileSystem::listPaths. (lohit vijayarenu via cdouglas) HADOOP-2818. Remove deprecated methods in Counters. (Amareshwari Sriramadasu via tomwhite) HADOOP-2831. Remove deprecated o.a.h.dfs.INode::getAbsoluteName() (lohit vijayarenu via cdouglas) HADOOP-2839. Remove deprecated FileSystem::globPaths. (lohit vijayarenu via cdouglas) HADOOP-2634. Deprecate ClientProtocol::exists. (lohit vijayarenu via cdouglas) HADOOP-2410. Make EC2 cluster nodes more independent of each other. Multiple concurrent EC2 clusters are now supported, and nodes may be added to a cluster on the fly with new nodes starting in the same EC2 availability zone as the cluster. Ganglia monitoring and large instance sizes have also been added. (Chris K Wensel via tomwhite) HADOOP-2826. Deprecated FileSplit.getFile(), LineRecordReader.readLine(). (Amareshwari Sriramadasu via ddas) HADOOP-3239. getFileInfo() returns null for non-existing files instead of throwing FileNotFoundException. (Lohit Vijayarenu via shv) HADOOP-3266. Removed HOD changes from CHANGES.txt, as they are now inside src/contrib/hod (Hemanth Yamijala via ddas) HADOOP-3280. Separate the configuration of the virtual memory size (mapred.child.ulimit) from the jvm heap size, so that 64 bit streaming applications are supported even when running with 32 bit jvms. (acmurthy via omalley) NEW FEATURES HADOOP-1398. Add HBase in-memory block cache. (tomwhite) HADOOP-2178. Job History on DFS. (Amareshwari Sri Ramadasu via ddas) HADOOP-2063. A new parameter to dfs -get command to fetch a file even if it is corrupted. (Tsz Wo (Nicholas), SZE via dhruba) HADOOP-2219. A new command "df -count" that counts the number of files and directories. (Tsz Wo (Nicholas), SZE via dhruba) HADOOP-2906. Add an OutputFormat capable of using keys, values, and config params to map records to different output files. (Runping Qi via cdouglas) HADOOP-2346. Utilities to support timeout while writing to sockets. DFSClient and DataNode sockets have 10min write timeout. (rangadi) HADOOP-2951. Add a contrib module that provides a utility to build or update Lucene indexes using Map/Reduce. (Ning Li via cutting) HADOOP-1622. Allow multiple jar files for map reduce. (Mahadev Konar via dhruba) HADOOP-2055. Allows users to set PathFilter on the FileInputFormat. (Alejandro Abdelnur via ddas) HADOOP-2551. More environment variables like HADOOP_NAMENODE_OPTS for better control of HADOOP_OPTS for each component. (rangadi) HADOOP-3001. Add job counters that measure the number of bytes read and written to HDFS, S3, KFS, and local file systems. (omalley) HADOOP-3048. A new Interface and a default implementation to convert and restore serializations of objects to/from strings. (enis) IMPROVEMENTS HADOOP-2655. Copy on write for data and metadata files in the presence of snapshots. Needed for supporting appends to HDFS files. (dhruba) HADOOP-1967. When a Path specifies the same scheme as the default FileSystem but no authority, the default FileSystem's authority is used. Also add warnings for old-format FileSystem names, accessor methods for fs.default.name, and check for null authority in HDFS. (cutting) HADOOP-2895. Let the profiling string be configurable. (Martin Traverso via cdouglas) HADOOP-910. Enables Reduces to do merges for the on-disk map output files in parallel with their copying. (Amar Kamat via ddas) HADOOP-730. Use rename rather than copy for local renames. (cdouglas) HADOOP-2810. Updated the Hadoop Core logo. (nigel) HADOOP-2057. Streaming should optionally treat a non-zero exit status of a child process as a failed task. (Rick Cox via tomwhite) HADOOP-2765. Enables specifying ulimits for streaming/pipes tasks (ddas) HADOOP-2888. Make gridmix scripts more readily configurable and amenable to automated execution. (Mukund Madhugiri via cdouglas) HADOOP-2908. A document that describes the DFS Shell command. (Mahadev Konar via dhruba) HADOOP-2981. Update README.txt to reflect the upcoming use of cryptography. (omalley) HADOOP-2804. Add support to publish CHANGES.txt as HTML when running the Ant 'docs' target. (nigel) HADOOP-2559. Change DFS block placement to allocate the first replica locally, the second off-rack, and the third intra-rack from the second. (lohit vijayarenu via cdouglas) HADOOP-2939. Make the automated patch testing process an executable Ant target, test-patch. (nigel) HADOOP-2239. Add HsftpFileSystem to permit transferring files over ssl. (cdouglas) HADOOP-2886. Track individual RPC metrics. (girish vaitheeswaran via dhruba) HADOOP-2373. Improvement in safe-mode reporting. (shv) HADOOP-3091. Modify FsShell command -put to accept multiple sources. (Lohit Vijaya Renu via cdouglas) HADOOP-3092. Show counter values from job -status command. (Tom White via ddas) HADOOP-1228. Ant task to generate Eclipse project files. (tomwhite) HADOOP-3093. Adds Configuration.getStrings(name, default-value) and the corresponding setStrings. (Amareshwari Sriramadasu via ddas) HADOOP-3106. Adds documentation in forrest for debugging. (Amareshwari Sriramadasu via ddas) HADOOP-3099. Add an option to distcp to preserve user, group, and permission information. (Tsz Wo (Nicholas), SZE via cdouglas) HADOOP-2841. Unwrap AccessControlException and FileNotFoundException from RemoteException for DFSClient. (shv) HADOOP-3152. Make index interval configuable when using MapFileOutputFormat for map-reduce job. (Rong-En Fan via cutting) HADOOP-3143. Decrease number of slaves from 4 to 3 in TestMiniMRDFSSort, as Hudson generates false negatives under the current load. (Nigel Daley via cdouglas) HADOOP-3174. Illustrative example for MultipleFileInputFormat. (Enis Soztutar via acmurthy) HADOOP-2993. Clarify the usage of JAVA_HOME in the Quick Start guide. (acmurthy via nigel) HADOOP-3124. Make DataNode socket write timeout configurable. (rangadi) OPTIMIZATIONS HADOOP-2790. Fixed inefficient method hasSpeculativeTask by removing repetitive calls to get the current time and late checking to see if we want speculation on at all. (omalley) HADOOP-2758. Reduce buffer copies in DataNode when data is read from HDFS, without negatively affecting read throughput. (rangadi) HADOOP-2399. Input key and value to combiner and reducer is reused. (Owen O'Malley via ddas). HADOOP-2423. Code optimization in FSNamesystem.mkdirs. (Tsz Wo (Nicholas), SZE via dhruba) HADOOP-2606. ReplicationMonitor selects data-nodes to replicate directly from needed replication blocks instead of looking up for the blocks for each live data-node. (shv) HADOOP-2148. Eliminate redundant data-node blockMap lookups. (shv) HADOOP-2027. Return the number of bytes in each block in a file via a single rpc to the namenode to speed up job planning. (Lohit Vijaya Renu via omalley) HADOOP-2902. Replace uses of "fs.default.name" with calls to the accessor methods added in HADOOP-1967. (cutting) HADOOP-2119. Optimize scheduling of jobs with large numbers of tasks by replacing static arrays with lists of runnable tasks. (Amar Kamat via omalley) HADOOP-2919. Reduce the number of memory copies done during the map output sorting. Also adds two config variables: io.sort.spill.percent - the percentages of io.sort.mb that should cause a spill (default 80%) io.sort.record.percent - the percent of io.sort.mb that should hold key/value indexes (default 5%) (cdouglas via omalley) HADOOP-3140. Doesn't add a task in the commit queue if the task hadn't generated any output. (Amar Kamat via ddas) HADOOP-3168. Reduce the amount of logging in streaming to an exponentially increasing number of records (up to 10,000 records/log). (Zheng Shao via omalley) BUG FIXES HADOOP-2195. '-mkdir' behaviour is now closer to Linux shell in case of errors. (Mahadev Konar via rangadi) HADOOP-2190. bring behaviour '-ls' and '-du' closer to Linux shell commands in case of errors. (Mahadev Konar via rangadi) HADOOP-2193. 'fs -rm' and 'fs -rmr' show error message when the target file does not exist. (Mahadev Konar via rangadi) HADOOP-2738 Text is not subclassable because set(Text) and compareTo(Object) access the other instance's private members directly. (jimk) HADOOP-2779. Remove the references to HBase in the build.xml. (omalley) HADOOP-2194. dfs cat on a non-existent file throws FileNotFoundException. (Mahadev Konar via dhruba) HADOOP-2767. Fix for NetworkTopology erroneously skipping the last leaf node on a rack. (Hairong Kuang and Mark Butler via dhruba) HADOOP-1593. FsShell works with paths in non-default FileSystem. (Mahadev Konar via dhruba) HADOOP-2191. du and dus command on non-existent directory gives appropriate error message. (Mahadev Konar via dhruba) HADOOP-2832. Remove tabs from code of DFSClient for better indentation. (dhruba) HADOOP-2844. distcp closes file handles for sequence files. (Tsz Wo (Nicholas), SZE via dhruba) HADOOP-2727. Fix links in Web UI of the hadoop daemons and some docs (Amareshwari Sri Ramadasu via ddas) HADOOP-2871. Fixes a problem to do with file: URI in the JobHistory init. (Amareshwari Sri Ramadasu via ddas) HADOOP-2800. Deprecate SetFile.Writer constructor not the whole class. (Johan Oskarsson via tomwhite) HADOOP-2891. DFSClient.close() closes all open files. (dhruba) HADOOP-2845. Fix dfsadmin disk utilization report on Solaris. (Martin Traverso via tomwhite) HADOOP-2912. MiniDFSCluster restart should wait for namenode to exit safemode. This was causing TestFsck to fail. (Mahadev Konar via dhruba) HADOOP-2820. The following classes in streaming are removed : StreamLineRecordReader StreamOutputFormat StreamSequenceRecordReader. (Amareshwari Sri Ramadasu via ddas) HADOOP-2819. The following methods in JobConf are removed: getInputKeyClass() setInputKeyClass getInputValueClass() setInputValueClass(Class theClass) setSpeculativeExecution getSpeculativeExecution() (Amareshwari Sri Ramadasu via ddas) HADOOP-2817. Removes deprecated mapred.tasktracker.tasks.maximum and ClusterStatus.getMaxTasks(). (Amareshwari Sri Ramadasu via ddas) HADOOP-2821. Removes deprecated ShellUtil and ToolBase classes from the util package. (Amareshwari Sri Ramadasu via ddas) HADOOP-2934. The namenode was encountreing a NPE while loading leases from the fsimage. Fixed. (dhruba) HADOOP-2938. Some fs commands did not glob paths. (Tsz Wo (Nicholas), SZE via rangadi) HADOOP-2943. Compression of intermediate map output causes failures in the merge. (cdouglas) HADOOP-2870. DataNode and NameNode closes all connections while shutting down. (Hairong Kuang via dhruba) HADOOP-2973. Fix TestLocalDFS for Windows platform. (Tsz Wo (Nicholas), SZE via dhruba) HADOOP-2971. select multiple times if it returns early in SocketIOWithTimeout. (rangadi) HADOOP-2955. Fix TestCrcCorruption test failures caused by HADOOP-2758 (rangadi) HADOOP-2657. A flush call on the DFSOutputStream flushes the last partial CRC chunk too. (dhruba) HADOOP-2974. IPC unit tests used "0.0.0.0" to connect to server, which is not always supported. (rangadi) HADOOP-2996. Fixes uses of StringBuffer in StreamUtils class. (Dave Brosius via ddas) HADOOP-2995. Fixes StreamBaseRecordReader's getProgress to return a floating point number. (Dave Brosius via ddas) HADOOP-2972. Fix for a NPE in FSDataset.invalidate. (Mahadev Konar via dhruba) HADOOP-2994. Code cleanup for DFSClient: remove redundant conversions from string to string. (Dave Brosius via dhruba) HADOOP-3009. TestFileCreation sometimes fails because restarting minidfscluster sometimes creates datanodes with ports that are different from their original instance. (dhruba) HADOOP-2992. Distributed Upgrade framework works correctly with more than one upgrade object. (Konstantin Shvachko via dhruba) HADOOP-2679. Fix a typo in libhdfs. (Jason via dhruba) HADOOP-2976. When a lease expires, the Namenode ensures that blocks of the file are adequately replicated. (dhruba) HADOOP-2901. Fixes the creation of info servers in the JobClient and JobTracker. Removes the creation from JobClient and removes additional info server from the JobTracker. Also adds the command line utility to view the history files (HADOOP-2896), and fixes bugs in JSPs to do with analysis - HADOOP-2742, HADOOP-2792. (Amareshwari Sri Ramadasu via ddas) HADOOP-2890. If different datanodes report the same block but with different sizes to the namenode, the namenode picks the replica(s) with the largest size as the only valid replica(s). (dhruba) HADOOP-2825. Deprecated MapOutputLocation.getFile() is removed. (Amareshwari Sri Ramadasu via ddas) HADOOP-2806. Fixes a streaming document. (Amareshwari Sriramadasu via ddas) HADOOP-3008. SocketIOWithTimeout throws InterruptedIOException if the thread is interrupted while it is waiting. (rangadi) HADOOP-3006. Fix wrong packet size reported by DataNode when a block is being replicated. (rangadi) HADOOP-3029. Datanode prints log message "firstbadlink" only if it detects a bad connection to another datanode in the pipeline. (dhruba) HADOOP-3030. Release reserved space for file in InMemoryFileSystem if checksum reservation fails. (Devaraj Das via cdouglas) HADOOP-3036. Fix findbugs warnings in UpgradeUtilities. (Konstantin Shvachko via cdouglas) HADOOP-3025. ChecksumFileSystem supports the delete method with the recursive flag. (Mahadev Konar via dhruba) HADOOP-3012. dfs -mv file to user home directory throws exception if the user home directory does not exist. (Mahadev Konar via dhruba) HADOOP-3066. Should not require superuser privilege to query if hdfs is in safe mode (jimk) HADOOP-3040. If the input line starts with the separator char, the key is set as empty. (Amareshwari Sriramadasu via ddas) HADOOP-3080. Removes flush calls from JobHistory. (Amareshwari Sriramadasu via ddas) HADOOP-3086. Adds the testcase missed during commit of hadoop-3040. (Amareshwari Sriramadasu via ddas) HADOOP-3046. Fix the raw comparators for Text and BytesWritables to use the provided length rather than recompute it. (omalley) HADOOP-3094. Fix BytesWritable.toString to avoid extending the sign bit (Owen O'Malley via cdouglas) HADOOP-3067. DFSInputStream's position read does not close the sockets. (rangadi) HADOOP-3073. close() on SocketInputStream or SocketOutputStream should close the underlying channel. (rangadi) HADOOP-3087. Fixes a problem to do with refreshing of loadHistory.jsp. (Amareshwari Sriramadasu via ddas) HADOOP-3065. Better logging message if the rack location of a datanode cannot be determined. (Devaraj Das via dhruba) HADOOP-3064. Commas in a file path should not be treated as delimiters. (Hairong Kuang via shv) HADOOP-2997. Adds test for non-writable serialier. Also fixes a problem introduced by HADOOP-2399. (Tom White via ddas) HADOOP-3114. Fix TestDFSShell on Windows. (Lohit Vijaya Renu via cdouglas) HADOOP-3118. Fix Namenode NPE while loading fsimage after a cluster upgrade from older disk format. (dhruba) HADOOP-3161. Fix FIleUtil.HardLink.getLinkCount on Mac OS. (nigel via omalley) HADOOP-2927. Fix TestDU to acurately calculate the expected file size. (shv via nigel) HADOOP-3123. Fix the native library build scripts to work on Solaris. (tomwhite via omalley) HADOOP-3089. Streaming should accept stderr from task before first key arrives. (Rick Cox via tomwhite) HADOOP-3146. A DFSOutputStream.flush method is renamed as DFSOutputStream.fsync. (dhruba) HADOOP-3165. -put/-copyFromLocal did not treat input file "-" as stdin. (Lohit Vijayarenu via rangadi) HADOOP-3041. Deprecate JobConf.setOutputPath and JobConf.getOutputPath. Deprecate OutputFormatBase. Add FileOutputFormat. Existing output formats extending OutputFormatBase, now extend FileOutputFormat. Add the following APIs in FileOutputFormat: setOutputPath, getOutputPath, getWorkOutputPath. (Amareshwari Sriramadasu via nigel) HADOOP-3083. The fsimage does not store leases. This would have to be reworked in the next release to support appends. (dhruba) HADOOP-3166. Fix an ArrayIndexOutOfBoundsException in the spill thread and make exception handling more promiscuous to catch this condition. (cdouglas) HADOOP-3050. DataNode sends one and only one block report after it registers with the namenode. (Hairong Kuang) HADOOP-3044. NNBench sets the right configuration for the mapper. (Hairong Kuang) HADOOP-3178. Fix GridMix scripts for small and medium jobs to handle input paths differently. (Mukund Madhugiri via nigel) HADOOP-1911. Fix an infinite loop in DFSClient when all replicas of a block are bad (cdouglas) HADOOP-3157. Fix path handling in DistributedCache and TestMiniMRLocalFS. (Doug Cutting via rangadi) HADOOP-3018. Fix the eclipse plug-in contrib wrt removed deprecated methods (taton) HADOOP-3183. Fix TestJobShell to use 'ls' instead of java.io.File::exists since cygwin symlinks are unsupported. (Mahadev konar via cdouglas) HADOOP-3175. Fix FsShell.CommandFormat to handle "-" in arguments. (Edward J. Yoon via rangadi) HADOOP-3220. Safemode message corrected. (shv) HADOOP-3208. Fix WritableDeserializer to set the Configuration on deserialized Writables. (Enis Soztutar via cdouglas) HADOOP-3224. 'dfs -du /dir' does not return correct size. (Lohit Vjayarenu via rangadi) HADOOP-3223. Fix typo in help message for -chmod. (rangadi) HADOOP-1373. checkPath() should ignore case when it compares authoriy. (Edward J. Yoon via rangadi) HADOOP-3204. Fixes a problem to do with ReduceTask's LocalFSMerger not catching Throwable. (Amar Ramesh Kamat via ddas) HADOOP-3229. Report progress when collecting records from the mapper and the combiner. (Doug Cutting via cdouglas) HADOOP-3225. Unwrapping methods of RemoteException should initialize detailedMassage field. (Mahadev Konar, shv, cdouglas) HADOOP-3247. Fix gridmix scripts to use the correct globbing syntax and change maxentToSameCluster to run the correct number of jobs. (Runping Qi via cdouglas) HADOOP-3242. Fix the RecordReader of SequenceFileAsBinaryInputFormat to correctly read from the start of the split and not the beginning of the file. (cdouglas via acmurthy) HADOOP-3256. Encodes the job name used in the filename for history files. (Arun Murthy via ddas) HADOOP-3162. Ensure that comma-separated input paths are treated correctly as multiple input paths. (Amareshwari Sri Ramadasu via acmurthy) HADOOP-3263. Ensure that the job-history log file always follows the pattern of hostname_timestamp_jobid_username_jobname even if username and/or jobname are not specfied. This helps to avoid wrong assumptions made about the job-history log filename in jobhistory.jsp. (acmurthy) HADOOP-3251. Fixes getFilesystemName in JobTracker and LocalJobRunner to use FileSystem.getUri instead of FileSystem.getName. (Arun Murthy via ddas) HADOOP-3237. Fixes TestDFSShell.testErrOutPut on Windows platform. (Mahadev Konar via ddas) HADOOP-3279. TaskTracker checks for SUCCEEDED task status in addition to COMMIT_PENDING status when it fails maps due to lost map. (Devaraj Das) HADOOP-3286. Prevent collisions in gridmix output dirs by increasing the granularity of the timestamp. (Runping Qi via cdouglas) HADOOP-3285. Fix input split locality when the splits align to fs blocks. (omalley) HADOOP-3372. Fix heap management in streaming tests. (Arun Murthy via cdouglas) HADOOP-3031. Fix javac warnings in test classes. (cdouglas) HADOOP-3382. Fix memory leak when files are not cleanly closed (rangadi) HADOOP-3322. Fix to push MetricsRecord for rpc metrics. (Eric Yang via mukund) Release 0.16.4 - 2008-05-05 BUG FIXES HADOOP-3138. DFS mkdirs() should not throw an exception if the directory already exists. (rangadi via mukund) HADOOP-3294. Fix distcp to check the destination length and retry the copy if it doesn't match the src length. (Tsz Wo (Nicholas), SZE via mukund) HADOOP-3186. Fix incorrect permission checkding for mv and renameTo in HDFS. (Tsz Wo (Nicholas), SZE via mukund) Release 0.16.3 - 2008-04-16 BUG FIXES HADOOP-3010. Fix ConcurrentModificationException in ipc.Server.Responder. (rangadi) HADOOP-3154. Catch all Throwables from the SpillThread in MapTask, rather than IOExceptions only. (ddas via cdouglas) HADOOP-3159. Avoid file system cache being overwritten whenever configuration is modified. (Tsz Wo (Nicholas), SZE via hairong) HADOOP-3139. Remove the consistency check for the FileSystem cache in closeAll() that causes spurious warnings and a deadlock. (Tsz Wo (Nicholas), SZE via cdouglas) HADOOP-3195. Fix TestFileSystem to be deterministic. (Tsz Wo (Nicholas), SZE via cdouglas) HADOOP-3069. Primary name-node should not truncate image when transferring it from the secondary. (shv) HADOOP-3182. Change permissions of the job-submission directory to 777 from 733 to ensure sharing of HOD clusters works correctly. (Tsz Wo (Nicholas), Sze and Amareshwari Sri Ramadasu via acmurthy) Release 0.16.2 - 2008-04-02 BUG FIXES HADOOP-3011. Prohibit distcp from overwriting directories on the destination filesystem with files. (cdouglas) HADOOP-3033. The BlockReceiver thread in the datanode writes data to the block file, changes file position (if needed) and flushes all by itself. The PacketResponder thread does not flush block file. (dhruba) HADOOP-2978. Fixes the JobHistory log format for counters. (Runping Qi via ddas) HADOOP-2985. Fixes LocalJobRunner to tolerate null job output path. Also makes the _temporary a constant in MRConstants.java. (Amareshwari Sriramadasu via ddas) HADOOP-3003. FileSystem cache key is updated after a FileSystem object is created. (Tsz Wo (Nicholas), SZE via dhruba) HADOOP-3042. Updates the Javadoc in JobConf.getOutputPath to reflect the actual temporary path. (Amareshwari Sriramadasu via ddas) HADOOP-3007. Tolerate mirror failures while DataNode is replicating blocks as it used to before. (rangadi) HADOOP-2944. Fixes a "Run on Hadoop" wizard NPE when creating a Location from the wizard. (taton) HADOOP-3049. Fixes a problem in MultiThreadedMapRunner to do with catching RuntimeExceptions. (Alejandro Abdelnur via ddas) HADOOP-3039. Fixes a problem to do with exceptions in tasks not killing jobs. (Amareshwari Sriramadasu via ddas) HADOOP-3027. Fixes a problem to do with adding a shutdown hook in FileSystem. (Amareshwari Sriramadasu via ddas) HADOOP-3056. Fix distcp when the target is an empty directory by making sure the directory is created first. (cdouglas and acmurthy via omalley) HADOOP-3070. Protect the trash emptier thread from null pointer exceptions. (Koji Noguchi via omalley) HADOOP-3084. Fix HftpFileSystem to work for zero-lenghth files. (cdouglas) HADOOP-3107. Fix NPE when fsck invokes getListings. (dhruba) HADOOP-3104. Limit MultithreadedMapRunner to have a fixed length queue between the RecordReader and the map threads. (Alejandro Abdelnur via omalley) HADOOP-2833. Do not use "Dr. Who" as the default user in JobClient. A valid user name is required. (Tsz Wo (Nicholas), SZE via rangadi) HADOOP-3128. Throw RemoteException in setPermissions and setOwner of DistributedFileSystem. (shv via nigel) Release 0.16.1 - 2008-03-13 INCOMPATIBLE CHANGES HADOOP-2869. Deprecate SequenceFile.setCompressionType in favor of SequenceFile.createWriter, SequenceFileOutputFormat.setCompressionType, and JobConf.setMapOutputCompressionType. (Arun C Murthy via cdouglas) Configuration changes to hadoop-default.xml: deprecated io.seqfile.compression.type IMPROVEMENTS HADOOP-2371. User guide for file permissions in HDFS. (Robert Chansler via rangadi) HADOOP-3098. Allow more characters in user and group names while using -chown and -chgrp commands. (rangadi) BUG FIXES HADOOP-2789. Race condition in IPC Server Responder that could close connections early. (Raghu Angadi) HADOOP-2785. minor. Fix a typo in Datanode block verification (Raghu Angadi) HADOOP-2788. minor. Fix help message for chgrp shell command (Raghu Angadi). HADOOP-1188. fstime file is updated when a storage directory containing namespace image becomes inaccessible. (shv) HADOOP-2787. An application can set a configuration variable named dfs.umask to set the umask that is used by DFS. (Tsz Wo (Nicholas), SZE via dhruba) HADOOP-2780. The default socket buffer size for DataNodes is 128K. (dhruba) HADOOP-2716. Superuser privileges for the Balancer. (Tsz Wo (Nicholas), SZE via shv) HADOOP-2754. Filter out .crc files from local file system listing. (Hairong Kuang via shv) HADOOP-2733. Fix compiler warnings in test code. (Tsz Wo (Nicholas), SZE via cdouglas) HADOOP-2725. Modify distcp to avoid leaving partially copied files at the destination after encountering an error. (Tsz Wo (Nicholas), SZE via cdouglas) HADOOP-2391. Cleanup job output directory before declaring a job as SUCCESSFUL. (Amareshwari Sri Ramadasu via ddas) HADOOP-2808. Minor fix to FileUtil::copy to mind the overwrite formal. (cdouglas) HADOOP-2683. Moving UGI out of the RPC Server. (Tsz Wo (Nicholas), SZE via shv) HADOOP-2814. Fix for NPE in datanode in unit test TestDataTransferProtocol. (Raghu Angadi via dhruba) HADOOP-2811. Dump of counters in job history does not add comma between groups. (runping via omalley) HADOOP-2735. Enables setting TMPDIR for tasks. (Amareshwari Sri Ramadasu via ddas) HADOOP-2843. Fix protections on map-side join classes to enable derivation. (cdouglas via omalley) HADOOP-2840. Fix gridmix scripts to correctly invoke the java sort through the proper jar. (Mukund Madhugiri via cdouglas) HADOOP-2769. TestNNThroughputBnechmark should not use a fixed port for the namenode http port. (omalley) HADOOP-2852. Update gridmix benchmark to avoid an artifically long tail. (cdouglas) HADOOP-2894. Fix a problem to do with tasktrackers failing to connect to JobTracker upon reinitialization. (Owen O'Malley via ddas). HADOOP-2903. Fix exception generated by Metrics while using pushMetric(). (girish vaitheeswaran via dhruba) HADOOP-2904. Fix to RPC metrics to log the correct host name. (girish vaitheeswaran via dhruba) HADOOP-2918. Improve error logging so that dfs writes failure with "No lease on file" can be diagnosed. (dhruba) HADOOP-2923. Add SequenceFileAsBinaryInputFormat, which was missed in the commit for HADOOP-2603. (cdouglas via omalley) HADOOP-2931. IOException thrown by DFSOutputStream had wrong stack trace in some cases. (Michael Bieniosek via rangadi) HADOOP-2883. Write failures and data corruptions on HDFS files. The write timeout is back to what it was on 0.15 release. Also, the datnodes flushes the block file buffered output stream before sending a positive ack for the packet back to the client. (dhruba) HADOOP-2756. NPE in DFSClient while closing DFSOutputStreams under load. (rangadi) HADOOP-2958. Fixed FileBench which broke due to HADOOP-2391 which performs a check for existence of the output directory and a trivial bug in GenericMRLoadGenerator where min/max word lenghts were identical since they were looking at the same config variables (Chris Douglas via acmurthy) HADOOP-2915. Fixed FileSystem.CACHE so that a username is included in the cache key. (Tsz Wo (Nicholas), SZE via nigel) HADOOP-2813. TestDU unit test uses its own directory to run its sequence of tests. (Mahadev Konar via dhruba) Release 0.16.0 - 2008-02-07 INCOMPATIBLE CHANGES HADOOP-1245. Use the mapred.tasktracker.tasks.maximum value configured on each tasktracker when allocating tasks, instead of the value configured on the jobtracker. InterTrackerProtocol version changed from 5 to 6. (Michael Bieniosek via omalley) HADOOP-1843. Removed code from Configuration and JobConf deprecated by HADOOP-785 and a minor fix to Configuration.toString. Specifically the important change is that mapred-default.xml is no longer supported and Configuration no longer supports the notion of default/final resources. (acmurthy) HADOOP-1302. Remove deprecated abacus code from the contrib directory. This also fixes a configuration bug in AggregateWordCount, so that the job now works. (enis) HADOOP-2288. Enhance FileSystem API to support access control. (Tsz Wo (Nicholas), SZE via dhruba) HADOOP-2184. RPC Support for user permissions and authentication. (Raghu Angadi via dhruba) HADOOP-2185. RPC Server uses any available port if the specified port is zero. Otherwise it uses the specified port. Also combines the configuration attributes for the servers' bind address and port from "x.x.x.x" and "y" to "x.x.x.x:y". Deprecated configuration variables: dfs.info.bindAddress dfs.info.port dfs.datanode.bindAddress dfs.datanode.port dfs.datanode.info.bindAdress dfs.datanode.info.port dfs.secondary.info.bindAddress dfs.secondary.info.port mapred.job.tracker.info.bindAddress mapred.job.tracker.info.port mapred.task.tracker.report.bindAddress tasktracker.http.bindAddress tasktracker.http.port New configuration variables (post HADOOP-2404): dfs.secondary.http.address dfs.datanode.address dfs.datanode.http.address dfs.http.address mapred.job.tracker.http.address mapred.task.tracker.report.address mapred.task.tracker.http.address (Konstantin Shvachko via dhruba) HADOOP-2401. Only the current leaseholder can abandon a block for a HDFS file. ClientProtocol version changed from 20 to 21. (Tsz Wo (Nicholas), SZE via dhruba) HADOOP-2381. Support permission information in FileStatus. Client Protocol version changed from 21 to 22. (Raghu Angadi via dhruba) HADOOP-2110. Block report processing creates fewer transient objects. Datanode Protocol version changed from 10 to 11. (Sanjay Radia via dhruba) HADOOP-2567. Add FileSystem#getHomeDirectory(), which returns the user's home directory in a FileSystem as a fully-qualified path. FileSystem#getWorkingDirectory() is also changed to return a fully-qualified path, which can break applications that attempt to, e.g., pass LocalFileSystem#getWorkingDir().toString() directly to java.io methods that accept file names. (cutting) HADOOP-2514. Change trash feature to maintain a per-user trash directory, named ".Trash" in the user's home directory. The "fs.trash.root" parameter is no longer used. Full source paths are also no longer reproduced within the trash. HADOOP-2012. Periodic data verification on Datanodes. (Raghu Angadi via dhruba) HADOOP-1707. The DFSClient does not use a local disk file to cache writes to a HDFS file. Changed Data Transfer Version from 7 to 8. (dhruba) HADOOP-2652. Fix permission issues for HftpFileSystem. This is an incompatible change since distcp may not be able to copy files from cluster A (compiled with this patch) to cluster B (compiled with previous versions). (Tsz Wo (Nicholas), SZE via dhruba) NEW FEATURES HADOOP-1857. Ability to run a script when a task fails to capture stack traces. (Amareshwari Sri Ramadasu via ddas) HADOOP-2299. Defination of a login interface. A simple implementation for Unix users and groups. (Hairong Kuang via dhruba) HADOOP-1652. A utility to balance data among datanodes in a HDFS cluster. (Hairong Kuang via dhruba) HADOOP-2085. A library to support map-side joins of consistently partitioned and sorted data sets. (Chris Douglas via omalley) HADOOP-2336. Shell commands to modify file permissions. (rangadi) HADOOP-1298. Implement file permissions for HDFS. (Tsz Wo (Nicholas) & taton via cutting) HADOOP-2447. HDFS can be configured to limit the total number of objects (inodes and blocks) in the file system. (dhruba) HADOOP-2487. Added an option to get statuses for all submitted/run jobs. This information can be used to develop tools for analysing jobs. (Amareshwari Sri Ramadasu via acmurthy) HADOOP-1873. Implement user permissions for Map/Reduce framework. (Hairong Kuang via shv) HADOOP-2532. Add to MapFile a getClosest method that returns the key that comes just before if the key is not present. (stack via tomwhite) HADOOP-1883. Add versioning to Record I/O. (Vivek Ratan via ddas) HADOOP-2603. Add SeqeunceFileAsBinaryInputFormat, which reads sequence files as BytesWritable/BytesWritable regardless of the key and value types used to write the file. (cdouglas via omalley) HADOOP-2367. Add ability to profile a subset of map/reduce tasks and fetch the result to the local filesystem of the submitting application. Also includes a general IntegerRanges extension to Configuration for setting positive, ranged parameters. (Owen O'Malley via cdouglas) IMPROVEMENTS HADOOP-2045. Change committer list on website to a table, so that folks can list their organization, timezone, etc. (cutting) HADOOP-2058. Facilitate creating new datanodes dynamically in MiniDFSCluster. (Hairong Kuang via dhruba) HADOOP-1855. fsck verifies block placement policies and reports violations. (Konstantin Shvachko via dhruba) HADOOP-1604. An system administrator can finalize namenode upgrades without running the cluster. (Konstantin Shvachko via dhruba) HADOOP-1839. Link-ify the Pending/Running/Complete/Killed grid in jobdetails.jsp to help quickly narrow down and see categorized TIPs' details via jobtasks.jsp. (Amar Kamat via acmurthy) HADOOP-1210. Log counters in job history. (Owen O'Malley via ddas) HADOOP-1912. Datanode has two new commands COPY and REPLACE. These are needed for supporting data rebalance. (Hairong Kuang via dhruba) HADOOP-2086. This patch adds the ability to add dependencies to a job (run via JobControl) after construction. (Adrian Woodhead via ddas) HADOOP-1185. Support changing the logging level of a server without restarting the server. (Tsz Wo (Nicholas), SZE via dhruba) HADOOP-2134. Remove developer-centric requirements from overview.html and keep it end-user focussed, specifically sections related to subversion and building Hadoop. (Jim Kellerman via acmurthy) HADOOP-1989. Support simulated DataNodes. This helps creating large virtual clusters for testing purposes. (Sanjay Radia via dhruba) HADOOP-1274. Support different number of mappers and reducers per TaskTracker to allow administrators to better configure and utilize heterogenous clusters. Configuration changes to hadoop-default.xml: add mapred.tasktracker.map.tasks.maximum (default value of 2) add mapred.tasktracker.reduce.tasks.maximum (default value of 2) remove mapred.tasktracker.tasks.maximum (deprecated for 0.16.0) (Amareshwari Sri Ramadasu via acmurthy) HADOOP-2104. Adds a description to the ant targets. This makes the output of "ant -projecthelp" sensible. (Chris Douglas via ddas) HADOOP-2127. Added a pipes sort example to benchmark trivial pipes application versus trivial java application. (omalley via acmurthy) HADOOP-2113. A new shell command "dfs -text" to view the contents of a gziped or SequenceFile. (Chris Douglas via dhruba) HADOOP-2207. Add a "package" target for contrib modules that permits each to determine what files are copied into release builds. (stack via cutting) HADOOP-1984. Makes the backoff for failed fetches exponential. Earlier, it was a random backoff from an interval. (Amar Kamat via ddas) HADOOP-1327. Include website documentation for streaming. (Rob Weltman via omalley) HADOOP-2000. Rewrite NNBench to measure namenode performance accurately. It now uses the map-reduce framework for load generation. (Mukund Madhugiri via dhruba) HADOOP-2248. Speeds up the framework w.r.t Counters. Also has API updates to the Counters part. (Owen O'Malley via ddas) HADOOP-2326. The initial block report at Datanode startup time has a random backoff period. (Sanjay Radia via dhruba) HADOOP-2432. HDFS includes the name of the file while throwing "File does not exist" exception. (Jim Kellerman via dhruba) HADOOP-2457. Added a 'forrest.home' property to the 'docs' target in build.xml. (acmurthy) HADOOP-2149. A new benchmark for three name-node operation: file create, open, and block report, to evaluate the name-node performance for optimizations or new features. (Konstantin Shvachko via shv) HADOOP-2466. Change FileInputFormat.computeSplitSize to a protected non-static method to allow sub-classes to provide alternate implementations. (Alejandro Abdelnur via acmurthy) HADOOP-2425. Change TextOutputFormat to handle Text specifically for better performance. Make NullWritable implement Comparable. Make TextOutputFormat treat NullWritable like null. (omalley) HADOOP-1719. Improves the utilization of shuffle copier threads. (Amar Kamat via ddas) HADOOP-2390. Added documentation for user-controls for intermediate map-outputs & final job-outputs and native-hadoop libraries. (acmurthy) HADOOP-1660. Add the cwd of the map/reduce task to the java.library.path of the child-jvm to support loading of native libraries distributed via the DistributedCache. (acmurthy) HADOOP-2285. Speeds up TextInputFormat. Also includes updates to the Text API. (Owen O'Malley via cdouglas) HADOOP-2233. Adds a generic load generator for modeling MR jobs. (cdouglas) HADOOP-2369. Adds a set of scripts for simulating a mix of user map/reduce workloads. (Runping Qi via cdouglas) HADOOP-2547. Removes use of a 'magic number' in build.xml. (Hrishikesh via nigel) HADOOP-2268. Fix org.apache.hadoop.mapred.jobcontrol classes to use the List/Map interfaces rather than concrete ArrayList/HashMap classes internally. (Adrian Woodhead via acmurthy) HADOOP-2406. Add a benchmark for measuring read/write performance through the InputFormat interface, particularly with compression. (cdouglas) HADOOP-2131. Allow finer-grained control over speculative-execution. Now users can set it for maps and reduces independently. Configuration changes to hadoop-default.xml: deprecated mapred.speculative.execution add mapred.map.tasks.speculative.execution add mapred.reduce.tasks.speculative.execution (Amareshwari Sri Ramadasu via acmurthy) HADOOP-1965. Interleave sort/spill in teh map-task along with calls to the Mapper.map method. This is done by splitting the 'io.sort.mb' buffer into two and using one half for collecting map-outputs and the other half for sort/spill. (Amar Kamat via acmurthy) HADOOP-2464. Unit tests for chmod, chown, and chgrp using DFS. (Raghu Angadi) HADOOP-1876. Persist statuses of completed jobs in HDFS so that the JobClient can query and get information about decommissioned jobs and also across JobTracker restarts. Configuration changes to hadoop-default.xml: add mapred.job.tracker.persist.jobstatus.active (default value of false) add mapred.job.tracker.persist.jobstatus.hours (default value of 0) add mapred.job.tracker.persist.jobstatus.dir (default value of /jobtracker/jobsInfo) (Alejandro Abdelnur via acmurthy) HADOOP-2077. Added version and build information to STARTUP_MSG for all hadoop daemons to aid error-reporting, debugging etc. (acmurthy) HADOOP-2398. Additional instrumentation for NameNode and RPC server. Add support for accessing instrumentation statistics via JMX. (Sanjay radia via dhruba) HADOOP-2449. A return of the non-MR version of NNBench. (Sanjay Radia via shv) HADOOP-1989. Remove 'datanodecluster' command from bin/hadoop. (Sanjay Radia via shv) HADOOP-1742. Improve JavaDoc documentation for ClientProtocol, DFSClient, and FSNamesystem. (Konstantin Shvachko) HADOOP-2298. Add Ant target for a binary-only distribution. (Hrishikesh via nigel) HADOOP-2509. Add Ant target for Rat report (Apache license header reports). (Hrishikesh via nigel) HADOOP-2469. WritableUtils.clone should take a Configuration instead of a JobConf. (stack via omalley) HADOOP-2659. Introduce superuser permissions for admin operations. (Tsz Wo (Nicholas), SZE via shv) HADOOP-2596. Added a SequenceFile.createWriter api which allows the user to specify the blocksize, replication factor and the buffersize to be used for the underlying HDFS file. (Alejandro Abdelnur via acmurthy) HADOOP-2431. Test HDFS File Permissions. (Hairong Kuang via shv) HADOOP-2232. Add an option to disable Nagle's algorithm in the IPC stack. (Clint Morgan via cdouglas) HADOOP-2342. Created a micro-benchmark for measuring local-file versus hdfs reads. (Owen O'Malley via nigel) HADOOP-2529. First version of HDFS User Guide. (Raghu Angadi) HADOOP-2690. Add jar-test target to build.xml, separating compilation and packaging of the test classes. (Enis Soztutar via cdouglas) OPTIMIZATIONS HADOOP-1898. Release the lock protecting the last time of the last stack dump while the dump is happening. (Amareshwari Sri Ramadasu via omalley) HADOOP-1900. Makes the heartbeat and task event queries interval dependent on the cluster size. (Amareshwari Sri Ramadasu via ddas) HADOOP-2208. Counter update frequency (from TaskTracker to JobTracker) is capped at 1 minute. (Amareshwari Sri Ramadasu via ddas) HADOOP-2284. Reduce the number of progress updates during the sorting in the map task. (Amar Kamat via ddas) BUG FIXES HADOOP-2583. Fixes a bug in the Eclipse plug-in UI to edit locations. Plug-in version is now synchronized with Hadoop version. HADOOP-2100. Remove faulty check for existence of $HADOOP_PID_DIR and let 'mkdir -p' check & create it. (Michael Bieniosek via acmurthy) HADOOP-1642. Ensure jobids generated by LocalJobRunner are unique to avoid collissions and hence job-failures. (Doug Cutting via acmurthy) HADOOP-2096. Close open file-descriptors held by streams while localizing job.xml in the JobTracker and while displaying it on the webui in jobconf.jsp. (Amar Kamat via acmurthy) HADOOP-2098. Log start & completion of empty jobs to JobHistory, which also ensures that we close the file-descriptor of the job's history log opened during job-submission. (Amar Kamat via acmurthy) HADOOP-2112. Adding back changes to build.xml lost while reverting HADOOP-1622 i.e. http://svn.apache.org/viewvc?view=rev&revision=588771. (acmurthy) HADOOP-2089. Fixes the command line argument handling to handle multiple -cacheArchive in Hadoop streaming. (Lohit Vijayarenu via ddas) HADOOP-2071. Fix StreamXmlRecordReader to use a BufferedInputStream wrapped over the DFSInputStream since mark/reset aren't supported by DFSInputStream anymore. (Lohit Vijayarenu via acmurthy) HADOOP-1348. Allow XML comments inside configuration files. (Rajagopal Natarajan and Enis Soztutar via enis) HADOOP-1952. Improve handling of invalid, user-specified classes while configuring streaming jobs such as combiner, input/output formats etc. Now invalid options are caught, logged and jobs are failed early. (Lohit Vijayarenu via acmurthy) HADOOP-2151. FileSystem.globPaths validates the list of Paths that it returns. (Lohit Vijayarenu via dhruba) HADOOP-2121. Cleanup DFSOutputStream when the stream encountered errors when Datanodes became full. (Raghu Angadi via dhruba) HADOOP-1130. The FileSystem.closeAll() method closes all existing DFSClients. (Chris Douglas via dhruba) HADOOP-2204. DFSTestUtil.waitReplication was not waiting for all replicas to get created, thus causing unit test failure. (Raghu Angadi via dhruba) HADOOP-2078. An zero size file may have no blocks associated with it. (Konstantin Shvachko via dhruba) HADOOP-2212. ChecksumFileSystem.getSumBufferSize might throw java.lang.ArithmeticException. The fix is to initialize bytesPerChecksum to 0. (Michael Bieniosek via ddas) HADOOP-2216. Fix jobtasks.jsp to ensure that it first collects the taskids which satisfy the filtering criteria and then use that list to print out only the required task-reports, previously it was oblivious to the filtering and hence used the wrong index into the array of task-reports. (Amar Kamat via acmurthy) HADOOP-2272. Fix findbugs target to reflect changes made to the location of the streaming jar file by HADOOP-2207. (Adrian Woodhead via nigel) HADOOP-2244. Fixes the MapWritable.readFields to clear the instance field variable every time readFields is called. (Michael Stack via ddas). HADOOP-2245. Fixes LocalJobRunner to include a jobId in the mapId. Also, adds a testcase for JobControl. (Adrian Woodhead via ddas). HADOOP-2275. Fix erroneous detection of corrupted file when namenode fails to allocate any datanodes for newly allocated block. (Dhruba Borthakur via dhruba) HADOOP-2256. Fix a buf in the namenode that could cause it to encounter an infinite loop while deleting excess replicas that were created by block rebalancing. (Hairong Kuang via dhruba) HADOOP-2209. SecondaryNamenode process exits if it encounters exceptions that it cannot handle. (Dhruba Borthakur via dhruba) HADOOP-2314. Prevent TestBlockReplacement from occasionally getting into an infinite loop. (Hairong Kuang via dhruba) HADOOP-2300. This fixes a bug where mapred.tasktracker.tasks.maximum would be ignored even if it was set in hadoop-site.xml. (Amareshwari Sri Ramadasu via ddas) HADOOP-2349. Improve code layout in file system transaction logging code. (Tsz Wo (Nicholas), SZE via dhruba) HADOOP-2368. Fix unit tests on Windows. (Tsz Wo (Nicholas), SZE via dhruba) HADOOP-2363. This fix allows running multiple instances of the unit test in parallel. The bug was introduced in HADOOP-2185 that changed port-rolling behaviour. (Konstantin Shvachko via dhruba) HADOOP-2271. Fix chmod task to be non-parallel. (Adrian Woodhead via omalley) HADOOP-2313. Fail the build if building libhdfs fails. (nigel via omalley) HADOOP-2359. Remove warning for interruptted exception when closing down minidfs. (dhruba via omalley) HADOOP-1841. Prevent slow clients from consuming threads in the NameNode. (dhruba) HADOOP-2323. JobTracker.close() should not print stack traces for normal exit. (jimk via cutting) HADOOP-2376. Prevents sort example from overriding the number of maps. (Owen O'Malley via ddas) HADOOP-2434. FSDatasetInterface read interface causes HDFS reads to occur in 1 byte chunks, causing performance degradation. (Raghu Angadi via dhruba) HADOOP-2459. Fix package target so that src/docs/build files are not included in the release. (nigel) HADOOP-2215. Fix documentation in cluster_setup.html & mapred_tutorial.html reflect that mapred.tasktracker.tasks.maximum has been superceeded by mapred.tasktracker.{map|reduce}.tasks.maximum. (Amareshwari Sri Ramadasu via acmurthy) HADOOP-2459. Fix package target so that src/docs/build files are not included in the release. (nigel) HADOOP-2352. Remove AC_CHECK_LIB for libz and liblzo to ensure that libhadoop.so doesn't have a dependency on them. (acmurthy) HADOOP-2453. Fix the configuration for wordcount-simple example in Hadoop Pipes which currently produces an XML parsing error. (Amareshwari Sri Ramadasu via acmurthy) HADOOP-2476. Unit test failure while reading permission bits of local file system (on Windows) fixed. (Raghu Angadi via dhruba) HADOOP-2247. Fine-tune the strategies for killing mappers and reducers due to failures while fetching map-outputs. Now the map-completion times and number of currently running reduces are taken into account by the JobTracker before killing the mappers, while the progress made by the reducer and the number of fetch-failures vis-a-vis total number of fetch-attempts are taken into account before teh reducer kills itself. (Amar Kamat via acmurthy) HADOOP-2452. Fix eclipse plug-in build.xml to refers to the right location where hadoop-*-core.jar is generated. (taton) HADOOP-2492. Additional debugging in the rpc server to better diagnose ConcurrentModificationException. (dhruba) HADOOP-2344. Enhance the utility for executing shell commands to read the stdout/stderr streams while waiting for the command to finish (to free up the buffers). Also, this patch throws away stderr of the DF utility. @deprecated org.apache.hadoop.fs.ShellCommand for org.apache.hadoop.util.Shell org.apache.hadoop.util.ShellUtil for org.apache.hadoop.util.Shell.ShellCommandExecutor (Amar Kamat via acmurthy) HADOOP-2511. Fix a javadoc warning in org.apache.hadoop.util.Shell introduced by HADOOP-2344. (acmurthy) HADOOP-2442. Fix TestLocalFileSystemPermission.testLocalFSsetOwner to work on more platforms. (Raghu Angadi via nigel) HADOOP-2488. Fix a regression in random read performance. (Michael Stack via rangadi) HADOOP-2523. Fix TestDFSShell.testFilePermissions on Windows. (Raghu Angadi via nigel) HADOOP-2535. Removed support for deprecated mapred.child.heap.size and fixed some indentation issues in TaskRunner. (acmurthy) Configuration changes to hadoop-default.xml: remove mapred.child.heap.size HADOOP-2512. Fix error stream handling in Shell. Use exit code to detect shell command errors in RawLocalFileSystem. (Raghu Angadi) HADOOP-2446. Fixes TestHDFSServerPorts and TestMRServerPorts so they do not rely on statically configured ports and cleanup better. (nigel) HADOOP-2537. Make build process compatible with Ant 1.7.0. (Hrishikesh via nigel) HADOOP-1281. Ensure running tasks of completed map TIPs (e.g. speculative tasks) are killed as soon as the TIP completed. (acmurthy) HADOOP-2571. Suppress a suprious warning in test code. (cdouglas) HADOOP-2481. NNBench report its progress periodically. (Hairong Kuang via dhruba) HADOOP-2601. Start name-node on a free port for TestNNThroughputBenchmark. (Konstantin Shvachko) HADOOP-2494. Set +x on contrib/*/bin/* in packaged tar bundle. (stack via tomwhite) HADOOP-2605. Remove bogus leading slash in task-tracker report bindAddress. (Konstantin Shvachko) HADOOP-2620. Trivial. 'bin/hadoop fs -help' did not list chmod, chown, and chgrp. (Raghu Angadi) HADOOP-2614. The DFS WebUI accesses are configured to be from the user specified by dfs.web.ugi. (Tsz Wo (Nicholas), SZE via dhruba) HADOOP-2543. Implement a "no-permission-checking" mode for smooth upgrade from a pre-0.16 install of HDFS. (Hairong Kuang via dhruba) HADOOP-290. A DataNode log message now prints the target of a replication request correctly. (dhruba) HADOOP-2538. Redirect to a warning, if plaintext parameter is true but the filter parameter is not given in TaskLogServlet. (Michael Bieniosek via enis) HADOOP-2582. Prevent 'bin/hadoop fs -copyToLocal' from creating zero-length files when the src does not exist. (Lohit Vijayarenu via cdouglas) HADOOP-2189. Incrementing user counters should count as progress. (ddas) HADOOP-2649. The NameNode periodically computes replication work for the datanodes. The periodicity of this computation is now configurable. (dhruba) HADOOP-2549. Correct disk size computation so that data-nodes could switch to other local drives if current is full. (Hairong Kuang via shv) HADOOP-2633. Fsck should call name-node methods directly rather than through rpc. (Tsz Wo (Nicholas), SZE via shv) HADOOP-2687. Modify a few log message generated by dfs client to be logged only at INFO level. (stack via dhruba) HADOOP-2402. Fix BlockCompressorStream to ensure it buffers data before sending it down to the compressor so that each write call doesn't compress. (Chris Douglas via acmurthy) HADOOP-2645. The Metrics initialization code does not throw exceptions when servers are restarted by MiniDFSCluster. (Sanjay Radia via dhruba) HADOOP-2691. Fix a race condition that was causing the DFSClient to erroneously remove a good datanode from a pipeline that actually had another datanode that was bad. (dhruba) HADOOP-1195. All code in FSNamesystem checks the return value of getDataNode for null before using it. (dhruba) HADOOP-2640. Fix a bug in MultiFileSplitInputFormat that was always returning 1 split in some circumstances. (Enis Soztutar via nigel) HADOOP-2626. Fix paths with special characters to work correctly with the local filesystem. (Thomas Friol via cutting) HADOOP-2646. Fix SortValidator to work with fully-qualified working directories. (Arun C Murthy via nigel) HADOOP-2092. Added a ping mechanism to the pipes' task to periodically check if the parent Java task is running, and exit if the parent isn't alive and responding. (Amareshwari Sri Ramadasu via acmurthy) HADOOP-2714. TestDecommission failed on windows because the replication request was timing out. (dhruba) HADOOP-2576. Namenode performance degradation over time triggered by large heartbeat interval. (Raghu Angadi) HADOOP-2713. TestDatanodeDeath failed on windows because the replication request was timing out. (dhruba) HADOOP-2639. Fixes a problem to do with incorrect maintenance of values for runningMapTasks/runningReduceTasks. (Amar Kamat and Arun Murthy via ddas) HADOOP-2723. Fixed the check for checking whether to do user task profiling. (Amareshwari Sri Ramadasu via omalley) HADOOP-2734. Link forrest docs to new http://hadoop.apache.org (Doug Cutting via nigel) HADOOP-2641. Added Apache license headers to 95 files. (nigel) HADOOP-2732. Fix bug in path globbing. (Hairong Kuang via nigel) HADOOP-2404. Fix backwards compatability with hadoop-0.15 configuration files that was broken by HADOOP-2185. (omalley) HADOOP-2755. Fix fsck performance degradation because of permissions issue. (Tsz Wo (Nicholas), SZE via dhruba) HADOOP-2768. Fix performance regression caused by HADOOP-1707. (dhruba borthakur via nigel) HADOOP-3108. Fix NPE in setPermission and setOwner. (shv) Release 0.15.3 - 2008-01-18 BUG FIXES HADOOP-2562. globPaths supports {ab,cd}. (Hairong Kuang via dhruba) HADOOP-2540. fsck reports missing blocks incorrectly. (dhruba) HADOOP-2570. "work" directory created unconditionally, and symlinks created from the task cwds. HADOOP-2574. Fixed mapred_tutorial.xml to correct minor errors with the WordCount examples. (acmurthy) Release 0.15.2 - 2008-01-02 BUG FIXES HADOOP-2246. Moved the changelog for HADOOP-1851 from the NEW FEATURES section to the INCOMPATIBLE CHANGES section. (acmurthy) HADOOP-2238. Fix TaskGraphServlet so that it sets the content type of the response appropriately. (Paul Saab via enis) HADOOP-2129. Fix so that distcp works correctly when source is HDFS but not the default filesystem. HDFS paths returned by the listStatus() method are now fully-qualified. (cutting) HADOOP-2378. Fixes a problem where the last task completion event would get created after the job completes. (Alejandro Abdelnur via ddas) HADOOP-2228. Checks whether a job with a certain jobId is already running and then tries to create the JobInProgress object. (Johan Oskarsson via ddas) HADOOP-2422. dfs -cat multiple files fail with 'Unable to write to output stream'. (Raghu Angadi via dhruba) HADOOP-2460. When the namenode encounters ioerrors on writing a transaction log, it stops writing new transactions to that one. (Raghu Angadi via dhruba) HADOOP-2227. Use the LocalDirAllocator uniformly for handling all of the temporary storage required for a given task. It also implies that mapred.local.dir.minspacestart is handled by checking if there is enough free-space on any one of the available disks. (Amareshwari Sri Ramadasu via acmurthy) HADOOP-2437. Fix the LocalDirAllocator to choose the seed for the round-robin disk selections randomly. This helps in spreading data across multiple partitions much better. (acmurhty) HADOOP-2486. When the list of files from the InMemoryFileSystem is obtained for merging, this patch will ensure that only those files whose checksums have also got created (renamed) are returned. (ddas) HADOOP-2456. Hardcode English locale to prevent NumberFormatException from occurring when starting the NameNode with certain locales. (Matthias Friedrich via nigel) IMPROVEMENTS HADOOP-2160. Remove project-level, non-user documentation from releases, since it's now maintained in a separate tree. (cutting) HADOOP-1327. Add user documentation for streaming. (cutting) HADOOP-2382. Add hadoop-default.html to subversion. (cutting) HADOOP-2158. hdfsListDirectory calls FileSystem.listStatus instead of FileSystem.listPaths. This reduces the number of RPC calls on the namenode, thereby improving scalability. (Christian Kunz via dhruba) Release 0.15.1 - 2007-11-27 INCOMPATIBLE CHANGES HADOOP-713. Reduce CPU usage on namenode while listing directories. FileSystem.listPaths does not return the size of the entire subtree. Introduced a new API ClientProtocol.getContentLength that returns the size of the subtree. (Dhruba Borthakur via dhruba) IMPROVEMENTS HADOOP-1917. Addition of guides/tutorial for better overall documentation for Hadoop. Specifically: * quickstart.html is targetted towards first-time users and helps them setup a single-node cluster and play with Hadoop. * cluster_setup.html helps admins to configure and setup non-trivial hadoop clusters. * mapred_tutorial.html is a comprehensive Map-Reduce tutorial. (acmurthy) BUG FIXES HADOOP-2174. Removed the unnecessary Reporter.setStatus call from FSCopyFilesMapper.close which led to a NPE since the reporter isn't valid in the close method. (Chris Douglas via acmurthy) HADOOP-2172. Restore performance of random access to local files by caching positions of local input streams, avoiding a system call. (cutting) HADOOP-2205. Regenerate the Hadoop website since some of the changes made by HADOOP-1917 weren't correctly copied over to the trunk/docs directory. Also fixed a couple of minor typos and broken links. (acmurthy) Release 0.15.0 - 2007-11-2 INCOMPATIBLE CHANGES HADOOP-1708. Make files appear in namespace as soon as they are created. (Dhruba Borthakur via dhruba) HADOOP-999. A HDFS Client immediately informs the NameNode of a new file creation. ClientProtocol version changed from 14 to 15. (Tsz Wo (Nicholas), SZE via dhruba) HADOOP-932. File locking interfaces and implementations (that were earlier deprecated) are removed. Client Protocol version changed from 15 to 16. (Raghu Angadi via dhruba) HADOOP-1621. FileStatus is now a concrete class and FileSystem.listPaths is deprecated and replaced with listStatus. (Chris Douglas via omalley) HADOOP-1656. The blockSize of a file is stored persistently in the file inode. (Dhruba Borthakur via dhruba) HADOOP-1838. The blocksize of files created with an earlier release is set to the default block size. (Dhruba Borthakur via dhruba) HADOOP-785. Add support for 'final' Configuration parameters, removing support for 'mapred-default.xml', and changing 'hadoop-site.xml' to not override other files. Now folks should generally use 'hadoop-site.xml' for all configurations. Values with a 'final' tag may not be overridden by subsequently loaded configuration files, e.g., by jobs. (Arun C. Murthy via cutting) HADOOP-1846. DatanodeReport in ClientProtocol can report live datanodes, dead datanodes or all datanodes. Client Protocol version changed from 17 to 18. (Hairong Kuang via dhruba) HADOOP-1851. Permit specification of map output compression type and codec, independent of the final output's compression parameters. (Arun C Murthy via cutting) HADOOP-1819. Jobtracker cleanups, including binding ports before clearing state directories, so that inadvertently starting a second jobtracker doesn't trash one that's already running. Removed method JobTracker.getTracker() because the static variable, which stored the value caused initialization problems. (omalley via cutting) NEW FEATURES HADOOP-89. A client can access file data even before the creator has closed the file. Introduce a new command "tail" from dfs shell. (Dhruba Borthakur via dhruba) HADOOP-1636. Allow configuration of the number of jobs kept in memory by the JobTracker. (Michael Bieniosek via omalley) HADOOP-1667. Reorganize CHANGES.txt into sections to make it easier to read. Also remove numbering, to make merging easier. (cutting) HADOOP-1610. Add metrics for failed tasks. (Devaraj Das via tomwhite) HADOOP-1767. Add "bin/hadoop job -list" sub-command. (taton via cutting) HADOOP-1351. Add "bin/hadoop job [-fail-task|-kill-task]" sub-commands to terminate a particular task-attempt. (Enis Soztutar via acmurthy) HADOOP-1880. SleepJob : An example job that sleeps at each map and reduce task. (enis) HADOOP-1809. Add a link in web site to #hadoop IRC channel. (enis) HADOOP-1894. Add percentage graphs and mapred task completion graphs to Web User Interface. Users not using Firefox may install a plugin to their browsers to see svg graphics. (enis) HADOOP-1914. Introduce a new NamenodeProtocol to allow secondary namenodes and rebalancing processes to communicate with a primary namenode. (Hairong Kuang via dhruba) HADOOP-1963. Add a FileSystem implementation for the Kosmos Filesystem (KFS). (Sriram Rao via cutting) HADOOP-1822. Allow the specialization and configuration of socket factories. Provide a StandardSocketFactory, and a SocksSocketFactory to allow the use of SOCKS proxies. (taton). HADOOP-1968. FileSystem supports wildcard input syntax "{ }". (Hairong Kuang via dhruba) HADOOP-2566. Add globStatus method to the FileSystem interface and deprecate globPath and listPath. (Hairong Kuang via hairong) OPTIMIZATIONS HADOOP-1910. Reduce the number of RPCs that DistributedFileSystem.create() makes to the namenode. (Raghu Angadi via dhruba) HADOOP-1565. Reduce memory usage of NameNode by replacing TreeMap in HDFS Namespace with ArrayList. (Dhruba Borthakur via dhruba) HADOOP-1743. Change DFS INode from a nested class to standalone class, with specialized subclasses for directories and files, to save memory on the namenode. (Konstantin Shvachko via cutting) HADOOP-1759. Change file name in INode from String to byte[], saving memory on the namenode. (Konstantin Shvachko via cutting) HADOOP-1766. Save memory in namenode by having BlockInfo extend Block, and replace many uses of Block with BlockInfo. (Konstantin Shvachko via cutting) HADOOP-1687. Save memory in namenode by optimizing BlockMap representation. (Konstantin Shvachko via cutting) HADOOP-1774. Remove use of INode.parent in Block CRC upgrade. (Raghu Angadi via dhruba) HADOOP-1788. Increase the buffer size on the Pipes command socket. (Amareshwari Sri Ramadasu and Christian Kunz via omalley) BUG FIXES HADOOP-1946. The Datanode code does not need to invoke du on every heartbeat. (Hairong Kuang via dhruba) HADOOP-1935. Fix a NullPointerException in internalReleaseCreate. (Dhruba Borthakur) HADOOP-1933. The nodes listed in include and exclude files are always listed in the datanode report. (Raghu Angadi via dhruba) HADOOP-1953. The job tracker should wait beteween calls to try and delete the system directory (Owen O'Malley via devaraj) HADOOP-1932. TestFileCreation fails with message saying filestatus.dat is of incorrect size. (Dhruba Borthakur via dhruba) HADOOP-1573. Support for 0 reducers in PIPES. (Owen O'Malley via devaraj) HADOOP-1500. Fix typographical errors in the DFS WebUI. (Nigel Daley via dhruba) HADOOP-1076. Periodic checkpoint can continue even if an earlier checkpoint encountered an error. (Dhruba Borthakur via dhruba) HADOOP-1887. The Namenode encounters an ArrayIndexOutOfBoundsException while listing a directory that had a file that was being actively written to. (Dhruba Borthakur via dhruba) HADOOP-1904. The Namenode encounters an exception because the list of blocks per datanode-descriptor was corrupted. (Konstantin Shvachko via dhruba) HADOOP-1762. The Namenode fsimage does not contain a list of Datanodes. (Raghu Angadi via dhruba) HADOOP-1890. Removed debugging prints introduced by HADOOP-1774. (Raghu Angadi via dhruba) HADOOP-1763. Too many lost task trackers on large clusters due to insufficient number of RPC handler threads on the JobTracker. (Devaraj Das) HADOOP-1463. HDFS report correct usage statistics for disk space used by HDFS. (Hairong Kuang via dhruba) HADOOP-1692. In DFS ant task, don't cache the Configuration. (Chris Douglas via cutting) HADOOP-1726. Remove lib/jetty-ext/ant.jar. (omalley) HADOOP-1772. Fix hadoop-daemon.sh script to get correct hostname under Cygwin. (Tsz Wo (Nicholas), SZE via cutting) HADOOP-1749. Change TestDFSUpgrade to sort files, fixing sporadic test failures. (Enis Soztutar via cutting) HADOOP-1748. Fix tasktracker to be able to launch tasks when log directory is relative. (omalley via cutting) HADOOP-1775. Fix a NullPointerException and an IllegalArgumentException in MapWritable. (Jim Kellerman via cutting) HADOOP-1795. Fix so that jobs can generate output file names with special characters. (Fr??d??ric Bertin via cutting) HADOOP-1810. Fix incorrect value type in MRBench (SmallJobs) (Devaraj Das via tomwhite) HADOOP-1806. Fix ant task to compile again, also fix default builds to compile ant tasks. (Chris Douglas via cutting) HADOOP-1758. Fix escape processing in librecordio to not be quadratic. (Vivek Ratan via cutting) HADOOP-1817. Fix MultiFileSplit to read and write the split length, so that it is not always zero in map tasks. (Thomas Friol via cutting) HADOOP-1853. Fix contrib/streaming to accept multiple -cacheFile options. (Prachi Gupta via cutting) HADOOP-1818. Fix MultiFileInputFormat so that it does not return empty splits when numPaths < numSplits. (Thomas Friol via enis) HADOOP-1840. Fix race condition which leads to task's diagnostic messages getting lost. (acmurthy) HADOOP-1885. Fix race condition in MiniDFSCluster shutdown. (Chris Douglas via nigel) HADOOP-1889. Fix path in EC2 scripts for building your own AMI. (tomwhite) HADOOP-1892. Fix a NullPointerException in the JobTracker when trying to fetch a task's diagnostic messages from the JobClient. (Amar Kamat via acmurthy) HADOOP-1897. Completely remove about.html page from the web site. (enis) HADOOP-1907. Fix null pointer exception when getting task diagnostics in JobClient. (Christian Kunz via omalley) HADOOP-1882. Remove spurious asterisks from decimal number displays. (Raghu Angadi via cutting) HADOOP-1783. Make S3 FileSystem return Paths fully-qualified with scheme and host. (tomwhite) HADOOP-1925. Make pipes' autoconf script look for libsocket and libnsl, so that it can compile under Solaris. (omalley) HADOOP-1940. TestDFSUpgradeFromImage must shut down its MiniDFSCluster. (Chris Douglas via nigel) HADOOP-1930. Fix the blame for failed fetchs on the right host. (Arun C. Murthy via omalley) HADOOP-1934. Fix the platform name on Mac to use underscores rather than spaces. (omalley) HADOOP-1959. Use "/" instead of File.separator in the StatusHttpServer. (jimk via omalley) HADOOP-1626. Improve dfsadmin help messages. (Lohit Vijayarenu via dhruba) HADOOP-1695. The SecondaryNamenode waits for the Primary NameNode to start up. (Dhruba Borthakur) HADOOP-1983. Have Pipes flush the command socket when progress is sent to prevent timeouts during long computations. (omalley) HADOOP-1875. Non-existant directories or read-only directories are filtered from dfs.client.buffer.dir. (Hairong Kuang via dhruba) HADOOP-1992. Fix the performance degradation in the sort validator. (acmurthy via omalley) HADOOP-1874. Move task-outputs' promotion/discard to a separate thread distinct from the main heartbeat-processing thread. The main upside being that we do not lock-up the JobTracker during HDFS operations, which otherwise may lead to lost tasktrackers if the NameNode is unresponsive. (Devaraj Das via acmurthy) HADOOP-2026. Namenode prints out one log line for "Number of transactions" at most once every minute. (Dhruba Borthakur) HADOOP-2022. Ensure that status information for successful tasks is correctly recorded at the JobTracker, so that, for example, one may view correct information via taskdetails.jsp. This bug was introduced by HADOOP-1874. (Amar Kamat via acmurthy) HADOOP-2031. Correctly maintain the taskid which takes the TIP to completion, failing which the case of lost tasktrackers isn't handled properly i.e. the map TIP is incorrectly left marked as 'complete' and it is never rescheduled elsewhere, leading to hung reduces. (Devaraj Das via acmurthy) HADOOP-2018. The source datanode of a data transfer waits for a response from the target datanode before closing the data stream. (Hairong Kuang via dhruba) HADOOP-2023. Disable TestLocalDirAllocator on Windows. (Hairong Kuang via nigel) HADOOP-2016. Ignore status-updates from FAILED/KILLED tasks at the TaskTracker. This fixes a race-condition which caused the tasks to wrongly remain in the RUNNING state even after being killed by the JobTracker and thus handicap the cleanup of the task's output sub-directory. (acmurthy) HADOOP-1771. Fix a NullPointerException in streaming caused by an IOException in MROutputThread. (lohit vijayarenu via nigel) HADOOP-2028. Fix distcp so that the log dir does not need to be specified and the destination does not need to exist. (Chris Douglas via nigel) HADOOP-2044. The namenode protects all lease manipulations using a sortedLease lock. (Dhruba Borthakur) HADOOP-2051. The TaskCommit thread should not die for exceptions other than the InterruptedException. This behavior is there for the other long running threads in the JobTracker. (Arun C Murthy via ddas) HADOOP-1973. The FileSystem object would be accessed on the JobTracker through a RPC in the InterTrackerProtocol. The check for the object being null was missing and hence NPE would be thrown sometimes. This issue fixes that problem. (Amareshwari Sri Ramadasu via ddas) HADOOP-2033. The SequenceFile.Writer.sync method was a no-op, which caused very uneven splits for applications like distcp that count on them. (omalley) HADOOP-2070. Added a flush method to pipes' DownwardProtocol and call that before waiting for the application to finish to ensure all buffered data is flushed. (Owen O'Malley via acmurthy) HADOOP-2080. Fixed calculation of the checksum file size when the values are large. (omalley) HADOOP-2048. Change error handling in distcp so that each map copies as much as possible before reporting the error. Also report progress on every copy. (Chris Douglas via omalley) HADOOP-2073. Change size of VERSION file after writing contents to it. (Konstantin Shvachko via dhruba) HADOOP-2102. Fix the deprecated ToolBase to pass its Configuration object to the superceding ToolRunner to ensure it picks up the appropriate configuration resources. (Dennis Kubes and Enis Soztutar via acmurthy) HADOOP-2103. Fix minor javadoc bugs introduce by HADOOP-2046. (Nigel Daley via acmurthy) IMPROVEMENTS HADOOP-1908. Restructure data node code so that block sending and receiving are seperated from data transfer header handling. (Hairong Kuang via dhruba) HADOOP-1921. Save the configuration of completed/failed jobs and make them available via the web-ui. (Amar Kamat via devaraj) HADOOP-1266. Remove dependency of package org.apache.hadoop.net on org.apache.hadoop.dfs. (Hairong Kuang via dhruba) HADOOP-1779. Replace INodeDirectory.getINode() by a getExistingPathINodes() to allow the retrieval of all existing INodes along a given path in a single lookup. This facilitates removal of the 'parent' field in the inode. (Christophe Taton via dhruba) HADOOP-1756. Add toString() to some Writable-s. (ab) HADOOP-1727. New classes: MapWritable and SortedMapWritable. (Jim Kellerman via ab) HADOOP-1651. Improve progress reporting. (Devaraj Das via tomwhite) HADOOP-1595. dfsshell can wait for a file to achieve its intended replication target. (Tsz Wo (Nicholas), SZE via dhruba) HADOOP-1693. Remove un-needed log fields in DFS replication classes, since the log may be accessed statically. (Konstantin Shvachko via cutting) HADOOP-1231. Add generics to Mapper and Reducer interfaces. (tomwhite via cutting) HADOOP-1436. Improved command-line APIs, so that all tools need not subclass ToolBase, and generic parameter parser is public. (Enis Soztutar via cutting) HADOOP-1703. DFS-internal code cleanups, removing several uses of the obsolete UTF8. (Christophe Taton via cutting) HADOOP-1731. Add Hadoop's version to contrib jar file names. (cutting) HADOOP-1689. Make shell scripts more portable. All shell scripts now explicitly depend on bash, but do not require that bash be installed in a particular location, as long as it is on $PATH. (cutting) HADOOP-1744. Remove many uses of the deprecated UTF8 class from the HDFS namenode. (Christophe Taton via cutting) HADOOP-1654. Add IOUtils class, containing generic io-related utility methods. (Enis Soztutar via cutting) HADOOP-1158. Change JobTracker to record map-output transmission errors and use them to trigger speculative re-execution of tasks. (Arun C Murthy via cutting) HADOOP-1601. Change GenericWritable to use ReflectionUtils for instance creation, avoiding classloader issues, and to implement Configurable. (Enis Soztutar via cutting) HADOOP-1750. Log standard output and standard error when forking task processes. (omalley via cutting) HADOOP-1803. Generalize build.xml to make files in all src/contrib/*/bin directories executable. (stack via cutting) HADOOP-1739. Let OS always choose the tasktracker's umbilical port. Also switch default address for umbilical connections to loopback. (cutting) HADOOP-1812. Let OS choose ports for IPC and RPC unit tests. (cutting) HADOOP-1825. Create $HADOOP_PID_DIR when it does not exist. (Michael Bieniosek via cutting) HADOOP-1425. Replace uses of ToolBase with the Tool interface. (Enis Soztutar via cutting) HADOOP-1569. Reimplement DistCP to use the standard FileSystem/URI code in Hadoop so that you can copy from and to all of the supported file systems.(Chris Douglas via omalley) HADOOP-1018. Improve documentation w.r.t handling of lost hearbeats between TaskTrackers and JobTracker. (acmurthy) HADOOP-1718. Add ant targets for measuring code coverage with clover. (simonwillnauer via nigel) HADOOP-1592. Log error messages to the client console when tasks fail. (Amar Kamat via cutting) HADOOP-1879. Remove some unneeded casts. (Nilay Vaish via cutting) HADOOP-1878. Add space between priority links on job details page. (Thomas Friol via cutting) HADOOP-120. In ArrayWritable, prevent creation with null value class, and improve documentation. (Cameron Pope via cutting) HADOOP-1926. Add a random text writer example/benchmark so that we can benchmark compression codecs on random data. (acmurthy via omalley) HADOOP-1906. Warn the user if they have an obsolete madred-default.xml file in their configuration directory. (acmurthy via omalley) HADOOP-1971. Warn when job does not specify a jar. (enis via cutting) HADOOP-1942. Increase the concurrency of transaction logging to edits log. Reduce the number of syncs by double-buffering the changes to the transaction log. (Dhruba Borthakur) HADOOP-2046. Improve mapred javadoc. (Arun C. Murthy via cutting) HADOOP-2105. Improve overview.html to clarify supported platforms, software pre-requisites for hadoop, how to install them on various platforms and a better general description of hadoop and it's utility. (Jim Kellerman via acmurthy) Release 0.14.4 - 2007-11-26 BUG FIXES HADOOP-2140. Add missing Apache Licensing text at the front of several C and C++ files. HADOOP-2169. Fix the DT_SONAME field of libhdfs.so to set it to the correct value of 'libhdfs.so', currently it is set to the absolute path of libhdfs.so. (acmurthy) HADOOP-2001. Make the job priority updates and job kills synchronized on the JobTracker. Deadlock was seen in the JobTracker because of the lack of this synchronization. (Arun C Murthy via ddas) Release 0.14.3 - 2007-10-19 BUG FIXES HADOOP-2053. Fixed a dangling reference to a memory buffer in the map output sorter. (acmurthy via omalley) HADOOP-2036. Fix a NullPointerException in JvmMetrics class. (nigel) HADOOP-2043. Release 0.14.2 was compiled with Java 1.6 rather than Java 1.5. (cutting) Release 0.14.2 - 2007-10-09 BUG FIXES HADOOP-1948. Removed spurious error message during block crc upgrade. (Raghu Angadi via dhruba) HADOOP-1862. reduces are getting stuck trying to find map outputs. (Arun C. Murthy via ddas) HADOOP-1977. Fixed handling of ToolBase cli options in JobClient. (enis via omalley) HADOOP-1972. Fix LzoCompressor to ensure the user has actually asked to finish compression. (arun via omalley) HADOOP-1970. Fix deadlock in progress reporting in the task. (Vivek Ratan via omalley) HADOOP-1978. Name-node removes edits.new after a successful startup. (Konstantin Shvachko via dhruba) HADOOP-1955. The Namenode tries to not pick the same source Datanode for a replication request if the earlier replication request for the same block and that source Datanode had failed. (Raghu Angadi via dhruba) HADOOP-1961. The -get option to dfs-shell works when a single filename is specified. (Raghu Angadi via dhruba) HADOOP-1997. TestCheckpoint closes the edits file after writing to it, otherwise the rename of this file on Windows fails. (Konstantin Shvachko via dhruba) Release 0.14.1 - 2007-09-04 BUG FIXES HADOOP-1740. Fix null pointer exception in sorting map outputs. (Devaraj Das via omalley) HADOOP-1790. Fix tasktracker to work correctly on multi-homed boxes. (Torsten Curdt via cutting) HADOOP-1798. Fix jobtracker to correctly account for failed tasks. (omalley via cutting) Release 0.14.0 - 2007-08-17 INCOMPATIBLE CHANGES 1. HADOOP-1134. CONFIG/API - dfs.block.size must now be a multiple of io.byte.per.checksum, otherwise new files can not be written. LAYOUT - DFS layout version changed from -6 to -7, which will require an upgrade from previous versions. PROTOCOL - Datanode RPC protocol version changed from 7 to 8. 2. HADOOP-1283 API - deprecated file locking API. 3. HADOOP-894 PROTOCOL - changed ClientProtocol to fetch parts of block locations. 4. HADOOP-1336 CONFIG - Enable speculative execution by default. 5. HADOOP-1197 API - deprecated method for Configuration.getObject, because Configurations should only contain strings. 6. HADOOP-1343 API - deprecate Configuration.set(String,Object) so that only strings are put in Configrations. 7. HADOOP-1207 CLI - Fix FsShell 'rm' command to continue when a non-existent file is encountered. 8. HADOOP-1473 CLI/API - Job, TIP, and Task id formats have changed and are now unique across job tracker restarts. 9. HADOOP-1400 API - JobClient constructor now takes a JobConf object instead of a Configuration object. NEW FEATURES and BUG FIXES 1. HADOOP-1197. In Configuration, deprecate getObject() and add getRaw(), which skips variable expansion. (omalley via cutting) 2. HADOOP-1343. In Configuration, deprecate set(String,Object) and implement Iterable. (omalley via cutting) 3. HADOOP-1344. Add RunningJob#getJobName(). (Michael Bieniosek via cutting) 4. HADOOP-1342. In aggregators, permit one to limit the number of unique values per key. (Runping Qi via cutting) 5. HADOOP-1340. Set the replication factor of the MD5 file in the filecache to be the same as the replication factor of the original file. (Dhruba Borthakur via tomwhite.) 6. HADOOP-1355. Fix null pointer dereference in TaskLogAppender.append(LoggingEvent). (Arun C Murthy via tomwhite.) 7. HADOOP-1357. Fix CopyFiles to correctly avoid removing "/". (Arun C Murthy via cutting) 8. HADOOP-234. Add pipes facility, which permits writing MapReduce programs in C++. 9. HADOOP-1359. Fix a potential NullPointerException in HDFS. (Hairong Kuang via cutting) 10. HADOOP-1364. Fix inconsistent synchronization in SequenceFile. (omalley via cutting) 11. HADOOP-1379. Add findbugs target to build.xml. (Nigel Daley via cutting) 12. HADOOP-1364. Fix various inconsistent synchronization issues. (Devaraj Das via cutting) 13. HADOOP-1393. Remove a potential unexpected negative number from uses of random number generator. (omalley via cutting) 14. HADOOP-1387. A number of "performance" code-cleanups suggested by findbugs. (Arun C Murthy via cutting) 15. HADOOP-1401. Add contrib/hbase javadoc to tree. (stack via cutting) 16. HADOOP-894. Change HDFS so that the client only retrieves a limited number of block locations per request from the namenode. (Konstantin Shvachko via cutting) 17. HADOOP-1406. Plug a leak in MapReduce's use of metrics. (David Bowen via cutting) 18. HADOOP-1394. Implement "performance" code-cleanups in HDFS suggested by findbugs. (Raghu Angadi via cutting) 19. HADOOP-1413. Add example program that uses Knuth's dancing links algorithm to solve pentomino problems. (omalley via cutting) 20. HADOOP-1226. Change HDFS so that paths it returns are always fully qualified. (Dhruba Borthakur via cutting) 21. HADOOP-800. Improvements to HDFS web-based file browser. (Enis Soztutar via cutting) 22. HADOOP-1408. Fix a compiler warning by adding a class to replace a generic. (omalley via cutting) 23. HADOOP-1376. Modify RandomWriter example so that it can generate data for the Terasort benchmark. (Devaraj Das via cutting) 24. HADOOP-1429. Stop logging exceptions during normal IPC server shutdown. (stack via cutting) 25. HADOOP-1461. Fix the synchronization of the task tracker to avoid lockups in job cleanup. (Arun C Murthy via omalley) 26. HADOOP-1446. Update the TaskTracker metrics while the task is running. (Devaraj via omalley) 27. HADOOP-1414. Fix a number of issues identified by FindBugs as "Bad Practice". (Dhruba Borthakur via cutting) 28. HADOOP-1392. Fix "correctness" bugs identified by FindBugs in fs and dfs packages. (Raghu Angadi via cutting) 29. HADOOP-1412. Fix "dodgy" bugs identified by FindBugs in fs and io packages. (Hairong Kuang via cutting) 30. HADOOP-1261. Remove redundant events from HDFS namenode's edit log when a datanode restarts. (Raghu Angadi via cutting) 31. HADOOP-1336. Re-enable speculative execution by default. (omalley via cutting) 32. HADOOP-1311. Fix a bug in BytesWritable#set() where start offset was ignored. (Dhruba Borthakur via cutting) 33. HADOOP-1450. Move checksumming closer to user code, so that checksums are created before data is stored in large buffers and verified after data is read from large buffers, to better catch memory errors. (cutting) 34. HADOOP-1447. Add support in contrib/data_join for text inputs. (Senthil Subramanian via cutting) 35. HADOOP-1456. Fix TestDecommission assertion failure by setting the namenode to ignore the load on datanodes while allocating replicas. (Dhruba Borthakur via tomwhite) 36. HADOOP-1396. Fix FileNotFoundException on DFS block. (Dhruba Borthakur via tomwhite) 37. HADOOP-1467. Remove redundant counters from WordCount example. (Owen O'Malley via tomwhite) 38. HADOOP-1139. Log HDFS block transitions at INFO level, to better enable diagnosis of problems. (Dhruba Borthakur via cutting) 39. HADOOP-1269. Finer grained locking in HDFS namenode. (Dhruba Borthakur via cutting) 40. HADOOP-1438. Improve HDFS documentation, correcting typos and making images appear in PDF. Also update copyright date for all docs. (Luke Nezda via cutting) 41. HADOOP-1457. Add counters for monitoring task assignments. (Arun C Murthy via tomwhite) 42. HADOOP-1472. Fix so that timed-out tasks are counted as failures rather than as killed. (Arun C Murthy via cutting) 43. HADOOP-1234. Fix a race condition in file cache that caused tasktracker to not be able to find cached files. (Arun C Murthy via cutting) 44. HADOOP-1482. Fix secondary namenode to roll info port. (Dhruba Borthakur via cutting) 45. HADOOP-1300. Improve removal of excess block replicas to be rack-aware. Attempts are now made to keep replicas on more racks. (Hairong Kuang via cutting) 46. HADOOP-1417. Disable a few FindBugs checks that generate a lot of spurious warnings. (Nigel Daley via cutting) 47. HADOOP-1320. Rewrite RandomWriter example to bypass reduce. (Arun C Murthy via cutting) 48. HADOOP-1449. Add some examples to contrib/data_join. (Senthil Subramanian via cutting) 49. HADOOP-1459. Fix so that, in HDFS, getFileCacheHints() returns hostnames instead of IP addresses. (Dhruba Borthakur via cutting) 50. HADOOP-1493. Permit specification of "java.library.path" system property in "mapred.child.java.opts" configuration property. (Enis Soztutar via cutting) 51. HADOOP-1372. Use LocalDirAllocator for HDFS temporary block files, so that disk space, writability, etc. is considered. (Dhruba Borthakur via cutting) 52. HADOOP-1193. Pool allocation of compression codecs. This eliminates a memory leak that could cause OutOfMemoryException, and also substantially improves performance. (Arun C Murthy via cutting) 53. HADOOP-1492. Fix a NullPointerException handling version mismatch during datanode registration. (Konstantin Shvachko via cutting) 54. HADOOP-1442. Fix handling of zero-length input splits. (Senthil Subramanian via cutting) 55. HADOOP-1444. Fix HDFS block id generation to check pending blocks for duplicates. (Dhruba Borthakur via cutting) 56. HADOOP-1207. Fix FsShell's 'rm' command to not stop when one of the named files does not exist. (Tsz Wo Sze via cutting) 57. HADOOP-1475. Clear tasktracker's file cache before it re-initializes, to avoid confusion. (omalley via cutting) 58. HADOOP-1505. Remove spurious stacktrace in ZlibFactory introduced in HADOOP-1093. (Michael Stack via tomwhite) 59. HADOOP-1484. Permit one to kill jobs from the web ui. Note that this is disabled by default. One must set "webinterface.private.actions" to enable this. (Enis Soztutar via cutting) 60. HADOOP-1003. Remove flushing of namenode edit log from primary namenode lock, increasing namenode throughput. (Dhruba Borthakur via cutting) 61. HADOOP-1023. Add links to searchable mail archives. (tomwhite via cutting) 62. HADOOP-1504. Fix terminate-hadoop-cluster script in contrib/ec2 to only terminate Hadoop instances, and not other instances started by the same user. (tomwhite via cutting) 63. HADOOP-1462. Improve task progress reporting. Progress reports are no longer blocking since i/o is performed in a separate thread. Reporting during sorting and more is also more consistent. (Vivek Ratan via cutting) 64. [ intentionally blank ] 65. HADOOP-1453. Remove some unneeded calls to FileSystem#exists() when opening files, reducing the namenode load somewhat. (Raghu Angadi via cutting) 66. HADOOP-1489. Fix text input truncation bug due to mark/reset. Add a unittest. (Bwolen Yang via cutting) 67. HADOOP-1455. Permit specification of arbitrary job options on pipes command line. (Devaraj Das via cutting) 68. HADOOP-1501. Better randomize sending of block reports to namenode, so reduce load spikes. (Dhruba Borthakur via cutting) 69. HADOOP-1147. Remove @author tags from Java source files. 70. HADOOP-1283. Convert most uses of UTF8 in the namenode to be String. (Konstantin Shvachko via cutting) 71. HADOOP-1511. Speedup hbase unit tests. (stack via cutting) 72. HADOOP-1517. Remove some synchronization in namenode to permit finer grained locking previously added. (Konstantin Shvachko via cutting) 73. HADOOP-1512. Fix failing TestTextInputFormat on Windows. (Senthil Subramanian via nigel) 74. HADOOP-1518. Add a session id to job metrics, for use by HOD. (David Bowen via cutting) 75. HADOOP-1292. Change 'bin/hadoop fs -get' to first copy files to a temporary name, then rename them to their final name, so that failures don't leave partial files. (Tsz Wo Sze via cutting) 76. HADOOP-1377. Add support for modification time to FileSystem and implement in HDFS and local implementations. Also, alter access to file properties to be through a new FileStatus interface. (Dhruba Borthakur via cutting) 77. HADOOP-1515. Add MultiFileInputFormat, which can pack multiple, typically small, input files into each split. (Enis Soztutar via cutting) 78. HADOOP-1514. Make reducers report progress while waiting for map outputs, so they're not killed. (Vivek Ratan via cutting) 79. HADOOP-1508. Add an Ant task for FsShell operations. Also add new FsShell commands "touchz", "test" and "stat". (Chris Douglas via cutting) 80. HADOOP-1028. Add log messages for server startup and shutdown. (Tsz Wo Sze via cutting) 81. HADOOP-1485. Add metrics for monitoring shuffle. (Devaraj Das via cutting) 82. HADOOP-1536. Remove file locks from libhdfs tests. (Dhruba Borthakur via nigel) 83. HADOOP-1520. Add appropriate synchronization to FSEditsLog. (Dhruba Borthakur via nigel) 84. HADOOP-1513. Fix a race condition in directory creation. (Devaraj via omalley) 85. HADOOP-1546. Remove spurious column from HDFS web UI. (Dhruba Borthakur via cutting) 86. HADOOP-1556. Make LocalJobRunner delete working files at end of job run. (Devaraj Das via tomwhite) 87. HADOOP-1571. Add contrib lib directories to root build.xml javadoc classpath. (Michael Stack via tomwhite) 88. HADOOP-1554. Log killed tasks to the job history and display them on the web/ui. (Devaraj Das via omalley) 89. HADOOP-1533. Add persistent error logging for distcp. The logs are stored into a specified hdfs directory. (Senthil Subramanian via omalley) 90. HADOOP-1286. Add support to HDFS for distributed upgrades, which permits coordinated upgrade of datanode data. (Konstantin Shvachko via cutting) 91. HADOOP-1580. Improve contrib/streaming so that subprocess exit status is displayed for errors. (John Heidemann via cutting) 92. HADOOP-1448. In HDFS, randomize lists of non-local block locations returned to client, so that load is better balanced. (Hairong Kuang via cutting) 93. HADOOP-1578. Fix datanode to send its storage id to namenode during registration. (Konstantin Shvachko via cutting) 94. HADOOP-1584. Fix a bug in GenericWritable which limited it to 128 types instead of 256. (Espen Amble Kolstad via cutting) 95. HADOOP-1473. Make job ids unique across jobtracker restarts. (omalley via cutting) 96. HADOOP-1582. Fix hdfslib to return 0 instead of -1 at end-of-file, per C conventions. (Christian Kunz via cutting) 97. HADOOP-911. Fix a multithreading bug in libhdfs. (Christian Kunz) 98. HADOOP-1486. Fix so that fatal exceptions in namenode cause it to exit. (Dhruba Borthakur via cutting) 99. HADOOP-1470. Factor checksum generation and validation out of ChecksumFileSystem so that it can be reused by FileSystem's with built-in checksumming. (Hairong Kuang via cutting) 100. HADOOP-1590. Use relative urls in jobtracker jsp pages, so that webapp can be used in non-root contexts. (Thomas Friol via cutting) 101. HADOOP-1596. Fix the parsing of taskids by streaming and improve the error reporting. (omalley) 102. HADOOP-1535. Fix the user-controlled grouping to the reduce function. (Vivek Ratan via omalley) 103. HADOOP-1585. Modify GenericWritable to declare the classes as subtypes of Writable (Espen Amble Kolstad via omalley) 104. HADOOP-1576. Fix errors in count of completed tasks when speculative execution is enabled. (Arun C Murthy via cutting) 105. HADOOP-1598. Fix license headers: adding missing; updating old. (Enis Soztutar via cutting) 106. HADOOP-1547. Provide examples for aggregate library. (Runping Qi via tomwhite) 107. HADOOP-1570. Permit jobs to enable and disable the use of hadoop's native library. (Arun C Murthy via cutting) 108. HADOOP-1433. Add job priority. (Johan Oskarsson via tomwhite) 109. HADOOP-1597. Add status reports and post-upgrade options to HDFS distributed upgrade. (Konstantin Shvachko via cutting) 110. HADOOP-1524. Permit user task logs to appear as they're created. (Michael Bieniosek via cutting) 111. HADOOP-1599. Fix distcp bug on Windows. (Senthil Subramanian via cutting) 112. HADOOP-1562. Add JVM metrics, including GC and logging stats. (David Bowen via cutting) 113. HADOOP-1613. Fix "DFS Health" page to display correct time of last contact. (Dhruba Borthakur via cutting) 114. HADOOP-1134. Add optimized checksum support to HDFS. Checksums are now stored with each block, rather than as parallel files. This reduces the namenode's memory requirements and increases data integrity. (Raghu Angadi via cutting) 115. HADOOP-1400. Make JobClient retry requests, so that clients can survive jobtracker problems. (omalley via cutting) 116. HADOOP-1564. Add unit tests for HDFS block-level checksums. (Dhruba Borthakur via cutting) 117. HADOOP-1620. Reduce the number of abstract FileSystem methods, simplifying implementations. (cutting) 118. HADOOP-1625. Fix a "could not move files" exception in datanode. (Raghu Angadi via cutting) 119. HADOOP-1624. Fix an infinite loop in datanode. (Raghu Angadi via cutting) 120. HADOOP-1084. Switch mapred file cache to use file modification time instead of checksum to detect file changes, as checksums are no longer easily accessed. (Arun C Murthy via cutting) 130. HADOOP-1623. Fix an infinite loop when copying directories. (Dhruba Borthakur via cutting) 131. HADOOP-1603. Fix a bug in namenode initialization where default replication is sometimes reset to one on restart. (Raghu Angadi via cutting) 132. HADOOP-1635. Remove hardcoded keypair name and fix launch-hadoop-cluster to support later versions of ec2-api-tools. (Stu Hood via tomwhite) 133. HADOOP-1638. Fix contrib EC2 scripts to support NAT addressing. (Stu Hood via tomwhite) 134. HADOOP-1632. Fix an IllegalArgumentException in fsck. (Hairong Kuang via cutting) 135. HADOOP-1619. Fix FSInputChecker to not attempt to read past EOF. (Hairong Kuang via cutting) 136. HADOOP-1640. Fix TestDecommission on Windows. (Dhruba Borthakur via cutting) 137. HADOOP-1587. Fix TestSymLink to get required system properties. (Devaraj Das via omalley) 138. HADOOP-1628. Add block CRC protocol unit tests. (Raghu Angadi via omalley) 139. HADOOP-1653. FSDirectory code-cleanups. FSDirectory.INode becomes a static class. (Christophe Taton via dhruba) 140. HADOOP-1066. Restructure documentation to make more user friendly. (Connie Kleinjans and Jeff Hammerbacher via cutting) 141. HADOOP-1551. libhdfs supports setting replication factor and retrieving modification time of files. (Sameer Paranjpye via dhruba) 141. HADOOP-1647. FileSystem.getFileStatus returns valid values for "/". (Dhruba Borthakur via dhruba) 142. HADOOP-1657. Fix NNBench to ensure that the block size is a multiple of bytes.per.checksum. (Raghu Angadi via dhruba) 143. HADOOP-1553. Replace user task output and log capture code to use shell redirection instead of copier threads in the TaskTracker. Capping the size of the output is now done via tail in memory and thus should not be large. The output of the tasklog servlet is not forced into UTF8 and is not buffered entirely in memory. (omalley) Configuration changes to hadoop-default.xml: remove mapred.userlog.num.splits remove mapred.userlog.purge.splits change default mapred.userlog.limit.kb to 0 (no limit) change default mapred.userlog.retain.hours to 24 Configuration changes to log4j.properties: remove log4j.appender.TLA.noKeepSplits remove log4j.appender.TLA.purgeLogSplits remove log4j.appender.TLA.logsRetainHours URL changes: http:///tasklog.jsp -> http://tasklog with parameters limited to start and end, which may be positive (from start) or negative (from end). Environment: require bash (v2 or later) and tail 144. HADOOP-1659. Fix a job id/job name mixup. (Arun C. Murthy via omalley) 145. HADOOP-1665. With HDFS Trash enabled and the same file was created and deleted more than once, the suceeding deletions creates Trash item names suffixed with a integer. (Dhruba Borthakur via dhruba) 146. HADOOP-1666. FsShell object can be used for multiple fs commands. (Dhruba Borthakur via dhruba) 147. HADOOP-1654. Remove performance regression introduced by Block CRC. (Raghu Angadi via dhruba) 148. HADOOP-1680. Improvements to Block CRC upgrade messages. (Raghu Angadi via dhruba) 149. HADOOP-71. Allow Text and SequenceFile Map/Reduce inputs from non-default filesystems. (omalley) 150. HADOOP-1568. Expose HDFS as xml/http filesystem to provide cross-version compatability. (Chris Douglas via omalley) 151. HADOOP-1668. Added an INCOMPATIBILITY section to CHANGES.txt. (nigel) 152. HADOOP-1629. Added a upgrade test for HADOOP-1134. (Raghu Angadi via nigel) 153. HADOOP-1698. Fix performance problems on map output sorting for jobs with large numbers of reduces. (Devaraj Das via omalley) 154. HADOOP-1716. Fix a Pipes wordcount example to remove the 'file:' schema from its output path. (omalley via cutting) 155. HADOOP-1714. Fix TestDFSUpgradeFromImage to work on Windows. (Raghu Angadi via nigel) 156. HADOOP-1663. Return a non-zero exit code if streaming fails. (Lohit Renu via omalley) 157. HADOOP-1712. Fix an unhandled exception on datanode during block CRC upgrade. (Raghu Angadi via cutting) 158. HADOOP-1717. Fix TestDFSUpgradeFromImage to work on Solaris. (nigel via cutting) 159. HADOOP-1437. Add Eclipse plugin in contrib. (Eugene Hung and Christophe Taton via cutting) Release 0.13.0 - 2007-06-08 1. HADOOP-1047. Fix TestReplication to succeed more reliably. (Hairong Kuang via cutting) 2. HADOOP-1063. Fix a race condition in MiniDFSCluster test code. (Hairong Kuang via cutting) 3. HADOOP-1101. In web ui, split shuffle statistics from reduce statistics, and add some task averages. (Devaraj Das via cutting) 4. HADOOP-1071. Improve handling of protocol version mismatch in JobTracker. (Tahir Hashmi via cutting) 5. HADOOP-1116. Increase heap size used for contrib unit tests. (Philippe Gassmann via cutting) 6. HADOOP-1120. Add contrib/data_join, tools to simplify joining data from multiple sources using MapReduce. (Runping Qi via cutting) 7. HADOOP-1064. Reduce log level of some DFSClient messages. (Dhruba Borthakur via cutting) 8. HADOOP-1137. Fix StatusHttpServer to work correctly when resources are in a jar file. (Benjamin Reed via cutting) 9. HADOOP-1094. Optimize generated Writable implementations for records to not allocate a new BinaryOutputArchive or BinaryInputArchive per call. (Milind Bhandarkar via cutting) 10. HADOOP-1068. Improve error message for clusters with 0 datanodes. (Dhruba Borthakur via tomwhite) 11. HADOOP-1122. Fix divide-by-zero exception in FSNamesystem chooseTarget method. (Dhruba Borthakur via tomwhite) 12. HADOOP-1131. Add a closeAll() static method to FileSystem. (Philippe Gassmann via tomwhite) 13. HADOOP-1085. Improve port selection in HDFS and MapReduce test code. Ports are now selected by the OS during testing rather than by probing for free ports, improving test reliability. (Arun C Murthy via cutting) 14. HADOOP-1153. Fix HDFS daemons to correctly stop their threads. (Konstantin Shvachko via cutting) 15. HADOOP-1146. Add a counter for reduce input keys and rename the "reduce input records" counter to be "reduce input groups". (David Bowen via cutting) 16. HADOOP-1165. In records, replace idential generated toString methods with a method on the base class. (Milind Bhandarkar via cutting) 17. HADOOP-1164. Fix TestReplicationPolicy to specify port zero, so that a free port is automatically selected. (omalley via cutting) 18. HADOOP-1166. Add a NullOutputFormat and use it in the RandomWriter example. (omalley via cutting) 19. HADOOP-1169. Fix a cut/paste error in CopyFiles utility so that S3-based source files are correctly copied. (Michael Stack via cutting) 20. HADOOP-1167. Remove extra synchronization in InMemoryFileSystem. (omalley via cutting) 21. HADOOP-1110. Fix an off-by-one error counting map inputs. (David Bowen via cutting) 22. HADOOP-1178. Fix a NullPointerException during namenode startup. (Dhruba Borthakur via cutting) 23. HADOOP-1011. Fix a ConcurrentModificationException when viewing job history. (Tahir Hashmi via cutting) 24. HADOOP-672. Improve help for fs shell commands. (Dhruba Borthakur via cutting) 25. HADOOP-1170. Improve datanode performance by removing device checks from common operations. (Igor Bolotin via cutting) 26. HADOOP-1090. Fix SortValidator's detection of whether the input file belongs to the sort-input or sort-output directory. (Arun C Murthy via tomwhite) 27. HADOOP-1081. Fix bin/hadoop on Darwin. (Michael Bieniosek via cutting) 28. HADOOP-1045. Add contrib/hbase, a BigTable-like online database. (Jim Kellerman via cutting) 29. HADOOP-1156. Fix a NullPointerException in MiniDFSCluster. (Hairong Kuang via cutting) 30. HADOOP-702. Add tools to help automate HDFS upgrades. (Konstantin Shvachko via cutting) 31. HADOOP-1163. Fix ganglia metrics to aggregate metrics from different hosts properly. (Michael Bieniosek via tomwhite) 32. HADOOP-1194. Make compression style record level for map output compression. (Arun C Murthy via tomwhite) 33. HADOOP-1187. Improve DFS Scalability: avoid scanning entire list of datanodes in getAdditionalBlocks. (Dhruba Borthakur via tomwhite) 34. HADOOP-1133. Add tool to analyze and debug namenode on a production cluster. (Dhruba Borthakur via tomwhite) 35. HADOOP-1151. Remove spurious printing to stderr in streaming PipeMapRed. (Koji Noguchi via tomwhite) 36. HADOOP-988. Change namenode to use a single map of blocks to metadata. (Raghu Angadi via tomwhite) 37. HADOOP-1203. Change UpgradeUtilities used by DFS tests to use MiniDFSCluster to start and stop NameNode/DataNodes. (Nigel Daley via tomwhite) 38. HADOOP-1217. Add test.timeout property to build.xml, so that long-running unit tests may be automatically terminated. (Nigel Daley via cutting) 39. HADOOP-1149. Improve DFS Scalability: make processOverReplicatedBlock() a no-op if blocks are not over-replicated. (Raghu Angadi via tomwhite) 40. HADOOP-1149. Improve DFS Scalability: optimize getDistance(), contains(), and isOnSameRack() in NetworkTopology. (Hairong Kuang via tomwhite) 41. HADOOP-1218. Make synchronization on TaskTracker's RunningJob object consistent. (Devaraj Das via tomwhite) 42. HADOOP-1219. Ignore progress report once a task has reported as 'done'. (Devaraj Das via tomwhite) 43. HADOOP-1114. Permit user to specify additional CLASSPATH elements with a HADOOP_CLASSPATH environment variable. (cutting) 44. HADOOP-1198. Remove ipc.client.timeout parameter override from unit test configuration. Using the default is more robust and has almost the same run time. (Arun C Murthy via tomwhite) 45. HADOOP-1211. Remove deprecated constructor and unused static members in DataNode class. (Konstantin Shvachko via tomwhite) 46. HADOOP-1136. Fix ArrayIndexOutOfBoundsException in FSNamesystem$UnderReplicatedBlocks add() method. (Hairong Kuang via tomwhite) 47. HADOOP-978. Add the client name and the address of the node that previously started to create the file to the description of AlreadyBeingCreatedException. (Konstantin Shvachko via tomwhite) 48. HADOOP-1001. Check the type of keys and values generated by the mapper against the types specified in JobConf. (Tahir Hashmi via tomwhite) 49. HADOOP-971. Improve DFS Scalability: Improve name node performance by adding a hostname to datanodes map. (Hairong Kuang via tomwhite) 50. HADOOP-1189. Fix 'No space left on device' exceptions on datanodes. (Raghu Angadi via tomwhite) 51. HADOOP-819. Change LineRecordWriter to not insert a tab between key and value when either is null, and to print nothing when both are null. (Runping Qi via cutting) 52. HADOOP-1204. Rename InputFormatBase to be FileInputFormat, and deprecate InputFormatBase. Also make LineRecordReader easier to extend. (Runping Qi via cutting) 53. HADOOP-1213. Improve logging of errors by IPC server, to consistently include the service name and the call. (cutting) 54. HADOOP-1238. Fix metrics reporting by TaskTracker to correctly track maps_running and reduces_running. (Michael Bieniosek via cutting) 55. HADOOP-1093. Fix a race condition in HDFS where blocks were sometimes erased before they were reported written. (Dhruba Borthakur via cutting) 56. HADOOP-1239. Add a package name to some testjar test classes. (Jim Kellerman via cutting) 57. HADOOP-1241. Fix NullPointerException in processReport when namenode is restarted. (Dhruba Borthakur via tomwhite) 58. HADOOP-1244. Fix stop-dfs.sh to no longer incorrectly specify slaves file for stopping datanode. (Michael Bieniosek via tomwhite) 59. HADOOP-1253. Fix ConcurrentModificationException and NullPointerException in JobControl. (Johan Oskarson via tomwhite) 60. HADOOP-1256. Fix NameNode so that multiple DataNodeDescriptors can no longer be created on startup. (Hairong Kuang via cutting) 61. HADOOP-1214. Replace streaming classes with new counterparts from Hadoop core. (Runping Qi via tomwhite) 62. HADOOP-1250. Move a chmod utility from streaming to FileUtil. (omalley via cutting) 63. HADOOP-1258. Fix TestCheckpoint test case to wait for MiniDFSCluster to be active. (Nigel Daley via tomwhite) 64. HADOOP-1148. Re-indent all Java source code to consistently use two spaces per indent level. (cutting) 65. HADOOP-1251. Add a method to Reporter to get the map InputSplit. (omalley via cutting) 66. HADOOP-1224. Fix "Browse the filesystem" link to no longer point to dead datanodes. (Enis Soztutar via tomwhite) 67. HADOOP-1154. Fail a streaming task if the threads reading from or writing to the streaming process fail. (Koji Noguchi via tomwhite) 68. HADOOP-968. Move shuffle and sort to run in reduce's child JVM, rather than in TaskTracker. (Devaraj Das via cutting) 69. HADOOP-1111. Add support for client notification of job completion. If the job configuration has a job.end.notification.url property it will make a HTTP GET request to the specified URL. The number of retries and the interval between retries is also configurable. (Alejandro Abdelnur via tomwhite) 70. HADOOP-1275. Fix misspelled job notification property in hadoop-default.xml. (Alejandro Abdelnur via tomwhite) 71. HADOOP-1152. Fix race condition in MapOutputCopier.copyOutput file rename causing possible reduce task hang. (Tahir Hashmi via tomwhite) 72. HADOOP-1050. Distinguish between failed and killed tasks so as to not count a lost tasktracker against the job. (Arun C Murthy via tomwhite) 73. HADOOP-1271. Fix StreamBaseRecordReader to be able to log record data that's not UTF-8. (Arun C Murthy via tomwhite) 74. HADOOP-1190. Fix unchecked warnings in main Hadoop code. (tomwhite) 75. HADOOP-1127. Fix AlreadyBeingCreatedException in namenode for jobs run with speculative execution. (Arun C Murthy via tomwhite) 76. HADOOP-1282. Omnibus HBase patch. Improved tests & configuration. (Jim Kellerman via cutting) 77. HADOOP-1262. Make dfs client try to read from a different replica of the checksum file when a checksum error is detected. (Hairong Kuang via tomwhite) 78. HADOOP-1279. Fix JobTracker to maintain list of recently completed jobs by order of completion, not submission. (Arun C Murthy via cutting) 79. HADOOP-1284. In contrib/streaming, permit flexible specification of field delimiter and fields for partitioning and sorting. (Runping Qi via cutting) 80. HADOOP-1176. Fix a bug where reduce would hang when a map had more than 2GB of output for it. (Arun C Murthy via cutting) 81. HADOOP-1293. Fix contrib/streaming to print more than the first twenty lines of standard error. (Koji Noguchi via cutting) 82. HADOOP-1297. Fix datanode so that requests to remove blocks that do not exist no longer causes block reports to be re-sent every second. (Dhruba Borthakur via cutting) 83. HADOOP-1216. Change MapReduce so that, when numReduceTasks is zero, map outputs are written directly as final output, skipping shuffle, sort and reduce. Use this to implement reduce=NONE option in contrib/streaming. (Runping Qi via cutting) 84. HADOOP-1294. Fix unchecked warnings in main Hadoop code under Java 6. (tomwhite) 85. HADOOP-1299. Fix so that RPC will restart after RPC.stopClient() has been called. (Michael Stack via cutting) 86. HADOOP-1278. Improve blacklisting of TaskTrackers by JobTracker, to reduce false positives. (Arun C Murthy via cutting) 87. HADOOP-1290. Move contrib/abacus into mapred/lib/aggregate. (Runping Qi via cutting) 88. HADOOP-1272. Extract inner classes from FSNamesystem into separate classes. (Dhruba Borthakur via tomwhite) 89. HADOOP-1247. Add support to contrib/streaming for aggregate package, formerly called Abacus. (Runping Qi via cutting) 90. HADOOP-1061. Fix bug in listing files in the S3 filesystem. NOTE: this change is not backwards compatible! You should use the MigrationTool supplied to migrate existing S3 filesystem data to the new format. Please backup your data first before upgrading (using 'hadoop distcp' for example). (tomwhite) 91. HADOOP-1304. Make configurable the maximum number of task attempts before a job fails. (Devaraj Das via cutting) 92. HADOOP-1308. Use generics to restrict types when classes are passed as parameters to JobConf methods. (Michael Bieniosek via cutting) 93. HADOOP-1312. Fix a ConcurrentModificationException in NameNode that killed the heartbeat monitoring thread. (Dhruba Borthakur via cutting) 94. HADOOP-1315. Clean up contrib/streaming, switching it to use core classes more and removing unused code. (Runping Qi via cutting) 95. HADOOP-485. Allow a different comparator for grouping keys in calls to reduce. (Tahir Hashmi via cutting) 96. HADOOP-1322. Fix TaskTracker blacklisting to work correctly in one- and two-node clusters. (Arun C Murthy via cutting) 97. HADOOP-1144. Permit one to specify a maximum percentage of tasks that can fail before a job is aborted. The default is zero. (Arun C Murthy via cutting) 98. HADOOP-1184. Fix HDFS decomissioning to complete when the only copy of a block is on a decommissioned node. (Dhruba Borthakur via cutting) 99. HADOOP-1263. Change DFSClient to retry certain namenode calls with a random, exponentially increasing backoff time, to avoid overloading the namenode on, e.g., job start. (Hairong Kuang via cutting) 100. HADOOP-1325. First complete, functioning version of HBase. (Jim Kellerman via cutting) 101. HADOOP-1276. Make tasktracker expiry interval configurable. (Arun C Murthy via cutting) 102. HADOOP-1326. Change JobClient#RunJob() to return the job. (omalley via cutting) 103. HADOOP-1270. Randomize the fetch of map outputs, speeding the shuffle. (Arun C Murthy via cutting) 104. HADOOP-1200. Restore disk checking lost in HADOOP-1170. (Hairong Kuang via cutting) 105. HADOOP-1252. Changed MapReduce's allocation of local files to use round-robin among available devices, rather than a hashcode. More care is also taken to not allocate files on full or offline drives. (Devaraj Das via cutting) 106. HADOOP-1324. Change so that an FSError kills only the task that generates it rather than the entire task tracker. (Arun C Murthy via cutting) 107. HADOOP-1310. Fix unchecked warnings in aggregate code. (tomwhite) 108. HADOOP-1255. Fix a bug where the namenode falls into an infinite loop trying to remove a dead node. (Hairong Kuang via cutting) 109. HADOOP-1160. Fix DistributedFileSystem.close() to close the underlying FileSystem, correctly aborting files being written. (Hairong Kuang via cutting) 110. HADOOP-1341. Fix intermittent failures in HBase unit tests caused by deadlock. (Jim Kellerman via cutting) 111. HADOOP-1350. Fix shuffle performance problem caused by forcing chunked encoding of map outputs. (Devaraj Das via cutting) 112. HADOOP-1345. Fix HDFS to correctly retry another replica when a checksum error is encountered. (Hairong Kuang via cutting) 113. HADOOP-1205. Improve synchronization around HDFS block map. (Hairong Kuang via cutting) 114. HADOOP-1353. Fix a potential NullPointerException in namenode. (Dhruba Borthakur via cutting) 115. HADOOP-1354. Fix a potential NullPointerException in FsShell. (Hairong Kuang via cutting) 116. HADOOP-1358. Fix a potential bug when DFSClient calls skipBytes. (Hairong Kuang via cutting) 117. HADOOP-1356. Fix a bug in ValueHistogram. (Runping Qi via cutting) 118. HADOOP-1363. Fix locking bug in JobClient#waitForCompletion(). (omalley via cutting) 119. HADOOP-1368. Fix inconsistent synchronization in JobInProgress. (omalley via cutting) 120. HADOOP-1369. Fix inconsistent synchronization in TaskTracker. (omalley via cutting) 121. HADOOP-1361. Fix various calls to skipBytes() to check return value. (Hairong Kuang via cutting) 122. HADOOP-1388. Fix a potential NullPointerException in web ui. (Devaraj Das via cutting) 123. HADOOP-1385. Fix MD5Hash#hashCode() to generally hash to more than 256 values. (omalley via cutting) 124. HADOOP-1386. Fix Path to not permit the empty string as a path, as this has lead to accidental file deletion. Instead force applications to use "." to name the default directory. (Hairong Kuang via cutting) 125. HADOOP-1407. Fix integer division bug in JobInProgress which meant failed tasks didn't cause the job to fail. (Arun C Murthy via tomwhite) 126. HADOOP-1427. Fix a typo that caused GzipCodec to incorrectly use a very small input buffer. (Espen Amble Kolstad via cutting) 127. HADOOP-1435. Fix globbing code to no longer use the empty string to indicate the default directory, per HADOOP-1386. (Hairong Kuang via cutting) 128. HADOOP-1411. Make task retry framework handle AlreadyBeingCreatedException when wrapped as a RemoteException. (Hairong Kuang via tomwhite) 129. HADOOP-1242. Improve handling of DFS upgrades. (Konstantin Shvachko via cutting) 130. HADOOP-1332. Fix so that TaskTracker exits reliably during unit tests on Windows. (omalley via cutting) 131. HADOOP-1431. Fix so that sort progress reporting during map runs only while sorting, so that stuck maps are correctly terminated. (Devaraj Das and Arun C Murthy via cutting) 132. HADOOP-1452. Change TaskTracker.MapOutputServlet.doGet.totalRead to a long, permitting map outputs to exceed 2^31 bytes. (omalley via cutting) 133. HADOOP-1443. Fix a bug opening zero-length files in HDFS. (Konstantin Shvachko via cutting) Release 0.12.3 - 2007-04-06 1. HADOOP-1162. Fix bug in record CSV and XML serialization of binary values. (Milind Bhandarkar via cutting) 2. HADOOP-1123. Fix NullPointerException in LocalFileSystem when trying to recover from a checksum error. (Hairong Kuang & Nigel Daley via tomwhite) 3. HADOOP-1177. Fix bug where IOException in MapOutputLocation.getFile was not being logged. (Devaraj Das via tomwhite) 4. HADOOP-1175. Fix bugs in JSP for displaying a task's log messages. (Arun C Murthy via cutting) 5. HADOOP-1191. Fix map tasks to wait until sort progress thread has stopped before reporting the task done. (Devaraj Das via cutting) 6. HADOOP-1192. Fix an integer overflow bug in FSShell's 'dus' command and a performance problem in HDFS's implementation of it. (Hairong Kuang via cutting) 7. HADOOP-1105. Fix reducers to make "progress" while iterating through values. (Devaraj Das & Owen O'Malley via tomwhite) 8. HADOOP-1179. Make Task Tracker close index file as soon as the read is done when serving get-map-output requests. (Devaraj Das via tomwhite) Release 0.12.2 - 2007-23-17 1. HADOOP-1135. Fix bug in block report processing which may cause the namenode to delete blocks. (Dhruba Borthakur via tomwhite) 2. HADOOP-1145. Make XML serializer and deserializer classes public in record package. (Milind Bhandarkar via cutting) 3. HADOOP-1140. Fix a deadlock in metrics. (David Bowen via cutting) 4. HADOOP-1150. Fix streaming -reducer and -mapper to give them defaults. (Owen O'Malley via tomwhite) Release 0.12.1 - 2007-03-17 1. HADOOP-1035. Fix a StackOverflowError in FSDataSet. (Raghu Angadi via cutting) 2. HADOOP-1053. Fix VInt representation of negative values. Also remove references in generated record code to methods outside of the record package and improve some record documentation. (Milind Bhandarkar via cutting) 3. HADOOP-1067. Compile fails if Checkstyle jar is present in lib directory. Also remove dependency on a particular Checkstyle version number. (tomwhite) 4. HADOOP-1060. Fix an IndexOutOfBoundsException in the JobTracker that could cause jobs to hang. (Arun C Murthy via cutting) 5. HADOOP-1077. Fix a race condition fetching map outputs that could hang reduces. (Devaraj Das via cutting) 6. HADOOP-1083. Fix so that when a cluster restarts with a missing datanode, its blocks are replicated. (Hairong Kuang via cutting) 7. HADOOP-1082. Fix a NullPointerException in ChecksumFileSystem. (Hairong Kuang via cutting) 8. HADOOP-1088. Fix record serialization of negative values. (Milind Bhandarkar via cutting) 9. HADOOP-1080. Fix bug in bin/hadoop on Windows when native libraries are present. (ab via cutting) 10. HADOOP-1091. Fix a NullPointerException in MetricsRecord. (David Bowen via tomwhite) 11. HADOOP-1092. Fix a NullPointerException in HeartbeatMonitor thread. (Hairong Kuang via tomwhite) 12. HADOOP-1112. Fix a race condition in Hadoop metrics. (David Bowen via tomwhite) 13. HADOOP-1108. Checksummed file system should retry reading if a different replica is found when handling ChecksumException. (Hairong Kuang via tomwhite) 14. HADOOP-1070. Fix a problem with number of racks and datanodes temporarily doubling. (Konstantin Shvachko via tomwhite) 15. HADOOP-1099. Fix NullPointerException in JobInProgress. (Gautam Kowshik via tomwhite) 16. HADOOP-1115. Fix bug where FsShell copyToLocal doesn't copy directories. (Hairong Kuang via tomwhite) 17. HADOOP-1109. Fix NullPointerException in StreamInputFormat. (Koji Noguchi via tomwhite) 18. HADOOP-1117. Fix DFS scalability: when the namenode is restarted it consumes 80% CPU. (Dhruba Borthakur via tomwhite) 19. HADOOP-1089. Make the C++ version of write and read v-int agree with the Java versions. (Milind Bhandarkar via tomwhite) 20. HADOOP-1096. Rename InputArchive and OutputArchive and make them public. (Milind Bhandarkar via tomwhite) 21. HADOOP-1128. Fix missing progress information in map tasks. (Espen Amble Kolstad, Andrzej Bialecki, and Owen O'Malley via tomwhite) 22. HADOOP-1129. Fix DFSClient to not hide IOExceptions in flush method. (Hairong Kuang via tomwhite) 23. HADOOP-1126. Optimize CPU usage for under replicated blocks when cluster restarts. (Hairong Kuang via tomwhite) Release 0.12.0 - 2007-03-02 1. HADOOP-975. Separate stdout and stderr from tasks. (Arun C Murthy via cutting) 2. HADOOP-982. Add some setters and a toString() method to BytesWritable. (omalley via cutting) 3. HADOOP-858. Move contrib/smallJobsBenchmark to src/test, removing obsolete bits. (Nigel Daley via cutting) 4. HADOOP-992. Fix MiniMR unit tests to use MiniDFS when specified, rather than the local FS. (omalley via cutting) 5. HADOOP-954. Change use of metrics to use callback mechanism. Also rename utility class Metrics to MetricsUtil. (David Bowen & Nigel Daley via cutting) 6. HADOOP-893. Improve HDFS client's handling of dead datanodes. The set is no longer reset with each block, but rather is now maintained for the life of an open file. (Raghu Angadi via cutting) 7. HADOOP-882. Upgrade to jets3t version 0.5, used by the S3 FileSystem. This version supports retries. (Michael Stack via cutting) 8. HADOOP-977. Send task's stdout and stderr to JobClient's stdout and stderr respectively, with each line tagged by the task's name. (Arun C Murthy via cutting) 9. HADOOP-761. Change unit tests to not use /tmp. (Nigel Daley via cutting) 10. HADOOP-1007. Make names of metrics used in Hadoop unique. (Nigel Daley via cutting) 11. HADOOP-491. Change mapred.task.timeout to be per-job, and make a value of zero mean no timeout. Also change contrib/streaming to disable task timeouts. (Arun C Murthy via cutting) 12. HADOOP-1010. Add Reporter.NULL, a Reporter implementation that does nothing. (Runping Qi via cutting) 13. HADOOP-923. In HDFS NameNode, move replication computation to a separate thread, to improve heartbeat processing time. (Dhruba Borthakur via cutting) 14. HADOOP-476. Rewrite contrib/streaming command-line processing, improving parameter validation. (Sanjay Dahiya via cutting) 15. HADOOP-973. Improve error messages in Namenode. This should help to track down a problem that was appearing as a NullPointerException. (Dhruba Borthakur via cutting) 16. HADOOP-649. Fix so that jobs with no tasks are not lost. (Thomas Friol via cutting) 17. HADOOP-803. Reduce memory use by HDFS namenode, phase I. (Raghu Angadi via cutting) 18. HADOOP-1021. Fix MRCaching-based unit tests on Windows. (Nigel Daley via cutting) 19. HADOOP-889. Remove duplicate code from HDFS unit tests. (Milind Bhandarkar via cutting) 20. HADOOP-943. Improve HDFS's fsck command to display the filename for under-replicated blocks. (Dhruba Borthakur via cutting) 21. HADOOP-333. Add validator for sort benchmark output. (Arun C Murthy via cutting) 22. HADOOP-947. Improve performance of datanode decomissioning. (Dhruba Borthakur via cutting) 23. HADOOP-442. Permit one to specify hosts allowed to connect to namenode and jobtracker with include and exclude files. (Wendy Chien via cutting) 24. HADOOP-1017. Cache constructors, for improved performance. (Ron Bodkin via cutting) 25. HADOOP-867. Move split creation out of JobTracker to client. Splits are now saved in a separate file, read by task processes directly, so that user code is no longer required in the JobTracker. (omalley via cutting) 26. HADOOP-1006. Remove obsolete '-local' option from test code. (Gautam Kowshik via cutting) 27. HADOOP-952. Create a public (shared) Hadoop EC2 AMI. The EC2 scripts now support launch of public AMIs. (tomwhite) 28. HADOOP-1025. Remove some obsolete code in ipc.Server. (cutting) 29. HADOOP-997. Implement S3 retry mechanism for failed block transfers. This includes a generic retry mechanism for use elsewhere in Hadoop. (tomwhite) 30. HADOOP-990. Improve HDFS support for full datanode volumes. (Raghu Angadi via cutting) 31. HADOOP-564. Replace uses of "dfs://" URIs with the more standard "hdfs://". (Wendy Chien via cutting) 32. HADOOP-1030. In unit tests, unify setting of ipc.client.timeout. Also increase the value used from one to two seconds, in hopes of making tests complete more reliably. (cutting) 33. HADOOP-654. Stop assigning tasks to a tasktracker if it has failed more than a specified number in the job. (Arun C Murthy via cutting) 34. HADOOP-985. Change HDFS to identify nodes by IP address rather than by DNS hostname. (Raghu Angadi via cutting) 35. HADOOP-248. Optimize location of map outputs to not use random probes. (Devaraj Das via cutting) 36. HADOOP-1029. Fix streaming's input format to correctly seek to the start of splits. (Arun C Murthy via cutting) 37. HADOOP-492. Add per-job and per-task counters. These are incremented via the Reporter interface and available through the web ui and the JobClient API. The mapreduce framework maintains a few basic counters, and applications may add their own. Counters are also passed to the metrics system. (David Bowen via cutting) 38. HADOOP-1034. Fix datanode to better log exceptions. (Philippe Gassmann via cutting) 39. HADOOP-878. In contrib/streaming, fix reducer=NONE to work with multiple maps. (Arun C Murthy via cutting) 40. HADOOP-1039. In HDFS's TestCheckpoint, avoid restarting MiniDFSCluster so often, speeding this test. (Dhruba Borthakur via cutting) 41. HADOOP-1040. Update RandomWriter example to use counters and user-defined input and output formats. (omalley via cutting) 42. HADOOP-1027. Fix problems with in-memory merging during shuffle and re-enable this optimization. (Devaraj Das via cutting) 43. HADOOP-1036. Fix exception handling in TaskTracker to keep tasks from being lost. (Arun C Murthy via cutting) 44. HADOOP-1042. Improve the handling of failed map output fetches. (Devaraj Das via cutting) 45. HADOOP-928. Make checksums optional per FileSystem. (Hairong Kuang via cutting) 46. HADOOP-1044. Fix HDFS's TestDecommission to not spuriously fail. (Wendy Chien via cutting) 47. HADOOP-972. Optimize HDFS's rack-aware block placement algorithm. (Hairong Kuang via cutting) 48. HADOOP-1043. Optimize shuffle, increasing parallelism. (Devaraj Das via cutting) 49. HADOOP-940. Improve HDFS's replication scheduling. (Dhruba Borthakur via cutting) 50. HADOOP-1020. Fix a bug in Path resolution, and a with unit tests on Windows. (cutting) 51. HADOOP-941. Enhance record facility. (Milind Bhandarkar via cutting) 52. HADOOP-1000. Fix so that log messages in task subprocesses are not written to a task's standard error. (Arun C Murthy via cutting) 53. HADOOP-1037. Fix bin/slaves.sh, which currently only works with /bin/bash, to specify /bin/bash rather than /bin/sh. (cutting) 54. HADOOP-1046. Clean up tmp from partially received stale block files. (ab) 55. HADOOP-1041. Optimize mapred counter implementation. Also group counters by their declaring Enum. (David Bowen via cutting) 56. HADOOP-1032. Permit one to specify jars that will be cached across multiple jobs. (Gautam Kowshik via cutting) 57. HADOOP-1051. Add optional checkstyle task to build.xml. To use this developers must download the (LGPL'd) checkstyle jar themselves. (tomwhite via cutting) 58. HADOOP-1049. Fix a race condition in IPC client. (Devaraj Das via cutting) 60. HADOOP-1056. Check HDFS include/exclude node lists with both IP address and hostname. (Wendy Chien via cutting) 61. HADOOP-994. In HDFS, limit the number of blocks invalidated at once. Large lists were causing datenodes to timeout. (Dhruba Borthakur via cutting) 62. HADOOP-432. Add a trash feature, disabled by default. When enabled, the FSShell 'rm' command will move things to a trash directory in the filesystem. In HDFS, a thread periodically checkpoints the trash and removes old checkpoints. (cutting) Release 0.11.2 - 2007-02-16 1. HADOOP-1009. Fix an infinite loop in the HDFS namenode. (Dhruba Borthakur via cutting) 2. HADOOP-1014. Disable in-memory merging during shuffle, as this is causing data corruption. (Devaraj Das via cutting) Release 0.11.1 - 2007-02-09 1. HADOOP-976. Make SequenceFile.Metadata public. (Runping Qi via cutting) 2. HADOOP-917. Fix a NullPointerException in SequenceFile's merger with large map outputs. (omalley via cutting) 3. HADOOP-984. Fix a bug in shuffle error handling introduced by HADOOP-331. If a map output is unavailable, the job tracker is once more informed. (Arun C Murthy via cutting) 4. HADOOP-987. Fix a problem in HDFS where blocks were not removed from neededReplications after a replication target was selected. (Hairong Kuang via cutting) Release 0.11.0 - 2007-02-02 1. HADOOP-781. Remove methods deprecated in 0.10 that are no longer widely used. (cutting) 2. HADOOP-842. Change HDFS protocol so that the open() method is passed the client hostname, to permit the namenode to order block locations on the basis of network topology. (Hairong Kuang via cutting) 3. HADOOP-852. Add an ant task to compile record definitions, and use it to compile record unit tests. (Milind Bhandarkar via cutting) 4. HADOOP-757. Fix "Bad File Descriptor" exception in HDFS client when an output file is closed twice. (Raghu Angadi via cutting) 5. [ intentionally blank ] 6. HADOOP-890. Replace dashes in metric names with underscores, for better compatibility with some monitoring systems. (Nigel Daley via cutting) 7. HADOOP-801. Add to jobtracker a log of task completion events. (Sanjay Dahiya via cutting) 8. HADOOP-855. In HDFS, try to repair files with checksum errors. An exception is still thrown, but corrupt blocks are now removed when they have replicas. (Wendy Chien via cutting) 9. HADOOP-886. Reduce number of timer threads created by metrics API by pooling contexts. (Nigel Daley via cutting) 10. HADOOP-897. Add a "javac.args" property to build.xml that permits one to pass arbitrary options to javac. (Milind Bhandarkar via cutting) 11. HADOOP-899. Update libhdfs for changes in HADOOP-871. (Sameer Paranjpye via cutting) 12. HADOOP-905. Remove some dead code from JobClient. (cutting) 13. HADOOP-902. Fix a NullPointerException in HDFS client when closing output streams. (Raghu Angadi via cutting) 14. HADOOP-735. Switch generated record code to use BytesWritable to represent fields of type 'buffer'. (Milind Bhandarkar via cutting) 15. HADOOP-830. Improve mapreduce merge performance by buffering and merging multiple map outputs as they arrive at reduce nodes before they're written to disk. (Devaraj Das via cutting) 16. HADOOP-908. Add a new contrib package, Abacus, that simplifies counting and aggregation, built on MapReduce. (Runping Qi via cutting) 17. HADOOP-901. Add support for recursive renaming to the S3 filesystem. (Tom White via cutting) 18. HADOOP-912. Fix a bug in TaskTracker.isIdle() that was sporadically causing unit test failures. (Arun C Murthy via cutting) 19. HADOOP-909. Fix the 'du' command to correctly compute the size of FileSystem directory trees. (Hairong Kuang via cutting) 20. HADOOP-731. When a checksum error is encountered on a file stored in HDFS, try another replica of the data, if any. (Wendy Chien via cutting) 21. HADOOP-732. Add support to SequenceFile for arbitrary metadata, as a set of attribute value pairs. (Runping Qi via cutting) 22. HADOOP-929. Fix PhasedFileSystem to pass configuration to underlying FileSystem. (Sanjay Dahiya via cutting) 23. HADOOP-935. Fix contrib/abacus to not delete pre-existing output files, but rather to fail in this case. (Runping Qi via cutting) 24. HADOOP-936. More metric renamings, as in HADOOP-890. (Nigel Daley via cutting) 25. HADOOP-856. Fix HDFS's fsck command to not report that non-existent filesystems are healthy. (Milind Bhandarkar via cutting) 26. HADOOP-602. Remove the dependency on Lucene's PriorityQueue utility, by copying it into Hadoop. This facilitates using Hadoop with different versions of Lucene without worrying about CLASSPATH order. (Milind Bhandarkar via cutting) 27. [ intentionally blank ] 28. HADOOP-227. Add support for backup namenodes, which periodically get snapshots of the namenode state. (Dhruba Borthakur via cutting) 29. HADOOP-884. Add scripts in contrib/ec2 to facilitate running Hadoop on an Amazon's EC2 cluster. (Tom White via cutting) 30. HADOOP-937. Change the namenode to request re-registration of datanodes in more circumstances. (Hairong Kuang via cutting) 31. HADOOP-922. Optimize small forward seeks in HDFS. If data is has likely already in flight, skip ahead rather than re-opening the block. (Dhruba Borthakur via cutting) 32. HADOOP-961. Add a 'job -events' sub-command that prints job events, including task completions and failures. (omalley via cutting) 33. HADOOP-959. Fix namenode snapshot code added in HADOOP-227 to work on Windows. (Dhruba Borthakur via cutting) 34. HADOOP-934. Fix TaskTracker to catch metrics exceptions that were causing heartbeats to fail. (Arun Murthy via cutting) 35. HADOOP-881. Fix JobTracker web interface to display the correct number of task failures. (Sanjay Dahiya via cutting) 36. HADOOP-788. Change contrib/streaming to subclass TextInputFormat, permitting it to take advantage of native compression facilities. (Sanjay Dahiya via cutting) 37. HADOOP-962. In contrib/ec2: make scripts executable in tar file; add a README; make the environment file use a template. (Tom White via cutting) 38. HADOOP-549. Fix a NullPointerException in TaskReport's serialization. (omalley via cutting) 39. HADOOP-963. Fix remote exceptions to have the stack trace of the caller thread, not the IPC listener thread. (omalley via cutting) 40. HADOOP-967. Change RPC clients to start sending a version header. (omalley via cutting) 41. HADOOP-964. Fix a bug introduced by HADOOP-830 where jobs failed whose comparators and/or i/o types were in the job's jar. (Dennis Kubes via cutting) 42. HADOOP-969. Fix a deadlock in JobTracker. (omalley via cutting) 43. HADOOP-862. Add support for the S3 FileSystem to the CopyFiles tool. (Michael Stack via cutting) 44. HADOOP-965. Fix IsolationRunner so that job's jar can be found. (Dennis Kubes via cutting) 45. HADOOP-309. Fix two NullPointerExceptions in StatusHttpServer. (navychen via cutting) 46. HADOOP-692. Add rack awareness to HDFS's placement of blocks. (Hairong Kuang via cutting) Release 0.10.1 - 2007-01-10 1. HADOOP-857. Fix S3 FileSystem implementation to permit its use for MapReduce input and output. (Tom White via cutting) 2. HADOOP-863. Reduce logging verbosity introduced by HADOOP-813. (Devaraj Das via cutting) 3. HADOOP-815. Fix memory leaks in JobTracker. (Arun C Murthy via cutting) 4. HADOOP-600. Fix a race condition in JobTracker. (Arun C Murthy via cutting) 5. HADOOP-864. Fix 'bin/hadoop -jar' to operate correctly when hadoop.tmp.dir does not yet exist. (omalley via cutting) 6. HADOOP-866. Fix 'dfs -get' command to remove existing crc files, if any. (Milind Bhandarkar via cutting) 7. HADOOP-871. Fix a bug in bin/hadoop setting JAVA_LIBRARY_PATH. (Arun C Murthy via cutting) 8. HADOOP-868. Decrease the number of open files during map, respecting io.sort.fa ctor. (Devaraj Das via cutting) 9. HADOOP-865. Fix S3 FileSystem so that partially created files can be deleted. (Tom White via cutting) 10. HADOOP-873. Pass java.library.path correctly to child processes. (omalley via cutting) 11. HADOOP-851. Add support for the LZO codec. This is much faster than the default, zlib-based compression, but it is only available when the native library is built. (Arun C Murthy via cutting) 12. HADOOP-880. Fix S3 FileSystem to remove directories. (Tom White via cutting) 13. HADOOP-879. Fix InputFormatBase to handle output generated by MapFileOutputFormat. (cutting) 14. HADOOP-659. In HDFS, prioritize replication of blocks based on current replication level. Blocks which are severely under-replicated should be further replicated before blocks which are less under-replicated. (Hairong Kuang via cutting) 15. HADOOP-726. Deprecate FileSystem locking methods. They are not currently usable. Locking should eventually provided as an independent service. (Raghu Angadi via cutting) 16. HADOOP-758. Fix exception handling during reduce so that root exceptions are not masked by exceptions in cleanups. (Raghu Angadi via cutting) Release 0.10.0 - 2007-01-05 1. HADOOP-763. Change DFS namenode benchmark to not use MapReduce. (Nigel Daley via cutting) 2. HADOOP-777. Use fully-qualified hostnames for tasktrackers and datanodes. (Mahadev Konar via cutting) 3. HADOOP-621. Change 'dfs -cat' to exit sooner when output has been closed. (Dhruba Borthakur via cutting) 4. HADOOP-752. Rationalize some synchronization in DFS namenode. (Dhruba Borthakur via cutting) 5. HADOOP-629. Fix RPC services to better check the protocol name and version. (omalley via cutting) 6. HADOOP-774. Limit the number of invalid blocks returned with heartbeats by the namenode to datanodes. Transmitting and processing very large invalid block lists can tie up both the namenode and datanode for too long. (Dhruba Borthakur via cutting) 7. HADOOP-738. Change 'dfs -get' command to not create CRC files by default, adding a -crc option to force their creation. (Milind Bhandarkar via cutting) 8. HADOOP-676. Improved exceptions and error messages for common job input specification errors. (Sanjay Dahiya via cutting) 9. [Included in 0.9.2 release] 10. HADOOP-756. Add new dfsadmin option to wait for filesystem to be operational. (Dhruba Borthakur via cutting) 11. HADOOP-770. Fix jobtracker web interface to display, on restart, jobs that were running when it was last stopped. (Sanjay Dahiya via cutting) 12. HADOOP-331. Write all map outputs to a single file with an index, rather than to a separate file per reduce task. This should both speed the shuffle and make things more scalable. (Devaraj Das via cutting) 13. HADOOP-818. Fix contrib unit tests to not depend on core unit tests. (omalley via cutting) 14. HADOOP-786. Log common exception at debug level. (Sanjay Dahiya via cutting) 15. HADOOP-796. Provide more convenient access to failed task information in the web interface. (Sanjay Dahiya via cutting) 16. HADOOP-764. Reduce memory allocations in namenode some. (Dhruba Borthakur via cutting) 17. HADOOP-802. Update description of mapred.speculative.execution to mention reduces. (Nigel Daley via cutting) 18. HADOOP-806. Include link to datanodes on front page of namenode web interface. (Raghu Angadi via cutting) 19. HADOOP-618. Make JobSubmissionProtocol public. (Arun C Murthy via cutting) 20. HADOOP-782. Fully remove killed tasks. (Arun C Murthy via cutting) 21. HADOOP-792. Fix 'dfs -mv' to return correct status. (Dhruba Borthakur via cutting) 22. HADOOP-673. Give each task its own working directory again. (Mahadev Konar via cutting) 23. HADOOP-571. Extend the syntax of Path to be a URI; to be optionally qualified with a scheme and authority. The scheme determines the FileSystem implementation, while the authority determines the FileSystem instance. New FileSystem implementations may be provided by defining an fs..impl property, naming the FileSystem implementation class. This permits easy integration of new FileSystem implementations. (cutting) 24. HADOOP-720. Add an HDFS white paper to website. (Dhruba Borthakur via cutting) 25. HADOOP-794. Fix a divide-by-zero exception when a job specifies zero map tasks. (omalley via cutting) 26. HADOOP-454. Add a 'dfs -dus' command that provides summary disk usage. (Hairong Kuang via cutting) 27. HADOOP-574. Add an Amazon S3 implementation of FileSystem. To use this, one need only specify paths of the form s3://id:secret@bucket/. Alternately, the AWS access key id and secret can be specified in your config, with the properties fs.s3.awsAccessKeyId and fs.s3.awsSecretAccessKey. (Tom White via cutting) 28. HADOOP-824. Rename DFSShell to be FsShell, since it applies generically to all FileSystem implementations. (cutting) 29. HADOOP-813. Fix map output sorting to report progress, so that sorts which take longer than the task timeout do not fail. (Devaraj Das via cutting) 30. HADOOP-825. Fix HDFS daemons when configured with new URI syntax. (omalley via cutting) 31. HADOOP-596. Fix a bug in phase reporting during reduce. (Sanjay Dahiya via cutting) 32. HADOOP-811. Add a utility, MultithreadedMapRunner. (Alejandro Abdelnur via cutting) 33. HADOOP-829. Within HDFS, clearly separate three different representations for datanodes: one for RPCs, one for namenode-internal use, and one for namespace persistence. (Dhruba Borthakur via cutting) 34. HADOOP-823. Fix problem starting datanode when not all configured data directories exist. (Bryan Pendleton via cutting) 35. HADOOP-451. Add a Split interface. CAUTION: This incompatibly changes the InputFormat and RecordReader interfaces. Not only is FileSplit replaced with Split, but a FileSystem parameter is no longer passed in several methods, input validation has changed, etc. (omalley via cutting) 36. HADOOP-814. Optimize locking in namenode. (Dhruba Borthakur via cutting) 37. HADOOP-738. Change 'fs -put' and 'fs -get' commands to accept standard input and output, respectively. Standard i/o is specified by a file named '-'. (Wendy Chien via cutting) 38. HADOOP-835. Fix a NullPointerException reading record-compressed SequenceFiles. (Hairong Kuang via cutting) 39. HADOOP-836. Fix a MapReduce bug on Windows, where the wrong FileSystem was used. Also add a static FileSystem.getLocal() method and better Path checking in HDFS, to help avoid such issues in the future. (omalley via cutting) 40. HADOOP-837. Improve RunJar utility to unpack jar file hadoop.tmp.dir, rather than the system temporary directory. (Hairong Kuang via cutting) 41. HADOOP-841. Fix native library to build 32-bit version even when on a 64-bit host, if a 32-bit JVM is used. (Arun C Murthy via cutting) 42. HADOOP-838. Fix tasktracker to pass java.library.path to sub-processes, so that libhadoop.a is found. (Arun C Murthy via cutting) 43. HADOOP-844. Send metrics messages on a fixed-delay schedule instead of a fixed-rate schedule. (David Bowen via cutting) 44. HADOOP-849. Fix OutOfMemory exceptions in TaskTracker due to a file handle leak in SequenceFile. (Devaraj Das via cutting) 45. HADOOP-745. Fix a synchronization bug in the HDFS namenode. (Dhruba Borthakur via cutting) 46. HADOOP-850. Add Writable implementations for variable-length integers. (ab via cutting) 47. HADOOP-525. Add raw comparators to record types. This greatly improves record sort performance. (Milind Bhandarkar via cutting) 48. HADOOP-628. Fix a problem with 'fs -cat' command, where some characters were replaced with question marks. (Wendy Chien via cutting) 49. HADOOP-804. Reduce verbosity of MapReduce logging. (Sanjay Dahiya via cutting) 50. HADOOP-853. Rename 'site' to 'docs', in preparation for inclusion in releases. (cutting) 51. HADOOP-371. Include contrib jars and site documentation in distributions. Also add contrib and example documentation to distributed javadoc, in separate sections. (Nigel Daley via cutting) 52. HADOOP-846. Report progress during entire map, as sorting of intermediate outputs may happen at any time, potentially causing task timeouts. (Devaraj Das via cutting) 53. HADOOP-840. In task tracker, queue task cleanups and perform them in a separate thread. (omalley & Mahadev Konar via cutting) 54. HADOOP-681. Add to HDFS the ability to decommission nodes. This causes their blocks to be re-replicated on other nodes, so that they may be removed from a cluster. (Dhruba Borthakur via cutting) 55. HADOOP-470. In HDFS web ui, list the datanodes containing each copy of a block. (Hairong Kuang via cutting) 56. HADOOP-700. Change bin/hadoop to only include core jar file on classpath, not example, test, etc. Also rename core jar to hadoop-${version}-core.jar so that it can be more easily identified. (Nigel Daley via cutting) 57. HADOOP-619. Extend InputFormatBase to accept individual files and glob patterns as MapReduce inputs, not just directories. Also change contrib/streaming to use this. (Sanjay Dahia via cutting) Release 0.9.2 - 2006-12-15 1. HADOOP-639. Restructure InterTrackerProtocol to make task accounting more reliable. (Arun C Murthy via cutting) 2. HADOOP-827. Turn off speculative execution by default, since it's currently broken. (omalley via cutting) 3. HADOOP-791. Fix a deadlock in the task tracker. (Mahadev Konar via cutting) Release 0.9.1 - 2006-12-06 1. HADOOP-780. Use ReflectionUtils to instantiate key and value objects. (ab) 2. HADOOP-779. Fix contrib/streaming to work correctly with gzipped input files. (Hairong Kuang via cutting) Release 0.9.0 - 2006-12-01 1. HADOOP-655. Remove most deprecated code. A few deprecated things remain, notably UTF8 and some methods that are still required. Also cleaned up constructors for SequenceFile, MapFile, SetFile, and ArrayFile a bit. (cutting) 2. HADOOP-565. Upgrade to Jetty version 6. (Sanjay Dahiya via cutting) 3. HADOOP-682. Fix DFS format command to work correctly when configured with a non-existent directory. (Sanjay Dahiya via cutting) 4. HADOOP-645. Fix a bug in contrib/streaming when -reducer is NONE. (Dhruba Borthakur via cutting) 5. HADOOP-687. Fix a classpath bug in bin/hadoop that blocked the servers from starting. (Sameer Paranjpye via omalley) 6. HADOOP-683. Remove a script dependency on bash, so it works with dash, the new default for /bin/sh on Ubuntu. (James Todd via cutting) 7. HADOOP-382. Extend unit tests to run multiple datanodes. (Milind Bhandarkar via cutting) 8. HADOOP-604. Fix some synchronization issues and a NullPointerException in DFS datanode. (Raghu Angadi via cutting) 9. HADOOP-459. Fix memory leaks and a host of other issues with libhdfs. (Sameer Paranjpye via cutting) 10. HADOOP-694. Fix a NullPointerException in jobtracker. (Mahadev Konar via cutting) 11. HADOOP-637. Fix a memory leak in the IPC server. Direct buffers are not collected like normal buffers, and provided little advantage. (Raghu Angadi via cutting) 12. HADOOP-696. Fix TestTextInputFormat unit test to not rely on the order of directory listings. (Sameer Paranjpye via cutting) 13. HADOOP-611. Add support for iterator-based merging to SequenceFile. (Devaraj Das via cutting) 14. HADOOP-688. Move DFS administrative commands to a separate command named 'dfsadmin'. (Dhruba Borthakur via cutting) 15. HADOOP-708. Fix test-libhdfs to return the correct status, so that failures will break the build. (Nigel Daley via cutting) 16. HADOOP-646. Fix namenode to handle edits files larger than 2GB. (Milind Bhandarkar via cutting) 17. HADOOP-705. Fix a bug in the JobTracker when failed jobs were not completely cleaned up. (Mahadev Konar via cutting) 18. HADOOP-613. Perform final merge while reducing. This removes one sort pass over the data and should consequently significantly decrease overall processing time. (Devaraj Das via cutting) 19. HADOOP-661. Make each job's configuration visible through the web ui. (Arun C Murthy via cutting) 20. HADOOP-489. In MapReduce, separate user logs from system logs. Each task's log output is now available through the web ui. (Arun C Murthy via cutting) 21. HADOOP-712. Fix record io's xml serialization to correctly handle control-characters. (Milind Bhandarkar via cutting) 22. HADOOP-668. Improvements to the web-based DFS browser. (Hairong Kuang via cutting) 23. HADOOP-715. Fix build.xml so that test logs are written in build directory, rather than in CWD. (Arun C Murthy via cutting) 24. HADOOP-538. Add support for building an optional native library, libhadoop.so, that improves the performance of zlib-based compression. To build this, specify -Dcompile.native to Ant. (Arun C Murthy via cutting) 25. HADOOP-610. Fix an problem when the DFS block size is configured to be smaller than the buffer size, typically only when debugging. (Milind Bhandarkar via cutting) 26. HADOOP-695. Fix a NullPointerException in contrib/streaming. (Hairong Kuang via cutting) 27. HADOOP-652. In DFS, when a file is deleted, the block count is now decremented. (Vladimir Krokhmalyov via cutting) 28. HADOOP-725. In DFS, optimize block placement algorithm, previously a performance bottleneck. (Milind Bhandarkar via cutting) 29. HADOOP-723. In MapReduce, fix a race condition during the shuffle, which resulted in FileNotFoundExceptions. (omalley via cutting) 30. HADOOP-447. In DFS, fix getBlockSize(Path) to work with relative paths. (Raghu Angadi via cutting) 31. HADOOP-733. Make exit codes in DFShell consistent and add a unit test. (Dhruba Borthakur via cutting) 32. HADOOP-709. Fix contrib/streaming to work with commands that contain control characters. (Dhruba Borthakur via cutting) 33. HADOOP-677. In IPC, permit a version header to be transmitted when connections are established. This will permit us to change the format of IPC requests back-compatibly in subsequent releases. (omalley via cutting) 34. HADOOP-699. Fix DFS web interface so that filesystem browsing works correctly, using the right port number. Also add support for sorting datanode list by various columns. (Raghu Angadi via cutting) 35. HADOOP-76. Implement speculative reduce. Now when a job is configured for speculative execution, both maps and reduces will execute speculatively. Reduce outputs are written to temporary location and moved to the final location when reduce is complete. (Sanjay Dahiya via cutting) 36. HADOOP-736. Roll back to Jetty 5.1.4, due to performance problems with Jetty 6.0.1. 37. HADOOP-739. Fix TestIPC to use different port number, making it more reliable. (Nigel Daley via cutting) 38. HADOOP-749. Fix a NullPointerException in jobfailures.jsp. (omalley via cutting) 39. HADOOP-747. Fix record serialization to work correctly when records are embedded in Maps. (Milind Bhandarkar via cutting) 40. HADOOP-698. Fix HDFS client not to retry the same datanode on read failures. (Milind Bhandarkar via cutting) 41. HADOOP-689. Add GenericWritable, to facilitate polymorphism in MapReduce, SequenceFile, etc. (Feng Jiang via cutting) 42. HADOOP-430. Stop datanode's HTTP server when registration with namenode fails. (Wendy Chien via cutting) 43. HADOOP-750. Fix a potential race condition during mapreduce shuffle. (omalley via cutting) 44. HADOOP-728. Fix contrib/streaming-related issues, including '-reducer NONE'. (Sanjay Dahiya via cutting) Release 0.8.0 - 2006-11-03 1. HADOOP-477. Extend contrib/streaming to scan the PATH environment variables when resolving executable program names. (Dhruba Borthakur via cutting) 2. HADOOP-583. In DFSClient, reduce the log level of re-connect attempts from 'info' to 'debug', so they are not normally shown. (Konstantin Shvachko via cutting) 3. HADOOP-498. Re-implement DFS integrity checker to run server-side, for much improved performance. (Milind Bhandarkar via cutting) 4. HADOOP-586. Use the jar name for otherwise un-named jobs. (Sanjay Dahiya via cutting) 5. HADOOP-514. Make DFS heartbeat interval configurable. (Milind Bhandarkar via cutting) 6. HADOOP-588. Fix logging and accounting of failed tasks. (Sanjay Dahiya via cutting) 7. HADOOP-462. Improve command line parsing in DFSShell, so that incorrect numbers of arguments result in informative errors rather than ArrayOutOfBoundsException. (Dhruba Borthakur via cutting) 8. HADOOP-561. Fix DFS so that one replica of each block is written locally, if possible. This was the intent, but there as a bug. (Dhruba Borthakur via cutting) 9. HADOOP-610. Fix TaskTracker to survive more exceptions, keeping tasks from becoming lost. (omalley via cutting) 10. HADOOP-625. Add a servlet to all http daemons that displays a stack dump, useful for debugging. (omalley via cutting) 11. HADOOP-554. Fix DFSShell to return -1 for errors. (Dhruba Borthakur via cutting) 12. HADOOP-626. Correct the documentation in the NNBench example code, and also remove a mistaken call there. (Nigel Daley via cutting) 13. HADOOP-634. Add missing license to many files. (Nigel Daley via cutting) 14. HADOOP-627. Fix some synchronization problems in MiniMRCluster that sometimes caused unit tests to fail. (Nigel Daley via cutting) 15. HADOOP-563. Improve the NameNode's lease policy so that leases are held for one hour without renewal (instead of one minute). However another attempt to create the same file will still succeed if the lease has not been renewed within a minute. This prevents communication or scheduling problems from causing a write to fail for up to an hour, barring some other process trying to create the same file. (Dhruba Borthakur via cutting) 16. HADOOP-635. In DFSShell, permit specification of multiple files as the source for file copy and move commands. (Dhruba Borthakur via cutting) 17. HADOOP-641. Change NameNode to request a fresh block report from a re-discovered DataNode, so that no-longer-needed replications are stopped promptly. (Konstantin Shvachko via cutting) 18. HADOOP-642. Change IPC client to specify an explicit connect timeout. (Konstantin Shvachko via cutting) 19. HADOOP-638. Fix an unsynchronized access to TaskTracker's internal state. (Nigel Daley via cutting) 20. HADOOP-624. Fix servlet path to stop a Jetty warning on startup. (omalley via cutting) 21. HADOOP-578. Failed tasks are no longer placed at the end of the task queue. This was originally done to work around other problems that have now been fixed. Re-executing failed tasks sooner causes buggy jobs to fail faster. (Sanjay Dahiya via cutting) 22. HADOOP-658. Update source file headers per Apache policy. (cutting) 23. HADOOP-636. Add MapFile & ArrayFile constructors which accept a Progressable, and pass it down to SequenceFile. This permits reduce tasks which use MapFile to still report progress while writing blocks to the filesystem. (cutting) 24. HADOOP-576. Enable contrib/streaming to use the file cache. Also extend the cache to permit symbolic links to cached items, rather than local file copies. (Mahadev Konar via cutting) 25. HADOOP-482. Fix unit tests to work when a cluster is running on the same machine, removing port conflicts. (Wendy Chien via cutting) 26. HADOOP-90. Permit dfs.name.dir to list multiple directories, where namenode data is to be replicated. (Milind Bhandarkar via cutting) 27. HADOOP-651. Fix DFSCk to correctly pass parameters to the servlet on the namenode. (Milind Bhandarkar via cutting) 28. HADOOP-553. Change main() routines of DataNode and NameNode to log exceptions rather than letting the JVM print them to standard error. Also, change the hadoop-daemon.sh script to rotate standard i/o log files. (Raghu Angadi via cutting) 29. HADOOP-399. Fix javadoc warnings. (Nigel Daley via cutting) 30. HADOOP-599. Fix web ui and command line to correctly report DFS filesystem size statistics. Also improve web layout. (Raghu Angadi via cutting) 31. HADOOP-660. Permit specification of junit test output format. (Nigel Daley via cutting) 32. HADOOP-663. Fix a few unit test issues. (Mahadev Konar via cutting) 33. HADOOP-664. Cause entire build to fail if libhdfs tests fail. (Nigel Daley via cutting) 34. HADOOP-633. Keep jobtracker from dying when job initialization throws exceptions. Also improve exception handling in a few other places and add more informative thread names. (omalley via cutting) 35. HADOOP-669. Fix a problem introduced by HADOOP-90 that can cause DFS to lose files. (Milind Bhandarkar via cutting) 36. HADOOP-373. Consistently check the value returned by FileSystem.mkdirs(). (Wendy Chien via cutting) 37. HADOOP-670. Code cleanups in some DFS internals: use generic types, replace Vector with ArrayList, etc. (Konstantin Shvachko via cutting) 38. HADOOP-647. Permit map outputs to use a different compression type than the job output. (omalley via cutting) 39. HADOOP-671. Fix file cache to check for pre-existence before creating . (Mahadev Konar via cutting) 40. HADOOP-665. Extend many DFSShell commands to accept multiple arguments. Now commands like "ls", "rm", etc. will operate on multiple files. (Dhruba Borthakur via cutting) Release 0.7.2 - 2006-10-18 1. HADOOP-607. Fix a bug where classes included in job jars were not found by tasks. (Mahadev Konar via cutting) 2. HADOOP-609. Add a unit test that checks that classes in job jars can be found by tasks. Also modify unit tests to specify multiple local directories. (Mahadev Konar via cutting) Release 0.7.1 - 2006-10-11 1. HADOOP-593. Fix a NullPointerException in the JobTracker. (omalley via cutting) 2. HADOOP-592. Fix a NullPointerException in the IPC Server. Also consistently log when stale calls are discarded. (omalley via cutting) 3. HADOOP-594. Increase the DFS safe-mode threshold from .95 to .999, so that nearly all blocks must be reported before filesystem modifications are permitted. (Konstantin Shvachko via cutting) 4. HADOOP-598. Fix tasks to retry when reporting completion, so that a single RPC timeout won't fail a task. (omalley via cutting) 5. HADOOP-597. Fix TaskTracker to not discard map outputs for errors in transmitting them to reduce nodes. (omalley via cutting) Release 0.7.0 - 2006-10-06 1. HADOOP-243. Fix rounding in the display of task and job progress so that things are not shown to be 100% complete until they are in fact finished. (omalley via cutting) 2. HADOOP-438. Limit the length of absolute paths in DFS, since the file format used to store pathnames has some limitations. (Wendy Chien via cutting) 3. HADOOP-530. Improve error messages in SequenceFile when keys or values are of the wrong type. (Hairong Kuang via cutting) 4. HADOOP-288. Add a file caching system and use it in MapReduce to cache job jar files on slave nodes. (Mahadev Konar via cutting) 5. HADOOP-533. Fix unit test to not modify conf directory. (Hairong Kuang via cutting) 6. HADOOP-527. Permit specification of the local address that various Hadoop daemons should bind to. (Philippe Gassmann via cutting) 7. HADOOP-542. Updates to contrib/streaming: reformatted source code, on-the-fly merge sort, a fix for HADOOP-540, etc. (Michel Tourn via cutting) 8. HADOOP-545. Remove an unused config file parameter. (Philippe Gassmann via cutting) 9. HADOOP-548. Add an Ant property "test.output" to build.xml that causes test output to be logged to the console. (omalley via cutting) 10. HADOOP-261. Record an error message when map output is lost. (omalley via cutting) 11. HADOOP-293. Report the full list of task error messages in the web ui, not just the most recent. (omalley via cutting) 12. HADOOP-551. Restore JobClient's console printouts to only include a maximum of one update per one percent of progress. (omalley via cutting) 13. HADOOP-306. Add a "safe" mode to DFS. The name node enters this when less than a specified percentage of file data is complete. Currently safe mode is only used on startup, but eventually it will also be entered when datanodes disconnect and file data becomes incomplete. While in safe mode no filesystem modifications are permitted and block replication is inhibited. (Konstantin Shvachko via cutting) 14. HADOOP-431. Change 'dfs -rm' to not operate recursively and add a new command, 'dfs -rmr' which operates recursively. (Sameer Paranjpye via cutting) 15. HADOOP-263. Include timestamps for job transitions. The web interface now displays the start and end times of tasks and the start times of sorting and reducing for reduce tasks. Also, extend ObjectWritable to handle enums, so that they can be passed as RPC parameters. (Sanjay Dahiya via cutting) 16. HADOOP-556. Contrib/streaming: send keep-alive reports to task tracker every 10 seconds rather than every 100 records, to avoid task timeouts. (Michel Tourn via cutting) 17. HADOOP-547. Fix reduce tasks to ping tasktracker while copying data, rather than only between copies, avoiding task timeouts. (Sanjay Dahiya via cutting) 18. HADOOP-537. Fix src/c++/libhdfs build process to create files in build/, no longer modifying the source tree. (Arun C Murthy via cutting) 19. HADOOP-487. Throw a more informative exception for unknown RPC hosts. (Sameer Paranjpye via cutting) 20. HADOOP-559. Add file name globbing (pattern matching) support to the FileSystem API, and use it in DFSShell ('bin/hadoop dfs') commands. (Hairong Kuang via cutting) 21. HADOOP-508. Fix a bug in FSDataInputStream. Incorrect data was returned after seeking to a random location. (Milind Bhandarkar via cutting) 22. HADOOP-560. Add a "killed" task state. This can be used to distinguish kills from other failures. Task state has also been converted to use an enum type instead of an int, uncovering a bug elsewhere. The web interface is also updated to display killed tasks. (omalley via cutting) 23. HADOOP-423. Normalize Paths containing directories named "." and "..", using the standard, unix interpretation. Also add checks in DFS, prohibiting the use of "." or ".." as directory or file names. (Wendy Chien via cutting) 24. HADOOP-513. Replace map output handling with a servlet, rather than a JSP page. This fixes an issue where IllegalStateException's were logged, sets content-length correctly, and better handles some errors. (omalley via cutting) 25. HADOOP-552. Improved error checking when copying map output files to reduce nodes. (omalley via cutting) 26. HADOOP-566. Fix scripts to work correctly when accessed through relative symbolic links. (Lee Faris via cutting) 27. HADOOP-519. Add positioned read methods to FSInputStream. These permit one to read from a stream without moving its position, and can hence be performed by multiple threads at once on a single stream. Implement an optimized version for DFS and local FS. (Milind Bhandarkar via cutting) 28. HADOOP-522. Permit block compression with MapFile and SetFile. Since these formats are always sorted, block compression can provide a big advantage. (cutting) 29. HADOOP-567. Record version and revision information in builds. A package manifest is added to the generated jar file containing version information, and a VersionInfo utility is added that includes further information, including the build date and user, and the subversion revision and repository. A 'bin/hadoop version' comand is added to show this information, and it is also added to various web interfaces. (omalley via cutting) 30. HADOOP-568. Fix so that errors while initializing tasks on a tasktracker correctly report the task as failed to the jobtracker, so that it will be rescheduled. (omalley via cutting) 31. HADOOP-550. Disable automatic UTF-8 validation in Text. This permits, e.g., TextInputFormat to again operate on non-UTF-8 data. (Hairong and Mahadev via cutting) 32. HADOOP-343. Fix mapred copying so that a failed tasktracker doesn't cause other copies to slow. (Sameer Paranjpye via cutting) 33. HADOOP-239. Add a persistent job history mechanism, so that basic job statistics are not lost after 24 hours and/or when the jobtracker is restarted. (Sanjay Dahiya via cutting) 34. HADOOP-506. Ignore heartbeats from stale task trackers. (Sanjay Dahiya via cutting) 35. HADOOP-255. Discard stale, queued IPC calls. Do not process calls whose clients will likely time out before they receive a response. When the queue is full, new calls are now received and queued, and the oldest calls are discarded, so that, when servers get bogged down, they no longer develop a backlog on the socket. This should improve some DFS namenode failure modes. (omalley via cutting) 36. HADOOP-581. Fix datanode to not reset itself on communications errors with the namenode. If a request to the namenode fails, the datanode should retry, not restart. This reduces the load on the namenode, since restarts cause a resend of the block report. (omalley via cutting) Release 0.6.2 - 2006-09-18 1. HADOOP-532. Fix a bug reading value-compressed sequence files, where an exception was thrown reporting that the full value had not been read. (omalley via cutting) 2. HADOOP-534. Change the default value class in JobConf to be Text instead of the now-deprecated UTF8. This fixes the Grep example program, which was updated to use Text, but relies on this default. (Hairong Kuang via cutting) Release 0.6.1 - 2006-09-13 1. HADOOP-520. Fix a bug in libhdfs, where write failures were not correctly returning error codes. (Arun C Murthy via cutting) 2. HADOOP-523. Fix a NullPointerException when TextInputFormat is explicitly specified. Also add a test case for this. (omalley via cutting) 3. HADOOP-521. Fix another NullPointerException finding the ClassLoader when using libhdfs. (omalley via cutting) 4. HADOOP-526. Fix a NullPointerException when attempting to start two datanodes in the same directory. (Milind Bhandarkar via cutting) 5. HADOOP-529. Fix a NullPointerException when opening value-compressed sequence files generated by pre-0.6.0 Hadoop. (omalley via cutting) Release 0.6.0 - 2006-09-08 1. HADOOP-427. Replace some uses of DatanodeDescriptor in the DFS web UI code with DatanodeInfo, the preferred public class. (Devaraj Das via cutting) 2. HADOOP-426. Fix streaming contrib module to work correctly on Solaris. This was causing nightly builds to fail. (Michel Tourn via cutting) 3. HADOOP-400. Improvements to task assignment. Tasks are no longer re-run on nodes where they have failed (unless no other node is available). Also, tasks are better load-balanced among nodes. (omalley via cutting) 4. HADOOP-324. Fix datanode to not exit when a disk is full, but rather simply to fail writes. (Wendy Chien via cutting) 5. HADOOP-434. Change smallJobsBenchmark to use standard Hadoop scripts. (Sanjay Dahiya via cutting) 6. HADOOP-453. Fix a bug in Text.setCapacity(). (siren via cutting) 7. HADOOP-450. Change so that input types are determined by the RecordReader rather than specified directly in the JobConf. This facilitates jobs with a variety of input types. WARNING: This contains incompatible API changes! The RecordReader interface has two new methods that all user-defined InputFormats must now define. Also, the values returned by TextInputFormat are no longer of class UTF8, but now of class Text. 8. HADOOP-436. Fix an error-handling bug in the web ui. (Devaraj Das via cutting) 9. HADOOP-455. Fix a bug in Text, where DEL was not permitted. (Hairong Kuang via cutting) 10. HADOOP-456. Change the DFS namenode to keep a persistent record of the set of known datanodes. This will be used to implement a "safe mode" where filesystem changes are prohibited when a critical percentage of the datanodes are unavailable. (Konstantin Shvachko via cutting) 11. HADOOP-322. Add a job control utility. This permits one to specify job interdependencies. Each job is submitted only after the jobs it depends on have successfully completed. (Runping Qi via cutting) 12. HADOOP-176. Fix a bug in IntWritable.Comparator. (Dick King via cutting) 13. HADOOP-421. Replace uses of String in recordio package with Text class, for improved handling of UTF-8 data. (Milind Bhandarkar via cutting) 14. HADOOP-464. Improved error message when job jar not found. (Michel Tourn via cutting) 15. HADOOP-469. Fix /bin/bash specifics that have crept into our /bin/sh scripts since HADOOP-352. (Jean-Baptiste Quenot via cutting) 16. HADOOP-468. Add HADOOP_NICENESS environment variable to set scheduling priority for daemons. (Vetle Roeim via cutting) 17. HADOOP-473. Fix TextInputFormat to correctly handle more EOL formats. Things now work correctly with CR, LF or CRLF. (Dennis Kubes & James White via cutting) 18. HADOOP-461. Make Java 1.5 an explicit requirement. (cutting) 19. HADOOP-54. Add block compression to SequenceFile. One may now specify that blocks of keys and values are compressed together, improving compression for small keys and values. SequenceFile.Writer's constructor is now deprecated and replaced with a factory method. (Arun C Murthy via cutting) 20. HADOOP-281. Prohibit DFS files that are also directories. (Wendy Chien via cutting) 21. HADOOP-486. Add the job username to JobStatus instances returned by JobClient. (Mahadev Konar via cutting) 22. HADOOP-437. contrib/streaming: Add support for gzipped inputs. (Michel Tourn via cutting) 23. HADOOP-463. Add variable expansion to config files. Configuration property values may now contain variable expressions. A variable is referenced with the syntax '${variable}'. Variables values are found first in the configuration, and then in Java system properties. The default configuration is modified so that temporary directories are now under ${hadoop.tmp.dir}, which is, by default, /tmp/hadoop-${user.name}. (Michel Tourn via cutting) 24. HADOOP-419. Fix a NullPointerException finding the ClassLoader when using libhdfs. (omalley via cutting) 25. HADOOP-460. Fix contrib/smallJobsBenchmark to use Text instead of UTF8. (Sanjay Dahiya via cutting) 26. HADOOP-196. Fix Configuration(Configuration) constructor to work correctly. (Sami Siren via cutting) 27. HADOOP-501. Fix Configuration.toString() to handle URL resources. (Thomas Friol via cutting) 28. HADOOP-499. Reduce the use of Strings in contrib/streaming, replacing them with Text for better performance. (Hairong Kuang via cutting) 29. HADOOP-64. Manage multiple volumes with a single DataNode. Previously DataNode would create a separate daemon per configured volume, each with its own connection to the NameNode. Now all volumes are handled by a single DataNode daemon, reducing the load on the NameNode. (Milind Bhandarkar via cutting) 30. HADOOP-424. Fix MapReduce so that jobs which generate zero splits do not fail. (Fr??d??ric Bertin via cutting) 31. HADOOP-408. Adjust some timeouts and remove some others so that unit tests run faster. (cutting) 32. HADOOP-507. Fix an IllegalAccessException in DFS. (omalley via cutting) 33. HADOOP-320. Fix so that checksum files are correctly copied when the destination of a file copy is a directory. (Hairong Kuang via cutting) 34. HADOOP-286. In DFSClient, avoid pinging the NameNode with renewLease() calls when no files are being written. (Konstantin Shvachko via cutting) 35. HADOOP-312. Close idle IPC connections. All IPC connections were cached forever. Now, after a connection has been idle for more than a configurable amount of time (one second by default), the connection is closed, conserving resources on both client and server. (Devaraj Das via cutting) 36. HADOOP-497. Permit the specification of the network interface and nameserver to be used when determining the local hostname advertised by datanodes and tasktrackers. (Lorenzo Thione via cutting) 37. HADOOP-441. Add a compression codec API and extend SequenceFile to use it. This will permit the use of alternate compression codecs in SequenceFile. (Arun C Murthy via cutting) 38. HADOOP-483. Improvements to libhdfs build and documentation. (Arun C Murthy via cutting) 39. HADOOP-458. Fix a memory corruption bug in libhdfs. (Arun C Murthy via cutting) 40. HADOOP-517. Fix a contrib/streaming bug in end-of-line detection. (Hairong Kuang via cutting) 41. HADOOP-474. Add CompressionCodecFactory, and use it in TextInputFormat and TextOutputFormat. Compressed input files are automatically decompressed when they have the correct extension. Output files will, when output compression is specified, be generated with an approprate extension. Also add a gzip codec and fix problems with UTF8 text inputs. (omalley via cutting) Release 0.5.0 - 2006-08-04 1. HADOOP-352. Fix shell scripts to use /bin/sh instead of /bin/bash, for better portability. (Jean-Baptiste Quenot via cutting) 2. HADOOP-313. Permit task state to be saved so that single tasks may be manually re-executed when debugging. (omalley via cutting) 3. HADOOP-339. Add method to JobClient API listing jobs that are not yet complete, i.e., that are queued or running. (Mahadev Konar via cutting) 4. HADOOP-355. Updates to the streaming contrib module, including API fixes, making reduce optional, and adding an input type for StreamSequenceRecordReader. (Michel Tourn via cutting) 5. HADOOP-358. Fix a NPE bug in Path.equals(). (Fr??d??ric Bertin via cutting) 6. HADOOP-327. Fix ToolBase to not call System.exit() when exceptions are thrown. (Hairong Kuang via cutting) 7. HADOOP-359. Permit map output to be compressed. (omalley via cutting) 8. HADOOP-341. Permit input URI to CopyFiles to use the HTTP protocol. This lets one, e.g., more easily copy log files into DFS. (Arun C Murthy via cutting) 9. HADOOP-361. Remove unix dependencies from streaming contrib module tests, making them pure java. (Michel Tourn via cutting) 10. HADOOP-354. Make public methods to stop DFS daemons. (Barry Kaplan via cutting) 11. HADOOP-252. Add versioning to RPC protocols. (Milind Bhandarkar via cutting) 12. HADOOP-356. Add contrib to "compile" and "test" build targets, so that this code is better maintained. (Michel Tourn via cutting) 13. HADOOP-307. Add smallJobsBenchmark contrib module. This runs lots of small jobs, in order to determine per-task overheads. (Sanjay Dahiya via cutting) 14. HADOOP-342. Add a tool for log analysis: Logalyzer. (Arun C Murthy via cutting) 15. HADOOP-347. Add web-based browsing of DFS content. The namenode redirects browsing requests to datanodes. Content requests are redirected to datanodes where the data is local when possible. (Devaraj Das via cutting) 16. HADOOP-351. Make Hadoop IPC kernel independent of Jetty. (Devaraj Das via cutting) 17. HADOOP-237. Add metric reporting to DFS and MapReduce. With only minor configuration changes, one can now monitor many Hadoop system statistics using Ganglia or other monitoring systems. (Milind Bhandarkar via cutting) 18. HADOOP-376. Fix datanode's HTTP server to scan for a free port. (omalley via cutting) 19. HADOOP-260. Add --config option to shell scripts, specifying an alternate configuration directory. (Milind Bhandarkar via cutting) 20. HADOOP-381. Permit developers to save the temporary files for tasks whose names match a regular expression, to facilliate debugging. (omalley via cutting) 21. HADOOP-344. Fix some Windows-related problems with DF. (Konstantin Shvachko via cutting) 22. HADOOP-380. Fix reduce tasks to poll less frequently for map outputs. (Mahadev Konar via cutting) 23. HADOOP-321. Refactor DatanodeInfo, in preparation for HADOOP-306. (Konstantin Shvachko & omalley via cutting) 24. HADOOP-385. Fix some bugs in record io code generation. (Milind Bhandarkar via cutting) 25. HADOOP-302. Add new Text class to replace UTF8, removing limitations of that class. Also refactor utility methods for writing zero-compressed integers (VInts and VLongs). (Hairong Kuang via cutting) 26. HADOOP-335. Refactor DFS namespace/transaction logging in namenode. (Konstantin Shvachko via cutting) 27. HADOOP-375. Fix handling of the datanode HTTP daemon's port so that multiple datanode's can be run on a single host. (Devaraj Das via cutting) 28. HADOOP-386. When removing excess DFS block replicas, remove those on nodes with the least free space first. (Johan Oskarson via cutting) 29. HADOOP-389. Fix intermittent failures of mapreduce unit tests. Also fix some build dependencies. (Mahadev & Konstantin via cutting) 30. HADOOP-362. Fix a problem where jobs hang when status messages are recieved out-of-order. (omalley via cutting) 31. HADOOP-394. Change order of DFS shutdown in unit tests to minimize errors logged. (Konstantin Shvachko via cutting) 32. HADOOP-396. Make DatanodeID implement Writable. (Konstantin Shvachko via cutting) 33. HADOOP-377. Permit one to add URL resources to a Configuration. (Jean-Baptiste Quenot via cutting) 34. HADOOP-345. Permit iteration over Configuration key/value pairs. (Michel Tourn via cutting) 35. HADOOP-409. Streaming contrib module: make configuration properties available to commands as environment variables. (Michel Tourn via cutting) 36. HADOOP-369. Add -getmerge option to dfs command that appends all files in a directory into a single local file. (Johan Oskarson via cutting) 37. HADOOP-410. Replace some TreeMaps with HashMaps in DFS, for a 17% performance improvement. (Milind Bhandarkar via cutting) 38. HADOOP-411. Add unit tests for command line parser. (Hairong Kuang via cutting) 39. HADOOP-412. Add MapReduce input formats that support filtering of SequenceFile data, including sampling and regex matching. Also, move JobConf.newInstance() to a new utility class. (Hairong Kuang via cutting) 40. HADOOP-226. Fix fsck command to properly consider replication counts, now that these can vary per file. (Bryan Pendleton via cutting) 41. HADOOP-425. Add a Python MapReduce example, using Jython. (omalley via cutting) Release 0.4.0 - 2006-06-28 1. HADOOP-298. Improved progress reports for CopyFiles utility, the distributed file copier. (omalley via cutting) 2. HADOOP-299. Fix the task tracker, permitting multiple jobs to more easily execute at the same time. (omalley via cutting) 3. HADOOP-250. Add an HTTP user interface to the namenode, running on port 50070. (Devaraj Das via cutting) 4. HADOOP-123. Add MapReduce unit tests that run a jobtracker and tasktracker, greatly increasing code coverage. (Milind Bhandarkar via cutting) 5. HADOOP-271. Add links from jobtracker's web ui to tasktracker's web ui. Also attempt to log a thread dump of child processes before they're killed. (omalley via cutting) 6. HADOOP-210. Change RPC server to use a selector instead of a thread per connection. This should make it easier to scale to larger clusters. Note that this incompatibly changes the RPC protocol: clients and servers must both be upgraded to the new version to ensure correct operation. (Devaraj Das via cutting) 7. HADOOP-311. Change DFS client to retry failed reads, so that a single read failure will not alone cause failure of a task. (omalley via cutting) 8. HADOOP-314. Remove the "append" phase when reducing. Map output files are now directly passed to the sorter, without first appending them into a single file. Now, the first third of reduce progress is "copy" (transferring map output to reduce nodes), the middle third is "sort" (sorting map output) and the last third is "reduce" (generating output). Long-term, the "sort" phase will also be removed. (omalley via cutting) 9. HADOOP-316. Fix a potential deadlock in the jobtracker. (omalley via cutting) 10. HADOOP-319. Fix FileSystem.close() to remove the FileSystem instance from the cache. (Hairong Kuang via cutting) 11. HADOOP-135. Fix potential deadlock in JobTracker by acquiring locks in a consistent order. (omalley via cutting) 12. HADOOP-278. Check for existence of input directories before starting MapReduce jobs, making it easier to debug this common error. (omalley via cutting) 13. HADOOP-304. Improve error message for UnregisterdDatanodeException to include expected node name. (Konstantin Shvachko via cutting) 14. HADOOP-305. Fix TaskTracker to ask for new tasks as soon as a task is finished, rather than waiting for the next heartbeat. This improves performance when tasks are short. (Mahadev Konar via cutting) 15. HADOOP-59. Add support for generic command line options. One may now specify the filesystem (-fs), the MapReduce jobtracker (-jt), a config file (-conf) or any configuration property (-D). The "dfs", "fsck", "job", and "distcp" commands currently support this, with more to be added. (Hairong Kuang via cutting) 16. HADOOP-296. Permit specification of the amount of reserved space on a DFS datanode. One may specify both the percentage free and the number of bytes. (Johan Oskarson via cutting) 17. HADOOP-325. Fix a problem initializing RPC parameter classes, and remove the workaround used to initialize classes. (omalley via cutting) 18. HADOOP-328. Add an option to the "distcp" command to ignore read errors while copying. (omalley via cutting) 19. HADOOP-27. Don't allocate tasks to trackers whose local free space is too low. (Johan Oskarson via cutting) 20. HADOOP-318. Keep slow DFS output from causing task timeouts. This incompatibly changes some public interfaces, adding a parameter to OutputFormat.getRecordWriter() and the new method Reporter.progress(), but it makes lots of tasks succeed that were previously failing. (Milind Bhandarkar via cutting) Release 0.3.2 - 2006-06-09 1. HADOOP-275. Update the streaming contrib module to use log4j for its logging. (Michel Tourn via cutting) 2. HADOOP-279. Provide defaults for log4j logging parameters, so that things still work reasonably when Hadoop-specific system properties are not provided. (omalley via cutting) 3. HADOOP-280. Fix a typo in AllTestDriver which caused the wrong test to be run when "DistributedFSCheck" was specified. (Konstantin Shvachko via cutting) 4. HADOOP-240. DFS's mkdirs() implementation no longer logs a warning when the directory already exists. (Hairong Kuang via cutting) 5. HADOOP-285. Fix DFS datanodes to be able to re-join the cluster after the connection to the namenode is lost. (omalley via cutting) 6. HADOOP-277. Fix a race condition when creating directories. (Sameer Paranjpye via cutting) 7. HADOOP-289. Improved exception handling in DFS datanode. (Konstantin Shvachko via cutting) 8. HADOOP-292. Fix client-side logging to go to standard error rather than standard output, so that it can be distinguished from application output. (omalley via cutting) 9. HADOOP-294. Fixed bug where conditions for retrying after errors in the DFS client were reversed. (omalley via cutting) Release 0.3.1 - 2006-06-05 1. HADOOP-272. Fix a bug in bin/hadoop setting log parameters. (omalley & cutting) 2. HADOOP-274. Change applications to log to standard output rather than to a rolling log file like daemons. (omalley via cutting) 3. HADOOP-262. Fix reduce tasks to report progress while they're waiting for map outputs, so that they do not time out. (Mahadev Konar via cutting) 4. HADOOP-245 and HADOOP-246. Improvements to record io package. (Mahadev Konar via cutting) 5. HADOOP-276. Add logging config files to jar file so that they're always found. (omalley via cutting) Release 0.3.0 - 2006-06-02 1. HADOOP-208. Enhance MapReduce web interface, adding new pages for failed tasks, and tasktrackers. (omalley via cutting) 2. HADOOP-204. Tweaks to metrics package. (David Bowen via cutting) 3. HADOOP-209. Add a MapReduce-based file copier. This will copy files within or between file systems in parallel. (Milind Bhandarkar via cutting) 4. HADOOP-146. Fix DFS to check when randomly generating a new block id that no existing blocks already have that id. (Milind Bhandarkar via cutting) 5. HADOOP-180. Make a daemon thread that does the actual task clean ups, so that the main offerService thread in the taskTracker doesn't get stuck and miss his heartbeat window. This was killing many task trackers as big jobs finished (300+ tasks / node). (omalley via cutting) 6. HADOOP-200. Avoid transmitting entire list of map task names to reduce tasks. Instead just transmit the number of map tasks and henceforth refer to them by number when collecting map output. (omalley via cutting) 7. HADOOP-219. Fix a NullPointerException when handling a checksum exception under SequenceFile.Sorter.sort(). (cutting & stack) 8. HADOOP-212. Permit alteration of the file block size in DFS. The default block size for new files may now be specified in the configuration with the dfs.block.size property. The block size may also be specified when files are opened. (omalley via cutting) 9. HADOOP-218. Avoid accessing configuration while looping through tasks in JobTracker. (Mahadev Konar via cutting) 10. HADOOP-161. Add hashCode() method to DFS's Block. (Milind Bhandarkar via cutting) 11. HADOOP-115. Map output types may now be specified. These are also used as reduce input types, thus permitting reduce input types to differ from reduce output types. (Runping Qi via cutting) 12. HADOOP-216. Add task progress to task status page. (Bryan Pendelton via cutting) 13. HADOOP-233. Add web server to task tracker that shows running tasks and logs. Also add log access to job tracker web interface. (omalley via cutting) 14. HADOOP-205. Incorporate pending tasks into tasktracker load calculations. (Mahadev Konar via cutting) 15. HADOOP-247. Fix sort progress to better handle exceptions. (Mahadev Konar via cutting) 16. HADOOP-195. Improve performance of the transfer of map outputs to reduce nodes by performing multiple transfers in parallel, each on a separate socket. (Sameer Paranjpye via cutting) 17. HADOOP-251. Fix task processes to be tolerant of failed progress reports to their parent process. (omalley via cutting) 18. HADOOP-325. Improve the FileNotFound exceptions thrown by LocalFileSystem to include the name of the file. (Benjamin Reed via cutting) 19. HADOOP-254. Use HTTP to transfer map output data to reduce nodes. This, together with HADOOP-195, greatly improves the performance of these transfers. (omalley via cutting) 20. HADOOP-163. Cause datanodes that\ are unable to either read or write data to exit, so that the namenode will no longer target them for new blocks and will replicate their data on other nodes. (Hairong Kuang via cutting) 21. HADOOP-222. Add a -setrep option to the dfs commands that alters file replication levels. (Johan Oskarson via cutting) 22. HADOOP-75. In DFS, only check for a complete file when the file is closed, rather than as each block is written. (Milind Bhandarkar via cutting) 23. HADOOP-124. Change DFS so that datanodes are identified by a persistent ID rather than by host and port. This solves a number of filesystem integrity problems, when, e.g., datanodes are restarted. (Konstantin Shvachko via cutting) 24. HADOOP-256. Add a C API for DFS. (Arun C Murthy via cutting) 25. HADOOP-211. Switch to use the Jakarta Commons logging internally, configured to use log4j by default. (Arun C Murthy and cutting) 26. HADOOP-265. Tasktracker now fails to start if it does not have a writable local directory for temporary files. In this case, it logs a message to the JobTracker and exits. (Hairong Kuang via cutting) 27. HADOOP-270. Fix potential deadlock in datanode shutdown. (Hairong Kuang via cutting) Release 0.2.1 - 2006-05-12 1. HADOOP-199. Fix reduce progress (broken by HADOOP-182). (omalley via cutting) 2. HADOOP-201. Fix 'bin/hadoop dfs -report'. (cutting) 3. HADOOP-207. Fix JDK 1.4 incompatibility introduced by HADOOP-96. System.getenv() does not work in JDK 1.4. (Hairong Kuang via cutting) Release 0.2.0 - 2006-05-05 1. Fix HADOOP-126. 'bin/hadoop dfs -cp' now correctly copies .crc files. (Konstantin Shvachko via cutting) 2. Fix HADOOP-51. Change DFS to support per-file replication counts. (Konstantin Shvachko via cutting) 3. Fix HADOOP-131. Add scripts to start/stop dfs and mapred daemons. Use these in start/stop-all scripts. (Chris Mattmann via cutting) 4. Stop using ssh options by default that are not yet in widely used versions of ssh. Folks can still enable their use by uncommenting a line in conf/hadoop-env.sh. (cutting) 5. Fix HADOOP-92. Show information about all attempts to run each task in the web ui. (Mahadev konar via cutting) 6. Fix HADOOP-128. Improved DFS error handling. (Owen O'Malley via cutting) 7. Fix HADOOP-129. Replace uses of java.io.File with new class named Path. This fixes bugs where java.io.File methods were called directly when FileSystem methods were desired, and reduces the likelihood of such bugs in the future. It also makes the handling of pathnames more consistent between local and dfs FileSystems and between Windows and Unix. java.io.File-based methods are still available for back-compatibility, but are deprecated and will be removed once 0.2 is released. (cutting) 8. Change dfs.data.dir and mapred.local.dir to be comma-separated lists of directories, no longer be space-separated. This fixes several bugs on Windows. (cutting) 9. Fix HADOOP-144. Use mapred task id for dfs client id, to facilitate debugging. (omalley via cutting) 10. Fix HADOOP-143. Do not line-wrap stack-traces in web ui. (omalley via cutting) 11. Fix HADOOP-118. In DFS, improve clean up of abandoned file creations. (omalley via cutting) 12. Fix HADOOP-138. Stop multiple tasks in a single heartbeat, rather than one per heartbeat. (Stefan via cutting) 13. Fix HADOOP-139. Remove a potential deadlock in LocalFileSystem.lock(). (Igor Bolotin via cutting) 14. Fix HADOOP-134. Don't hang jobs when the tasktracker is misconfigured to use an un-writable local directory. (omalley via cutting) 15. Fix HADOOP-115. Correct an error message. (Stack via cutting) 16. Fix HADOOP-133. Retry pings from child to parent, in case of (local) communcation problems. Also log exit status, so that one can distinguish patricide from other deaths. (omalley via cutting) 17. Fix HADOOP-142. Avoid re-running a task on a host where it has previously failed. (omalley via cutting) 18. Fix HADOOP-148. Maintain a task failure count for each tasktracker and display it in the web ui. (omalley via cutting) 19. Fix HADOOP-151. Close a potential socket leak, where new IPC connection pools were created per configuration instance that RPCs use. Now a global RPC connection pool is used again, as originally intended. (cutting) 20. Fix HADOOP-69. Don't throw a NullPointerException when getting hints for non-existing file split. (Bryan Pendelton via cutting) 21. Fix HADOOP-157. When a task that writes dfs files (e.g., a reduce task) failed and was retried, it would fail again and again, eventually failing the job. The problem was that dfs did not yet know that the failed task had abandoned the files, and would not yet let another task create files with the same names. Dfs now retries when creating a file long enough for locks on abandoned files to expire. (omalley via cutting) 22. Fix HADOOP-150. Improved task names that include job names. (omalley via cutting) 23. Fix HADOOP-162. Fix ConcurrentModificationException when releasing file locks. (omalley via cutting) 24. Fix HADOOP-132. Initial check-in of new Metrics API, including implementations for writing metric data to a file and for sending it to Ganglia. (David Bowen via cutting) 25. Fix HADOOP-160. Remove some uneeded synchronization around time-consuming operations in the TaskTracker. (omalley via cutting) 26. Fix HADOOP-166. RPCs failed when passed subclasses of a declared parameter type. This is fixed by changing ObjectWritable to store both the declared type and the instance type for Writables. Note that this incompatibly changes the format of ObjectWritable and will render unreadable any ObjectWritables stored in files. Nutch only uses ObjectWritable in intermediate files, so this should not be a problem for Nutch. (Stefan & cutting) 27. Fix HADOOP-168. MapReduce RPC protocol methods should all declare IOException, so that timeouts are handled appropriately. (omalley via cutting) 28. Fix HADOOP-169. Don't fail a reduce task if a call to the jobtracker to locate map outputs fails. (omalley via cutting) 29. Fix HADOOP-170. Permit FileSystem clients to examine and modify the replication count of individual files. Also fix a few replication-related bugs. (Konstantin Shvachko via cutting) 30. Permit specification of a higher replication levels for job submission files (job.xml and job.jar). This helps with large clusters, since these files are read by every node. (cutting) 31. HADOOP-173. Optimize allocation of tasks with local data. (cutting) 32. HADOOP-167. Reduce number of Configurations and JobConf's created. (omalley via cutting) 33. NUTCH-256. Change FileSystem#createNewFile() to create a .crc file. The lack of a .crc file was causing warnings. (cutting) 34. HADOOP-174. Change JobClient to not abort job until it has failed to contact the job tracker for five attempts, not just one as before. (omalley via cutting) 35. HADOOP-177. Change MapReduce web interface to page through tasks. Previously, when jobs had more than a few thousand tasks they could crash web browsers. (Mahadev Konar via cutting) 36. HADOOP-178. In DFS, piggyback blockwork requests from datanodes on heartbeat responses from namenode. This reduces the volume of RPC traffic. Also move startup delay in blockwork from datanode to namenode. This fixes a problem where restarting the namenode triggered a lot of uneeded replication. (Hairong Kuang via cutting) 37. HADOOP-183. If the DFS namenode is restarted with different minimum and/or maximum replication counts, existing files' replication counts are now automatically adjusted to be within the newly configured bounds. (Hairong Kuang via cutting) 38. HADOOP-186. Better error handling in TaskTracker's top-level loop. Also improve calculation of time to send next heartbeat. (omalley via cutting) 39. HADOOP-187. Add two MapReduce examples/benchmarks. One creates files containing random data. The second sorts the output of the first. (omalley via cutting) 40. HADOOP-185. Fix so that, when a task tracker times out making the RPC asking for a new task to run, the job tracker does not think that it is actually running the task returned. (omalley via cutting) 41. HADOOP-190. If a child process hangs after it has reported completion, its output should not be lost. (Stack via cutting) 42. HADOOP-184. Re-structure some test code to better support testing on a cluster. (Mahadev Konar via cutting) 43. HADOOP-191 Add streaming package, Hadoop's first contrib module. This permits folks to easily submit MapReduce jobs whose map and reduce functions are implemented by shell commands. Use 'bin/hadoop jar build/hadoop-streaming.jar' to get details. (Michel Tourn via cutting) 44. HADOOP-189. Fix MapReduce in standalone configuration to correctly handle job jar files that contain a lib directory with nested jar files. (cutting) 45. HADOOP-65. Initial version of record I/O framework that enables the specification of record types and generates marshalling code in both Java and C++. Generated Java code implements WritableComparable, but is not yet otherwise used by Hadoop. (Milind Bhandarkar via cutting) 46. HADOOP-193. Add a MapReduce-based FileSystem benchmark. (Konstantin Shvachko via cutting) 47. HADOOP-194. Add a MapReduce-based FileSystem checker. This reads every block in every file in the filesystem. (Konstantin Shvachko via cutting) 48. HADOOP-182. Fix so that lost task trackers to not change the status of reduce tasks or completed jobs. Also fixes the progress meter so that failed tasks are subtracted. (omalley via cutting) 49. HADOOP-96. Logging improvements. Log files are now separate from standard output and standard error files. Logs are now rolled. Logging of all DFS state changes can be enabled, to facilitate debugging. (Hairong Kuang via cutting) Release 0.1.1 - 2006-04-08 1. Added CHANGES.txt, logging all significant changes to Hadoop. (cutting) 2. Fix MapReduceBase.close() to throw IOException, as declared in the Closeable interface. This permits subclasses which override this method to throw that exception. (cutting) 3. Fix HADOOP-117. Pathnames were mistakenly transposed in JobConf.getLocalFile() causing many mapred temporary files to not be removed. (Raghavendra Prabhu via cutting) 4. Fix HADOOP-116. Clean up job submission files when jobs complete. (cutting) 5. Fix HADOOP-125. Fix handling of absolute paths on Windows (cutting) Release 0.1.0 - 2006-04-01 1. The first release of Hadoop.