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
Haohui Mai
c55d609053
HDFS-8200. Refactor FSDirStatAndListingOp. Contributed by Haohui Mai.
2015-04-30 13:41:46 -07: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
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
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
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
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
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
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
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
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
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
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
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
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
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
Haohui Mai
96649c38f9
HDFS-8035. Move checkBlocksProperlyReplicated() in FSNamesystem to BlockManager. Contributed by Haohui Mai.
2015-04-02 11:36:51 -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
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
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
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
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
Harsh J
3d9132d434
HDFS-7501. TransactionsSinceLastCheckpoint can be negative on SBNs. Contributed by Gautam Gopalakrishnan.
2015-03-29 00:45:01 +05:30
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
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
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
Jing Zhao
a16bfff71b
HDFS-7854. Separate class DataStreamer out of DFSOutputStream. Contributed by Li Bo.
2015-03-24 11:06:13 -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
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
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
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
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
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
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
Harsh J
046521cd65
HDFS-2360. Ugly stacktrce when quota exceeds. (harsh)
2015-03-17 10:28:17 +05:30
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
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
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
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
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
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
Tsuyoshi Ozawa
d1c6accb6f
HADOOP-11602. Fix toUpperCase/toLowerCase to use Locale.ENGLISH. (ozawa)
2015-03-03 14:17:52 +09: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
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
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
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
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
Benoy Antony
d140d76a43
HDFS-7467. Provide storage tier information for a directory via fsck. (Benoy Antony)
2015-02-25 16:19:35 -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
1aea440560
Fix build because of 946456c6d8
.
2015-02-25 00:48:51 +09:00
Tsuyoshi Ozawa
9cedad11d8
Revert "HADOOP-11602. Fix toUpperCase/toLowerCase to use Locale.ENGLISH. (ozawa)"
...
This reverts commit 946456c6d8
.
Conflicts:
hadoop-common-project/hadoop-common/CHANGES.txt
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/QuotaByStorageTypeEntry.java
2015-02-25 00:32:04 +09: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
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
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
Tsuyoshi Ozawa
946456c6d8
HADOOP-11602. Fix toUpperCase/toLowerCase to use Locale.ENGLISH. (ozawa)
2015-02-19 13:06:53 +09: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
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
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
Tsuyoshi Ozawa
2f0f756b26
HADOOP-11600. Fix up source codes to be compiled with Guava 17.0. (ozawa)
2015-02-17 21:56:20 +09:00
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
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
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
Colin Patrick Mccabe
6b39ad0865
HDFS-7694. FSDataInputStream should support "unbuffer" (cmccabe)
2015-02-12 10:40:46 -08:00
Kihwal Lee
8d7215d40f
Adding missing files from HDFS-7404
2015-02-12 11:17:39 -06: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
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
5dae97a584
HDFS-7723. Quota By Storage Type namenode implemenation. (Contributed by Xiaoyu Yao)
2015-02-11 10:41: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
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
yliu
1b56d1ce32
HADOOP-11510. Expose truncate API via FileContext. (yliu)
2015-02-10 01:45:29 +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
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
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
Colin Patrick Mccabe
09ad9a868a
HADOOP-11498. Bump the version of HTrace to 3.1.0-incubating (Masatake Iwasaki via Colin P. McCabe)
2015-01-30 16:01:59 -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
Jing Zhao
2848db814a
HDFS-3689. Add support for variable length block. Contributed by Jing Zhao.
2015-01-27 12:58:10 -08: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
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
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
d34074e237
HDFS-7575. Upgrade should generate a unique storage ID for each volume. (Contributed by Arpit Agarwal)
2015-01-22 14:08:20 -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
Konstantin V Shvachko
a0521bc83a
HADOOP-11490. Expose truncate API via FileSystem and shell command. Contributed by Milan Desai.
2015-01-21 16:00:49 -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
a17584936c
HDFS-7610. Fix removal of dynamically added DN volumes (Lei (Eddy) Xu via Colin P. McCabe)
2015-01-20 20:11:09 -08:00
Colin Patrick Mccabe
b7f4a3156c
HDFS-7496. Fix FsVolume removal race conditions on the DataNode by reference-counting the volume instances (lei via cmccabe)
2015-01-20 19:05:33 -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
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
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
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
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
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
yliu
5b0d060d2a
HDFS-7323. Move the get/setStoragePolicy commands out from dfsadmin. (jing9 via yliu)
2015-01-12 00:35:43 +08:00
cnauroth
ef3c3a832c
HDFS-7596. NameNode should prune dead storages from storageMap. Contributed by Arpit Agarwal.
2015-01-10 09:18:33 -08:00
Jing Zhao
2a06101e61
HDFS-7182. JMX metrics aren't accessible when NN is busy. Contributed by Ming Ma.
2015-01-09 17:35:57 -08:00
Colin Patrick Mccabe
ae91b13a4b
HADOOP-11470. Remove some uses of obsolete guava APIs from the hadoop codebase (Sangjin Lee via Colin P. McCabe)
2015-01-08 16:09:44 -08:00
cnauroth
7e2d9a3242
HDFS-7579. Improve log reporting during block report rpc failure. Contributed by Charles Lamb.
2015-01-08 15:12:56 -08:00
Tsuyoshi Ozawa
a6ed4894b5
HADOOP-11032. Replace use of Guava's Stopwatch with Hadoop's StopWatch. (ozawa)
2015-01-08 14:51:57 +09:00
Tsuyoshi Ozawa
9886396400
Revert "Replace use of Guava's Stopwatch with Hadoop's StopWatch. (ozawa)" because of missing JIRA's number.
...
This reverts commit 2eba7eb9af
.
2015-01-08 14:35:08 +09:00
Tsuyoshi Ozawa
2eba7eb9af
Replace use of Guava's Stopwatch with Hadoop's StopWatch. (ozawa)
2015-01-08 14:21:30 +09:00
Vinayakumar B
4cd66f7fb2
HDFS-7583. Fix findbug in TransferFsImage.java (Contributed by Vinayakumar B)
2015-01-06 09:31:35 +05:30
Jing Zhao
5caebbae8c
HDFS-7484. Make FSDirectory#addINode take existing INodes as its parameter. Contributed by Jing Zhao.
2014-12-22 23:19:20 -08:00
Vinayakumar B
50ae1a6664
HDFS-7456. De-duplicate AclFeature instances with same AclEntries do reduce memory footprint of NameNode (Contributed by Vinayakumar B)
2014-12-23 12:35:53 +05:30
cnauroth
2cf90a2c33
HDFS-7560. ACLs removed by removeDefaultAcl() will be back after NameNode restart/failover. Contributed by Vinayakumar B.
2014-12-22 13:59:10 -08:00
yliu
7bc0a6d5c2
HDFS-7557. Fix spacing for a few keys in DFSConfigKeys.java (Colin P. McCabe)
2014-12-22 00:49:13 +08:00
Colin Patrick Mccabe
8fa265a290
HDFS-7443. Datanode upgrade to BLOCKID_BASED_LAYOUT fails if duplicate block files are present in the same volume (cmccabe)
2014-12-19 13:18:03 -08:00
Colin Patrick Mccabe
a4876c130f
HDFS-7552. Change FsVolumeList toString() to fix TestDataNodeVolumeFailureToleration (Liang Xie via Colin P. McCabe)
2014-12-19 11:13:04 -08:00
cnauroth
5df7ecb33a
HDFS-7431. log message for InvalidMagicNumberException may be incorrect. Contributed by Yi Liu.
2014-12-18 15:03:52 -08:00
Andrew Wang
b0b9084433
HDFS-7530. Allow renaming of encryption zone roots. Contributed by Charles Lamb.
2014-12-18 14:06:53 -08:00
Haohui Mai
65f2a4ee60
HDFS-7543. Avoid path resolution when getting FileStatus for audit logs. Contributed by Haohui Mai.
2014-12-18 11:25:14 -08:00
Kihwal Lee
c0d666c74e
HDFS-7373. Clean up temporary files after fsimage transfer failures. Contributed by Kihwal Lee
2014-12-18 12:58:59 -06:00
Colin Patrick Mccabe
3b173d9517
HDFS-7531. Improve the concurrent access on FsVolumeList (Lei Xu via Colin P. McCabe)
2014-12-17 16:41:59 -08:00
Haohui Mai
0da1330bfd
HDFS-7528. Consolidate symlink-related implementation into a single class. Contributed by Haohui Mai.
2014-12-17 14:48:30 -08:00
Colin Patrick Mccabe
4281c96e24
HADOOP-11416. Move ChunkedArrayList into hadoop-common (cmccabe)
2014-12-17 10:32:40 -08:00
Haohui Mai
565d72fe6e
HDFS-7536. Remove unused CryptoCodec in org.apache.hadoop.fs.Hdfs. Contributed by Haohui Mai.
2014-12-16 13:26:37 -08:00
Colin Patrick Mccabe
a97a1e7317
HDFS-7494. Checking of closed in DFSInputStream#pread() should be protected by synchronization (Ted Yu via Colin P. McCabe)
2014-12-16 11:07:27 -08:00
Kihwal Lee
b7923a356e
HDFS-6425. Large postponedMisreplicatedBlocks has impact on blockReport latency. Contributed by Ming Ma.
2014-12-16 10:30:22 -06:00
Haohui Mai
832ebd8cb6
HDFS-7506. Consolidate implementation of setting inode attributes into a single class. Contributed by Haohui Mai.
2014-12-15 10:40:33 -08:00
Colin Patrick Mccabe
6e13fc62e1
HDFS-7513. HDFS inotify: add defaultBlockSize to CreateEvent (cmccabe)
2014-12-15 10:30:30 -08:00
Andrew Wang
fa7b9248e4
HDFS-7426. Change nntop JMX format to be a JSON blob.
2014-12-12 17:04:33 -08:00
Jing Zhao
c78e3a7cdd
HDFS-7059. Avoid resolving path multiple times. Contributed by Jing Zhao.
2014-12-12 15:13:35 -08:00
Haohui Mai
46612c7a51
HDFS-7517. Remove redundant non-null checks in FSNamesystem#getBlockLocations. Contributed by Haohui Mai.
2014-12-12 11:51:17 -08:00
Andrew Wang
b437f5eef4
HDFS-7497. Inconsistent report of decommissioning DataNodes between dfsadmin and NameNode webui. Contributed by Yongjun Zhang.
2014-12-11 18:12:47 -08:00
Haohui Mai
b9f6d0c956
HDFS-7515. Fix new findbugs warnings in hadoop-hdfs. Contributed by Haohui Mai.
2014-12-11 12:36:13 -08:00
arp
390642acf3
HDFS-7503. Namenode restart after large deletions can cause slow processReport (Arpit Agarwal)
2014-12-10 23:44:28 -08:00
Haohui Mai
d693a252bd
HDFS-7463. Simplify FSNamesystem#getBlockLocationsUpdateTimes. Contributed by Haohui Mai.
2014-12-10 23:01:17 -08:00
Vinayakumar B
d93f3b9815
HDFS-7481. Add ACL indicator to the 'Permission Denied' exception. (Contributed by Vinayakumar B )
2014-12-10 08:27:15 +05:30
Jing Zhao
5776a41da0
HDFS-7498. Simplify the logic in INodesInPath. Contributed by Jing Zhao.
2014-12-09 11:37:39 -08:00
Colin Patrick Mccabe
d8352b9b2b
Incorrect locking in FsVolumeList#checkDirs can hang datanodes (Noah Lorang via Colin P. McCabe)
2014-12-09 10:56:46 -08:00
Haohui Mai
6c5bbd7a42
HDFS-7486. Consolidate XAttr-related implementation into a single class. Contributed by Haohui Mai.
2014-12-08 11:52:21 -08:00
cnauroth
d555bb2120
HDFS-7473. Document setting dfs.namenode.fs-limits.max-directory-items to 0 is invalid. Contributed by Akira AJISAKA.
2014-12-08 11:04:29 -08:00
cnauroth
ffe942b82c
HDFS-7384. getfacl command and getAclStatus output should be in sync. Contributed by Vinayakumar B.
2014-12-08 10:23:09 -08:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Jing Zhao
3dfd6e68fe
HDFS-7340. Make rollingUpgrade start/finalize idempotent. Contributed by Jing Zhao.
2014-11-04 10:16:37 -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
Suresh Srinivas
237890feab
HDFS-7324. haadmin command usage prints incorrect command name. Contributed by Brahma Reddy Battula.
2014-11-03 13:27:09 -08:00
Kihwal Lee
67f13b58e4
HADOOP-10987. Provide an iterator-based listing API for FileSystem. Contributed by Kihwal Lee.
2014-11-03 08:20:22 -06:00
Tsz-Wo Nicholas Sze
36ccf097a9
HDFS-7276. Limit the number of byte arrays used by DFSOutputStream and provide a mechanism for recycling arrays.
2014-11-01 11:22:13 -07:00
Colin Patrick Mccabe
7b026c50f1
HDFS-6917. Add an hdfs debug command to validate blocks, call recoverlease, etc. (cmccabe)
2014-10-31 13:15:17 -07:00
Ravi Prakash
c7f81dad30
HDFS-7309. XMLUtils.mangleXmlString doesn't seem to handle less than sign. (Colin Patrick McCabe via raviprak)
2014-10-31 11:22:25 -07:00
cnauroth
5573b3476a
HDFS-7313. Support optional configuration of AES cipher suite on DataTransferProtocol. Contributed by Chris Nauroth.
2014-10-30 22:48:25 -07:00
cnauroth
c637d6d9d5
HDFS-6385. Show when block deletion will start after NameNode startup in WebUI. Contributed by Chris Nauroth.
2014-10-30 22:26:35 -07:00
Colin Patrick Mccabe
a9331fe9b0
HDFS-7035. Make adding a new data directory to the DataNode an atomic operation and improve error handling (Lei Xu via Colin P. McCabe)
2014-10-30 17:31:23 -07:00
Andrew Wang
c2866ac34d
HDFS-3342. SocketTimeoutException in BlockSender.sendChunks could have a better error message. Contributed by Yongjun Zhang.
2014-10-30 11:04:10 -07:00
Tao Luo
0126cf16b7
HDFS-7263. Snapshot read can reveal future bytes for appended files. Contributed by Tao Luo.
2014-10-29 20:21:12 -07:00
Jing Zhao
6f5f604a79
HDFS-7305. NPE seen in wbhdfs FS while running SLive. Contributed by Jing Zhao.
2014-10-29 16:25:48 -07:00
Kihwal Lee
3ae84e1ba8
HDFS-7300. HDFS-7300. The getMaxNodesPerRack() method in
...
BlockPlacementPolicyDefault is flawed. contributed by Kihwal Lee
2014-10-29 17:23:34 -05:00
Colin Patrick Mccabe
d33e07dc49
HDFS-7287. The OfflineImageViewer (OIV) can output invalid XML depending on the filename (Ravi Prakash via Colin P. McCabe)
2014-10-29 12:31:59 -07:00
Haohui Mai
675bca2968
HDFS-7280. Use netty 4 in WebImageViewer. Contributed by Haohui Mai.
2014-10-28 16:53:53 -07:00
Colin Patrick Mccabe
ac9ab037e9
HDFS-7235. DataNode#transferBlock should report blocks that don't exist using reportBadBlock (yzhang via cmccabe)
2014-10-28 16:41:22 -07:00
cnauroth
c6f04f391b
HDFS-7291. Persist in-memory replicas with appropriate unbuffered copy API on POSIX and Windows. Contributed by Xiaoyu Yao.
2014-10-28 14:06:27 -07:00
Kihwal Lee
e226b5b40d
HDFS-7213. processIncrementalBlockReport performance degradation.
...
Contributed by Eric Payne.
2014-10-28 14:54:05 -05:00
Kihwal Lee
371a3b87ed
HDFS-6663. Admin command to track file and locations from block id.
...
Contributed by Chen He.
2014-10-28 14:26:04 -05:00
yliu
58c0bb9ed9
HDFS-6606. Optimize HDFS Encrypted Transport performance. (yliu)
2014-10-28 21:11:31 +08:00
Harsh J
0398db19b2
HDFS-6741. Improve permission denied message when FSPermissionChecker#checkOwner fails. Contributed by Stephen Chu and Harsh J. (harsh)
2014-10-28 12:22:37 +05:30
Colin Patrick Mccabe
baf794dc40
HDFS-7278. Add a command that allows sysadmins to manually trigger full block reports from a DN (cmccabe)
2014-10-27 09:53:16 -07:00
cnauroth
463aec1171
HDFS-6934. Move checksum computation off the hot path when writing to RAM disk. Contributed by Chris Nauroth.
2014-10-27 09:38:30 -07:00
Harsh J
0058eadbd3
HDFS-6538. Comment format error in ShortCircuitRegistry javadoc. Contributed by David Luo. (harsh)
2014-10-27 19:24:50 +05:30
Byron Wong
28051e4155
HADOOP-6857. FsShell should report raw disk usage including replication factor. Contributed by Byron Wong.
2014-10-25 12:31:41 -07:00
Colin Patrick Mccabe
a52eb4bc5f
HDFS-6988. Improve HDFS-6581 eviction configuration (Xiaoyu Yao via Colin P. McCabe)
2014-10-24 13:08:59 -07:00
Jitendra Pandey
86ac0d40b8
HDFS-6904. Added files missing in previous commit.
2014-10-24 12:01:09 -07:00
Jitendra Pandey
e2be333744
HDFS-6904. YARN unable to renew delegation token fetched via webhdfs due to incorrect service port.
2014-10-24 11:35:19 -07:00
Haohui Mai
b3d8a642a9
HDFS-7283. Bump DataNode OOM log from WARN to ERROR. Contributed by Stephen Chu.
2014-10-24 10:50:16 -07:00
Haohui Mai
0942c99eba
HDFS-7258. CacheReplicationMonitor rescan schedule log should use DEBUG level instead of INFO level. Contributed by Xiaoyu Yao.
2014-10-23 23:58:32 -07:00
yliu
57dec28807
HDFS-7243. HDFS concat operation should not be allowed in Encryption Zone. (clamb via yliu)
2014-10-24 11:12:18 +08:00
Haohui Mai
670879ef41
HDFS-7257. Add the time of last HA state transition to NN's /jmx page. Contributed by Charles Lamb.
2014-10-23 16:52:58 -07:00
Andrew Wang
86cad007d7
HDFS-7222. Expose DataNode network errors as a metric. (Charles Lamb via wang)
2014-10-23 12:53:01 -07:00
Andrew Wang
8c5b23b547
HDFS-7165. Separate block metrics for files with replication count 1. (Zhe Zhang via wang)
2014-10-23 12:28:02 -07:00
Colin Patrick Mccabe
7b0f9bb258
HDFS-6877. Avoid calling checkDisk when an HDFS volume is removed during a write. (Lei Xu via Colin P. McCabe)
2014-10-22 13:38:26 -07:00
Colin Patrick Mccabe
7aab5fa1bd
HDFS-7154. Fix returning value of starting reconfiguration task (Lei Xu via Colin P. McCabe)
2014-10-20 18:33:11 -07:00
Colin Patrick Mccabe
4799570dfd
HDFS-7266. HDFS Peercache enabled check should not lock on object (awang via cmccabe)
2014-10-20 18:24:53 -07:00
Tsz-Wo Nicholas Sze
2e140523d3
HDFS-7260. Change DFSOutputStream.MAX_PACKETS to be configurable.
2014-10-17 18:30:09 -07:00
Vinayakumar B
368743140d
HDFS-7252. small refinement to the use of isInAnEZ in FSNamesystem. (Yi Liu via vinayakumarb)
2014-10-17 18:03:44 +05:30
Vinayakumar B
1c3ff0b7c8
HDFS-7242. Code improvement for FSN#checkUnreadableBySuperuser. (Contributed by Yi Liu)
2014-10-17 17:48:20 +05:30
Tsz-Wo Nicholas Sze
2894433332
HDFS-5089. When a LayoutVersion support SNAPSHOT, it must support FSIMAGE_NAME_OPTIMIZATION.
2014-10-15 20:56:59 -07:00
Tsz-Wo Nicholas Sze
41980c56d3
HDFS-7208. NN doesn't schedule replication when a DN storage fails. Contributed by Ming Ma
2014-10-15 20:44:24 -07:00
Jing Zhao
18620649f9
HDFS-7185. The active NameNode will not accept an fsimage sent from the standby during rolling upgrade. Contributed by Jing Zhao.
2014-10-15 10:27:30 -07:00
Haohui Mai
128ace10cd
HDFS-7190. Bad use of Preconditions in startFileInternal(). Contributed by Dawson Choong.
2014-10-14 23:42:19 -07:00
Jing Zhao
7dcad84143
HDFS-7228. Add an SSD policy into the default BlockStoragePolicySuite. Contributed by Jing Zhao.
2014-10-14 10:22:34 -07:00
Tsz-Wo Nicholas Sze
f6d0b8892a
HDFS-7237. The command "hdfs namenode -rollingUpgrade" throws ArrayIndexOutOfBoundsException.
2014-10-13 18:28:34 -07:00
cnauroth
1770bb942f
HDFS-7090. Use unbuffered writes when persisting in-memory replicas. Contributed by Xiaoyu Yao.
2014-10-13 10:56:32 -07:00
Haohui Mai
53100318ea
HDFS-6544. Broken Link for GFS in package.html. Contributed by Suraj Nayak M.
2014-10-13 10:33:19 -07:00
Andrew Wang
d3d3d47202
HDFS-7209. Populate EDEK cache when creating encryption zone. (Yi Liu via wang)
2014-10-10 13:40:37 -07:00
Colin Patrick Mccabe
1ceb326933
HDFS-7198. Fix "unchecked conversion" warning in DFSClient#getPathTraceScope (cmccabe)
2014-10-10 13:03:29 -07:00
Aaron T. Myers
cbd21fd13b
HDFS-7026. Introduce a string constant for "Failed to obtain user group info...". Contributed by Yongjun Zhang.
2014-10-09 18:52:48 -07:00
Kihwal Lee
db71bb54bc
HDFS-7217. Better batching of IBRs. Contributed by Kihwal Lee.
2014-10-09 12:07:51 -05:00
Aaron T. Myers
2a51494ce1
HADOOP-11161. Expose close method in KeyProvider to give clients of Provider implementations a hook to release resources. Contribued by Arun Suresh.
2014-10-08 18:01:51 -07:00
Kihwal Lee
853cb704ed
HDFS-7203. Concurrent appending to the same file can cause data
...
corruption. Contributed by Kihwal Lee.
2014-10-08 15:05:34 -05:00
cnauroth
1efd9c9825
HDFS-7112. LazyWriter should use either async IO or one thread per physical disk. Contributed by Xiaoyu Yao.
2014-10-07 20:25:19 -07:00
cnauroth
9b8a35aff6
HDFS-7128. Decommission slows way down when it gets towards the end. Contributed by Ming Ma.
2014-10-07 15:01:09 -07:00
Colin Patrick Mccabe
8dc6abf2f4
HDFS-7194 Fix findbugs "inefficient new String constructor" warning in DFSClient#PATH (yzhang via cmccabe)
2014-10-06 15:29:09 -07:00
Vinayakumar B
ed841dd9a9
HDFS-6995. Block should be placed in the client's 'rack-local' node if 'client-local' node is not available (vinayakumarb)
2014-10-06 14:31:15 +05:30
Colin Patrick Mccabe
7f6ed7fe36
HDFS-7055. Add tracing to DFSInputStream (cmccabe)
2014-10-03 13:35:43 -07:00
Andrew Wang
d2d5a0ea03
HDFS-7179. DFSClient should instantiate a KeyProvider, not a KeyProviderCryptoExtension. (wang)
2014-10-02 13:50:05 -07:00
Colin Patrick Mccabe
dd1b8f2ed8
HDFS-7176. The namenode usage message doesn't include "-rollingupgrade started" (cmccabe)
2014-10-01 14:53:44 -07:00
Haohui Mai
1f5b42ac48
HDFS-7158. Reduce the memory usage of WebImageViewer. Contributed by Haohui Mai.
2014-10-01 10:53:38 -07:00
arp
a45ad330fa
HDFS-7171. Fix Jenkins failures in HDFS-6581 branch. (Arpit Agarwal)
2014-09-30 18:25:20 -07:00
arp
65ef35bbab
Merge branch 'trunk' into HDFS-6581
...
Conflicts:
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSDirectory.java
hadoop-hdfs-project/hadoop-hdfs/src/test/resources/editsStored.xml
2014-09-30 18:20:13 -07:00
arp
9e9e9cf711
HDFS-7153. Add storagePolicy to NN edit log during file creation. (Arpit Agarwal)
2014-09-30 18:10:13 -07:00
arp
dde2ed13c2
Merge branch 'trunk' into HDFS-6581
2014-09-30 18:05:54 -07:00
Jing Zhao
cdf1af0e5a
HDFS-7167. NPE while running Mover if the given path is for a file. Contributed by Jing Zhao.
2014-09-30 11:13:35 -07:00
arp
5e8b697352
HDFS-7129. Metrics to track usage of memory for writes. (Contributed by Xiaoyu Yao)
2014-09-30 00:53:18 -07:00
arp
bb84f1fccb
HDFS-7159. Use block storage policy to set lazy persist preference. (Arpit Agarwal)
2014-09-29 22:27:59 -07:00
arp
7f0422be76
Merge branch 'trunk' into HDFS-6581
2014-09-29 16:29:43 -07:00
Andrew Wang
7f0efe96f8
HDFS-7124. Remove EncryptionZoneManager.NULL_EZ. (clamb via wang)
2014-09-29 14:14:22 -07:00
arp
1e6b4b9b2e
Merge branch 'trunk' into HDFS-6581
2014-09-29 14:01:47 -07:00
Andrew Wang
f0293f11a8
HDFS-7104. Fix and clarify INodeInPath getter functions. Contributed by Zhe Zhang.
2014-09-29 12:58:37 -07:00
arp
d45e7c7e85
HDFS-7153. Add storagePolicy to NN edit log during file creation. (Arpit Agarwal)
2014-09-29 12:36:27 -07:00
arp
9a53c3699b
Merge branch 'trunk' into HDFS-6581
2014-09-28 20:42:56 -07:00
arp
b38e52b5e8
HDFS-7093. Add config key to restrict setStoragePolicy. (Arpit Agarwal)
2014-09-28 19:28:51 -07:00
Konstantin V Shvachko
400e1bb4ef
HDFS-7156. Update fsck documentation. Contributed by Masahiro Yamaguch.
2014-09-27 21:04:23 -07:00
arp
a2d4edacea
HDFS-7155. Bugfix in createLocatedFileStatus caused by bad merge. (Arpit Agarwal)
2014-09-26 16:30:47 -07:00
arp
7060502edb
Merge branch 'trunk' into HDFS-6581
2014-09-26 11:09:03 -07:00
Colin Patrick Mccabe
55302ccfba
HDFS-6956. Allow dynamically changing the tracing level in Hadoop servers (cmccabe)
2014-09-26 10:30:30 -07:00
arp
032e0eba6b
Merge branch 'trunk' into HDFS-6581
...
Conflicts:
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java
2014-09-25 19:50:28 -07:00
Andrew Wang
e96ce6f3e3
HDFS-7077. Separate CipherSuite from crypto protocol version. (wang)
2014-09-25 18:40:40 -07:00
Jing Zhao
e9c37de485
HDFS-7131. During HA upgrade, JournalNode should create a new committedTxnId file in the current directory. Contributed by Jing Zhao.
2014-09-25 17:15:33 -07:00
cnauroth
9f9a2222a2
HDFS-7119. Split error checks in AtomicFileOutputStream#close into separate conditions to improve diagnostics. Contributed by Chris Nauroth.
2014-09-25 13:33:37 -07:00
Colin Patrick Mccabe
1861b32eb5
HDFS-6808. Add command line option to ask DataNode reload configuration. (Lei Xu via Colin McCabe)
2014-09-25 13:11:59 -07:00
arp
364e60b169
HDFS-7144. Fix findbugs warnings in RamDiskReplicaTracker. (Contributed by Tsz Wo Nicholas Sze)
2014-09-25 11:14:24 -07:00
arp
e9edafc731
Merge branch 'trunk' into HDFS-6581
2014-09-25 11:06:25 -07:00
cnauroth
e0b1dc514f
HDFS-7118. Improve diagnostics on storage directory rename operations by using NativeIO#renameTo in Storage#rename. Contributed by Chris Nauroth.
2014-09-25 10:03:59 -07:00
arp
e8e7fbe81a
HDFS-6932. Balancer and Mover tools should ignore replicas on RAM_DISK. (Contributed by Xiaoyu Yao)
2014-09-24 21:08:59 -07:00
arp
feda4733a8
HDFS-7143. Fix findbugs warnings in HDFS-6581 branch. (Contributed by Tsz Wo Nicholas Sze)
2014-09-24 21:06:56 -07:00
arp
b1000fbba4
Merge branch 'trunk' into HDFS-6581
...
Conflicts:
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSDirectory.java
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/INodeFile.java
2014-09-24 20:08:32 -07:00
Jing Zhao
428a76663a
HDFS-7140. Add a tool to list all the existing block storage policies. Contributed by Jing Zhao.
2014-09-24 19:11:16 -07:00
Jing Zhao
073bbd805c
HDFS-7081. Add new DistributedFileSystem API for getting all the existing storage policies. Contributed by Jing Zhao.
2014-09-24 10:05:40 -07:00
arp
bfc7b7e6a0
Merge branch 'trunk' into HDFS-6581
2014-09-23 16:40:35 -07:00
Andrew Wang
f48686a1ad
HDFS-7132. hdfs namenode -metadataVersion command does not honor configured name dirs. Contributed by Charles Lamb.
2014-09-23 14:10:02 -07:00
arp
889122bd55
Merge branch 'trunk' into HDFS-6581
2014-09-22 18:00:58 -07:00
Colin Patrick Mccabe
912ad32b03
HDFS-7106. Reconfiguring DataNode volumes does not release the lock files in removed volumes. (cnauroth via cmccabe)
2014-09-22 11:51:31 -07:00
Andrew Wang
1737950d0f
HDFS-6987. Move CipherSuite xattr information up to the encryption zone root. Contributed by Zhe Zhang.
2014-09-21 21:29:46 -07:00
cnauroth
47491f9a11
HDFS-7107. Avoid Findbugs warning for synchronization on AbstractNNFailoverProxyProvider#fallbackToSimpleAuth. Contributed by Chris Nauroth.
2014-09-20 20:53:09 -07:00
arp
e257b6dbb1
Merge branch 'trunk' into HDFS-6581
2014-09-20 16:13:17 -07:00
Jing Zhao
84a0a629d3
HDFS-7095. Archival Storage: TestStorageMover often fails in Jenkins. Contributed by Jing Zhao.
2014-09-20 13:44:53 -07:00
arp
b2d5ed36bc
HDFS-7100. Make eviction scheme pluggable. (Arpit Agarwal)
2014-09-20 13:25:23 -07:00
arp
09dab88d3e
Merge branch 'trunk' into HDFS-6581
2014-09-20 10:34:45 -07:00
cnauroth
f85cc14eb4
HDFS-7073. Allow falling back to a non-SASL connection on DataTransferProtocol in several edge cases. Contributed by Chris Nauroth.
2014-09-19 21:23:26 -07:00
Kihwal Lee
9e35571965
HDFS-7046. HA NN can NPE upon transition to active. Contributed by
...
Kihwal Lee.
2014-09-19 17:07:06 -05:00
arp
222bf0fe67
Merge branch 'trunk' into HDFS-6581
2014-09-19 10:02:27 -07:00
Kihwal Lee
bf27b9ca57
HDFS-7065. Pipeline close recovery race can cause block corruption.
...
Contributed by Kihwal Lee.
2014-09-19 09:00:13 -05:00
Kihwal Lee
f02d934fed
HDFS-6948. DN rejects blocks if it has older UC block. Contributed by
...
Eric Payne.
2014-09-19 08:50:43 -05:00
arp
f8bbf80067
Merge branch 'trunk' into HDFS-6581
...
Conflicts:
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/StorageType.java
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/protocol/HdfsFileStatus.java
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/protocol/HdfsLocatedFileStatus.java
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/protocolPB/PBHelper.java
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/FsDatasetImpl.java
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSDirectory.java
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSImageFormat.java
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSImageFormatPBINode.java
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/INodeFile.java
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/INodeFileAttributes.java
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNodeLayoutVersion.java
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/snapshot/FSImageFormatPBSnapshot.java
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/web/JsonUtil.java
hadoop-hdfs-project/hadoop-hdfs/src/main/proto/fsimage.proto
hadoop-hdfs-project/hadoop-hdfs/src/main/proto/hdfs.proto
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/DFSTestUtil.java
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/MiniDFSCluster.java
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/namenode/TestFsck.java
2014-09-18 22:26:42 -07:00
arp
e79c98c11f
HDFS-7091. Add forwarding constructor for INodeFile for existing callers. (Arpit Agarwal)
2014-09-18 19:20:25 -07:00
Andrew Wang
8e73084491
HDFS-6840. Clients are always sent to the same datanode when read is off rack. (wang)
2014-09-18 17:49:17 -07:00
Andrew Wang
20a076bafc
HDFS-6970. Move startFile EDEK retries to the DFSClient. (wang)
2014-09-18 17:35:24 -07:00
Colin Patrick Mccabe
fe38d2e9b5
HDFS-6727. Refresh data volumes on DataNode based on configuration changes (Lei Xu via Colin Patrick McCabe)
2014-09-18 16:52:46 -07:00
Tsz-Wo Nicholas Sze
98f7bfe993
Merge branch 'HDFS-6584' into trunk
2014-09-19 07:11:19 +08:00
arp
22295b4783
Merge branch 'trunk' into HDFS-6581
2014-09-18 15:59:37 -07:00
Andrew Wang
70be56d093
HDFS-7003. Add NFS Gateway support for reading and writing to encryption zones. (clamb via wang)
2014-09-18 14:57:25 -07:00
arp
5e4627d0fb
HDFS-7084. FsDatasetImpl#copyBlockFiles debug log can be improved. (Contributed by Xiaoyu Yao)
2014-09-18 11:13:53 -07:00
arp
849ccfa699
Merge branch 'trunk' into HDFS-6581
2014-09-18 11:06:40 -07:00
Jing Zhao
76ccb80fad
HDFS-7088. Archival Storage: fix TestBalancer and TestBalancerWithMultipleNameNodes. Contributed by Tsz Wo Nicholas Sze.
2014-09-18 10:54:01 -07:00
Tsz-Wo Nicholas Sze
2d2b0009e6
Merge branch 'trunk' into HDFS-6584
...
Conflicts:
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSDirectory.java
2014-09-18 13:00:29 +08:00
Andrew Wang
0ecefe6017
HDFS-7078. Fix listEZs to work correctly with snapshots. (wang)
2014-09-17 21:28:05 -07:00
Andrew Wang
10e8602f32
HDFS-7004. Update KeyProvider instantiation to create by URI. (wang)
2014-09-17 20:14:40 -07:00
arp
4eab083b1b
HDFS-7080. Fix finalize and upgrade unit test failures. (Arpit Agarwal)
2014-09-17 15:25:04 -07:00
arp
a186d514bd
Merge branch 'trunk' into HDFS-6581
...
Conflicts:
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSDirectory.java
2014-09-17 15:03:55 -07:00
Jing Zhao
911979c8ab
Merge changes from trunk
2014-09-17 13:12:45 -07:00
Colin Patrick Mccabe
e3803d002c
HDFS-6843. Create FileStatus isEncrypted() method (clamb via cmccabe)
2014-09-17 12:55:35 -07:00
arp
24f8156886
Merge branch 'trunk' into HDFS-6581
2014-09-17 12:10:50 -07:00
Andrew Wang
ea4e2e843e
HDFS-6705. Create an XAttr that disallows the HDFS admin from accessing a file. (clamb via wang)
2014-09-17 11:23:47 -07:00
Jing Zhao
b014e83bc5
HDFS-6864. Archival Storage: add user documentation. Contributed by Tsz Wo Nicholas Sze.
2014-09-17 09:40:17 -07:00
Alejandro Abdelnur
e14e71d5fe
HADOOP-11096. KMS: KeyAuthorizationKeyProvider should verify the keyversion belongs to the keyname on decrypt. (tucu)
2014-09-16 23:20:35 -07:00
Tsz-Wo Nicholas Sze
bd2e409de1
HDFS-7072. Fix TestBlockManager and TestStorageMover. Contributed by Jing Zhao
2014-09-17 13:48:32 +08:00
arp
a24a9331d4
Merge branch 'trunk' into HDFS-6581
2014-09-16 18:18:09 -07:00
Jing Zhao
432b863719
Merge changes from trunk
2014-09-16 17:58:39 -07:00
Jing Zhao
2e4033e872
HDFS-7052. Archival Storage: Add Mover into hdfs script. Contributed by Jing Zhao.
2014-09-16 17:52:28 -07:00
Andrew Wang
33ce887c20
HDFS-6851. Refactor EncryptionZoneWithId and EncryptionZone. (clamb via wang)
2014-09-16 16:41:09 -07:00
arp
4603e4481f
HDFS-7064. Fix unit test failures in HDFS-6581 branch. (Contributed by Xiaoyu Yao)
2014-09-16 15:45:07 -07:00
arp
e0d7fb48fb
Merge branch 'trunk' into HDFS-6581
...
Conflicts:
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/DFSOutputStream.java
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/protocol/datatransfer/Receiver.java
2014-09-16 14:32:57 -07:00
Colin Patrick Mccabe
56119fec96
HDFS-6880. Adding tracing to DataNode data transfer protocol (iwasakims via cmccabe)
2014-09-16 13:59:32 -07:00
Kihwal Lee
0c26412be4
HDFS-6965. NN continues to issue block locations for DNs with full
...
disks. Contributed by Rushabh Shah.
2014-09-16 09:04:54 -05:00
arp
a7814e1aa4
Merge branch 'trunk' into HDFS-6581
2014-09-15 15:30:19 -07:00
arp
a4dcbaa332
HDFS-7066. LazyWriter#evictBlocks misses a null check for replicaState. (Contributed by Xiaoyu Yao)
2014-09-15 15:28:17 -07:00
Andrew Wang
43b0303008
HDFS-7032. Add WebHDFS support for reading and writing to encryption zones. Contributed by Charles Lamb.
2014-09-15 10:23:57 -07:00
Jing Zhao
2689b6ca72
HDFS-7062. Archival Storage: skip under construction block for migration. Contributed by Jing Zhao.
2014-09-15 10:16:56 -07:00
arp
9f22fb8c9a
HDFS-6978. Directory scanner should correctly reconcile blocks on RAM disk. (Arpit Agarwal)
2014-09-12 22:13:18 -07:00
arp
7aeda47bd9
Merge branch 'trunk' into HDFS-6581
2014-09-12 11:45:11 -07:00
Jing Zhao
dc27ee9ae9
HDFS-7039. Archival Storage: fix Balancer tests. Contributed by Tsz Wo Nicholas Sze.
2014-09-11 14:19:18 -07:00
Jing Zhao
8de20a1987
Merge trunk into HDFS-6584
2014-09-11 13:04:35 -07:00
Jing Zhao
0d85f7e591
HDFS-7034. Archival Storage: Fix TestBlockPlacement and TestStorageMover. Contributed by Jing Zhao.
2014-09-11 13:00:43 -07:00
cnauroth
80ac6aabce
HDFS-7042. Upgrade fails for Windows HA cluster due to file locks held during rename in JournalNode. Contributed by Chris Nauroth.
2014-09-11 12:16:19 -07:00
Andrew Wang
1e684995d7
HDFS-7045. Fix NameNode deadlock when opening file under /.reserved path. Contributed by Yi Liu.
2014-09-11 10:59:09 -07:00
Andrew Wang
d1dab6cc63
HDFS-6621. Hadoop Balancer prematurely exits iterations. Contributed by Rafal Wodjdyla and Benjamin Bowman.
2014-09-11 10:32:20 -07:00
Tsz-Wo Nicholas Sze
70dfe9cfab
Merge branch 'trunk' into HDFS-6584
2014-09-11 15:23:38 +08:00
Jing Zhao
db41a1b7b9
Merge changes from trunk
2014-09-09 22:47:50 -07:00
Alejandro Abdelnur
bbff44cb03
HDFS-6776. Using distcp to copy data between insecure and secure cluster via webdhfs doesn't work. (yzhangal via tucu)
2014-09-09 22:16:42 -07:00
Tsz-Wo Nicholas Sze
4124905aa5
HDFS-7028: FSDirectory should not get storage policy id from symlinks
2014-09-10 12:34:15 +08:00
arp
0d2f6b4600
Merge branch 'trunk' into HDFS-6581
2014-09-09 18:07:18 -07:00
Konstantin V Shvachko
05af0ff4be
Revert HDFS-6940.
2014-09-09 17:30:10 -07:00
cnauroth
2749fc677c
Newly moved block replica been invalidated and deleted in TestBalancer. Contributed by Binglin Chang.
2014-09-09 11:32:54 -07:00
arp
61ccd50362
Merge branch 'trunk' into HDFS-6581
...
Conflicts:
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNodeLayoutVersion.java
2014-09-08 22:44:04 -07:00
arp
f949f6b548
HDFS-6981. Fix DN upgrade with layout version change. (Arpit Agarwal)
2014-09-08 21:20:55 -07:00
Andrew Wang
04915a0814
HDFS-6951. Correctly persist raw namespace xattrs to edit log and fsimage. Contributed by Charles Lamb.
2014-09-08 16:59:30 -07:00
Jing Zhao
6997c1c658
Merge remote-tracking branch 'origin/trunk' into HDFS-6584
2014-09-08 15:15:34 -07:00
arp
4ff128af12
Merge branch 'trunk' into HDFS-6581
2014-09-08 15:00:01 -07:00
Jing Zhao
867f0f141c
HDFS-7029. Archival Storage: fix TestDFSInotifyEventInputStream and TestDistributedFileSystem. Contributed by Tsz Wo Nicholas Sze.
2014-09-08 14:57:27 -07:00
arp
a18caf7753
HDFS-6991. Notify NN of evicted block before deleting it from RAM disk. (Arpit Agarwal)
2014-09-08 14:29:30 -07:00
Jing Zhao
74a7e227c8
HDFS-7027. Archival Storage: Mover does not terminate when some storage type is out of space. Contributed by Tsz Wo Nicholas Sze.
2014-09-08 14:21:26 -07:00
Jing Zhao
2b5c528a73
HDFS-6875. Archival Storage: support migration for a list of specified paths. Contributed by Jing Zhao.
2014-09-08 14:10:00 -07:00
Allen Wittenauer
d989ac0444
MAPREDUCE-5972. Fix typo 'programatically' in job.xml (and a few other places) (Akira AJISAKA via aw)
2014-09-08 13:15:46 -07:00
Colin Patrick Mccabe
cad14aa916
HDFS-6036. Forcibly timeout misbehaving DFSClients that try to do no-checksum reads that extend too long. (cmccabe)
2014-09-08 12:51:56 -07:00
Kihwal Lee
6a84f88c11
HDFS-7005. DFS input streams do not timeout. Contributed by Daryn Sharp.
2014-09-08 14:41:44 -05:00
Haohui Mai
c1f8323234
HDFS-6943. Improve NN allocateBlock log to include replicas' datanode IPs. Contributed by Ming Ma.
2014-09-08 11:07:23 -07:00
arp
ccdf0054a3
HDFS-6977. Delete all copies when a block is deleted from the block space. (Arpit Agarwal)
2014-09-08 10:35:54 -07:00
Tsz-Wo Nicholas Sze
f1432e2424
Merge branch 'trunk' into HDFS-6584
...
Conflicts:
hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockManager.java
2014-09-08 10:54:48 +08:00
arp
eb8284d50e
Merge trunk into HDFS-6581
...
Conflicts:
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/FsVolumeSpi.java
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/datanode/TestDirectoryScanner.java
2014-09-07 14:46:46 -07:00
arp
d1fa58292e
HDFS-6898. DN must reserve space for a full block when an RBW block is created. (Contributed by Arpit Agarwal)
2014-09-06 21:04:29 -07:00
Tsz-Wo Nicholas Sze
22a41dce4a
HDFS-6997: add more tests for data migration and replicaion.
2014-09-07 07:44:28 +08:00
arp
31bbeaf383
Merge remote-tracking branch 'apache-commit/trunk' into HDFS-6581
2014-09-06 12:28:22 -07:00
Konstantin V Shvachko
88209ce181
HDFS-6940. Refactoring to allow ConsensusNode implementation.
...
Contributed by Konstantin Shvachko.
2014-09-06 12:07:52 -07:00
Alejandro Abdelnur
3b35f81603
HDFS-6986. DistributedFileSystem must get delegation tokens from configured KeyProvider. (zhz via tucu)
2014-09-05 22:33:48 -07:00
arp
339d21f273
Merge trunk into HDFS-6581
...
Conflicts:
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNodeLayoutVersion.java
2014-09-05 21:36:25 -07:00
Jing Zhao
300cb12bef
Merge trunk into HDFS-6584
2014-09-05 11:37:22 -07:00
arp
9e941d9f99
HDFS-6831. Inconsistency between 'hdfs dfsadmin' and 'hdfs dfsadmin -help'. (Contributed by Xiaoyu Yao)
2014-09-05 10:45:54 -07:00
Jing Zhao
c6107f566f
HDFS-6376. Distcp data between two HA clusters requires another configuration. Contributed by Dave Marion and Haohui Mai.
2014-09-05 10:40:02 -07:00
Jing Zhao
185200e709
HDFS-6876. Archival Storage: support set/get storage policy in DFSAdmin. Contributed by Jing Zhao.
2014-09-04 20:14:46 -07:00
Jing Zhao
6104520369
HDFS-6886. Use single editlog record for creating file + overwrite. Contributed by Yi Liu.
2014-09-04 18:54:38 -07:00
Jing Zhao
f7df24bb1b
HDFS-6996. SnapshotDiff report can hit IndexOutOfBoundsException when there are nested renamed directory/file. Contributed by Jing Zhao.
2014-09-04 16:12:44 -07:00
Jing Zhao
e08701ec71
HDFS-6961. Archival Storage: BlockPlacementPolicy#chooseTarget should check each valid storage type in each choosing round.
2014-09-04 14:19:32 -07:00
Colin Patrick Mccabe
f4caedfcbf
HDFS-6959 Make the HDFS home directory location customizable. Contributed by Yongjun Zhang
2014-09-03 19:30:30 -07:00
arp
3a0142bd77
HDFS-6848. Lack of synchronization on access to datanodeUuid in DataStorage#format. (Contributed by Xiaoyu Yao)
2014-09-03 17:17:06 -07:00
Jing Zhao
45d5b13256
Merge changes from trunk
2014-09-03 15:36:47 -07:00
arp
cb9b485075
HDFS-6930. Improve replica eviction from RAM disk. (Arpit Agarwal)
2014-09-03 13:53:01 -07:00
arp
08a8f2be81
Merge trunk into HDFS-6581
2014-09-03 10:53:37 -07:00
Uma Maheswara Rao G
3425ae5d7e
HDFS-2975. Rename with overwrite flag true can make NameNode to stuck in safemode on NN (crash + restart). (Yi Liu via umamahesh)
2014-09-03 18:53:51 +05:30
arp
a6b32a3e78
Merge trunk into HDFS-6581
2014-09-02 16:25:32 -07:00
Haohui Mai
08a9ac7098
HDFS-6942. Fix typos in log messages. Contributed by Ray Chiang.
2014-09-02 16:22:18 -07:00
Colin Patrick Mccabe
727331becc
HDFS-4257. The ReplaceDatanodeOnFailure policies could have a forgiving option. Contributed by szetszwo.
2014-09-02 15:14:33 -07:00
Andrew Wang
a0ccf83dfd
HDFS-6954. With crypto, no native lib systems are too verbose. Contributed by Charles Lamb.
2014-09-02 14:22:20 -07:00
Andrew Wang
faa4455be5
HDFS-6634. inotify in HDFS. Contributed by James Thomas.
2014-09-02 14:02:29 -07:00
Jing Zhao
3e2a0b5446
HDFS-6969. Archival Storage: INode#getStoragePolicyID should always return the latest storage policy. Contributed by Jing Zhao.
2014-09-01 17:56:04 -07:00
arp
f65183eba3
Merge remote-tracking branch 'apache-commit/trunk' into HDFS-6581
...
Conflicts:
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/datanode/fsdataset/impl/FsDatasetImpl.java
2014-08-29 13:37:17 -07:00
Aaron T. Myers
7eab2a29a5
HDFS-6774. Make FsDataset and DataStore support removing volumes. Contributed by Lei Xu.
2014-08-29 13:00:17 -07:00
arp
4ae8178c56
HDFS-6800. Support Datanode layout changes with rolling upgrade. (Contributed by James Thomas)
2014-08-29 00:26:13 -07:00
arp
c92837aeab
HDFS-6931. Move lazily persisted replicas to finalized directory on DN startup. (Arpit Agarwal)
2014-08-28 23:13:46 -07:00
arp
4cf9afacbe
HDFS-6960. Bugfix in LazyWriter, fix test case and some refactoring. (Arpit Agarwal)
2014-08-28 23:05:32 -07:00
arp
7e32be8768
Merge remote-tracking branch 'apache-commit/trunk' into HDFS-6581
...
Conflicts:
hadoop-common-project/hadoop-common/CHANGES.txt
2014-08-28 19:06:46 -07:00
Todd Lipcon
ab638e77b8
HDFS-6865. Byte array native checksumming on client side. Contributed by James Thomas.
2014-08-28 16:44:09 -07:00
arp
2e987148e0
HDFS-6929. NN periodically unlinks lazy persist files with missing replicas from namespace. (Arpit Agarwal)
2014-08-27 21:47:19 -07:00
arp
eb448e1439
HDFS-6926. DN support for saving replicas to persistent storage and evicting in-memory replicas. (Arpit Agarwal)
2014-08-27 21:47:19 -07:00
arp
a317bd7b02
HDFS-6925. DataNode should attempt to place replicas on transient storage first if lazyPersist flag is received. (Arpit Agarwal)
2014-08-27 21:47:19 -07:00
arp
c2354a7f81
HDFS-6923. Propagate LazyPersist flag to DNs via DataTransferProtocol. (Arpit Agarwal)
2014-08-27 21:47:18 -07:00
arp
042b33f20b
HDFS-6922. Add LazyPersist flag to INodeFile, save it in FsImage and edit logs. (Arpit Agarwal)
2014-08-27 21:47:18 -07:00
arp
7f49537ba1
HDFS-6924. Add new RAM_DISK storage type. (Arpit Agarwal)
2014-08-27 21:47:18 -07:00
arp
a7bcc95358
HDFS-6921. Add LazyPersist flag to FileStatus. (Arpit Agarwal)
2014-08-27 21:47:18 -07:00
Jing Zhao
a26aa6bd07
HDFS-6944. Archival Storage: add retry and termination logic for Mover. Contributed by Jing Zhao.
2014-08-27 14:20:54 -07:00
Colin Patrick Mccabe
6962510f72
HDFS-6879. Adding tracing to Hadoop RPC. Contributed by Masatake Iwasaki.
2014-08-27 14:12:05 -07:00
Jing Zhao
b7ded466b0
HDFS-6920. Archival Storage: check the storage type of delNodeHintStorage when deleting a replica. Contributed by Tsz Wo Nicholas Sze.
2014-08-27 14:08:02 -07:00
Colin Patrick Mccabe
b6b95ff667
HDFS-6902. FileWriter should be closed in finally block in BlockReceiver#receiveBlock() (Tsuyoshi OZAWA via Colin Patrick McCabe)
2014-08-27 13:49:31 -07:00
Colin Patrick Mccabe
225569ece2
HDFS-4486. Add log category for long-running DFSClient notices. Contributed by Zhe Zhang.
2014-08-27 13:39:40 -07:00
Haohui Mai
26ebdd849b
HDFS-6938. Cleanup javac warnings in FSNamesystem. Contributed by Charles Lamb.
2014-08-27 11:14:39 -07:00
Jing Zhao
8ea20b53a8
HDFS-6911. Archival Storage: check if a block is already scheduled in Mover. Contributed by Tsz Wo Nicholas Sze.
2014-08-27 10:38:10 -07:00
Jing Zhao
555900a9dc
Merge branch 'trunk' into HDFS-6584
2014-08-27 10:32:30 -07:00
Jing Zhao
6b441d227a
HDFS-6908. Incorrect snapshot directory diff generated by snapshot deletion. Contributed by Juan Yu and Jing Zhao.
2014-08-27 10:26:22 -07:00
Arpit Agarwal
e871955765
HDFS-6899. Allow changing MiniDFSCluster volumes per DN and capacity per volume. (Arpit Agarwal)
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1619970 13f79535-47bb-0310-9956-ffa450edef68
2014-08-23 06:01:17 +00:00
Arpit Agarwal
e6c3650070
HDFS-6829. DFSAdmin refreshSuperUserGroupsConfiguration failed in security cluster. (Contributed by zhaoyunjiong)
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1619882 13f79535-47bb-0310-9956-ffa450edef68
2014-08-22 18:14:55 +00:00
Alejandro Abdelnur
3aa3b0abc2
HDF-6905. fs-encryption merge triggered release audit failures. (clamb via tucu)
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1619667 13f79535-47bb-0310-9956-ffa450edef68
2014-08-22 05:17:22 +00:00
Jing Zhao
e69954d22c
HDFS-6906. Archival Storage: Add more tests for BlockStoragePolicy. Contributed by Tsz Wo Nicholas Sze.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-6584@1619628 13f79535-47bb-0310-9956-ffa450edef68
2014-08-21 23:42:33 +00:00
Jing Zhao
603cbe5eea
HDFS-6863. Archival Storage: Support migration for snapshot paths. Contributed by Jing Zhao.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-6584@1619627 13f79535-47bb-0310-9956-ffa450edef68
2014-08-21 23:41:10 +00:00
Tsz-wo Sze
c92d869d02
Merge r1609845 through r1619277 from trunk.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-6584@1619293 13f79535-47bb-0310-9956-ffa450edef68
2014-08-21 05:22:10 +00:00
Arpit Agarwal
6824abc19e
HDFS-6758. Block writer should pass the expected block size to DataXceiverServer (Arpit Agarwal)
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1619275 13f79535-47bb-0310-9956-ffa450edef68
2014-08-21 01:13:49 +00:00
Chris Nauroth
8304001861
HDFS-6858. Allow dfs.data.transfer.saslproperties.resolver.class default to hadoop.security.saslproperties.resolver.class. Contributed by Benoy Antony.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1619256 13f79535-47bb-0310-9956-ffa450edef68
2014-08-20 22:46:35 +00:00
Andrew Wang
834fccf02b
Merge from trunk to branch
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/fs-encryption@1619194 13f79535-47bb-0310-9956-ffa450edef68
2014-08-20 18:19:13 +00:00
Jing Zhao
f20d363126
HDFS-6870. Blocks and INodes could leak for Rename with overwrite flag. Contributed by Yi Liu.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1619192 13f79535-47bb-0310-9956-ffa450edef68
2014-08-20 18:13:03 +00:00
Andrew Wang
d2a39b61aa
Merge from trunk to branch.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/fs-encryption@1619018 13f79535-47bb-0310-9956-ffa450edef68
2014-08-20 01:22:42 +00:00
Tsz-wo Sze
4e324bcd3d
Merge r1609845 through r1618763 from trunk.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-6584@1618764 13f79535-47bb-0310-9956-ffa450edef68
2014-08-18 23:41:53 +00:00
Brandon Li
2fb04d2a30
HDFS-6569. OOB message can't be sent to the client when DataNode shuts down for upgrade. Contributed by Brandon Li
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1618742 13f79535-47bb-0310-9956-ffa450edef68
2014-08-18 21:23:08 +00:00
Arpit Agarwal
1b5139b29a
HDFS-6188. An ip whitelist based implementation of TrustedChannelResolver. (Contributed by Benoy Antony)
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1618727 13f79535-47bb-0310-9956-ffa450edef68
2014-08-18 20:50:06 +00:00
Andrew Wang
0cc08f6da4
Merge from trunk to branch.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/fs-encryption@1618700 13f79535-47bb-0310-9956-ffa450edef68
2014-08-18 18:41:31 +00:00
Andrew Wang
bd616552cc
HDFS-6825. Edit log corruption due to delayed block removal. Contributed by Yongjun Zhang.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1618684 13f79535-47bb-0310-9956-ffa450edef68
2014-08-18 18:08:42 +00:00
Jing Zhao
5d5aae0694
HDFS-6801. Archival Storage: Add a new data migration tool. Contributed by Tsz Wo Nicholas Sze.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-6584@1618675 13f79535-47bb-0310-9956-ffa450edef68
2014-08-18 17:51:18 +00:00
Arpit Agarwal
1c77c80410
HDFS-6783. Addendum patch to fix test failures. (Contributed by Yi Liu)
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1618635 13f79535-47bb-0310-9956-ffa450edef68
2014-08-18 15:34:58 +00:00
Tsz-wo Sze
cb75b6b07d
Merge r1609845 through r1618416 from trunk.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-6584@1618417 13f79535-47bb-0310-9956-ffa450edef68
2014-08-16 21:02:21 +00:00
Tsz-wo Sze
9b250d74f0
HDFS-6847. Support storage policy on directories and include storage policy in HdfsFileStatus. Contributed by Jing Zhao
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-6584@1618416 13f79535-47bb-0310-9956-ffa450edef68
2014-08-16 20:58:20 +00:00
Charles Lamb
20dcb841ce
HDFS-6546. Add non-superuser capability to get the encryption zone for a specific path. (clamb)
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/fs-encryption@1618022 13f79535-47bb-0310-9956-ffa450edef68
2014-08-14 19:11:06 +00:00
Uma Maheswara Rao G
44864c68b5
HDFS-6783. Fix HDFS CacheReplicationMonitor rescan logic. Contributed by Yi Liu and Colin Patrick McCabe.
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1617872 13f79535-47bb-0310-9956-ffa450edef68
2014-08-14 04:20:00 +00:00
Vinayakumar B
195961a7c1
HDFS-6247. Avoid timeouts for replaceBlock() call by sending intermediate responses to Balancer (vinayakumarb)
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1617799 13f79535-47bb-0310-9956-ffa450edef68
2014-08-13 18:43:05 +00:00
Vinayakumar B
6554994fab
Reverted
...
Merged revision(s) 1617784 from hadoop/common/trunk:
HDFS-6847. Avoid timeouts for replaceBlock() call by sending intermediate responses to Balancer (Contributed by Vinayakumar B.)
........
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1617794 13f79535-47bb-0310-9956-ffa450edef68
2014-08-13 18:36:51 +00:00
Vinayakumar B
471b1368e2
HDFS-6847. Avoid timeouts for replaceBlock() call by sending intermediate responses to Balancer (Contributed by Vinayakumar B.)
...
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1617784 13f79535-47bb-0310-9956-ffa450edef68
2014-08-13 18:06:33 +00:00