Commit Graph

4335 Commits

Author SHA1 Message Date
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
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