Commit Graph

4660 Commits

Author SHA1 Message Date
Vinayakumar B bd4e10900c HDFS-8712. Remove 'public' and 'abstract' modifiers in FsVolumeSpi and FsDatasetSpi (Contributed by Lei (Eddy) Xu) 2015-07-08 16:34:54 +05:30
Haohui Mai c0b8e4e5b5 HDFS-8620. Clean up the checkstyle warinings about ClientProtocol. Contributed by Takanobu Asanuma. 2015-07-07 14:01:19 -07:00
Xiaoyu Yao b68701b7b2 HDFS-8711. setSpaceQuota command should print the available storage type when input storage type is wrong. Contributed by Brahma Reddy Battula. 2015-07-07 13:50:49 -07:00
Jing Zhao bc99aaffe7 Revert "HDFS-8652. Track BlockInfo instead of Block in CorruptReplicasMap. Contributed by Jing Zhao."
This reverts commit d62b63d297.
2015-07-07 10:13:41 -07:00
Vinod Kumar Vavilapalli (I am also known as @tshooter.) bf89ddb9b8 Release process for 2.7.1: Set the release date for 2.7.1. 2015-07-06 16:39:59 -07:00
Jing Zhao d62b63d297 HDFS-8652. Track BlockInfo instead of Block in CorruptReplicasMap. Contributed by Jing Zhao. 2015-07-06 15:54:25 -07:00
Vinayakumar B fc92d3e651 HDFS-8686. WebHdfsFileSystem#getXAttr(Path p, final String name) doesn't work if namespace is in capitals (Contributed by kanaka kumar avvaru) 2015-07-06 16:09:24 +05:30
Vinayakumar B 2eae130ab9 HDFS-8577. Avoid retrying to recover lease on a file which does not exist (Contributed by J.Andreina) 2015-07-03 13:35:48 +05:30
Andrew Wang 5fddc5177d HDFS-8709. Clarify automatic sync in FSEditLog#logEdit. 2015-07-02 10:26:40 -07:00
Vinayakumar B bff5999d07 HDFS-8703. Merge refactor of DFSInputStream from ErasureCoding branch (Contributed by Vinayakumar B) 2015-07-02 16:11:50 +05:30
Colin Patrick Mccabe a78d5074fb HADOOP-12171. Shorten overly-long htrace span names for server (cmccabe) 2015-07-01 17:57:11 -07:00
Jing Zhao 152e5df3b6 HDFS-8666. Speedup the TestMover test. Contributed by Walter Su. 2015-07-01 14:59:50 -07:00
Arpit Agarwal ec0dc71cab HDFS-8706. Fix typo in datanode startup options in HDFSCommands.html. (Controibuted by Brahma Reddy Battula) 2015-07-01 10:36:04 -07:00
Colin Patrick Mccabe 68e588cbee HADOOP-10798. globStatus() should always return a sorted list of files (cmccabe) 2015-06-30 16:40:21 -07:00
Colin Patrick Mccabe 29df73dc05 HDFS-8635. Migrate HDFS native build to new CMake framework (Alan Burlison via Colin P. McCabe) 2015-06-30 15:54:38 -07:00
Vinayakumar B 7ba5bbac02 HDFS-8627. NPE thrown if unable to fetch token from Namenode (Contributed by J.Andreina) 2015-06-30 15:42:59 +05:30
Vinayakumar B 6d99017f38 HADOOP-12154. FileSystem#getUsed() returns the file length only from root '/' (Contributed by J.Andreina) 2015-06-30 15:25:20 +05:30
Vinayakumar B 77588e1d32 HDFS-8579. Update HDFS usage with missing options (Contributed by J.Andreina) 2015-06-30 15:00:22 +05:30
Haohui Mai d3797f9f3c HDFS-8493. Consolidate truncate() related implementation in a single class. Contributed by Rakesh R. 2015-06-29 16:45:35 -07:00
Arpit Agarwal 8e333720e1 HDFS-8687. Remove the duplicate usage message from Dfsck.java. (Contributed by Brahma Reddy Battula) 2015-06-29 14:56:42 -07:00
Yongjun Zhang 43a1288fff HDFS-8659. Block scanner INFO message is spamming logs. Contributed by Yongjun Zhang. 2015-06-29 14:43:56 -07:00
Andrew Wang 2ffd84273a HDFS-8653. Code cleanup for DatanodeManager, DatanodeDescriptor and DatanodeStorageInfo. Contributed by Zhe Zhang. 2015-06-29 12:12:41 -07:00
Benoy Antony d3fed8e653 HDFS-7390. Provide JMX metrics per storage type. (Benoy Antony) 2015-06-29 11:00:22 -07:00
Vinayakumar B fde20ffcef HDFS-8628. Update missing command option for fetchdt (Contributed by J.Andreina) 2015-06-29 16:50:48 +05:30
Vinayakumar B 88ceb382ef HDFS-8586. Dead Datanode is allocated for write when client is from deadnode (Contributed by Brahma Reddy Battula) 2015-06-29 15:25:03 +05:30
Vinod Kumar Vavilapalli aad6a7d5db Adding release 2.7.2 to CHANGES.txt. 2015-06-28 16:29:12 -07:00
Arpit Agarwal c6793dd8cc HDFS-8681. BlockScanner is incorrectly disabled by default. (Contributed by Arpit Agarwal) 2015-06-28 14:51:36 -07:00
Andrew Wang 60b858bfa6 HDFS-8656. Preserve compatibility of ClientProtocol#rollingUpgrade after finalization. 2015-06-26 11:30:59 -07:00
Jing Zhao de480d6c89 HDFS-8623. Refactor NameNode handling of invalid, corrupt, and under-recovery blocks. Contributed by Zhe Zhang. 2015-06-26 10:49:01 -07:00
Colin Patrick Mccabe 1b764a01fd HDFS-8651. Make hadoop-hdfs-project Native code -Wall-clean (Alan Burlison via Colin P. McCabe) 2015-06-26 10:22:40 -07:00
Andrew Wang 1403b84b12 HDFS-8546. Use try with resources in DataStorage and Storage. 2015-06-25 17:50:32 -07:00
Andrew Wang ff0e5e572f HDFS-8665. Fix replication check in DFSTestUtils#waitForReplication. 2015-06-25 17:29:24 -07:00
Arpit Agarwal 67a62da5c5 HDFS-8640. Make reserved RBW space visible through JMX. (Contributed by kanaka kumar avvaru) 2015-06-25 10:13:22 -07:00
Akira Ajisaka bc433908d3 HDFS-8462. Implement GETXATTRS and LISTXATTRS operations for WebImageViewer. Contributed by Jagadesh Kiran N. 2015-06-26 00:20:12 +09:00
Andrew Wang afe9ea3c12 HDFS-8646. Prune cached replicas from DatanodeDescriptor state on replica invalidation. 2015-06-24 14:42:33 -07:00
Jing Zhao 2ba6465721 HDFS-8639. Add Option for NameNode HTTP port in MiniDFSClusterManager. Contributed by Kai Sasaki. 2015-06-23 22:16:16 -07:00
Aaron T. Myers 49dfad9429 HDFS-6440. Support more than 2 NameNodes. Contributed by Jesse Yates. 2015-06-23 17:26:11 -07:00
Haohui Mai 122cad6aec HDFS-6564. Use slf4j instead of common-logging in hdfs-client. Contributed by Rakesh R. 2015-06-23 11:41:40 -07:00
Jakob Homan fac4e04dd3 HDFS-8542. WebHDFS getHomeDirectory behavior does not match specification. Contributed by Kanaka Kumar Avvaru. 2015-06-22 16:30:45 -07:00
Colin Patrick Mccabe 7b424f938c HDFS-8480. Fix performance and timeout issues in HDFS-7929 by using hard-links to preserve old edit logs, instead of copying them. (Zhe Zhang via Colin P. McCabe) 2015-06-22 14:37:10 -07:00
Andrew Wang 5590e914f5 Move HDFS-4366 to 2.8.0 in CHANGES.txt 2015-06-22 14:18:55 -07:00
Arpit Agarwal c7d022b66f HDFS-8192. Eviction should key off used locked memory instead of ram disk free space. (Contributed by Arpit Agarwal) 2015-06-20 13:27:52 -07:00
Arpit Agarwal 658b5c84ae HDFS-7164. Update CHANGES.txt 2015-06-20 13:08:52 -07:00
Yongjun Zhang bcb3c40bed Move HDFS-7546 to release 2.7.1 in CHANGES.txt. 2015-06-20 00:41:35 -07:00
Yongjun Zhang 20c03c9606 Move HDFS-8337 to branch 2.8 in CHANGES.txt. 2015-06-20 00:25:33 -07:00
Yongjun Zhang 971dc838ec HDFS-8337. Accessing httpfs via webhdfs doesn't work from a jar with kerberos. Contributed by Yongjun Zhang. 2015-06-19 23:39:13 -07:00
Colin Patrick Mccabe d112d18324 HDFS-8582. Support getting a list of reconfigurable config properties and do not generate spurious reconfig warnings (Lei (Eddy) Xu via Colin P. McCabe) 2015-06-19 19:14:05 -07:00
Arpit Agarwal 55278c012f HDFS-8626. Reserved RBW space is not released if creation of RBW File fails. (Contributed by kanaka kumar avvaru) 2015-06-19 18:23:34 -07:00
Yongjun Zhang b42f1ec13d HDFS-8633. Fix setting of dfs.datanode.readahead.bytes in hdfs-default.xml to match DFSConfigKeys. Contributed by Ray Chiang. 2015-06-19 09:47:31 -07:00
Andrew Wang 1c13519e1e HDFS-8605. Merge Refactor of DFSOutputStream from HDFS-7285 branch. (vinayakumarb) 2015-06-18 08:48:09 -07:00
Akira Ajisaka cc432885ad HDFS-6249. Output AclEntry in PBImageXmlWriter. Contributed by surendra singh lilhore. 2015-06-17 17:41:10 -07:00
Akira Ajisaka 1a169a26bc HDFS-8615. Correct HTTP method in WebHDFS document. Contributed by Brahma Reddy Battula. 2015-06-17 17:13:02 -07:00
Colin Patrick Mccabe 45ced38f10 HDFS-8589. Fix unused imports in BPServiceActor and BlockReportLeaseManager (cmccabe) 2015-06-17 17:01:42 -07:00
Haohui Mai 015535dc0a HDFS-8446. Separate safemode related operations in GetBlockLocations(). Contributed by Haohui Mai. 2015-06-17 16:38:43 -07:00
Haohui Mai 2de586f60d Update CHANGES.txt for HDFS-8238. 2015-06-17 16:19:45 -07:00
Haohui Mai b832774488 HDFS-8238. Move ClientProtocol to the hdfs-client. Contributed by Takanobu Asanuma. 2015-06-17 16:16:36 -07:00
Andrew Wang 6e3fcffe29 HDFS-8608. Merge HDFS-7912 to trunk and branch-2 (track BlockInfo instead of Block in UnderReplicatedBlocks and PendingReplicationBlocks). Contributed by Zhe Zhang. 2015-06-17 08:05:44 -07:00
Arpit Agarwal 5dbc8c9cb0 HDFS-7164. Feature documentation for HDFS-6581. (Contributed by Arpit Agarwal) 2015-06-16 19:05:44 -07:00
Tsz-Wo Nicholas Sze d4929f448f HDFS-8606. Cleanup DFSOutputStream by removing unwanted changes from HDFS-8386. Contributed by Rakesh R 2015-06-16 18:08:29 -07:00
Xiaoyu Yao 9cd5ad9d84 HDFS-8551. Fix hdfs datanode CLI usage message. Contributed by Brahma Reddy Battula. 2015-06-16 14:12:45 -07:00
Xiaoyu Yao 6a76250b39 HDFS-8548. Minicluster throws NPE on shutdown. Contributed by surendra singh lilhore. 2015-06-16 13:57:02 -07:00
Kihwal Lee c74517c46b HDFS-4660. Block corruption can happen during pipeline recovery. Contributed by Kihwal Lee. 2015-06-16 15:40:16 -05:00
Xiaoyu Yao 4e88ff5b27 HDFS-8597. Fix TestFSImage#testZeroBlockSize on Windows. Contributed by Xiaoyu Yao. 2015-06-16 12:38:07 -07:00
Andrew Wang a3990ca414 HDFS-8591. Remove support for deprecated configuration key dfs.namenode.decommission.nodes.per.interval. 2015-06-16 10:03:34 -07:00
Haohui Mai 32e39d8a29 HDFS-8592. SafeModeException never get unwrapped. Contributed by Haohui Mai. 2015-06-15 22:07:24 -07:00
Tsz-Wo Nicholas Sze 175e6d120f HDFS-8361. Choose SSD over DISK in block placement. 2015-06-15 17:12:01 -07:00
Tsz-Wo Nicholas Sze 1b6695a4c0 Move HDFS-8540 to 2.8 in CHANGES.txt. 2015-06-15 17:01:55 -07:00
Tsz-Wo Nicholas Sze 321940cf19 HDFS-8540. Mover should exit with NO_MOVE_BLOCK if no block can be moved. Contributed by surendra singh lilhore 2015-06-15 16:26:53 -07:00
Tsz-Wo Nicholas Sze 2cb09e98e3 HDFS-8576. Lease recovery should return true if the lease can be released and the file can be closed. Contributed by J.Andreina 2015-06-15 16:07:38 -07:00
Arpit Agarwal 32ffda1266 HDFS-8607. TestFileCorruption doesn't work as expected. (Contributed by Walter Su) 2015-06-15 10:11:53 -07:00
Arpit Agarwal 4c5da9bd94 HDFS-8595. TestCommitBlockSynchronization fails in branch-2.7. (Patch applies to all branches). (Contributed by Arpit Agarwal) 2015-06-14 16:24:30 -07:00
Yongjun Zhang b0dc291961 HDFS-8596. TestDistributedFileSystem et al tests are broken in branch-2 due to incorrect setting of "datanode" attribute. Contributed by Yongjun Zhang. 2015-06-14 11:39:31 -07:00
cnauroth b8341f1cd8 HDFS-8593. Calculation of effective layout version mishandles comparison to current layout version in storage. Contributed by Chris Nauroth. 2015-06-13 10:37:52 -07:00
Haohui Mai eef7b50e23 HDFS-8572. DN always uses HTTP/localhost@REALM principals in SPNEGO. Contributed by Haohui Mai. 2015-06-12 14:45:34 -07:00
Andrew Wang c17439c2dd HDFS-8499. Refactor BlockInfo class hierarchy with static helper class. Contributed by Zhe Zhang. 2015-06-12 11:38:39 -07:00
Colin Patrick Mccabe 46b0b4179c Add HDFS-7923 to CHANGES.txt 2015-06-12 11:28:18 -07:00
Colin Patrick Mccabe 12b5b06c06 HDFS-7923. The DataNodes should rate-limit their full block reports by asking the NN on heartbeat messages (cmccabe) 2015-06-12 11:17:51 -07:00
Akira Ajisaka e4489d97e5 HADOOP-11971. Move test utilities for tracing from hadoop-hdfs to hadoop-common. Contributed by Masatake Iwasaki. 2015-06-12 07:25:15 -07:00
Arpit Agarwal 83e8110f87 HDFS-8583. Document that NFS gateway does not work with rpcbind on SLES 11. (Arpit Agarwal) 2015-06-11 15:08:56 -07:00
Colin Patrick Mccabe 587309bbba HDFS-8566. HDFS documentation about debug commands wrongly identifies them as "hdfs dfs" commands (Surendra Singh Lilhore via Colin P. McCabe) 2015-06-11 14:26:22 -07:00
Andrew Wang b258b344bb HDFS-8573. Move creation of restartMeta file logic from BlockReceiver to ReplicaInPipeline. Contributed by Eddy Xu. 2015-06-11 10:12:31 -07:00
Andrew Wang a7a7768341 HDFS-8549. Abort the balancer if an upgrade is in progress. 2015-06-10 13:42:57 -07:00
Arpit Agarwal 3107434031 HADOOP-12078. The default retry policy does not handle RetriableException correctly. (Contributed by Arpit Agarwal) 2015-06-09 20:58:39 -07:00
Xiaoyu Yao 3c2397cb04 HDFS-8568. TestClusterId#testFormatWithEmptyClusterIdOption is failing. Contributed by Rakesh R. 2015-06-09 12:16:24 -07:00
Xiaoyu Yao 927577c87c HDFS-8552. Fix hdfs CLI usage message for namenode and zkfc. Contributed by Brahma Reddy Battula 2015-06-08 21:57:26 -07:00
cnauroth d2832b3d42 HDFS-8553. Document hdfs class path options. Contributed by Brahma Reddy Battula. 2015-06-08 16:15:38 -07:00
cnauroth 0e80d51983 HDFS-8554. TestDatanodeLayoutUpgrade fails on Windows. Contributed by Chris Nauroth. 2015-06-08 08:39:02 -07:00
cnauroth a6cb4894b4 HDFS-8539. Hdfs doesnt have class debug in windows. Contributed by Anu Engineer. 2015-06-07 13:01:43 -07:00
Xiaoyu Yao b61b489995 HDFS-8116. Cleanup uncessary if LOG.isDebugEnabled() from RollingWindowManager. Contributed by Brahma Reddy Battula. 2015-06-06 18:47:45 -07:00
cnauroth 71de367c5e HDFS-8432. Introduce a minimum compatible layout version to allow downgrade in more rolling upgrade use cases. Contributed by Chris Nauroth. 2015-06-06 09:43:47 -07:00
cnauroth e46cb80002 HADOOP-12055. Deprecate usage of NativeIO#link. Contributed by Andrew Wang. 2015-06-06 09:17:03 -07:00
Xiaoyu Yao 3841d09765 HDFS-8522. Change heavily recorded NN logs from INFO to DEBUG level. (Contributed by Xiaoyu Yao) 2015-06-05 15:09:24 -07:00
Andrew Wang b2540f486e HDFS-8535. Clarify that dfs usage in dfsadmin -report output includes all block replicas. Contributed by Eddy Xu. 2015-06-04 15:35:07 -07:00
Andrew Wang 5149dc7b97 HDFS-8532. Make the visibility of DFSOutputStream#streamer member variable to private. Contributed by Rakesh R. 2015-06-04 11:09:19 -07:00
Kihwal Lee ade6d9a61e HDFS-8463. Calling DFSInputStream.seekToNewSource just after stream creation causes NullPointerException. Contributed by Masatake Iwasaki. 2015-06-04 12:51:00 -05:00
Vinayakumar B c59e745630 HDFS-3716. Purger should remove stale fsimage ckpt files (Contributed by J.Andreina) 2015-06-03 15:30:40 +05:30
Vinayakumar B 444a4510c8 HDFS-8523. Remove usage information on unsupported operation 'fsck -showprogress' from branch-2 (Contributed by J.Andreina)
Merged CHANGES.txt from branch-2.7

