Eli Collins
|
b2313021fd
|
HDFS-2536. Remove unused imports. Contributed by Harsh J
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1204120 13f79535-47bb-0310-9956-ffa450edef68
|
2011-11-20 03:58:50 +00:00 |
|
Eli Collins
|
0e5c1a45bf
|
HDFS-208. name node should warn if only one dir is listed in dfs.name.dir. Contributed by Uma Maheswara Rao G
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1204119 13f79535-47bb-0310-9956-ffa450edef68
|
2011-11-20 03:38:51 +00:00 |
|
Eli Collins
|
7a8015c0e2
|
HDFS-2541. For a sufficiently large value of blocks, the DN Scanner may request a random number with a negative seed value. Contributed by Harsh J
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1204114 13f79535-47bb-0310-9956-ffa450edef68
|
2011-11-20 02:51:50 +00:00 |
|
Eli Collins
|
b7cd8c0f86
|
HDFS-2564. Cleanup unnecessary exceptions thrown and unnecessary casts. Contributed by Hari Mankude
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1203950 13f79535-47bb-0310-9956-ffa450edef68
|
2011-11-19 02:34:25 +00:00 |
|
Todd Lipcon
|
1f92266516
|
HDFS-2563. Some cleanup in BPOfferService. Contributed by Todd Lipcon.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1203943 13f79535-47bb-0310-9956-ffa450edef68
|
2011-11-19 01:31:59 +00:00 |
|
Todd Lipcon
|
905a127850
|
HDFS-2562. Refactor DN configuration variables out of DataNode class. Contributed by Todd Lipcon.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1203543 13f79535-47bb-0310-9956-ffa450edef68
|
2011-11-18 09:04:20 +00:00 |
|
Todd Lipcon
|
0864ef1908
|
HDFS-2560. Refactor BPOfferService to be a static inner class. Contributed by Todd Lipcon.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1203444 13f79535-47bb-0310-9956-ffa450edef68
|
2011-11-18 00:45:31 +00:00 |
|
Todd Lipcon
|
9a3f147fdd
|
HDFS-2476. More CPU efficient data structure for under-replicated, over-replicated, and invalidated blocks. Contributed by Tomasz Nykiel.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1201991 13f79535-47bb-0310-9956-ffa450edef68
|
2011-11-15 01:13:58 +00:00 |
|
Tsz-wo Sze
|
09a156fcce
|
HDFS-2539. Support doAs and GETHOMEDIRECTORY in webhdfs.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1200731 13f79535-47bb-0310-9956-ffa450edef68
|
2011-11-11 04:19:45 +00:00 |
|
Tsz-wo Sze
|
94c631af1f
|
HDFS-2540. Webhdfs: change "Expect: 100-continue" to two-step write; change "HdfsFileStatus" and "localName" respectively to "FileStatus" and "pathSuffix" in JSON response.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1199396 13f79535-47bb-0310-9956-ffa450edef68
|
2011-11-08 19:25:57 +00:00 |
|
Hairong Kuang
|
6dff9329d5
|
HDFS-2495. Increase granularity of write operations in ReplicationMonitor thus reducing contention for write lock. Contributed by Tomasz Nykiel.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1199024 13f79535-47bb-0310-9956-ffa450edef68
|
2011-11-08 00:16:23 +00:00 |
|
Tsz-wo Sze
|
a590b498ac
|
HDFS-2528. Webhdfs: set delegation kind to WEBHDFS and add a HDFS token when http requests are redirected to datanode.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1198903 13f79535-47bb-0310-9956-ffa450edef68
|
2011-11-07 20:05:16 +00:00 |
|
Tsz-wo Sze
|
6afe3e0d22
|
HDFS-2527. WebHdfs: remove the use of "Range" header in Open; use ugi username if renewer parameter is null in GetDelegationToken; response OK when setting replication for non-files; rename GETFILEBLOCKLOCATIONS to GET_BLOCK_LOCATIONS and state that it is a private unstable API; replace isDirectory and isSymlink with enum {FILE, DIRECTORY, SYMLINK} in HdfsFileStatus JSON object.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1197329 13f79535-47bb-0310-9956-ffa450edef68
|
2011-11-03 22:34:47 +00:00 |
|
Todd Lipcon
|
40fe96546f
|
HDFS-2129. Simplify BlockReader to not inherit from FSInputChecker. Contributed by Todd Lipcon.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1196976 13f79535-47bb-0310-9956-ffa450edef68
|
2011-11-03 06:54:59 +00:00 |
|
Todd Lipcon
|
11cf658d0a
|
HDFS-2533. Remove needless synchronization on some FSDataSet methods. Contributed by Todd Lipcon.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1196902 13f79535-47bb-0310-9956-ffa450edef68
|
2011-11-03 01:00:25 +00:00 |
|
Todd Lipcon
|
f84552ac35
|
HDFS-2130. Switch default checksum to CRC32C. Contributed by Todd Lipcon.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1196889 13f79535-47bb-0310-9956-ffa450edef68
|
2011-11-03 00:35:37 +00:00 |
|
Hairong Kuang
|
a4baabe4a4
|
HDFS-2477. Optimize computing the diff between a block report and the namenode state. Contributed by Tomasz Nykiel.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1196676 13f79535-47bb-0310-9956-ffa450edef68
|
2011-11-02 16:31:21 +00:00 |
|
Jitendra Nath Pandey
|
bd21ddcb78
|
HDFS-2416. distcp with a webhdfs uri on a secure cluster fails.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1196434 13f79535-47bb-0310-9956-ffa450edef68
|
2011-11-02 02:08:20 +00:00 |
|
Aaron Myers
|
abe45f59ac
|
HDFS-2526. (Client)NamenodeProtocolTranslatorR23 do not need to keep a reference to rpcProxyWithoutRetry (atm)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1196171 13f79535-47bb-0310-9956-ffa450edef68
|
2011-11-01 17:59:53 +00:00 |
|
Eli Collins
|
4961441584
|
HDFS-2308. NamenodeProtocol.endCheckpoint is vestigial and can be removed. Contributed by Eli Collins
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1196113 13f79535-47bb-0310-9956-ffa450edef68
|
2011-11-01 16:44:28 +00:00 |
|
Konstantin Shvachko
|
22000ce96d
|
HDFS-2002. Incorrect computation of needed blocks in getTurnOffTip(). Contributed by Plamen Jeliazkov.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1195869 13f79535-47bb-0310-9956-ffa450edef68
|
2011-11-01 08:37:11 +00:00 |
|
Todd Lipcon
|
1c940637b1
|
HDFS-2521. Remove custom checksum headers from data transfer protocol. Contributed by Todd Lipcon.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1195829 13f79535-47bb-0310-9956-ffa450edef68
|
2011-11-01 05:17:08 +00:00 |
|
Tsz-wo Sze
|
8d1a09b741
|
HDFS-2065. Add null checks in DFSClient.getFileChecksum(..). Contributed by Uma Maheswara Rao G
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1195731 13f79535-47bb-0310-9956-ffa450edef68
|
2011-11-01 00:38:57 +00:00 |
|
Todd Lipcon
|
c46876982e
|
HDFS-2512. Add textual error message to data transfer protocol responses. Contributed by Todd Lipcon.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1195693 13f79535-47bb-0310-9956-ffa450edef68
|
2011-10-31 21:53:58 +00:00 |
|
Tsz-wo Sze
|
32cad9affe
|
HDFS-2385. Support renew and cancel delegation tokens in webhdfs.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1195656 13f79535-47bb-0310-9956-ffa450edef68
|
2011-10-31 20:37:16 +00:00 |
|
Jitendra Nath Pandey
|
7cb77a3b1b
|
HDFS-2334. Add Closeable to JournalManager. Contributed by Ivan Kelly.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1195620 13f79535-47bb-0310-9956-ffa450edef68
|
2011-10-31 19:03:55 +00:00 |
|
Konstantin Shvachko
|
64c019cccc
|
HDFS-2285. BackupNode should reject requests to modify namespace. Contributed by Konstantin Shvachko and Uma Maheswara Rao G.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1195013 13f79535-47bb-0310-9956-ffa450edef68
|
2011-10-29 20:11:35 +00:00 |
|
Tsz-wo Sze
|
2dcd43c7b1
|
HDFS-2436. Change FSNamesystem.setTimes(..) for allowing setting times on directories. Contributed by Uma Maheswara Rao G
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1190708 13f79535-47bb-0310-9956-ffa450edef68
|
2011-10-29 00:19:21 +00:00 |
|
Todd Lipcon
|
6b0963c53b
|
HDFS-2465. Add HDFS support for fadvise readahead and drop-behind. Contributed by Todd Lipcon.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1190626 13f79535-47bb-0310-9956-ffa450edef68
|
2011-10-28 22:18:42 +00:00 |
|
Suresh Srinivas
|
c0c938f242
|
HDFS-2499. RPC client is created incorrectly introduced in HDFS-2459. Contributed by Suresh Srinivas.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1190620 13f79535-47bb-0310-9956-ffa450edef68
|
2011-10-28 22:06:04 +00:00 |
|
Tsz-wo Sze
|
9692cfc9ae
|
HDFS-2493. Remove reference to FSNamesystem in blockmanagement classes.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1190491 13f79535-47bb-0310-9956-ffa450edef68
|
2011-10-28 18:28:26 +00:00 |
|
Sanjay Radia
|
b49c95a5d9
|
HDFS-2479 HDFS Client Data Types in Protocol Buffers (sanjay)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1190127 13f79535-47bb-0310-9956-ffa450edef68
|
2011-10-28 01:52:00 +00:00 |
|
Tsz-wo Sze
|
8cb0d4b380
|
HDFS-2432. Webhdfs: response FORBIDDEN when setReplication on non-files; clear umask before creating a flie; throw IllegalArgumentException if setOwner with both owner and group empty; throw FileNotFoundException if getFileStatus on non-existing files; fix bugs in getBlockLocations; and changed getFileChecksum json response root to "FileChecksum".
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1190077 13f79535-47bb-0310-9956-ffa450edef68
|
2011-10-27 23:13:26 +00:00 |
|
Todd Lipcon
|
221aadbc5b
|
HDFS-2500. Avoid file system operations in BPOfferService thread while processing deletes. Contributed by Todd Lipcon.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1190071 13f79535-47bb-0310-9956-ffa450edef68
|
2011-10-27 22:47:19 +00:00 |
|
Todd Lipcon
|
646e855f6e
|
HDFS-2507. Allow saveNamespace operations to be canceled. Contributed by Todd Lipcon.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1190060 13f79535-47bb-0310-9956-ffa450edef68
|
2011-10-27 22:11:10 +00:00 |
|
Suresh Srinivas
|
456ca74b96
|
HDFS-2496. Separate datatypes for DatanodeProtocol. Contributed by Suresh Srinivas.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1189901 13f79535-47bb-0310-9956-ffa450edef68
|
2011-10-27 18:09:42 +00:00 |
|
Tsz-wo Sze
|
10dc6b0927
|
HDFS-1869. mkdirs should use the supplied permission for all of the created directories. Contributed by Daryn Sharp
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1189546 13f79535-47bb-0310-9956-ffa450edef68
|
2011-10-27 00:02:19 +00:00 |
|
Tsz-wo Sze
|
758194382c
|
HDFS-2494. Close the streams and DFSClient in DatanodeWebHdfsMethods. Contributed by Uma Maheswara Rao G
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1189360 13f79535-47bb-0310-9956-ffa450edef68
|
2011-10-26 18:24:29 +00:00 |
|
Jitendra Nath Pandey
|
8534e70044
|
HDFS-2411. The auth to local mappings are not respected with webhdfs and security enabled.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1189355 13f79535-47bb-0310-9956-ffa450edef68
|
2011-10-26 18:15:58 +00:00 |
|
Tsz-wo Sze
|
8335995630
|
HDFS-2501. Add version prefix and root methods to webhdfs.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1189028 13f79535-47bb-0310-9956-ffa450edef68
|
2011-10-26 05:16:57 +00:00 |
|
Mahadev Konar
|
d19cfe0164
|
MAPREDUCE-2746. Yarn servers can't communicate with each other with hadoop.security.authorization set to true (acmurthy via mahadev)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1188522 13f79535-47bb-0310-9956-ffa450edef68
|
2011-10-25 06:07:13 +00:00 |
|
Suresh Srinivas
|
a268a3c0e4
|
HDFS-2488. Separate datatypes for InterDatanodeProtocol. Contributed by Suresh Srinivas.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1188487 13f79535-47bb-0310-9956-ffa450edef68
|
2011-10-25 01:32:49 +00:00 |
|
Suresh Srinivas
|
4846ca7863
|
HDFS-2497 Fix TestBackupNode failure. Contributed by Suresh Srinivas.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1188436 13f79535-47bb-0310-9956-ffa450edef68
|
2011-10-24 23:07:13 +00:00 |
|
Sanjay Radia
|
0920056f04
|
HDFS-2481 Unknown protocol: org.apache.hadoop.hdfs.protocol.ClientProtocol (sanjay)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1188300 13f79535-47bb-0310-9956-ffa450edef68
|
2011-10-24 19:08:03 +00:00 |
|
Suresh Srinivas
|
8fe95d276d
|
Added missing files for HDFS-2489 commit.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1188286 13f79535-47bb-0310-9956-ffa450edef68
|
2011-10-24 18:46:59 +00:00 |
|
Suresh Srinivas
|
2b35e8aa4f
|
HDFS-2489. Move Finalize and Register to separate file out of DatanodeCommand.java. Contributed by Suresh Srinivas.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1188282 13f79535-47bb-0310-9956-ffa450edef68
|
2011-10-24 18:40:13 +00:00 |
|
Konstantin Shvachko
|
6e0991704f
|
HDFS-2452. OutOfMemoryError in DataXceiverServer takes down the DataNode. Contributed by Uma Maheswara Rao.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1187965 13f79535-47bb-0310-9956-ffa450edef68
|
2011-10-23 20:17:04 +00:00 |
|
Steve Loughran
|
2690d0db0e
|
HDFS-2485
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1187887 13f79535-47bb-0310-9956-ffa450edef68
|
2011-10-23 14:13:58 +00:00 |
|
Konstantin Shvachko
|
7dd869c2a9
|
HDFS-2491. TestBalancer can fail when datanode utilization and avgUtilization is exactly same. Contributed by Uma Maheswara Rao G.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1187837 13f79535-47bb-0310-9956-ffa450edef68
|
2011-10-23 00:35:55 +00:00 |
|
Suresh Srinivas
|
d2e1a71918
|
HDFS-2480. Separate datatypes for NamenodeProtocol. Contributed by Suresh Srinivas.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1187505 13f79535-47bb-0310-9956-ffa450edef68
|
2011-10-21 19:03:18 +00:00 |
|