Commit Graph

3513 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Haohui Mai ada233b7cd HDFS-8377. Support HTTP/2 in datanode. Contributed by Duo Zhang. 2015-05-24 22:30:32 -07:00
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 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
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 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
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
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
Arpit Agarwal 59995cec4a HDFS-8097. TestFileTruncate is failing intermittently. (Contributed by Rakesh R) 2015-05-08 16:28:24 -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
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
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
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
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
Haohui Mai 12f4df043f HDFS-8218. Move classes that used by ClientProtocol into hdfs-client. Contributed by Haohui Mai. 2015-04-22 11:33:21 -07:00
Haohui Mai 6f8003dc7b HDFS-8185. Separate client related routines in HAUtil into a new class. Contributed by Haohui Mai. 2015-04-21 21:59:47 -07:00
Colin Patrick Mccabe 997408eaac HDFS-8133. Improve readability of deleted block check (Daryn Sharp via Colin P. McCabe) 2015-04-21 11:43:24 -07:00
Arpit Agarwal dfc1c4c303 HDFS-8163. Using monotonicNow for block report scheduling causes test failures on recently restarted systems. (Arpit Agarwal) 2015-04-21 10:58:05 -07:00
Vinayakumar B 8ddbb8dd43 HDFS-7993. Provide each Replica details in fsck (Contributed by J.Andreina) 2015-04-21 15:24:49 +05:30
Vinod Kumar Vavilapalli d52de61544 Set the release date for 2.7.0 2015-04-20 20:16:58 -07:00
Vinayakumar B ed4137cebf HDFS-7916. 'reportBadBlocks' from datanodes to standby Node BPServiceActor goes for infinite loop (Contributed by Vinayakumar B)
Updated CHANGES.TXT for correct version
2015-04-21 07:59:43 +05:30
Arpit Agarwal c92f6f3605 HDFS-8179. DFSClient#getServerDefaults returns null within 1 hour of system start. (Contributed by Xiaoyu Yao) 2015-04-20 15:42:42 -07:00
Vinayakumar B c17cd4f7c1 HDFS-8173. NPE thrown at DataNode shutdown when HTTP server was not able to create (Contributed by surendra singh lilhore) 2015-04-20 14:58:04 +05:30
Haohui Mai 5c97db07fb HDFS-8169. Move LocatedBlocks and related classes to hdfs-client. Contributed by Haohui Mai. 2015-04-20 00:36:46 -07:00
Arpit Agarwal 8511d80804 HDFS-8152. Refactoring of lazy persist storage cases. (Arpit Agarwal) 2015-04-19 16:09:06 -07:00
Tsuyoshi Ozawa 5459b241c8 HDFS-8043. NPE in MiniDFSCluster teardown. Contributed by Brahma Reddy Battula. 2015-04-19 18:19:36 +09:00
Tsuyoshi Ozawa 5112477d9e HDFS-7863. Missing description of some methods and parameters in javadoc of FSDirDeleteOp. Contributed by Brahma Reddy Battula. 2015-04-19 18:06:56 +09:00
Haohui Mai 76e7264e8d HDFS-8165. Move GRANDFATHER_GENERATION_STAMP and GRANDFATER_INODE_ID to hdfs-client. Contributed by Haohui Mai. 2015-04-16 22:49:30 -07:00
Jitendra Pandey 369ddc67bd HDFS-8153. Error Message points to wrong parent directory in case of path component name length error. Contributed by Anu Engineer. 2015-04-16 22:13:09 -07:00
Tsz-Wo Nicholas Sze 9595cc003c HDFS-7891. A block placement policy with best rack failure tolerance. Contributed by Walter Su 2015-04-16 18:25:53 -07:00
Akira Ajisaka 4308910eed Revert "HDFS-6153. Document "fileId" and "childrenNum" fields in the FileStatus Json schema"
This reverts commit eb1d4c39e0.
2015-04-16 16:54:01 -05:00
Tsz-Wo Nicholas Sze 75bbcc8bf3 HDFS-8082. Move dfs.client.read.*, dfs.client.short.circuit.*, dfs.client.mmap.* and dfs.client.hedged.read.* conf from DFSConfigKeys to HdfsClientConfigKeys. 2015-04-16 13:22:31 -07:00
Haohui Mai 80a2a12423 HDFS-8135. Remove the deprecated FSConstants class. Contributed by Li Lu. 2015-04-16 11:26:05 -07:00
Andrew Wang 2e8ea780a4 HDFS-8142. DistributedFileSystem encryption zone commands should resolve relative paths. Contributed by Rakesh R. 2015-04-16 07:14:44 -07:00
Akira Ajisaka de0f1700c1 HDFS-8149. The footer of the Web UI "Hadoop, 2014" is old. Contributed by Brahma Reddy Battula. 2015-04-15 15:31:04 -05:00
Jing Zhao b172d03595 HDFS-7934. Update RollingUpgrade rollback documentation: should use bootstrapstandby for standby NN. Contributed by J. Andreina. 2015-04-15 13:10:38 -07:00
Jing Zhao 4c097e473b HDFS-8151. Always use snapshot path as source when invalid snapshot names are used for diff based distcp. Contributed by Jing Zhao. 2015-04-15 12:37:20 -07:00
Arpit Agarwal 9e8309a1b2 HDFS-8144. Split TestLazyPersistFiles into multiple tests. (Arpit Agarwal) 2015-04-15 10:25:04 -07:00
Jing Zhao fddd55279d HDFS-8127. NameNode Failover during HA upgrade can cause DataNode to finalize upgrade. Contributed by Jing Zhao. 2015-04-14 15:05:23 -07:00
cnauroth fef596df03 HDFS-8055. NullPointerException when topology script is missing. Contributed by Anu Engineer. 2015-04-14 10:19:30 -07:00
cnauroth d45aa7647b HDFS-6666. Abort NameNode and DataNode startup if security is enabled but block access token is not enabled. Contributed by Vijay Bhat. 2015-04-14 09:59:01 -07:00
Arpit Agarwal 18a3dad44a HDFS-7701. Support reporting per storage type quota and usage with hadoop/hdfs shell. (Contributed by Peter Shi) 2015-04-13 21:01:15 -07:00
Andrew Wang d60e22152a HDFS-8117. More accurate verification in SimulatedFSDataset: replace DEFAULT_DATABYTE with patterned data. Contributed by Zhe Zhang. 2015-04-13 13:01:10 -07:00
Tsz-Wo Nicholas Sze 7fc50e2525 HDFS-8083. Move dfs.client.write.* conf from DFSConfigKeys to HdfsClientConfigKeys.Write. 2015-04-13 11:43:35 -07:00
Vinayakumar B 14384f5b51 HDFS-8111. NPE thrown when invalid FSImage filename given for 'hdfs oiv_legacy' cmd ( Contributed by surendra singh lilhore ) 2015-04-13 17:16:05 +05:30
cnauroth f8f5887209 HDFS-7933. fsck should also report decommissioning replicas. Contributed by Xiaoyu Yao. 2015-04-11 13:23:18 -07:00
Tsz-Wo Nicholas Sze 60da0e49e7 HDFS-8084. Move dfs.client.failover.* confs from DFSConfigKeys to HdfsClientConfigKeys.Failover and fix typos in the dfs.http.client.* configuration keys. 2015-04-10 19:38:43 -07:00
Haohui Mai 36e4cd3be6 HDFS-8103. Move BlockTokenSecretManager.AccessMode into BlockTokenIdentifier. Contributed by Haohui Mai. 2015-04-10 16:36:45 -07:00
Tsz-Wo Nicholas Sze 2cc9514ad6 HDFS-8100. Refactor DFSClient.Conf to a standalone class and separates short-circuit related conf to ShortCircuitConf. 2015-04-10 14:48:45 -07:00
Arun Suresh 7660da95cb HDFS-7931. DistributedFileSystem should not look for keyProvider in cache if Encryption is disabled (asuresh) 2015-04-10 11:40:25 -07:00
Vinayakumar B 987c9e12e1 HDFS-7939. Two fsimage_rollback_* files are created which are not deleted after rollback. (Contributed by J.Andreina) 2015-04-10 11:12:07 +05:30
Konstantin V Shvachko 0959b67f1a HDFS-8081. Split getAdditionalBlock() into two methods. Contributed by Konstantin Shvachko 2015-04-09 22:00:20 -07:00
Haohui Mai af9d4fede5 HDFS-8102. Separate webhdfs retry configuration keys from DFSConfigKeys. Contributed by Haohui Mai. 2015-04-09 14:36:27 -07:00
Vinod Kumar Vavilapalli 623fd46c1e Adding release 2.7.1 to CHANGES.txt 2015-04-09 13:54:20 -07:00
Arun Suresh a813db0b1b Fix CHANGES.txt for HDFS-8091 2015-04-09 13:51:00 -07:00
Arun Suresh 922b7ed21d HDFS-8091: ACLStatus and XAttributes should be presented to INodeAttributesProvider before returning to client (asuresh) 2015-04-09 12:38:33 -07:00
Colin Patrick Mccabe 61dc2ea3fe HDFS-8063: Fix intermittent test failures in TestTracing (Masatake Iwasaki via Colin P. McCabe) 2015-04-09 11:28:02 -07:00
Colin Patrick Mccabe 30acb7372a HDFS-8099. Change "DFSInputStream has been closed already" message to debug log level (Charles Lamb via Colin P. McCabe) 2015-04-09 11:22:39 -07:00
Aaron T. Myers 3fe61e0bb0 HDFS-8101. DFSClient use of non-constant DFSConfigKeys pulls in WebHDFS classes at runtime. Contributed by Sean Busbey. 2015-04-09 09:40:08 -07:00
Vinayakumar B 9d8952f97f HDFS-8096. DatanodeMetrics#blocksReplicated will get incremented early and even for failed transfers (Contributed by Vinayakumar B) 2015-04-09 11:58:00 +05:30
Andrew Wang b1e059089d HDFS-7979. Initialize block report IDs with a random number. 2015-04-08 21:43:42 -07:00
Haohui Mai cc25823546 HDFS-8089. Move o.a.h.hdfs.web.resources.* to the client jars. Contributed by Haohui Mai. 2015-04-08 16:30:08 -07:00
Andrew Wang 5a540c3d31 HDFS-8025. Addendum fix for HDFS-3087 Decomissioning on NN restart can complete without blocks being replicated. Contributed by Ming Ma. 2015-04-08 16:09:17 -07:00
Haohui Mai 82d56b337d Revert HDFS-7813. 2015-04-08 16:02:45 -07:00
Haohui Mai bd4c99bece Revert HDFS-7808. 2015-04-08 15:59:55 -07:00
Andrew Wang 6af0d74a75 HDFS-7725. Incorrect 'nodes in service' metrics caused all writes to fail. Contributed by Ming Ma. 2015-04-08 15:52:06 -07:00
Andrew Wang a42bb1cd91 HDFS-8076. Code cleanup for DFSInputStream: use offset instead of LocatedBlock when possible. Contributed by Zhe Zhang. 2015-04-08 15:41:48 -07:00
Kihwal Lee 285b31e75e HDFS-8046. Allow better control of getContentSummary. Contributed by Kihwal Lee. 2015-04-08 15:38:29 -05:00
Tsz-Wo Nicholas Sze c931a3c776 HDFS-8079. Move CorruptFileBlockIterator to a new hdfs.client.impl package. 2015-04-08 11:50:52 -07:00
Arpit Agarwal 608c499841 HDFS-8072. Reserved RBW space is not released if client terminates while writing block. (Arpit Agarwal) 2015-04-08 11:38:21 -07:00
Haohui Mai ab04ff9efe HDFS-8080. Separate JSON related routines used by WebHdfsFileSystem to a package local class. Contributed by Haohui Mai. 2015-04-07 21:30:57 -07:00
Vinayakumar B d505c8acd3 HDFS-8073. Split BlockPlacementPolicyDefault.chooseTarget(..) so it can be easily overrided. (Contributed by Walter Su) 2015-04-08 09:56:37 +05:30
Tsz-Wo Nicholas Sze 4be648b55c HDFS-8079. Move dfs.client.retry.* confs from DFSConfigKeys to HdfsClientConfigKeys.Retry. 2015-04-07 19:48:57 -07:00
Yongjun Zhang 66763bb06f HDFS-5215. dfs.datanode.du.reserved is not considered while computing
available space ( Brahma Reddy Battula via Yongjun Zhang)
2015-04-07 19:31:58 -07:00
cnauroth 1e72d98c69 HDFS-8038. PBImageDelimitedTextWriter#getEntry output HDFS path in platform-specific format. Contributed by Xiaoyu Yao. 2015-04-07 14:23:01 -07:00
Tsz-Wo Nicholas Sze 571a1ce9d0 HDFS-8049. Add @InterfaceAudience.Private annotation to hdfs client implementation. Contributed by Takuya Fukudome 2015-04-07 13:59:48 -07:00
Konstantin V Shvachko 75c5454860 HDFS-8071. Redundant checkFileProgress() in PART II of getAdditionalBlock(). Contributed by Konstantin Shvachko. 2015-04-06 22:20:44 -07:00
Colin Patrick Mccabe 28bebc81db HDFS-7999. FsDatasetImpl#createTemporary sometimes holds the FSDatasetImpl lock for a very long time (sinago via cmccabe) 2015-04-06 08:56:52 -07:00
Colin Patrick Mccabe ef591b1d6a HDFS-8051. FsVolumeList#addVolume should release volume reference if not put it into BlockScanner. (Lei (Eddy) Xu via Colin P. McCabe) 2015-04-03 16:34:23 -07:00
Colin Patrick Mccabe 023133cef9 HDFS-7996. After swapping a volume, BlockReceiver reports ReplicaNotFoundException (Lei (Eddy) Xu via Colin P. McCabe) 2015-04-03 14:19:46 -07:00
cnauroth db80e42891 HDFS-8039. Fix TestDebugAdmin#testRecoverLease and testVerfiyBlockChecksumCommand on Windows. Contributed by Xiaoyu Yao. 2015-04-03 10:44:02 -07:00
cnauroth dc5596c36a HDFS-8034. Fix TestDFSClientRetries#testDFSClientConfigurationLocateFollowingBlockInitialDelay for Windows. Contributed by Xiaoyu Yao. 2015-04-03 10:10:11 -07:00
Jing Zhao 72f6bd4893 HDFS-7811. Avoid recursive call getStoragePolicyID in INodeFile#computeQuotaUsage. Contributed by Xiaoyu Yao and Jing Zhao. 2015-04-02 21:20:30 -07:00
Tsz-Wo Nicholas Sze 4f412f487c HDFS-7954. TestBalancer#testBalancerWithPinnedBlocks should not be executed on Windows. Contributed by Xiaoyu Yao 2015-04-02 11:11:34 -07:00
Tsz-Wo Nicholas Sze 9ed43f2189 HDFS-7888. Change DFSOutputStream and DataStreamer for convenience of subclassing. Contributed by Li Bo 2015-04-02 10:59:26 -07:00
Vinayakumar B 867d5d2675 HDFS-7916. 'reportBadBlocks' from datanodes to standby Node BPServiceActor goes for infinite loop (Contributed by Vinayakumar B) 2015-04-02 08:12:00 +05:30
Brandon Li 4d14816c26 HDFS-8001 RpcProgramNfs3 : wrong parsing of dfs.blocksize. Contributed by Remi Catherinot 2015-04-01 17:20:24 -07:00
Haohui Mai 6ccf4fbf8a HDFS-8008. Support client-side back off when the datanodes are congested. Contributed by Haohui Mai. 2015-04-01 16:54:46 -07:00
Haohui Mai 75cb1d42ab HDFS-8036. Use snapshot path as source when using snapshot diff report in DistCp. Contributed by Jing Zhao. 2015-04-01 16:50:59 -07:00
Colin Patrick Mccabe 3c7adaaf35 HDFS-7922. ShortCircuitCache#close is not releasing ScheduledThreadPoolExecutors (Rakesh R via Colin P. McCabe) 2015-04-01 16:02:39 -07:00
Colin Patrick Mccabe c94d594a57 HDFS-8026. Trace FSOutputSummer#writeChecksumChunks rather than DFSOutputStream#writeChunk (cmccabe) 2015-04-01 14:10:10 -07:00
Andrew Wang ed72daa5df HDFS-7978. Add LOG.isDebugEnabled() guard for some LOG.debug(..). Contributed by Walter Su. 2015-04-01 12:54:28 -07:00
Haohui Mai 53471d462c HDFS-8009. Signal congestion on the DataNode. Contributed by Haohui Mai. 2015-04-01 10:56:53 -07:00
Akira Ajisaka 18a91fe4df HDFS-6945. BlockManager should remove a block from excessReplicateMap and decrement ExcessBlocks metric when the block is removed. (aajisaka) 2015-04-01 09:07:28 +09:00
Akira Ajisaka 859cab2f22 HDFS-7671. hdfs user guide should point to the common rack awareness doc. Contributed by Kai Sasaki. 2015-04-01 00:26:16 +09:00
yliu 3df61f303a HDFS-7997. The first non-existing xattr should also throw IOException. (zhouyingchao via yliu) 2015-03-31 21:17:44 +08:00
Arpit Agarwal 85dc3c14b2 HDFS-7944. Minor cleanup of BlockPoolManager#getAllNamenodeThreads. (Arpit Agarwal) 2015-03-30 21:24:51 -07:00
Harsh J cce66ba3c9 HDFS-3918. EditLogTailer shouldn't log WARN when other node is in standby mode. Contributed by Todd Lipcon. 2015-03-31 08:04:18 +05:30
Arpit Agarwal 1a495fbb48 HDFS-7645. Rolling upgrade is restoring blocks from trash multiple times (Contributed by Vinayakumar B and Keisuke Ogiwara) 2015-03-30 15:25:16 -07:00
Haohui Mai b80457158d HDFS-7748. Separate ECN flags from the Status in the DataTransferPipelineAck. Contributed by Anu Engineer and Haohui Mai. 2015-03-30 11:59:21 -07:00
Colin Patrick Mccabe 1feb9569f3 HDFS-7261. storageMap is accessed without synchronization in DatanodeDescriptor#updateHeartbeatState() (Brahma Reddy Battula via Colin P. McCabe) 2015-03-30 10:46:21 -07:00
Akira Ajisaka e7ea2a8e8f HDFS-8002. Website refers to /trash directory. Contributd by Brahma Reddy Battula. 2015-03-31 00:27:50 +09:00
Kihwal Lee 04ee18ed48 HDFS-7742. Favoring decommissioning node for replication can cause a block to stay
underreplicated for long periods. Contributed by Nathan Roberts.
2015-03-30 10:10:11 -05:00
Harsh J ae3e8c61ff HDFS-4396. Add START_MSG/SHUTDOWN_MSG for ZKFC. Contributed by Liang Xie. 2015-03-30 15:21:18 +05:30
Vinayakumar B 1ed9fb7664 HDFS-7890. Improve information on Top users for metrics in RollingWindowsManager and lower log level (Contributed by J.Andreina) 2015-03-30 10:02:48 +05:30
Akira Ajisaka 232eca944a HDFS-6408. Remove redundant definitions in log4j.properties. Contributed by Abhiraj Butala. 2015-03-30 11:25:35 +09:00
Akira Ajisaka 257c77f895 HDFS-6263. Remove DRFA.MaxBackupIndex config from log4j.properties. Contributed by Abhiraj Butala. 2015-03-30 10:52:15 +09:00
Harsh J 3d9132d434 HDFS-7501. TransactionsSinceLastCheckpoint can be negative on SBNs. Contributed by Gautam Gopalakrishnan. 2015-03-29 00:45:01 +05:30
Arpit Agarwal 89fb0f57ef HDFS-7700. Document quota support for storage types. (Contributed by Xiaoyu Yao) 2015-03-27 19:49:26 -07:00
Arun Suresh e97f8e44af HDFS-8004. Use KeyProviderCryptoExtension#warmUpEncryptedKeys when creating an encryption zone. (awang via asuresh) 2015-03-27 19:23:45 -07:00
Kihwal Lee 60882ab26d HDFS-7990. IBR delete ack should not be delayed. Contributed by Daryn Sharp. 2015-03-27 09:05:17 -05:00
Colin Patrick Mccabe 61df1b27a7 HDFS-7410. Support CreateFlags with append() to support hsync() for appending streams (Vinayakumar B via Colin P. McCabe) 2015-03-26 13:21:09 -07:00
Arpit Agarwal 3d0708bdb0 HDFS-7824. GetContentSummary API and its namenode implementation for Storage Type Quota/Usage. (Contributed by Xiaoyu Yao) 2015-03-26 10:24:11 -07:00
Kihwal Lee 222845632b HDFS-7963. Fix expected tracing spans in TestTracing. Contributed by Masatake Iwasaki. 2015-03-26 08:44:58 -05:00
Kihwal Lee fc1031af74 HDFS-7928. Scanning blocks from disk during rolling upgrade startup takes a lot of time if disks are busy. Contributed by Rushabh Shah. 2015-03-25 14:42:59 -05:00
Jing Zhao 97e2aa2551 Move HDFS-6353 to the trunk section in CHANGES.txt 2015-03-25 11:15:44 -07:00
Jing Zhao 5e21e4ca37 HDFS-6353. Check and make checkpoint before stopping the NameNode. Contributed by Jing Zhao. 2015-03-25 10:38:00 -07:00
Haohui Mai 80278a5f85 HDFS-7985. WebHDFS should be always enabled. Contributed by Li Lu. 2015-03-24 21:55:56 -07:00
Jitendra Pandey 53a28afe29 HDFS-6826. Plugin interface to enable delegation of HDFS authorization assertions. Contributed by Arun Suresh. 2015-03-24 16:02:40 -07:00
Haohui Mai e38ef70fbc HDFS-7713. Implement mkdirs in the HDFS Web UI. Contributed by Ravi Prakash. 2015-03-24 15:48:52 -07:00
Jing Zhao a16bfff71b HDFS-7854. Separate class DataStreamer out of DFSOutputStream. Contributed by Li Bo. 2015-03-24 11:06:13 -07:00
Brandon Li 570a83ae80 HDFS-7977. NFS couldn't take percentile intervals. Contributed by Brandon Li 2015-03-24 10:49:16 -07:00
Harsh J eda02540ce HDFS-7875. Improve log message when wrong value configured for dfs.datanode.failed.volumes.tolerated. Contributed by Nijel. 2015-03-24 23:06:18 +05:30
Brandon Li 51f1f49374 HDFS-7976. Update NFS user guide for mount option 'sync' to minimize or avoid reordered writes. Contributed by Brandon Li 2015-03-24 10:28:38 -07:00
Andrew Wang 6413d34986 HDFS-7961. Trigger full block report after hot swapping disk. Contributed by Eddy Xu. 2015-03-24 09:07:02 -07:00
Vinayakumar B c6c396fcd6 HDFS-3325. When configuring 'dfs.namenode.safemode.threshold-pct' to a value greater or equal to 1 there is mismatch in the UI report (Contributed by J.Andreina) 2015-03-24 12:12:01 +05:30
Plamen Jeliazkov 970ee3fc56 HDFS-7956. Improve logging for DatanodeRegistration. Contributed by Plamen Jeliazkov. 2015-03-23 23:05:21 -07:00
Andrew Wang 50ee8f4e67 HDFS-7960. The full block report should prune zombie storages even if they're not empty. Contributed by Colin McCabe and Eddy Xu. 2015-03-23 22:00:34 -07:00
Tsz-Wo Nicholas Sze d7e3c3364e HDFS-7884. Fix NullPointerException in BlockSender when the generation stamp provided by the client is larger than the one stored in the datanode. Contributed by Brahma Reddy Battula 2015-03-24 13:49:17 +09:00
cnauroth 2c238ae4e0 HDFS-7917. Use file to replace data dirs in test to simulate a disk failure. Contributed by Lei (Eddy) Xu. 2015-03-23 16:29:51 -07:00
Brandon Li 36af4a913c HDFS-7942. NFS: support regexp grouping in nfs.exports.allowed.hosts. Contributed by Brandon Li 2015-03-23 10:06:47 -07:00
Kihwal Lee 75ead273be HDFS-6841. Use Time.monotonicNow() wherever applicable instead of Time.now(). Contributed by Vinayakumar B 2015-03-20 14:02:09 -05:00
Jing Zhao d368d3647a HDFS-7957. Truncate should verify quota before making changes. Contributed by Jing Zhao. 2015-03-20 11:50:24 -07:00
Jing Zhao a6a5aae472 HDFS-7829. Code clean up for LocatedBlock. Contributed by Takanobu Asanuma. 2015-03-20 10:50:19 -07:00
Yongjun Zhang 15612313f5 HDFS-7835. make initial sleeptime in locateFollowingBlock configurable for DFSClient. Contributed by Zhihai Xu. 2015-03-20 09:12:42 -07:00
yliu 978ef11f26 HDFS-7962. Remove duplicated logs in BlockManager. (yliu) 2015-03-20 05:29:25 +08:00
yliu e37ca221bf HDFS-7930. commitBlockSynchronization() does not remove locations. (yliu) 2015-03-19 23:23:19 +08:00
Kihwal Lee 61a4c7fc98 HDFS-7932. Speed up the shutdown of datanode during rolling upgrade. Contributed by Kihwal Lee. 2015-03-19 12:27:03 -05:00
Vinayakumar B 5be5129d93 HDFS.7849. Update documentation for enabling a new feature in rolling upgrade ( Contributed by J.Andreina ) 2015-03-19 19:05:42 +05:30
Kihwal Lee e79be0ee12 HDFS-7816. Unable to open webhdfs paths with "+". Contributed by Haohui Mai 2015-03-19 08:01:01 -05:00
Vinayakumar B 355e008ffb HDFS-7867. Update action param from 'start' to 'prepare' in rolling upgrade ( Contributed by J.Andreina) Updated JIRA id. 2015-03-19 12:10:39 +05:30
Vinayakumar B 338b477ff7 HDFS-7869. Update action param from 'start' to 'prepare' in rolling upgrade ( Contributed by J.Andreina) 2015-03-19 11:59:31 +05:30
Jing Zhao c7c71cdba5 HDFS-7587. Edit log corruption can happen if append fails with a quota violation. Contributed by Jing Zhao. 2015-03-18 18:53:50 -07:00
Colin Patrick Mccabe 43b41f2241 HDFS-7929. inotify unable fetch pre-upgrade edit log segments once upgrade starts (Zhe Zhang via Colin P. McCabe) 2015-03-18 18:48:54 -07:00
Jing Zhao bee5a6a64a HDFS-7943. Append cannot handle the last block with length greater than the preferred block size. Contributed by Jing Zhao. 2015-03-18 18:40:59 -07:00
Colin Patrick Mccabe 8234fd0e10 HDFS-7054. Make DFSOutputStream tracing more fine-grained (cmccabe) 2015-03-18 18:14:54 -07:00
Haohui Mai 8c40e88d5d HDFS-7945. The WebHdfs system on DN does not honor the length parameter. Contributed by Haohui Mai. 2015-03-18 16:19:46 -07:00
Arpit Agarwal c239b6d376 HDFS-7914. TestJournalNode#testFailToStartWithBadConfig fails when the default dfs.journalnode.http-address port 8480 is in use. (Contributed by Xiaoyu Yao) 2015-03-18 14:04:53 -07:00
Haohui Mai f0dea037ff HDFS-7697. Mark the PB OIV tool as experimental. Contributed by Lei (Eddy) Xu. 2015-03-18 13:33:41 -07:00
Arpit Agarwal 02a67aad65 Fix CHANGES.txt for HDFS-7722. 2015-03-18 12:52:42 -07:00
Arpit Agarwal e817cedcdc HDFS-7951. Fix NPE for TestFsDatasetImpl#testAddVolumeFailureReleasesInUseLock on Linux. (Contributed by Xiaoyu Yao) 2015-03-18 12:45:46 -07:00
Arpit Agarwal d462c62755 HDFS-7950. Fix TestFsDatasetImpl#testAddVolumes failure on Windows. (Contributed by Xiaoyu Yao) 2015-03-18 12:35:30 -07:00
Arpit Agarwal fdd58aa32f HDFS-7948. TestDataNodeHotSwapVolumes#testAddVolumeFailures failed on Windows. (Contributed by Xiaoyu Yao) 2015-03-18 12:26:00 -07:00
Haohui Mai 402817cd9b HDFS-7953. NN Web UI fails to navigate to paths that contain #. Contributed by kanaka kumar avvaru. 2015-03-18 11:08:08 -07:00
Arpit Agarwal 5b322c6a82 HDFS-7946. TestDataNodeVolumeFailureReporting NPE on Windows. (Contributed by Xiaoyu Yao) 2015-03-17 21:34:31 -07:00
Colin Patrick Mccabe d8846707c5 HDFS-7940. Add tracing to DFSClient#setQuotaByStorageType (Rakesh R via Colin P. McCabe) 2015-03-17 10:47:21 -07:00
Vinayakumar B 018893e81e HDFS-5356. MiniDFSCluster should close all open FileSystems when shutdown() (Contributed by Rakesh R) 2015-03-17 15:32:34 +05:30
yliu 48c2db34ef HDFS-7838. Expose truncate API for libhdfs. (yliu) 2015-03-17 07:22:17 +08:00
Harsh J 046521cd65 HDFS-2360. Ugly stacktrce when quota exceeds. (harsh) 2015-03-17 10:28:17 +05:30
Konstantin V Shvachko ce5de93a58 HDFS-7886. Fix TestFileTruncate falures. Contributed by Plamen Jeliazkov and Konstantin Shvachko. 2015-03-16 12:54:04 -07:00
Colin Patrick Mccabe bc9cb3e271 HDFS-7915. The DataNode can sometimes allocate a ShortCircuitShm slot and fail to tell the DFSClient about it because of a network error (cmccabe) 2015-03-14 22:36:46 -07:00
Colin Patrick Mccabe 32741cf3d2 Revert "HDFS-7915. The DataNode can sometimes allocate a ShortCircuitShm slot and fail to tell the DFSClient about it because of a network error (cmccabe)" (jenkins didn't run yet)
This reverts commit 5aa892ed48.
2015-03-13 18:40:20 -07:00
Colin Patrick Mccabe 5aa892ed48 HDFS-7915. The DataNode can sometimes allocate a ShortCircuitShm slot and fail to tell the DFSClient about it because of a network error (cmccabe) 2015-03-13 18:29:49 -07:00
Konstantin V Shvachko dfd3201700 HDFS-2605. Remove redundant "Release 0.21.1" section from CHANGES.txt. Contributed by Allen Wittenauer. 2015-03-13 13:32:45 -07:00
Konstantin V Shvachko 6acb7f2110 HDFS-7903. Cannot recover block after truncate and delete snapshot. Contributed by Plamen Jeliazkov. 2015-03-13 13:12:51 -07:00
Kihwal Lee d324164a51 HDFS-7435. PB encoding of block reports is very inefficient. Contributed by Daryn Sharp. 2015-03-13 14:23:37 -05:00
Brandon Li f446669afb HDFS-7926. NameNode implementation of ClientProtocol.truncate(..) is not idempotent. Contributed by Tsz Wo Nicholas Sze 2015-03-13 10:42:22 -07:00
Colin Patrick Mccabe b49c3a1813 HDFS-7722. DataNode#checkDiskError should also remove Storage when error is found. (Lei Xu via Colin P. McCabe) 2015-03-12 12:00:18 -07:00
Tsz-Wo Nicholas Sze 6dae6d12ec HDFS-6833. DirectoryScanner should not register a deleting block with memory of DataNode. Contributed by Shinichi Yamashita 2015-03-13 02:25:32 +08:00
cnauroth fb34f45727 HDFS-7491. Add incremental blockreport latency to DN metrics. Contributed by Ming Ma. 2015-03-11 14:11:19 -07:00
Colin Patrick Mccabe 5c1036d598 HDFS-7830. DataNode does not release the volume lock when adding a volume fails. (Lei Xu via Colin P. McCabe) 2015-03-10 18:20:58 -07:00
Akira Ajisaka 82db3341bf HDFS-6806. HDFS Rolling upgrade document should mention the versions available. Contributed by J.Andreina. 2015-03-10 11:22:11 +09:00
Jing Zhao e43882e84a HDFS-7898. Change TestAppendSnapshotTruncate to fail-fast. Contributed by Tsz Wo Nicholas Sze. 2015-03-09 10:52:17 -07:00
Vinod Kumar Vavilapalli b3e699271b Adding 2.8 section in CHANGES.txt 2015-03-08 20:24:33 -07:00
Chris Douglas 6ee0d32b98 HDFS-7411. Change decommission logic to throttle by blocks rather
than nodes in each interval. Contributed by Andrew Wang
2015-03-08 18:31:04 -07:00
Brandon Li 0f8ecb1d0c HDFS-6488. Support HDFS superuser in NFSv3 gateway. Contributed by Brandon Li 2015-03-06 15:19:45 -08:00
Haohui Mai c79710302e HDFS-7818. OffsetParam should return the default value instead of throwing NPE when the value is unspecified. Contributed by Eric Payne. 2015-03-06 14:26:23 -08:00
Jing Zhao 24db0812be HDFS-7885. Datanode should not trust the generation stamp provided by client. Contributed by Tsz Wo Nicholas Sze. 2015-03-06 10:55:56 -08:00
Jing Zhao 952640fa4c HDFS-7855. Separate class Packet from DFSOutputStream. Contributed by Li Bo. 2015-03-05 10:58:53 -08:00
Tsuyoshi Ozawa 74a4754d1c HADOOP-11648. Set DomainSocketWatcher thread name explicitly. Contributed by Liang Xie. 2015-03-05 16:05:44 +09:00
Tsz-Wo Nicholas Sze ded0200e9c HDFS-7746. Add a test randomly mixing append, truncate and snapshot operations. 2015-03-05 10:21:29 +08:00
Dongming Liang 430b537188 HDFS-1522. Combine two BLOCK_FILE_PREFIX constants into one. Contributed by Dongming Liang. 2015-03-04 17:51:12 -08:00
Kihwal Lee 722b479469 HDFS-7434. DatanodeID hashCode should not be mutable. Contributed by Daryn Sharp. 2015-03-04 17:21:51 -06:00
Jing Zhao ed70fa142c HDFS-7535. Utilize Snapshot diff report for distcp. Contributed by Jing Zhao. 2015-03-04 10:30:53 -08:00
Haohui Mai f717dc51b2 HDFS-7879. hdfs.dll does not export functions of the public libhdfs API. Contributed by Chris Nauroth. 2015-03-04 09:17:21 -08:00
Vinayakumar B 3560180b6e HDFS-7869. Inconsistency in the return information while performing rolling upgrade ( Contributed by J.Andreina ) 2015-03-04 14:38:38 +05:30
Aaron T. Myers f2d7a67a2c HDFS-7682. {{DistributedFileSystem#getFileChecksum}} of a snapshotted file includes non-snapshotted content. Contributed by Charles Lamb. 2015-03-03 18:08:59 -08:00
Haohui Mai e2262d3d18 HDFS-6565. Use jackson instead jetty json in hdfs-client. Contributed by Akira AJISAKA. 2015-03-03 17:54:13 -08:00
Arpit Agarwal 1004473aa6 HDFS-7757. Misleading error messages in FSImage.java. (Contributed by Brahma Reddy Battula) 2015-03-03 10:55:22 -08:00
Jing Zhao b442aeec95 HDFS-7871. NameNodeEditLogRoller can keep printing 'Swallowing exception' message. Contributed by Jing Zhao. 2015-03-02 20:22:04 -08:00
Tsz-Wo Nicholas Sze 431e7d84c7 HDFS-7302. Remove "downgrade" from "namenode -rollingUpgrade" startup option since it may incorrectly finalize an ongoing rolling upgrade.
Contributed by Kai Sasaki
2015-03-03 10:04:08 +08:00
Haohui Mai c5eac9c6fe HDFS-7785. Improve diagnostics information for HttpPutFailedException. Contributed by Chengbing Liu. 2015-03-02 15:35:02 -08:00
Gera Shegalov cbb492578e HDFS-7789. DFSck should resolve the path to support cross-FS symlinks. (gera) 2015-03-02 00:55:35 -08:00
Tsz-Wo Nicholas Sze 67ed59348d HDFS-7439. Add BlockOpResponseProto's message to the exception messages. Contributed by Takanobu Asanuma 2015-03-02 15:03:58 +08:00
Akira Ajisaka aa55fd3096 HDFS-5853. Add "hadoop.user.group.metrics.percentiles.intervals" to hdfs-default.xml (aajisaka) 2015-03-01 01:16:36 -08:00
Allen Wittenauer dbc9b6433e HDFS-4681. TestBlocksWithNotEnoughRacks#testCorruptBlockRereplicatedAcrossRacks fails using IBM java (Ayappan via aw) 2015-02-28 23:32:09 -08:00
Tsz-Wo Nicholas Sze cf51ff2fe8 recommit "HDFS-7769. TestHDFSCLI should not create files in hdfs project root dir."
(cherry picked from commit 7c6b6547ee)
2015-02-27 14:30:41 -08:00
Akira Ajisaka 8719cdd4f6 HDFS-7685. Document dfs.namenode.heartbeat.recheck-interval in hdfs-default.xml. Contributed by Kai Sasaki. 2015-02-27 12:17:34 -08:00
Tsz-Wo Nicholas Sze a979f3b58f HDFS-7308. Change the packet chunk size computation in DFSOutputStream in order to enforce packet size <= 64kB. Contributed by Takuya Fukudome 2015-02-27 23:45:37 +08:00
Vinayakumar B 4f75b15628 HDFS-6753. Initialize checkDisk when DirectoryScanner not able to get files list for scanning (Contributed by J.Andreina) 2015-02-27 16:36:28 +05:30
Tsz-Wo Nicholas Sze 2954e65467 Revert "HDFS-7769. TestHDFSCLI should not create files in hdfs project root dir."
This reverts commit 7c6b6547ee.

Conflicts:
	hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
2015-02-27 18:25:32 +08:00
cnauroth c6d5b37a1c HDFS-7774. Unresolved symbols error while compiling HDFS on Windows 7/32 bit. Contributed by Kiran Kumar M R. 2015-02-26 13:37:46 -08:00
Colin Patrick Mccabe f0c980abed HDFS-7819. Log WARN message for the blocks which are not in Block ID based layout (Rakesh R via Colin P. McCabe) 2015-02-26 11:58:29 -08:00
Vinayakumar B 166eecf687 HDFS-7832. Show 'Last Modified' in Namenode's 'Browse Filesystem' (Contributed by Vinayakumar B) 2015-02-26 14:36:09 +05:30
Tsz-Wo Nicholas Sze 725cc499f0 HDFS-7537. Add "UNDER MIN REPL'D BLOCKS" count to fsck. Contributed by GAO Rui 2015-02-26 11:45:56 +08:00
Allen Wittenauer 8c4f76aa20 HDFS-7460. Rewrite httpfs to use new shell framework (John Smith via aw) 2015-02-25 18:57:41 -08:00
Tsz-Wo Nicholas Sze 606f5b517f HDFS-7843. A truncated file is corrupted after rollback from a rolling upgrade. 2015-02-26 10:14:40 +08:00
Colin Patrick Mccabe caa42adf20 HDFS-7495. Remove updatePosition argument from DFSInputStream#getBlockAt() (cmccabe) 2015-02-25 13:30:01 -08:00
Andrew Wang 7105ebaa9f HDFS-7763. fix zkfc hung issue due to not catching exception in a corner case. Contributed by Liang Xie. 2015-02-24 15:31:13 -08:00
Jing Zhao 73bcfa99af HDFS-7831. Fix the starting index and end condition of the loop in FileDiffList.findEarlierSnapshotBlocks(). Contributed by Konstantin Shvachko. 2015-02-24 10:31:32 -08:00
Tsuyoshi Ozawa b53fd7163b HDFS-7008. xlator should be closed upon exit from DFSAdmin#genericRefresh(). (ozawa) 2015-02-24 23:59:34 +09:00
Colin Patrick Mccabe faaddb6ecb HDFS-7805. NameNode recovery prompt should be printed on console (Surendra Singh Lilhore via Colin P. McCabe) 2015-02-23 19:00:10 -08:00
Colin Patrick Mccabe 585768667e HDFS-7807. libhdfs htable.c: fix htable resizing, add unit test (cmccabe) 2015-02-23 18:44:53 -08:00
cnauroth 769507bd7a HDFS-7009. Active NN and standby NN have different live nodes. Contributed by Ming Ma. 2015-02-23 15:12:27 -08:00
Arpit Agarwal 8b465b4b8c HDFS-7806. Refactor: move StorageType from hadoop-hdfs to hadoop-common. (Contributed by Xiaoyu Yao) 2015-02-21 15:38:35 -08:00
yliu 737bad02d4 HDFS-7740. Test truncate with DataNodes restarting. (yliu) 2015-02-21 06:32:34 +08:00
cnauroth 0d6af574e0 HDFS-7813. TestDFSHAAdminMiniCluster#testFencer testcase is failing frequently. Contributed by Rakesh R. 2015-02-20 17:01:08 -08:00
cnauroth 02e7dec79d HDFS-7773. Additional metrics in HDFS to be accessed via jmx. Contributed by Anu Engineer. 2015-02-20 12:37:48 -08:00
cnauroth 8c6ae0d619 HDFS-7814. Fix usage string of storageType parameter for "dfsadmin -setSpaceQuota/clrSpaceQuota". Contributed by Xiaoyu Yao. 2015-02-20 12:21:46 -08:00
Kihwal Lee 7ae5255a16 HDFS-7788. Post-2.6 namenode may not start up with an image containing inodes created with an old release. Contributed by Rushabh Shah. 2015-02-20 09:09:02 -06:00
Harsh J b9a17909ba HDFS-7752. Improve description for "dfs.namenode.num.extra.edits.retained" and "dfs.namenode.num.checkpoints.retained" properties on hdfs-default.xml. Contributed by Wellington Chevreuil. 2015-02-20 19:20:41 +05:30
yliu 2fd02afeca HDFS-7656. Expose truncate API for HDFS httpfs. (yliu) 2015-02-19 08:36:31 +08:00
Haohui Mai 9a3e292087 HDFS-7808. Remove obsolete -ns options in in DFSHAAdmin.java. Contributed by Arshad Mohammad. 2015-02-18 15:15:08 -08:00
cnauroth 2aa9979a71 HDFS-7772. Document hdfs balancer -exclude/-include option in HDFSCommands.html. Contributed by Xiaoyu Yao. 2015-02-18 12:03:07 -08:00
Uma Maheswara Rao G 2ecea5ab74 HDFS-7804. correct the haadmin command usage in #HDFSHighAvailabilityWithQJM.html (Brahma Reddy Battula via umamahesh) 2015-02-18 19:24:45 +05:30
Akira Ajisaka 6dc8812a95 HDFS-7780. Update use of Iterator to Iterable in DataXceiverServer and SnapshotDiffInfo. Contributed by Ray Chiang. 2015-02-17 14:47:53 -08:00
Haohui Mai 043e44bc36 HDFS-6662. WebHDFS cannot open a file if its path contains "%". Contributed by Gerson Carlos. 2015-02-17 13:04:38 -08:00
Kihwal Lee db6606223c HDFS-7795. Show warning if not all favored nodes were chosen by namenode. Contributed by Kihwal Lee. 2015-02-17 13:05:43 -06:00
Allen Wittenauer 34b78d51b5 HDFS-7803. Wrong command mentioned in HDFSHighAvailabilityWithQJM documentation (Arshad Mohammad via aw) 2015-02-17 06:46:37 -10:00
Uma Maheswara Rao G f0412de1c1 HDFS-4266. BKJM: Separate write and ack quorum (Rakesh R via umamahesh) 2015-02-17 21:28:49 +05:30
Uma Maheswara Rao G f24a56787a HDFS-7797. Add audit log for setQuota operation (Rakesh R via umamahesh) 2015-02-17 20:11:11 +05:30
yliu 500e6a0f46 HDFS-7798. Checkpointing failure caused by shared KerberosAuthenticator. (Chengbing Liu via yliu) 2015-02-17 07:46:33 +08:00
cnauroth 9729b244de HDFS-7604. Track and display failed DataNode storage locations in NameNode. Contributed by Chris Nauroth. 2015-02-16 14:43:02 -08:00
Arpit Agarwal f2231cebcd HDFS-7775. Use consistent naming for NN-internal quota related types and functions. (Contributed bu Xiaoyu Yao) 2015-02-13 21:01:33 -08:00
cnauroth 2efb2347a9 HDFS-7778. Rename FsVolumeListTest to TestFsVolumeList and commit it to branch-2. Contributed by Lei (Eddy) Xu. 2015-02-13 16:30:28 -08:00
Akira Ajisaka 0d521e3326 HDFS-4265. BKJM doesn't take advantage of speculative reads. Contributed by Rakesh R. 2015-02-13 15:20:52 -08:00
Colin Patrick Mccabe 19be82cd16 update CHANGES.txt for HDFS-7430, HDFS-7721, HDFS-7686 2015-02-13 15:15:31 -08:00
Colin Patrick Mccabe 8bb9a5000e HDFS-7686. Re-add rapid rescan of possibly corrupt block feature to the block scanner (cmccabe) 2015-02-13 14:35:49 -08:00
Arpit Agarwal 0a33a98eb4 HDFS-7776. Adding additional unit tests for Quota By Storage Type. (Contributed by Xiaoyu Yao) 2015-02-13 11:56:33 -08:00
Allen Wittenauer a126ac3edb HDFS-7791. dfs count -v should be added to quota documentation (Akira AJISAKA via aw) 2015-02-13 10:56:30 -08:00
Allen Wittenauer 2f1e5dc628 HDFS-7668. Convert site documentation from apt to markdown (Masatake Iwasaki via aw) 2015-02-12 18:19:45 -08:00
Colin Patrick Mccabe 871cb56152 HDFS-7790. Do not create optional fields in DFSInputStream unless they are needed (cmccabe) 2015-02-12 17:48:51 -08:00
Akira Ajisaka 46b6d23e8f HDFS-7684. The host:port settings of the deamons should be trimmed before use. Contributed by Anu Engineer. 2015-02-12 17:40:30 -08:00
Haohui Mai 04d09ecd56 HDFS-7711. Move the entry in CHANGE.txt to the right place. 2015-02-12 15:44:05 -08:00
Allen Wittenauer 58cb9f5293 HDFS-7322. deprecate sbin/hadoop-daemon.sh (aw) 2015-02-12 11:51:35 -08:00
Arpit Agarwal 9e33c9944c HDFS-7584. Update CHANGES.txt 2015-02-12 10:52:15 -08:00
Colin Patrick Mccabe 6b39ad0865 HDFS-7694. FSDataInputStream should support "unbuffer" (cmccabe) 2015-02-12 10:40:46 -08:00
Kihwal Lee 38262779bb HDFS-7704. DN heartbeat to Active NN may be blocked and expire if connection to Standby NN continues to time out. Contributed by Rushabh Shah. 2015-02-12 09:15:30 -06:00
Vinayakumar B 89a5449280 HDFS-7703. Support favouredNodes for the append for new blocks ( Contributed by Vinayakumar B) 2015-02-12 12:38:44 +05:30
yliu 8a54384a0a HDFS-7761. cleanup unnecssary code logic in LocatedBlock. (yliu) 2015-02-12 03:08:16 +08:00
Tsz-Wo Nicholas Sze 085b1e293f HDFS-6133. Add a feature for replica pinning so that a pinned replica will not be moved by Balancer/Mover. Contributed by zhaoyunjiong 2015-02-11 15:12:12 -08:00
Colin Patrick Mccabe 50625e660a HDFS-7771. fuse_dfs should permit FILE: on the front of KRB5CCNAME (cmccabe) 2015-02-11 12:14:40 -08:00
Haohui Mai f80c9888fa HDFS-7736. Fix typos in dfsadmin/fsck/snapshotDiff usage messages. Contributed by Brahma Reddy Battula. 2015-02-11 11:21:33 -08:00
Arpit Agarwal 078f3a9bc7 HDFS-7720. Update CHANGES.txt to reflect merge to branch-2. 2015-02-11 11:08:32 -08:00
Arpit Agarwal 5dae97a584 HDFS-7723. Quota By Storage Type namenode implemenation. (Contributed by Xiaoyu Yao) 2015-02-11 10:41:50 -08:00
Konstantin V Shvachko e42fc1a251 HDFS-7760. Document truncate for WebHDFS. Contributed by Konstantin Shvachko. 2015-02-11 09:53:50 -08:00
Allen Wittenauer b94c1117a2 HDFS-316. Balancer should run for a configurable # of iterations (Xiaoyu Yao via aw) 2015-02-11 08:10:34 -08:00
Konstantin V Shvachko a4ceea60f5 HDFS-7753. Fix Multithreaded correctness Warnings in BackupImage. Contributed by Rakesh R and Konstantin Shvachko. 2015-02-11 00:45:18 -08:00
Tsz-Wo Nicholas Sze 7c6b6547ee HDFS-7769. TestHDFSCLI should not create files in hdfs project root dir. 2015-02-10 17:48:57 -08:00
Konstantin V Shvachko b73956fdad HDFS-7058. Tests for truncate CLI. Contributed by Dasha Boudnik. 2015-02-09 21:26:59 -08:00
Vinayakumar B 3d15728ff5 HDFS-7714. Simultaneous restart of HA NameNodes and DataNode can cause DataNode to register successfully with only one NameNode.(Contributed by Vinayakumar B) 2015-02-10 10:43:08 +05:30
Colin Patrick Mccabe 02340a24f2 HDFS-7718. Store KeyProvider in ClientContext to avoid leaking key provider threads when using FileContext (Arun Suresh via Colin P. McCabe) 2015-02-09 20:23:23 -08:00
Colin Patrick Mccabe a9dc5cd706 HDFS-7744. Fix potential NPE in DFSInputStream after setDropBehind or setReadahead is called (cmccabe) 2015-02-09 20:16:41 -08:00
yliu 260b5e32c4 HDFS-7756. Restore method signature for LocatedBlock#getLocations(). (Ted Yu via yliu) 2015-02-10 01:57:51 +08:00
Allen Wittenauer 63613c79c1 HDFS-7546. Document, and set an accepting default for dfs.namenode.kerberos.principal.pattern (Harsh J via aw) 2015-02-09 13:58:58 -08:00
Allen Wittenauer 7d73202734 HDFS-7755. httpfs shell code has hardcoded path to bash (Dmitry Sivachenko via aw) 2015-02-09 13:05:14 -08:00
Allen Wittenauer fcad031d72 HDFS-7669. HDFS Design Doc references commands that no longer exist. (Brahma Reddy Battula via aw) 2015-02-09 12:56:48 -08:00
Allen Wittenauer 84cc071a7b HDFS-7670. HDFS Quota guide has typos, incomplete command lines (Brahma Reddy Battula via aw) 2015-02-09 12:54:03 -08:00
Arpit Agarwal ab934e8594 HDFS-7647. DatanodeManager.sortLocatedBlocks sorts DatanodeInfos but not StorageIDs. (Contributed by Milan Desai) 2015-02-09 12:17:40 -08:00
Jing Zhao 1382ae525c HDFS-7743. Code cleanup of BlockInfo and rename BlockInfo to BlockInfoContiguous. Contributed by Jing Zhao. 2015-02-08 11:51:44 -08:00
Tsz-Wo Nicholas Sze 350b520c64 HDFS-7751. Fix TestHDFSCLI for quota with storage type. Contributed by Xiaoyu Yao 2015-02-07 15:40:47 -08:00
Tsz-Wo Nicholas Sze 8f7d4bb09f HDFS-7738. Revise the exception message for recover lease; add more truncate tests such as truncate with HA setup, negative tests, truncate with other operations and multiple truncates. 2015-02-07 15:21:16 -08:00
Akira Ajisaka cfb829ecd5 HDFS-7710. Remove dead code in BackupImage.java. Contributed by Xiaoyu Yao. 2015-02-06 18:59:31 -08:00
Arpit Agarwal 8de80ff712 HDFS-7720. Quota by Storage Type API, tools and ClientNameNode Protocol changes. (Contributed by Xiaoyu Yao) 2015-02-06 17:01:19 -08:00
Akira Ajisaka eaab959a3e HDFS-7732. Fix the order of the parameters in DFSConfigKeys. Contributed by Brahma Reddy Battula. 2015-02-06 11:26:49 -08:00
yliu 7b10ef0c3b HDFS-7741. Remove unnecessary synchronized in FSDataInputStream and HdfsDataInputStream. (yliu) 2015-02-06 06:31:03 +08:00
yliu 45ea53f938 HDFS-7698. Fix locking on HDFS read statistics and add a method for clearing them. (Colin P. McCabe via yliu) 2015-02-05 23:56:29 +08:00
yliu 03f7ed382b HDFS-7655. Expose truncate API for Web HDFS. (yliu) 2015-02-05 23:45:06 +08:00
Haohui Mai c4980a2f34 HDFS-7270. Add congestion signaling capability to DataNode write protocol. Contributed by Haohui Mai. 2015-02-05 10:58:58 -08:00
Tsuyoshi Ozawa 20660b7a67 HDFS-7709. Fix findbug warnings in httpfs. Contributed by Rakesh R. 2015-02-05 19:57:07 +09:00
Arpit Agarwal c6f20007eb HDFS-7733. NFS: readdir/readdirplus return null directory attribute on failure. (Contributed by Arpit Agarwal) 2015-02-04 16:25:31 -08:00
Colin Patrick Mccabe 40a415799b HDFS-7719. BlockPoolSliceStorage#removeVolumes fails to remove some in-memory state associated with volumes. (Lei (Eddy) Xu via Colin P. McCabe) 2015-02-04 12:10:00 -08:00
Andrew Wang 9175105eea HDFS-7734. Class cast exception in NameNode#main. Contributed by Yi Liu. 2015-02-04 11:31:38 -08:00
Andrew Wang 3ae38ec7df HDFS-7712. Switch blockStateChangeLog to use slf4j. 2015-02-03 15:01:16 -08:00
Kihwal Lee 843806d03a HDFS-7707. Edit log corruption due to delayed block removal again. Contributed by Yongjun Zhang 2015-02-03 14:45:15 -06:00
Colin Patrick Mccabe 115428176e HDFS-7721. The HDFS BlockScanner may run fast during the first hour (cmccabe) 2015-02-03 11:05:31 -08:00
Haohui Mai 8cb473124c HDFS-6651. Deletion failure can leak inodes permanently. Contributed by Jing Zhao. 2015-02-02 16:32:38 -08:00
Tsz-Wo Nicholas Sze d085eb15d7 HDFS-7696. In FsDatasetImpl, the getBlockInputStream(..) and getTmpInputStreams(..) methods may leak file descriptors. 2015-02-02 13:38:36 -08:00
Tsz-Wo Nicholas Sze df01337b80 Move HDFS-5631, HDFS-5782 and HDFS-7681 to branch-2. 2015-02-02 13:34:12 -08:00
Andrew Wang 951b3608a8 HDFS-7706. Switch BlockManager logging to use slf4j. 2015-01-30 11:33:03 -08:00
Kihwal Lee 89b07490f8 HDFS-7603. The background replication queue initialization may not let others run. Contributed by Kihwal Lee. 2015-01-29 12:36:22 -06:00
yliu f37849188b HDFS-7423. various typos and message formatting fixes in nfs daemon and doc. (Charles Lamb via yliu) 2015-01-29 04:56:04 +08:00
Tsz-Wo Nicholas Sze 5a0051f4da HDFS-7681. Change ReplicaInputStreams constructor to take InputStream(s) instead of FileDescriptor(s). Contributed by Joe Pallas 2015-01-28 16:00:47 -08:00
Jing Zhao d244574d03 HDFS-7611. deleteSnapshot and delete of a file can leave orphaned blocks in the blocksMap on NameNode restart. Contributed by Jing Zhao and Byron Wong. 2015-01-28 15:25:03 -08:00
Andrew Wang caf7298e49 HDFS-6673. Add delimited format support to PB OIV tool. Contributed by Eddy Xu. 2015-01-28 12:36:29 -08:00
Colin Patrick Mccabe d12dd47f45 HDFS-7675. Remove unused member DFSClient.spanReceiverHost (cmccabe) 2015-01-27 20:52:02 -08:00
yliu 9ca565e970 HDFS-7677. DistributedFileSystem#truncate should resolve symlinks. (yliu) 2015-01-27 23:50:11 +08:00
Allen Wittenauer 0a05ae1782 HDFS-7566. Remove obsolete entries from hdfs-default.xml (Ray Chiang via aw) 2015-01-27 14:31:27 -08:00
Jing Zhao 2848db814a HDFS-3689. Add support for variable length block. Contributed by Jing Zhao. 2015-01-27 12:58:10 -08:00
Haohui Mai 1e2d98a394 HDFS-7683. Combine usages and percent stats in NameNode UI. Contributed by Vinayakumar B. 2015-01-27 11:09:29 -08:00
Steve Loughran 0da53a37ec HDFS-49. MiniDFSCluster.stopDataNode will always shut down a node in the cluster if a matching name is not found. (stevel) 2015-01-27 11:11:00 +00:00
Kihwal Lee 2b0fa20f69 HDFS-7224. Allow reuse of NN connections via webhdfs. Contributed by Eric Payne 2015-01-26 08:14:30 -06:00
Konstantin V Shvachko 370396509d HDFS-7676. Fix TestFileTruncate to avoid bug of HDFS-7611. Contributed by Konstantin Shvachko. 2015-01-24 18:03:11 -08:00
Konstantin V Shvachko 3ea353e7b9 Move truncate related messages in CHANGES.txt to branch 2 section. (shv) 2015-01-24 17:49:22 -08:00
yliu e9fd46ddbf HDFS-7659. truncate should check negative value of the new length. Contributed by Yi Liu. 2015-01-24 15:44:07 -08:00
Allen Wittenauer 8f26d5a8a1 HDFS-7320. The appearance of hadoop-hdfs-httpfs site docs is inconsistent (Masatake Iwasaki via aw) 2015-01-23 14:21:55 -08:00
Allen Wittenauer 6c3fec5ec2 HDFS-3750. API docs don't include HDFS (Jolly Chen via aw) 2015-01-23 14:10:44 -08:00
Allen Wittenauer 5c93ca2f3c HDFS-7644. minor typo in HttpFS doc (Charles Lamb via aw) 2015-01-23 13:46:31 -08:00
Allen Wittenauer d411460e0d HDFS-7667. Various typos and improvements to HDFS Federation doc (Charles Lamb via aw) 2015-01-23 13:37:52 -08:00
yliu 5f124efb3e HDFS-7660. BlockReceiver#close() might be called multiple times, which causes the fsvolume reference being released incorrectly. (Lei Xu via yliu) 2015-01-23 02:37:44 +08:00
cnauroth d3268c4b10 HDFS-3519. Checkpoint upload may interfere with a concurrent saveNamespace. Contributed by Ming Ma. 2015-01-22 16:26:21 -08:00
Arpit Agarwal 792b7d337a HDFS-7575. Fix CHANGES.txt 2015-01-22 14:37:16 -08:00
Colin Patrick Mccabe 6e62a1a672 HDFS-7430. Refactor the BlockScanner to use O(1) memory and use multiple threads (cmccabe) 2015-01-21 19:00:53 -08:00
Kihwal Lee c0af72c7f7 HDFS-7548. Corrupt block reporting delayed until datablock scanner thread detects it. Contributed by Rushabh Shah. 2015-01-21 14:41:31 -06:00
Tsz-Wo Nicholas Sze db334bb862 HDFS-3443. Fix NPE when namenode transition to active during startup by adding checkNNStartup() in NameNodeRpcServer. Contributed by Vinayakumar B 2015-01-21 11:33:55 -08:00
Colin Patrick Mccabe 39c1bcf7d9 HADOOP-11484: move CHANGES.txt entry to 3.0 2015-01-21 11:32:31 -08:00
Colin Patrick Mccabe 220a49de47 HADOOP-11484. hadoop-mapreduce-client-nativetask fails to build on ARM AARCH64 due to x86 asm statements (Edward Nevill via Colin P. McCabe) 2015-01-21 11:24:09 -08:00
Arpit Agarwal 6b17eb9eac HDFS-7643. Test case to ensure lazy persist files cannot be truncated. (Contributed by Yi Liu) 2015-01-20 21:58:38 -08:00
Colin Patrick Mccabe a1222784fb HDFS-7610. Add CHANGES.txt 2015-01-20 20:14:11 -08:00
Colin Patrick Mccabe 73b72a048f HDFS-7496: add to CHANGES.txt 2015-01-20 19:32:19 -08:00
yliu 889ab074d5 HDFS-7641. Update archival storage user doc for list/set/get block storage policies. (yliu) 2015-01-21 02:06:18 +08:00
yliu fc20129c56 HDFS-7623. Add htrace configuration properties to core-default.xml and update user doc about how to enable htrace. (yliu) 2015-01-21 00:59:47 +08:00
Arpit Agarwal dd0228b8f7 HDFS-7634. Fix CHANGES.txt 2015-01-20 12:14:03 -08:00
Arpit Agarwal c09c65b212 HDFS-7634. Disallow truncation of Lazy persist files. (Contributed by Yi Liu) 2015-01-20 12:11:36 -08:00
yliu 5a6c084f07 HDFS-7638: Small fix and few refinements for FSN#truncate. (yliu) 2015-01-20 00:45:12 +08:00
Haohui Mai 5e5e35b185 HDFS-7640. print NFS Client in the NFS log. Contributed by Brandon Li. 2015-01-19 17:29:46 -08:00
Tsz-Wo Nicholas Sze 4a4450836c HDFS-5631. Change BlockMetadataHeader.readHeader(..), ChunkChecksum class and constructor to public; and fix FsDatasetSpi to use generic type instead of FsVolumeImpl. Contributed by David Powell and Joe Pallas 2015-01-19 13:49:19 -08:00
Jing Zhao e843a0a8ce HDFS-7637. Fix the check condition for reserved path. Contributed by Yi Liu. 2015-01-19 10:28:29 -08:00
Haohui Mai 24315e7d37 HDFS-7573. Consolidate the implementation of delete() into a single class. Contributed by Haohui Mai. 2015-01-17 12:56:04 -08:00
Konstantin V Shvachko 60cbcff2f7 HDFS-7606. Fix potential NPE in INodeFile.getBlocks(). Contributed by Byron Wong. 2015-01-16 14:31:18 -08:00
cnauroth ec4389cf72 HDFS-7632. MiniDFSCluster configures DataNode data directories incorrectly if using more than 1 DataNode and more than 2 storage locations per DataNode. Contributed by Chris Nauroth. 2015-01-16 10:52:01 -08:00
cnauroth 9c94015e36 HDFS-7635. Remove TestCorruptFilesJsp from branch-2. Contributed by Chris Nauroth. 2015-01-16 10:39:27 -08:00
yliu c4ccbe62c0 HDFS-7189. Add trace spans for DFSClient metadata operations. (Colin P. McCabe via yliu) 2015-01-16 00:23:51 +08:00
Kihwal Lee 780a6bf145 HDFS-7457. DatanodeID generates excessive garbage. Contributed by Daryn Sharp. 2015-01-15 16:44:11 -06:00
Kihwal Lee 44eed6cbc9 HDFS-7615. Remove longReadLock. Contributed by Kihwal Lee. 2015-01-15 16:39:18 -06:00
Arpit Agarwal a6efbb21c2 HDFS-7591. hdfs classpath command should support same options as hadoop classpath. (Contributed by Varun Saxena) 2015-01-15 11:02:17 -08:00
Allen Wittenauer ce0117636a HDFS-7581. HDFS documentation needs updating post-shell rewrite (aw) 2015-01-15 07:48:55 -08:00
Tsz-Wo Nicholas Sze 6464a8929a HDFS-5782. Change BlockListAsLongs constructor to take Replica as parameter type instead of concrete classes Block and ReplicaInfo. Contributed by David Powell and Joe Pallas 2015-01-14 13:46:06 -08:00
Tsz-Wo Nicholas Sze 7fe0f25ad2 HDFS-2219. Change fsck to support fully qualified paths so that a particular namenode in a federated cluster with multiple namenodes can be specified in the path parameter. 2015-01-14 11:31:18 -08:00
Colin Patrick Mccabe 446545c496 HDFS-7585. Get TestEnhancedByteBufferAccess working on CPU architectures with page sizes other than 4096 (Sam Liu via Colin P. McCabe) 2015-01-14 11:13:55 -08:00
cnauroth 85aec75ce5 HDFS-7570. SecondaryNameNode need twice memory when calling reloadFromImageFile. Contributed by zhaoyunjiong. 2015-01-13 16:10:28 -08:00
Konstantin V Shvachko 08ac06283a HDFS-7056. Snapshot support for truncate. Contributed by Konstantin Shvachko and Plamen Jeliazkov. 2015-01-13 00:24:23 -08:00
Plamen Jeliazkov 7e9358feb3 HDFS-3107. Introduce truncate. Contributed by Plamen Jeliazkov. 2015-01-12 22:50:04 -08:00
Jing Zhao 6f3a63a41b HDFS-7600. Refine hdfs admin classes to reuse common code. Contributed by Jing Zhao. 2015-01-12 17:32:33 -08:00
Colin Patrick Mccabe f761bd8fe4 HDFS-5445. PacketReceiver populates the packetLen field in PacketHeader incorrectly (Jonathan Mace via Colin P. McCabe) 2015-01-12 17:11:03 -08:00
Colin Patrick Mccabe b3ddd7ee39 HDFS-7598. Remove dependency on old version of Guava in TestDFSClientCache#testEviction (Sangjin Lee via Colin P. McCabe) 2015-01-12 17:07:18 -08:00
Kihwal Lee 6bbf9fdd04 HDFS-7533. Datanode sometimes does not shutdown on receiving upgrade shutdown command. Contributed by Eric Payne. 2015-01-12 15:36:55 -06:00