(cherry picked from commit 0ed9c2d8fe)

Conflicts:
	hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md

(cherry picked from commit dd98cfd328)

Conflicts:
	hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md
2015-06-03 15:20:42 +05:30
Vinayakumar B e965dcec37 HDFS-8470. fsimage loading progress should update inode, delegation token and cache pool count. (Contributed by surendra singh lilhore) 2015-06-03 14:24:55 +05:30
Vinayakumar B 54f83d9bd9 HDFS-8270. create() always retried with hardcoded timeout when file already exists with open lease (Contributed by J.Andreina) 2015-06-03 12:11:46 +05:30
Colin Patrick Mccabe 806e407ac8 HDFS-8521. Add VisibleForTesting annotation to BlockPoolSlice#selectReplicaToDelete. (cmccabe) 2015-06-02 20:06:28 -07:00
Andrew Wang c1d50a91f7 HDFS-8513. Rename BlockPlacementPolicyRackFaultTolarent to BlockPlacementPolicyRackFaultTolerant. (wang) 2015-06-02 15:48:26 -07:00
Andrew Wang efc510a570 HDFS-8386. Improve synchronization of 'streamer' reference in DFSOutputStream. Contributed by Rakesh R. 2015-06-02 15:39:24 -07:00
Colin Patrick Mccabe 03fb5c6425 HDFS-8486. DN startup may cause severe data loss (Daryn Sharp via Colin P. McCabe) 2015-06-02 11:40:37 -07:00
Vinayakumar B a2bd6217eb HDFS-8256. '-storagepolicies , -blockId ,-replicaDetails ' options are missed out in usage and from documentation (Contributed by J.Andreina) 2015-06-02 16:07:18 +05:30
Jing Zhao cdc13efb1a HDFS-8489. Subclass BlockInfo to represent contiguous blocks. Contributed by Zhe Zhang. 2015-06-01 11:42:58 -07:00
Tsuyoshi Ozawa c2356cb0bc HDFS-8490. Typo in trace enabled log in ExceptionHandler of WebHDFS. Contributed by Archana T. 2015-06-01 00:41:50 +09:00
Andrew Wang 7673d4f205 HADOOP-11885. hadoop-dist dist-layout-stitching.sh does not work with dash. (wang) 2015-05-29 14:54:18 -07:00
Jing Zhao 7817674a3a HDFS-7609. Avoid retry cache collision when Standby NameNode loading edits. Contributed by Ming Ma. 2015-05-29 11:05:13 -07:00
Vinayakumar B b75df697e0 HDFS-7401. Add block info to DFSInputStream' WARN message when it adds node to deadNodes (Contributed by Arshad Mohammad) 2015-05-29 16:36:19 +05:30
Akira Ajisaka d725dd8af6 HDFS-8443. Document dfs.namenode.service.handler.count in hdfs-site.xml. Contributed by J.Andreina. 2015-05-29 11:36:08 +09:00
Allen Wittenauer ae14543420 HADOOP-12022. fix site -Pdocs -Pdist in hadoop-project-dist; cleanout remaining forrest bits (aw) 2015-05-28 13:24:01 -07:00
Colin Patrick Mccabe a1140959da HADOOP-11894. Bump the version of Apache HTrace to 3.2.0-incubating (Masatake Iwasaki via Colin P. McCabe) 2015-05-28 12:00:55 -07:00
Colin Patrick Mccabe d2d95bfe88 HDFS-8407. libhdfs hdfsListDirectory must set errno to 0 on success (Masatake Iwasaki via Colin P. McCabe) 2015-05-28 11:38:06 -07:00
cnauroth 50eeea1300 HDFS-8431. hdfs crypto class not found in Windows. Contributed by Anu Engineer. 2015-05-27 22:54:10 -07:00
Allen Wittenauer bf500d9798 HDFS-5033. Bad error message for fs -put/copyFromLocal if user doesn't have permissions to read the source (Darrell Taylor via aw) 2015-05-27 16:51:34 -07:00
Andrew Wang 4928f54733 HDFS-8482. Rename BlockInfoContiguous to BlockInfo. Contributed by Zhe Zhang. 2015-05-27 15:42:07 -07:00
Haohui Mai c46d4bafe1 Update CHANGES.txt for HDFS-8135. 2015-05-27 11:07:15 -07:00
Akira Ajisaka bb1816328a HADOOP-11242. Record the time of calling in tracing span of IPC server. Contributed by Mastake Iwasaki. 2015-05-27 18:04:40 +09:00
Colin Patrick Mccabe 7dba7005b7 HADOOP-11969. ThreadLocal initialization in several classes is not thread safe (Sean Busbey via Colin P. McCabe) 2015-05-26 12:15:46 -07:00
Haohui Mai ada233b7cd HDFS-8377. Support HTTP/2 in datanode. Contributed by Duo Zhang. 2015-05-24 22:30:32 -07:00
Vinayakumar B 55ed6558ba HADOOP-11743. maven doesn't clean all the site files (Contributed by ramtin) 2015-05-22 16:45:19 +05:30
Vinayakumar B 0c6638c2ea HDFS-8268. Port conflict log for data node server is not sufficient (Contributed by Mohammad Shahid Khan) 2015-05-22 16:15:15 +05:30
Arpit Agarwal cf2b5694d6 HDFS-8454. Remove unnecessary throttling in TestDatanodeDeath. (Arpit Agarwal) 2015-05-21 20:43:57 -07:00
Xiaoyu Yao 05e04f34f2 HDFS-8451. DFSClient probe for encryption testing interprets empty URI property for enabled. Contributed by Steve Loughran. 2015-05-21 11:58:00 -07:00
Haohui Mai 2b6bcfdafa HDFS-8421. Move startFile() and related functions into FSDirWriteFileOp. Contributed by Haohui Mai. 2015-05-21 08:08:28 -07:00
Akira Ajisaka 0e4f1081c7 HADOOP-10366. Add whitespaces between classes for values in core-default.xml to fit better in browser. Contributed by kanaka kumar avvaru. 2015-05-21 17:52:03 +09:00
Akira Ajisaka dc8434ab2b HDFS-4383. Document the lease limits. Contributed by Arshad Mohammad. 2015-05-21 17:30:43 +09:00
Kihwal Lee 8860e352c3 HDFS-8404. Pending block replication can get stuck using older genstamp. Contributed by Nathan Roberts. 2015-05-19 13:05:15 -05:00
Colin Patrick Mccabe 470c87dbc6 HADOOP-11970. Replace uses of ThreadLocal<Random> with JDK7 ThreadLocalRandom (Sean Busbey via Colin P. McCabe) 2015-05-19 10:50:15 -07:00
Kihwal Lee de30d66b26 HDFS-8131. Implement a space balanced block placement policy. Contributed by Liu Shaohui. 2015-05-19 08:04:38 -05:00
Vinayakumar B d4a2830b63 HADOOP-11103. Clean up RemoteException (Contributed by Sean Busbey) 2015-05-19 14:41:05 +05:30
Vinayakumar B 93972a332a HDFS-6348. SecondaryNameNode not terminating properly on runtime exceptions (Contributed by Rakesh R) 2015-05-19 12:24:25 +05:30
Ravi Prakash cdfae446ad HDFS-4185. Add a metric for number of active leases (Rakesh R via raviprak) 2015-05-18 12:37:21 -07:00
Tsz-Wo Nicholas Sze 0c590e1c09 HDFS-8405. Fix a typo in NamenodeFsck. Contributed by Takanobu Asanuma 2015-05-19 02:57:54 +08:00
Arpit Agarwal a2190bf15d HDFS-8345. Storage policy APIs must be exposed via the FileSystem interface. (Arpit Agarwal) 2015-05-18 11:36:29 -07:00
Uma Maheswara Rao G a6af0248e9 HDFS-8412. Fix the test failures in HTTPFS: In some tests setReplication called after fs close. Contributed by Uma Maheswara Rao G. 2015-05-18 19:35:53 +05:30
Uma Maheswara Rao G 363c35541d Updating CHANGES.txt for moving entry of HDFS-8332 from branch-2 to trunk 2015-05-18 14:48:49 +05:30
Arpit Agarwal e453989a57 HDFS-8157. Writes to RAM DISK reserve locked memory for block files. (Arpit Agarwal) 2015-05-16 09:05:35 -07:00
Haohui Mai ac742c762d HDFS-8403. Eliminate retries in TestFileCreation#testOverwriteOpenForWrite. Contributed by Arpit Agarwal. 2015-05-15 19:12:40 -07:00
Haohui Mai e5afac5896 HDFS-8394. Move getAdditionalBlock() and related functionalities into a separate class. Contributed by Haohui Mai. 2015-05-15 19:09:59 -07:00
Jing Zhao 8f37873342 HDFS-8397. Refactor the error handling code in DataStreamer. Contributed by Tsz Wo Nicholas Sze. 2015-05-15 16:14:54 -07:00
Vinayakumar B 3bef7c80a9 HDFS-6888. Allow selectively audit logging ops (Contributed by Chen He) 2015-05-15 11:07:51 +05:30
Akira Ajisaka ee7beda6e3 HDFS-8350. Remove old webhdfs.xml and other outdated documentation stuff. Contributed by Brahma Reddy Battula. 2015-05-15 13:54:35 +09:00
Akira Ajisaka cbc01ed08e HDFS-8371. Fix test failure in TestHdfsConfigFields for spanreceiver properties. Contributed by Ray Chiang. 2015-05-15 12:14:47 +09:00
Vinayakumar B def9136e02 HDFS-8150. Make getFileChecksum fail for blocks under construction (Contributed by J.Andreina) 2015-05-14 15:54:51 +05:30
Haohui Mai b2c85db86c HDFS-7728. Avoid updating quota usage while loading edits. Contributed by Jing Zhao. 2015-05-13 21:50:35 -07:00
Arpit Agarwal 54fa9b4217 HDFS-8243. Files written by TestHostsFiles and TestNameNodeMXBean are causing Release Audit Warnings. (Contributed by Ruth Wisniewski) 2015-05-13 19:43:53 -07:00
Colin Patrick Mccabe 281d47a969 HDFS-8380. Always call addStoredBlock on blocks which have been shifted from one storage to another (cmccabe) 2015-05-13 14:29:05 -07:00
Kihwal Lee f9a46a00d2 HDFS-8358. TestTraceAdmin fails. Contributed by Masatake Iwasaki. 2015-05-13 14:15:27 -05:00
Tsz-Wo Nicholas Sze cdec12d1b8 HDFS-8143. Mover should exit after some retry when failed to move blocks. Contributed by surendra singh lilhore 2015-05-13 11:57:49 -07:00
Vinayakumar B 065d8f2a34 HDFS-6300. Prevent multiple balancers from running simultaneously (Contributed by Rakesh R) 2015-05-13 17:27:34 +05:30
Akira Ajisaka 2463666ecb HDFS-6184. Capture NN's thread dump when it fails over. Contributed by Ming Ma. 2015-05-13 11:37:22 +09:00
yliu 6d5da94841 HDFS-8255. Rename getBlockReplication to getPreferredBlockReplication. (Contributed by Zhe Zhang) 2015-05-12 21:29:22 +08:00
Vinayakumar B 987abc99b0 HDFS-8362. Java Compilation Error in TestHdfsConfigFields.java (Contributed by Arshad Mohammad) 2015-05-12 12:09:13 +05:30
Kihwal Lee ea11590aad HDFS-7916. 'reportBadBlocks' from datanodes to standby Node BPServiceActor goes for infinite loop. Contributed by Rushabh Shah. 2015-05-11 14:31:58 -05:00
Akira Ajisaka 1dd79ffaca HDFS-8241. Remove unused NameNode startup option -finalize. Contributed by Brahma Reddy Battula. 2015-05-12 00:18:18 +09:00
Junping Du 7e543c27fa YARN-3587. Fix the javadoc of DelegationTokenSecretManager in yarn, etc. projects. Contributed by Gabor Liptak. 2015-05-11 05:27:07 -07:00
Akira Ajisaka 3fa2efc09f HDFS-8351. Remove namenode -finalize option from document. (aajisaka) 2015-05-11 15:34:44 +09:00
Haohui Mai 4536399d47 HDFS-8357. Consolidate parameters of INode.CleanSubtree() into a parameter objects. Contributed by Li Lu. 2015-05-09 22:51:58 -07:00
Haohui Mai 02a4a22b9c HDFS-8327. Compute storage type quotas in INodeFile.computeQuotaDeltaForTruncate(). Contributed by Haohui Mai. 2015-05-08 23:09:25 -07:00
Haohui Mai 3becc3af83 Add missing entry in CHANGES.txt for HDFS-6757. 2015-05-08 23:08:05 -07:00
Haohui Mai 00fe1ed3a4 HDFS-6757. Simplify lease manager with INodeID. Contributed by Haohui Mai. 2015-05-08 23:04:31 -07:00
Arpit Agarwal 59995cec4a HDFS-8097. TestFileTruncate is failing intermittently. (Contributed by Rakesh R) 2015-05-08 16:28:24 -07:00
Allen Wittenauer c945c20483 HADOOP-11590. Update sbin commands and documentation to use new --slaves option (aw) 2015-05-08 15:27:25 -07:00
Xiaoyu Yao d0e75e60fb HDFS-8326. Documentation about when checkpoints are run is out of date. (Misty Stanley-Jones via xyao) 2015-05-08 14:46:37 -07:00
Kihwal Lee 2d4ae3d18b HDFS-8245. Standby namenode doesn't process DELETED_BLOCK if the addblock request is in edit log. Contributed by Rushabh S Shah. 2015-05-08 16:36:41 -05:00
Colin Patrick Mccabe f523e963e4 HDFS-8113. Add check for null BlockCollection pointers in BlockInfoContiguous structures (Chengbing Liu via Colin P. McCabe) 2015-05-08 13:50:51 -07:00
Kihwal Lee 7a7960be41 HDFS-7433. Optimize performance of DatanodeManager's node map. Contributed by Daryn Sharp. 2015-05-08 15:18:29 -05:00
Colin Patrick Mccabe 8f7c2364d7 HDFS-8284. Update documentation about how to use HTrace with HDFS (Masatake Iwasaki via Colin P. McCabe) 2015-05-08 12:30:03 -07:00
Yongjun Zhang 730f9930a4 HDFS-8311. DataStreamer.transfer() should timeout the socket InputStream. (Esteban Gutierrez via Yongjun Zhang) 2015-05-08 00:11:46 -07:00
cnauroth 26f61d41df HDFS-5640. Add snapshot methods to FileContext. Contributed by Rakesh R. 2015-05-08 11:20:55 -07:00
Arun Suresh 3cefc02af7 HDFS-7559. Create unit test to automatically compare HDFS related classes and hdfs-default.xml. (Ray Chiang via asuresh) 2015-05-08 10:29:38 -07:00
Arpit Agarwal a2d40bced9 HDFS-8340. Fix NFS documentation of nfs.wtmax. (Contributed by Ajith S) 2015-05-08 10:15:26 -07:00
Arpit Agarwal cd6b26cce7 HDFS-8274. NFS configuration nfs.dump.dir not working (Contributed by Ajith S) 2015-05-08 10:06:43 -07:00
Haohui Mai f4ebbc6afc HDFS-8346. libwebhdfs build fails during link due to unresolved external symbols. Contributed by Chris Nauroth. 2015-05-08 09:58:17 -07:00
Kihwal Lee 6f622672b6 HDFS-7894. Rolling upgrade readiness is not updated in jmx until query command is issued. Contributed by Brahma Reddy Battula. 2015-05-08 09:30:38 -05:00
Uma Maheswara Rao G 7b1ea9c481 HDFS-6285. tidy an error log inside BlockReceiver. Contributed by Liang Xie. 2015-05-08 17:22:52 +05:30
Vinayakumar B c648317a68 HDFS-3384. DataStreamer thread should be closed immediatly when failed to setup a PipelineForAppendOrRecovery (Contributed by Uma Maheswara Rao G) 2015-05-08 17:18:14 +05:30
Vinayakumar B 46509617b6 HDFS-6576. Datanode log is generating at root directory in security mode (Contributed by surendra singh lilhore)
Just merging CHANGES.txt changes from branch-2 to keep in sync.

