Commit Graph

3840 Commits

Author SHA1 Message Date
cnauroth
9297f980c2 HDFS-7476. Consolidate ACL-related operations to a single class. Contributed by Haohui Mai. 2014-12-06 14:20:00 -08:00
Haohui Mai
e227fb8fbc HDFS-7459. Consolidate cache-related implementation in FSNamesystem into a single class. Contributed by Haohui Mai. 2014-12-05 18:37:07 -08:00
Jing Zhao
475c6b4978 HDFS-7474. Avoid resolving path in FSPermissionChecker. Contributed by Jing Zhao. 2014-12-05 14:17:17 -08:00
Haohui Mai
f6452eb259 HDFS-7472. Fix typo in message of ReplicaNotFoundException. Contributed by Masatake Iwasaki. 2014-12-05 11:23:13 -08:00
Haohui Mai
6a5596e3b4 HDFS-7478. Move org.apache.hadoop.hdfs.server.namenode.NNConf to FSNamesystem. Contributed by Li Lu. 2014-12-05 10:55:13 -08:00
Haohui Mai
0653918dad HDFS-7454. Reduce memory footprint for AclEntries in NameNode. Contributed by Vinayakumar B. 2014-12-04 20:49:45 -08:00
Haohui Mai
26d8dec756 HDFS-7468. Moving verify* functions to corresponding classes. Contributed by Li Lu. 2014-12-04 14:09:45 -08:00
Brandon Li
1bbcc3d032 HDFS-7424. Add web UI for NFS gateway. Contributed by Brandon Li 2014-12-04 10:46:26 -08:00
Brandon Li
a1e822595c HDFS-7458. Add description to the nfs ports in core-site.xml used by nfs test to avoid confusion. Contributed by Yongjun Zhang 2014-12-03 13:31:26 -08:00
Steve Loughran
22afae890d HDFS-7448 TestBookKeeperHACheckpoints fails in trunk -move CHANGES.TXT entry 2014-12-03 12:21:42 +00:00
stack
7caa3bc98e HDFS-6735. A minor optimization to avoid pread() be blocked by read() inside the same DFSInputStream (Lars Hofhansl via stack) 2014-12-02 20:57:38 -08:00
Colin Patrick Mccabe
75a326aaff HDFS-7446. HDFS inotify should have the ability to determine what txid it has read up to (cmccabe) 2014-12-02 17:15:21 -08:00
Haohui Mai
185e0c7b4c HDFS-7462. Consolidate implementation of mkdirs() into a single class. Contributed by Haohui Mai. 2014-12-02 14:53:45 -08:00
Steve Loughran
75d53456ea HDFS-7448 TestBookKeeperHACheckpoints fails in trunk build 2014-12-02 15:04:26 +00:00
Haohui Mai
042699401e HDFS-7438. Consolidate the implementation of rename() into a single class. Contributed by Haohui Mai. 2014-12-01 21:48:28 -08:00
Haohui Mai
0af44ea846 HDFS-7450. Consolidate the implementation of GetFileInfo(), GetListings() and GetContentSummary() into a single class. Contributed by Haohui Mai. 2014-12-01 21:36:25 -08:00
Allen Wittenauer
031f980e7e HADOOP-11081. Document hadoop properties expected to be set by the shell code in *-env.sh (aw) 2014-12-01 16:21:20 -08:00
Uma Maheswara Rao G
1556f86a31 HDFS-7210. Avoid two separate RPC's namenode.append() and namenode.getFileInfo() for an append call from DFSClient. (Vinayakumar B via umamahesh) 2014-11-28 21:09:16 +05:30
Haohui Mai
978736d486 HDFS-7444. Addendum patch to resolve conflicts between HDFS-7444 and HDFS-7310. 2014-11-26 10:53:53 -08:00
Haohui Mai
f5b1631179 HDFS-7444. convertToBlockUnderConstruction should preserve BlockCollection. Contributed by Haohui Mai. 2014-11-26 10:37:01 -08:00
Uma Maheswara Rao G
058af60c56 HDFS-7310. Mover can give first priority to local DN if it has target storage type available in local DN. (Vinayakumar B via umamahesh) 2014-11-26 23:27:25 +05:30
Steve Loughran
aa7dac3359 HDFS-6803 Document DFSClient#DFSInputStream expectations reading and preading in concurrent context. (stack via stevel) 2014-11-26 11:44:03 +00:00
Haohui Mai
4a31611829 HDFS-7440. Consolidate snapshot related operations in a single class. Contributed by Haohui Mai. 2014-11-25 21:04:52 -08:00
Andrew Wang
f43a20c529 HDFS-7097. Allow block reports to be processed during checkpointing on standby name node. (kihwal via wang) 2014-11-25 15:37:11 -08:00
Haohui Mai
45fa7f0235 HDFS-7303. NN UI fails to distinguish datanodes on the same host. Contributed by Benoy Antony. 2014-11-24 17:46:35 -08:00
Haohui Mai
8caf537afa HDFS-7436. Consolidate implementation of concat(). Contributed by Haohui Mai. 2014-11-24 15:42:38 -08:00
Colin Patrick Mccabe
380a361cfa CHANGES.txt: add HDFS-7419 2014-11-24 11:50:00 -08:00
Colin Patrick Mccabe
6970dbf366 CHANGES.txt: add HDFS-4882 2014-11-24 11:44:32 -08:00
Haohui Mai
8e253cb930 HDFS-7412. Move RetryCache to NameNodeRpcServer. Contributed by Haohui Mai. 2014-11-24 11:11:15 -08:00
Colin Patrick Mccabe
f636f9d943 HDFS-7419. Improve error messages for DataNode hot swap drive feature (Lei Xu via Colin P. Mccabe) 2014-11-24 10:55:21 -08:00
Colin Patrick Mccabe
daacbc18d7 HDFS-4882. Prevent the Namenode's LeaseManager from looping forever in checkLeases (Ravi Prakash via Colin P. McCabe) 2014-11-24 10:46:33 -08:00
yliu
555fa2d9d0 HDFS-7403. Inaccurate javadoc of BlockUCState#COMPLETE state. (Yongjun Zhang via yliu) 2014-11-24 04:17:17 +08:00
Aaron T. Myers
2d4f3e567e HDFS-7331. Add Datanode network counts to datanode jmx page. Contributed by Charles Lamb. 2014-11-21 16:36:39 -08:00
cnauroth
b8c094b075 HDFS-7425. NameNode block deletion logging uses incorrect appender. Contributed by Chris Nauroth. 2014-11-21 16:35:08 -08:00
Karthik Kambatla
1e9a3f42ff Update release date for 2.5.2 2014-11-21 14:34:23 -08:00
Haohui Mai
23dacb3892 HDFS-7420. Delegate permission checks to FSDirectory. Contributed by Haohui Mai. 2014-11-21 11:01:14 -08:00
Haohui Mai
c95b878abf HDFS-7415. Move FSNameSystem.resolvePath() to FSDirectory. Contributed by Haohui Mai. 2014-11-20 19:23:23 -08:00
Haohui Mai
acf1e033b0 HDFS-7413. Some unit tests should use NameNodeProtocols instead of FSNameSystem. Contributed by Haohui Mai. 2014-11-20 10:27:44 -08:00
Andrew Wang
765aecb4e1 HDFS-7409. Allow dead nodes to finish decommissioning if all files are fully replicated. 2014-11-19 17:53:00 -08:00
Allen Wittenauer
72c141ba96 HADOOP-11208. Replace "daemon" with better name in script subcommands (aw) 2014-11-19 14:49:29 -08:00
Allen Wittenauer
73348a4afd HDFS-7407. Minor typo in privileged pid/out/log names (aw) 2014-11-19 14:02:28 -08:00
Andrew Wang
5bd048e837 HDFS-7373. Allow decommissioning of dead DataNodes. Contributed by Zhe Zhang. 2014-11-18 22:16:58 -08:00
Andrew Wang
406c09ad11 HDFS-7225. Remove stale block invalidation work when DN re-registers with different UUID. (Zhe Zhang and Andrew Wang) 2014-11-18 22:14:04 -08:00
cnauroth
9e81be0114 HDFS-7398. Reset cached thread-local FSEditLogOp's on every FSEditLog#logEdit. Contributed by Gera Shegalov. 2014-11-18 16:56:44 -08:00
Haohui Mai
fbf81fbd1c HDFS-7406. SimpleHttpProxyHandler puts incorrect "Connection: Close" header. Contributed by Haohui Mai. 2014-11-18 14:52:59 -08:00
Andrew Wang
bcd402ae38 HADOOP-11312. Fix unit tests to not use uppercase key names. 2014-11-18 10:47:46 -08:00
Haohui Mai
9dd5d673c9 HDFS-7404. Remove o.a.h.hdfs.server.datanode.web.resources. Contributed by Li Lu. 2014-11-17 17:35:36 -08:00
Andrew Wang
dcb8e24427 HDFS-6982. nntop: top­-like tool for name node users. (Maysam Yabandeh via wang) 2014-11-17 17:33:42 -08:00
Brandon Li
351c5561c2 HDFS-7146. NFS ID/Group lookup requires SSSD enumeration on the server. Contributed by Yongjun Zhang 2014-11-17 13:23:53 -08:00
Haohui Mai
bf8e4332cb HDFS-7279. Use netty to implement DatanodeWebHdfsMethods. Contributed by Haohui Mai. 2014-11-17 11:42:20 -08:00
Vinayakumar B
6783d17fcf HDFS-7399. Lack of synchronization in DFSOutputStream#Packet#getLastByteOffsetBlock() (Contributed by Vinayakumar B) 2014-11-17 20:19:19 +05:30
Colin Patrick Mccabe
26d3b7e6ae HDFS-7394. Log at INFO level, not WARN level, when InvalidToken is seen in ShortCircuitCache (Keith Pak via Colin P. McCabe) 2014-11-16 21:20:53 -08:00
cnauroth
1925e2a4ae HDFS-7386. Replace check "port number < 1024" with shared isPrivilegedPort method. Contributed by Yongjun Zhang. 2014-11-14 16:43:09 -08:00
Haohui Mai
1a2e5cbc4d HDFS-7395. BlockIdManager#clear() bails out when resetting the GenerationStampV1Limit. Contributed by Haohui Mai. 2014-11-13 14:43:03 -08:00
Arun C. Murthy
9ff7315cbe Preparing to release hadoop-2.6.0-rc1. 2014-11-13 13:02:55 -08:00
cnauroth
b0a41de68c HDFS-7385. ThreadLocal used in FSEditLog class causes FSImage permission mess up. Contributed by jiangyu. 2014-11-13 12:34:52 -08:00
Tsz-Wo Nicholas Sze
394ba94c5d HDFS-7358. Clients may get stuck waiting when using ByteArrayManager. 2014-11-13 12:28:44 -08:00
Allen Wittenauer
ba879a5dad HADOOP-8989. hadoop fs -find feature (Jonathan Allen via aw) 2014-11-13 11:52:38 -08:00
cnauroth
0abb973f09 HADOOP-7984. Add hadoop --loglevel option to change log level. Contributed by Aikira AJISAKA. 2014-11-12 21:41:19 -08:00
Haohui Mai
e073b61dc4 Fix CHANGES.txt to make it consistent with branch-2. 2014-11-12 20:03:27 -08:00
Arun C. Murthy
9f0319bba1 HDFS-7391. Renable SSLv2Hello in HttpFS. Contributed by Robert Kanter. 2014-11-12 18:51:46 -08:00
Arun C. Murthy
782abbb000 HDFS-7387. Merging to branch-2.6 for hadoop-2.6.0-rc1. 2014-11-12 11:32:44 -08:00
Haohui Mai
46f6f9d60d HDFS-7375. Move FSClusterStats to o.a.h.h.hdfs.server.blockmanagement. Contributed by Haohui Mai. 2014-11-11 18:22:40 -08:00
cnauroth
163bb55067 HDFS-7389. Named user ACL cannot stop the user from accessing the FS entity. Contributed by Vinayakumar B. 2014-11-11 13:29:55 -08:00
Brandon Li
99d9d0c2d1 HDFS-7387. NFS may only do partial commit due to a race between COMMIT and write. Contributed by Brandon Li 2014-11-11 13:03:31 -08:00
Haohui Mai
571e9c6232 HDFS-7381. Decouple the management of block id and gen stamps from FSNamesystem. Contributed by Haohui Mai. 2014-11-11 12:42:12 -08:00
Haohui Mai
2cc868dede HADOOP-11296. Nfs3FileAttributes should not change the values of rdev, nlink and size in the constructor. Contributed by Brandon Li. 2014-11-10 15:42:58 -08:00
Karthik Kambatla
68a0508728 Set the release date for 2.5.2 2014-11-10 15:22:53 -08:00
Arun C. Murthy
770cc14442 Updated CHANGES.txt to reflect hadoop-2.6.0 release dates. 2014-11-09 18:47:21 -08:00
Arun C. Murthy
f62ec31739 HDFS-7383. Merged to branch-2.6 also. 2014-11-09 18:22:05 -08:00
Suresh Srinivas
4ddc5cad0a HDFS-7383. DataNode.requestShortCircuitFdsForRead may throw NullPointerException. Contributed by Tsz Wo Nicholas Sze. 2014-11-09 17:55:03 -08:00
cnauroth
9ba8d8c7eb HDFS-7382. DataNode in secure mode may throw NullPointerException if client connects before DataNode registers itself with NameNode. Contributed by Chris Nauroth. 2014-11-08 22:24:57 -08:00
Arun C. Murthy
6caa8100d5 HADOOP-11286. Copied LimitInputStream from guava-0.14 to hadoop to avoid issues with newer versions of guava in applications. Contributed by Christopher Tubbs. 2014-11-08 15:39:56 -08:00
Haohui Mai
57760c0663 HDFS-7379. TestBalancer#testBalancerWithRamDisk creates test files incorrectly. Contributed by Xiaoyu Yao. 2014-11-07 13:39:09 -08:00
cnauroth
d026f36762 HDFS-7226. Update CHANGES.txt to indicate fix in 2.6.0. 2014-11-06 23:10:21 -08:00
cnauroth
e7f1c0482e HDFS-7221. Update CHANGES.txt to indicate fix in 2.6.0. 2014-11-06 22:46:22 -08:00
Jing Zhao
ae71a671a3 HDFS-7364. Balancer always shows zero Bytes Already Moved. Contributed by Tsz Wo Nicholas Sze. 2014-11-06 17:48:36 -08:00
Haohui Mai
75b820cca9 HDFS-7365. Remove hdfs.server.blockmanagement.MutableBlockCollection. Contributed by Li Lu. 2014-11-06 13:56:31 -08:00
Milan Desai
80d7d183cd HDFS-7336. Unused member DFSInputStream.buffersize. Contributed by Milan Desai. 2014-11-05 21:00:28 -08:00
Byron Wong
228afed14c HDFS-7329. Improve logging when MiniDFSCluster fails to start. Contributed by Byron Wong. 2014-11-05 20:56:21 -08:00
Haohui Mai
8e33d4bdb3 HDFS-7367. HDFS short-circuit read cannot negotiate shared memory slot and file descriptors when SASL is enabled on DataTransferProtocol. Contributed by Chris Nauroth. 2014-11-05 20:31:39 -08:00
Konstantin V Shvachko
240cb59b9f HDFS-7361. TestCheckpoint fails after change of log message related to locking violation. Contributed by Konstantin Shvachko. 2014-11-05 20:15:16 -08:00
Haohui Mai
86eb27ba1d HDFS-7366. BlockInfo should take replication as an short in the constructor. Contributed by Li Lu. 2014-11-05 18:14:18 -08:00
cnauroth
ba1d4ad25b HDFS-7359. NameNode in secured HA cluster fails to start if dfs.namenode.secondary.http-address cannot be interpreted as a network address. Contributed by Chris Nauroth. 2014-11-05 15:09:22 -08:00
Colin Patrick Mccabe
7b07acb0a5 CHANGES.txt. Move HDFS-7199 to branch-2.6 2014-11-05 10:57:15 -08:00
Colin Patrick Mccabe
56257fab1d HDFS-7199. DFSOutputStream should not silently drop data if DataStreamer crashes with an unchecked exception (rushabhs via cmccabe) 2014-11-05 10:51:49 -08:00
Haohui Mai
18312804e9 HDFS-7357. FSNamesystem.checkFileProgress should log file path. Contributed by Tsz Wo Nicholas Sze. 2014-11-05 10:14:30 -08:00
Konstantin V Shvachko
203c63030f HDFS-7333. Improve logging in Storage.tryLock(). Contributed by Konstantin Shvachko. 2014-11-05 09:53:23 -08:00
Konstantin V Shvachko
6e8722e49c HDFS-7335. Redundant checkOperation() in FSN.analyzeFileState(). Contributed by Milan Desai. 2014-11-05 09:32:32 -08:00
yliu
73e601259f HDFS-7218. FSNamesystem ACL operations should write to audit log on failure. (clamb via yliu) 2014-11-05 15:49:37 +08:00
Haohui Mai
d794f785de HADOOP-11230. Add missing dependency of bouncycastle for kms, httpfs, hdfs, MR and YARN. Contributed by Robert Kanter. 2014-11-04 17:52:03 -08:00
Karthik Kambatla
4de56d27fb Adding release 2.5.2 to CHANGES.txt 2014-11-04 16:50:40 -08:00
Karthik Kambatla
dbf30e3c0e HADOOP-11260. Patch up Jetty to disable SSLv3. (Mike Yoder via kasha) 2014-11-04 16:18:24 -08:00
Jing Zhao
5bd3a569f9 HDFS-7233. NN logs unnecessary org.apache.hadoop.hdfs.protocol.UnresolvedPathException. Contributed by Rushabh S Shah. 2014-11-04 16:02:07 -08:00
Haohui Mai
99d710348a HDFS-7355. TestDataNodeVolumeFailure#testUnderReplicationAfterVolFailure fails on Windows, because we cannot deny access to the file owner. Contributed by Chris Nauroth. 2014-11-04 15:18:51 -08:00
Jing Zhao
27f106e226 HDFS-7356. Use DirectoryListing.hasMore() directly in nfs. Contributed by Li Lu. 2014-11-04 15:04:26 -08:00
Haohui Mai
d0449bd2fd HDFS-7334. Fix periodic failures of TestCheckpoint#testTooManyEditReplayFailures. Contributed by Charles Lamb. 2014-11-04 14:34:52 -08:00
Jing Zhao
3dfd6e68fe HDFS-7340. Make rollingUpgrade start/finalize idempotent. Contributed by Jing Zhao. 2014-11-04 10:16:37 -08:00
cnauroth
2bb327eb93 HDFS-7328. TestTraceAdmin assumes Unix line endings. Contributed by Chris Nauroth. 2014-11-03 19:59:52 -08:00
Haohui Mai
35d353e0f6 HDFS-7147. Update archival storage user documentation. Contributed by Tsz Wo Nicholas Sze. 2014-11-03 15:10:22 -08:00