(cherry picked from commit a87ab77fec)

Conflicts:
	hadoop-common-project/hadoop-common/src/main/conf/hadoop-env.sh
2015-05-08 16:44:03 +05:30
Vinayakumar B e01c1a979c HDFS-8226. Non-HA rollback compatibility broken (Contributed by J.Andreina) 2015-05-08 15:24:36 +05:30
Vinayakumar B 4c6816faf8 HDFS-8209. Support different number of datanode directories in MiniDFSCluster. (Contributed by surendra singh lilhore) 2015-05-08 15:03:44 +05:30
Tsuyoshi Ozawa 888e630990 HDFS-8207. Improper log message when blockreport interval compared with initial delay. Contributed by Brahma Reddy Battula and Ashish Singhi. 2015-05-08 18:13:09 +09:00
Vinayakumar B 6232235df3 HDFS-8175. Provide information on snapshotDiff for supporting the comparison between snapshot and current status (Contributed by J.Andreina) 2015-05-08 14:37:50 +05:30
Vinayakumar B e642eff0e0 HDFS-8187. Remove usage of '-setStoragePolicy' and '-getStoragePolicy' using dfsadmin cmd (as it is not been supported) (Contributed by J.Andreina) 2015-05-08 14:16:30 +05:30
Uma Maheswara Rao G 4b00ae5c11 HDFS-8108. Fsck should provide the info on mandatory option to be used along with -blocks ,-locations and -racks. Contributed by J.Andreina. 2015-05-08 14:00:45 +05:30
Akira Ajisaka fd605997ee HDFS-8222. Remove usage of "dfsadmin -upgradeProgress" from document which is no longer supported. Contributed by J.Andreina. 2015-05-08 16:27:40 +09:00
Vinayakumar B 26da2ddf38 HDFS-7998. HDFS Federation : Command mentioned to add a NN to existing federated cluster is wrong (Contributed by Ajith S) 2015-05-08 12:33:49 +05:30
Akira Ajisaka c5afe444df HDFS-8349. Remove .xml and documentation references to dfs.webhdfs.enabled. Contributed by Ray Chiang. 2015-05-08 15:57:13 +09:00
Uma Maheswara Rao G e16f4b7f70 HDFS-8332. DFS client API calls should check filesystem closed. Contributed by Rakesh R. 2015-05-08 12:26:47 +05:30
Vinayakumar B e5e492a963 HDFS-6291. FSImage may be left unclosed in BootstrapStandby#doRun() ( Contributed by Sanghyun Yun) 2015-05-08 11:25:24 +05:30
Uma Maheswara Rao G 2ea0f2fc93 HDFS-8174. Update replication count to live rep count in fsck report. Contributed by J.Andreina 2015-05-08 11:01:51 +05:30
Vinayakumar B 66988476d0 HDFS-8067. haadmin prints out stale help messages (Contributed by Ajith S) 2015-05-08 10:45:21 +05:30
Vinayakumar B c7c26a1e4a HDFS-8257. Namenode rollingUpgrade option is incorrect in document (Contributed by J.Andreina) 2015-05-08 10:35:25 +05:30
Haohui Mai 4d9f9e546f HDFS-8037. CheckAccess in WebHDFS silently accepts malformed FsActions parameters. Contributed by Walter Su. 2015-05-07 15:25:26 -07:00
Haohui Mai 767b91cd83 HDFS-8321. CacheDirectives and CachePool operations should throw RetriableException in safemode. Contributed by Haohui Mai. 2015-05-07 15:17:11 -07:00
Tsz-Wo Nicholas Sze f9427f1760 HDFS-7980. Incremental BlockReport will dramatically slow down namenode startup. Contributed by Walter Su 2015-05-07 11:36:35 -07:00
Akira Ajisaka 449e4426a5 HDFS-8325. Misspelling of threshold in log4j.properties for tests. Contributed by Brahma Reddy Battula. 2015-05-07 15:14:20 +09:00
cnauroth 6633a8474d HDFS-7833. DataNode reconfiguration does not recalculate valid volumes required, based on configured failed volumes tolerated. Contributed by Lei (Eddy) Xu. 2015-05-06 21:11:30 -07:00
Konstantin V Shvachko c75cfa29cf HDFS-2484. checkLease should throw FileNotFoundException when file does not exist. Contributed by Rakesh R. 2015-05-06 16:06:04 -07:00
Xiaoyu Yao 7a26d174af HDFS-8310. Fix TestCLI.testAll 'help: help for find' on Windows. (Kiran Kumar M R via Xiaoyu Yao) 2015-05-06 10:24:46 -07:00
Haohui Mai 4da8490b51 HDFS-8314. Move HdfsServerConstants#IO_FILE_BUFFER_SIZE and SMALL_BUFFER_SIZE to the users. Contributed by Li Lu. 2015-05-05 15:41:22 -07:00
Xiaoyu Yao 0100b15501 HDFS-8219. setStoragePolicy with folder behavior is different after cluster restart. (surendra singh lilhore via Xiaoyu Yao) 2015-05-05 13:41:14 -07:00
Colin Patrick Mccabe ffce9a3413 HDFS-7847. Modify NNThroughputBenchmark to be able to operate on a remote NameNode (Charles Lamb via Colin P. McCabe) 2015-05-05 11:34:58 -07:00
Colin Patrick Mccabe 24d3a2d4fd HDFS-7758. Retire FsDatasetSpi#getVolumes() and use FsDatasetSpi#getVolumeRefs() instead (Lei (Eddy) Xu via Colin P. McCabe) 2015-05-05 11:08:59 -07:00
Colin Patrick Mccabe fcd4cb7516 HDFS-8305: HDFS INotify: the destination field of RenameOp should always end with the file name (cmccabe) 2015-05-05 10:50:09 -07:00
Vinayakumar B 318081ccd7 HDFS-7916. 'reportBadBlocks' from datanodes to standby Node BPServiceActor goes for infinite loop (Contributed by Vinayakumar B)
Reverted earlier commit
2015-05-05 11:05:37 +05:30
Haohui Mai 0d6aa5d609 HDFS-8237. Move all protocol classes used by ClientProtocol to hdfs-client. Contributed by Haohui Mai. 2015-05-04 15:00:29 -07:00
Colin Patrick Mccabe 3fe79e1db8 HDFS-7397. Add more detail to the documentation for the conf key "dfs.client.read.shortcircuit.streams.cache.size" (Brahma Reddy Battula via Colin P. McCabe) 2015-05-04 12:50:29 -07:00
cnauroth c4578760b6 HDFS-8290. WebHDFS calls before namesystem initialization can cause NullPointerException. Contributed by Chris Nauroth. 2015-05-04 11:35:04 -07:00
Xiaoyu Yao a319771d1d HDFS-8309. Skip unit test using DataNodeTestUtils#injectDataDirFailure() on Windows. (xyao) 2015-05-02 22:15:24 -07:00
Haohui Mai 6ae2a0d048 HDFS-8249. Separate HdfsConstants into the client and the server side class. Contributed by Haohui Mai. 2015-05-02 10:03:23 -07:00
Arpit Agarwal 6f541edce0 HDFS-8229. LAZY_PERSIST file gets deleted after NameNode restart. (Contributed by Surendra Singh Lilhore) 2015-05-01 16:42:19 -07:00
Tsz-Wo Nicholas Sze d3d019c337 HDFS-8086. Move LeaseRenewer to the hdfs.client.impl package. Contributed by Takanobu 2015-05-01 15:12:18 -07:00
Arpit Agarwal 64d30a6186 HDFS-8276. LazyPersistFileScrubber should be disabled if scrubber interval configured zero. (Contributed by Surendra Singh Lilhore) 2015-05-01 14:43:09 -07:00
Arun Suresh 3393461197 Updating CHANGES.txt - Pulling in HDFS-8091 to branch-2.7 (for 2.7.1) 2015-05-01 11:48:54 -07:00
Colin Patrick Mccabe b82567d455 HDFS-8213. DFSClient should use hdfs.client.htrace HTrace configuration prefix rather than hadoop.htrace (cmccabe) 2015-05-01 11:19:40 -07:00
Jonathan Eagles 2d7363b273 HADOOP-11889. Make checkstyle runnable from root project (Gera Shegalov via jeagles) 2015-05-01 13:11:50 -05:00
Yongjun Zhang 279958b772 HDFS-7281. Missing block is marked as corrupted block (Ming Ma via Yongjun Zhang) 2015-05-01 08:42:00 -07:00
Jing Zhao 98a6176628 HDFS-8300. Fix unit test failures and findbugs warning caused by HDFS-8283. Contributed by Jing Zhao. 2015-04-30 19:27:07 -07:00
Andrew Wang 87e9978235 HDFS-8292. Move conditional in fmt_time from dfs-dust.js to status.html. Contributed by Charles Lamb. 2015-04-30 18:23:13 -07:00
Haohui Mai c55d609053 HDFS-8200. Refactor FSDirStatAndListingOp. Contributed by Haohui Mai. 2015-04-30 13:41:46 -07:00
Akira Ajisaka de9404f02f HDFS-7770. Need document for storage type label of data node storage locations under dfs.data.dir. Contributed by Xiaoyu Yao. 2015-04-30 20:12:32 +09:00
Akira Ajisaka e89fc53a1d HDFS-5574. Remove buffer copy in BlockReader.skip. Contributed by Binglin Chang. 2015-04-30 19:11:22 +09:00
Andrew Wang aa22450442 HDFS-8214. Secondary NN Web UI shows wrong date for Last Checkpoint. Contributed by Charles Lamb. 2015-04-29 17:37:56 -07:00
Haohui Mai 3dd6395bb2 HDFS-8269. getBlockLocations() does not resolve the .reserved path and generates incorrect edit logs when updating the atime. Contributed by Haohui Mai. 2015-04-29 11:12:45 -07:00
Jing Zhao 7947e5b53b HDFS-8283. DataStreamer cleanup and some minor improvement. Contributed by Tsz Wo Nicholas Sze. 2015-04-29 10:41:46 -07:00
Haohui Mai 439614b0c8 HDFS-8280. Code Cleanup in DFSInputStream. Contributed by Jing Zhao. 2015-04-28 18:11:59 -07:00
Haohui Mai c79e7f7d99 HDFS-8273. FSNamesystem#Delete() should not call logSync() when holding the lock. Contributed by Haohui Mai. 2015-04-28 18:05:46 -07:00
Tsz-Wo Nicholas Sze 5639bf02da HDFS-8204. Mover/Balancer should not schedule two replicas to the same datanode. Contributed by Walter Su 2015-04-28 13:05:33 -07:00
cnauroth feb68cb547 HDFS-8232. Missing datanode counters when using Metrics2 sink interface. Contributed by Anu Engineer. 2015-04-27 16:48:13 -07:00
Arpit Agarwal 6bae5962cd HDFS-8205. Fix CHANGES.txt 2015-04-27 12:30:50 -07:00
Arpit Agarwal 0d5b0143cc HDFS-8205. CommandFormat#parse() should not parse option as value of option. (Contributed by Peter Shi and Xiaoyu Yao) 2015-04-27 12:23:34 -07:00
Allen Wittenauer 8b69c825e5 HADOOP-11865. Incorrect path mentioned in document for accessing script files (J.Andreina via aw) 2015-04-26 09:55:46 -07:00
Xiaoyu Yao 22b70e7c5a Updated CHANGES.TXT for correct version of HDFS-8206 2015-04-25 22:16:06 -07:00
Xiaoyu Yao 8f3946cd40 HDFS-8206. Fix the typos in hadoop-hdfs-httpfs. (Brahma Reddy Battula via xyao) 2015-04-25 21:41:35 -07:00
cnauroth a00e001a1a HDFS-8247. TestDiskspaceQuotaUpdate#testAppendOverTypeQuota is failing. Contributed by Xiaoyu Yao. 2015-04-25 11:37:27 -07:00
Allen Wittenauer f83c55a6be HDFS-7673. synthetic load generator docs give incorrect/incomplete commands (Brahma Reddy Battula via aw) 2015-04-25 15:05:43 +01:00
Arpit Agarwal dcc5455e07 HDFS-8211. DataNode UUID is always null in the JMX counter. (Contributed by Anu Engineer) 2015-04-24 16:47:48 -07:00
Andrew Wang c7d9ad68e3 HDFS-8191. Fix byte to integer casting in SimulatedFSDataset#simulatedByte. Contributed by Zhe Zhang. 2015-04-24 11:54:25 -07:00
Jing Zhao cf6c8a1b4e HDFS-8176. Record from/to snapshots in audit log for snapshot diff report. Contributed by J. Andreina. 2015-04-24 10:23:32 -07:00
Akira Ajisaka 91b97c21c9 HDFS-8110. Remove unsupported 'hdfs namenode -rollingUpgrade downgrade' from document. Contributed by J.Andreina. 2015-04-24 20:32:55 +09:00
Vinayakumar B c8d72907ff HDFS-8231. StackTrace displayed at client while QuotaByStorageType exceeds (Contributed by J.Andreina and Xiaoyu Yao) 2015-04-24 12:51:04 +05:30
Vinayakumar B 262c1bc339 HDFS-8217. During block recovery for truncate Log new Block Id in case of copy-on-truncate is true. (Contributed by Vinayakumar B) 2015-04-24 12:16:41 +05:30
Colin Patrick Mccabe a8898445dc HDFS-8070. Pre-HDFS-7915 DFSClient cannot use short circuit on post-HDFS-7915 DataNode (cmccabe) 2015-04-23 19:13:27 -07:00
Colin Patrick Mccabe a0e0a63209 HADOOP-11802. DomainSocketWatcher thread terminates sometimes after there is an I/O error during requestShortCircuitShm (cmccabe) 2015-04-23 19:00:24 -07:00
Haohui Mai bcf89ddc7d HDFS-8052. Move WebHdfsFileSystem into hadoop-hdfs-client. Contributed by Haohui Mai. 2015-04-23 17:33:45 -07:00
Tsz-Wo Nicholas Sze ef4e9963b2 HDFS-8215. Refactor NamenodeFsck#check method. Contributed by Takanobu Asanuma 2015-04-23 14:19:33 -07:00
Tsz-Wo Nicholas Sze 416b84354e HDFS-8147. StorageGroup in Dispatcher should override equals nad hashCode. Contributed by surendra singh lilhore 2015-04-23 11:55:06 -07:00
Andrew Wang 26971e52ae HADOOP-11852. Disable symlinks in trunk. 2015-04-23 11:47:01 -07:00
Arun Suresh baf8bc6c48 HDFS-4448. Allow HA NN to start in secure mode with wildcard address configured (atm via asuresh) 2015-04-23 01:44:17 -07:00