Commit Graph

7327 Commits

Author SHA1 Message Date
Chen Liang
a0f51ee3d7 HDFS-11850. Ozone: Stack Overflow in XceiverClientManager because of race condition in accessing openClient. Contributed by Mukul Kumar Singh. 2018-04-26 05:34:18 -07:00
Weiwei Yang
ae5242accb HDFS-11830. Ozone: Datanode needs to re-register to SCM if SCM is restarted. Contributed by Weiwei Yang. 2018-04-26 05:34:18 -07:00
Tsz-Wo Nicholas Sze
877e751c84 HDFS-11843. Ozone: XceiverClientRatis should implement XceiverClientSpi.connect(). 2018-04-26 05:34:18 -07:00
Chen Liang
4fb9064523 HDFS-11835. Block Storage: Overwrite of blocks fails. Contributed by Mukul Kumar Singh. 2018-04-26 05:34:18 -07:00
Xiaoyu Yao
ca70300eea HDFS-11775. Ozone: KSM: add createBucket. Contributed by Nandakumar Vadivelu. 2018-04-26 05:34:18 -07:00
Weiwei Yang
e9d09c209e HDFS-11824. Ozone: Fix javac warnings. Contributed by Yiqun Lin. 2018-04-26 05:34:18 -07:00
Xiaoyu Yao
7f0be64284 HDFS-11831. Ozone: Improve the way of getting test file path in unit tests for Windows. Contributed by Yiqun Lin. 2018-04-26 05:34:18 -07:00
Anu Engineer
c9e6d4378d HDFS-11769. Ozone: KSM: Add createVolume API. Contributed by Mukul Kumar Singh. 2018-04-26 05:34:18 -07:00
Xiaoyu Yao
9c9be9f7f7 HDFS-11693. Ozone:Add archive support to containers. Contributed by Anu Engineer. 2018-04-26 05:34:18 -07:00
Chen Liang
162dac96ce HDFS-11650. Ozone: fix the consistently timeout test testUpgradeFromRel22Image. Contributed by Chen Liang. 2018-04-26 05:34:18 -07:00
Chen Liang
dfb0dab966 HDFS-11694. Block Storage: Add Support for 2 BlockIDBuffers and also for periodic flush of BlockIDBuffer. Contributed by Mukul Kumar Singh 2018-04-26 05:34:18 -07:00
Xiaoyu Yao
821740e4d3 HDFS-11815. CBlockManager#main should join() after start() service. Contributed by Chen Liang. 2018-04-26 05:34:18 -07:00
Xiaoyu Yao
a6013e2b5b HDFS-11805. Ensure LevelDB DBIterator is closed. Contributed by Chen Liang. 2018-04-26 05:34:18 -07:00
Xiaoyu Yao
b592df6413 HDFS-11811. Ozone: SCM: Support Delete Block. Contributed by Xiaoyu Yao. 2018-04-26 05:34:18 -07:00
Chen Liang
9bc494b909 HDFS-11802. Ozone : add DEBUG CLI support for open container db file. Contributed by Chen Liang 2018-04-26 05:34:18 -07:00
Anu Engineer
edff6c6a24 HDFS-11768. Ozone: KSM: Create Key Space manager service. Contributed by Anu Engineer. 2018-04-26 05:34:18 -07:00
Chen Liang
169713f3f3 HDFS-11788. Ozone : add DEBUG CLI support for nodepool db file. Contributed by Chen Liang 2018-04-26 05:34:18 -07:00
Anu Engineer
070960ed8a HDFS-11798. Ozone: Correct description for ozone.handler.type in ozone-default.xml. Contributed by Mukul Kumar Singh. 2018-04-26 05:34:18 -07:00
Anu Engineer
744a052dc2 HDFS-11783. Ozone: Fix spotbugs warnings. Contributed by Weiwei Yang. 2018-04-26 05:34:18 -07:00
Weiwei Yang
4be9710712 HDFS-11680. Ozone: SCM CLI: Implement info container command. Contributed by Yuanbo Liu. 2018-04-26 05:34:18 -07:00
Chen Liang
9fcaeceb54 HDFS-11756. Ozone : add DEBUG CLI support of blockDB file. Contributed by Chen Liang 2018-04-26 05:34:18 -07:00
Weiwei Yang
c18229f0df HDFS-11716. Ozone: SCM: CLI: Revisit delete container API. Contributed by Weiwei Yang. 2018-04-26 05:34:18 -07:00
Anu Engineer
67c81a8b18 HDFS-11761. Ozone: Get container report should only report closed containers. Contributed by Weiwei Yang. 2018-04-26 05:34:18 -07:00
Weiwei Yang
fc9130f6c5 HDFS-11759. Ozone : SCMNodeManager#close() should also close node pool manager object. Contributed by Chen Liang. 2018-04-26 05:34:18 -07:00
Anu Engineer
d9be9a8c30 HDFS-11698. Ozone: SCM: CLI: Add Debug command. Contributed by Chen Liang. 2018-04-26 05:34:18 -07:00
Anu Engineer
a28557ac03 HDFS-11712. Ozone: Reuse ObjectMapper instance to improve the performance. Contributed by Yiqun Lin. 2018-04-26 05:34:18 -07:00
Anu Engineer
ee8708ca31 HDFS-11747. Ozone : need to fix OZONE_SCM_DEFAULT_PORT. Contributed by Chen Liang. 2018-04-26 05:34:18 -07:00
Weiwei Yang
3158f479d3 HDFS-11725. Ozone: Revise create container CLI specification and implementation. Contributed by Weiwei Yang 2018-04-26 05:34:18 -07:00
Weiwei Yang
b581cde542 HDFS-11728. Ozone: add the DB names to OzoneConsts. Contributed by Chen Liang. 2018-04-26 05:34:18 -07:00
Anu Engineer
6b3da448eb HDFS-11675. Ozone: SCM CLI: Implement delete container command. Contributed by Weiwei Yang. 2018-04-26 05:34:18 -07:00
Chen Liang
e9588c6422 HDFS-11627. Block Storage: Cblock cache should register with flusher to upload blocks to containers. Contributed by Mukul Kumar Singh. 2018-04-26 05:34:18 -07:00
Chen Liang
668b056984 HDFS-11667. Block Storage:Handling flushing of incomplete block id buffers during shutdown. Contributed by Mukul Kumar Singh. 2018-04-26 05:34:18 -07:00
Xiaoyu Yao
1a245accb5 HDFS-11668. Ozone: misc improvements for SCM CLI. Contributed by Weiwei Yang. 2018-04-26 05:34:18 -07:00
Yiqun Lin
5984d40b86 HDFS-11666. Ozone: Fix compile error due to inconsistent package name. Contributed by Yiqun Lin. 2018-04-26 05:34:18 -07:00
Xiaoyu Yao
a9ba8b5ded HDFS-11504. Ozone: SCM: Add Block APIs. Contributed by Xiaoyu Yao. 2018-04-26 05:34:18 -07:00
Weiwei Yang
720e5c40f6 HDFS-11649. Ozone: SCM: CLI: Add shell code placeholder classes. Contributed by Chen Liang. 2018-04-26 05:34:18 -07:00
Anu Engineer
6c4bd1647c HDFS-11581. Ozone: Support force delete a container. Contributed by Yuanbo Liu. 2018-04-26 05:34:18 -07:00
Anu Engineer
d3f93d55d9 HDFS-11631. Block Storage : allow cblock server to be started from hdfs commandline. Contributed by Chen Liang. 2018-04-26 05:34:18 -07:00
Anu Engineer
05b12c48cf HDFS-11657. Ozone: Add unit test for storage container metrics. Contributed by Yiqun Lin. 2018-04-26 05:34:18 -07:00
Anu Engineer
783b7c27b1 HDFS-11582. Block Storage : add SCSI target access daemon. Contributed by Chen Liang. 2018-04-26 05:34:18 -07:00
Anu Engineer
7d4a2d4104 HDFS-11569. Ozone: Implement listKey function for KeyManager. Contributed by Weiwei Yang. 2018-04-26 05:34:18 -07:00
Chen Liang
cbb7cc26a5 HDFS-11642. Block Storage: fix TestCBlockCLI and TestCBlockServerPersistence cleanup. Contributed by Xiaoyu Yao. 2018-04-26 05:34:18 -07:00
Chen Liang
5b19a03f63 HDFS-11635. Block Storage: Add metrics for Container Flushes. Contributed by Mukul Kumar Singh. 2018-04-26 05:34:18 -07:00
Xiaoyu Yao
2129c6b276 HDFS-11062. Ozone:SCM: Remove null command. Contributed by Yuanbo Liu. 2018-04-26 05:34:18 -07:00
Chen Liang
b7463924af HDFS-11618. Block Storage: Add Support for Direct I/O. Contributed by Mukul Kumar Singh. 2018-04-26 05:34:18 -07:00
Anu Engineer
57b2a9b17d HDFS-11006. Ozone: support setting chunk size in streaming API. Contributed by Yiqun Lin. 2018-04-26 05:34:18 -07:00
Anu Engineer
cd361fa490 HDFS-11625. Ozone: Fix UT failures that caused by hard coded datanode data dirs. Contributed by Weiwei Yang. 2018-04-26 05:34:18 -07:00
Anu Engineer
7573a0bc61 HDFS-11620. Ozone: Allocate container for MiniOzone cluster fails because of insufficient space error. Contributed by Mukul Kumar Singh. 2018-04-26 05:34:18 -07:00
Anu Engineer
fadfe37019 HDFS-11619. Ozone: Unit tests running failed in Windows. Contributed by Yiqun Lin. 2018-04-26 05:34:18 -07:00
Anu Engineer
aa16380d71 HDFS-11566. Ozone: Document missing metrics for container operations. Contributed by Yiqun Lin. 2018-04-26 05:34:18 -07:00
Anu Engineer
82d814fa79 HDFS-11564. Ozone: SCM: Add Comparable Metric Support. Contributed by Anu Engineer. 2018-04-26 05:34:18 -07:00
Anu Engineer
68da45a789 HDFS-11519. Ozone: Implement XceiverServerSpi and XceiverClientSpi using Ratis. Contributed by Tsz Wo Nicholas Sze. 2018-04-26 05:34:18 -07:00
Chen Liang
3966f42895 HDFS-11591. Block Storage: fix TestCBlockServer test cleanup. Contributed by Xiaoyu Yao 2018-04-26 05:34:18 -07:00
Anu Engineer
7c59add3da HDFS-11594. Ozone: close container should call compactDB. Contributed by Anu Engineer. 2018-04-26 05:34:18 -07:00
Xiaoyu Yao
bc9c313907 HDFS-11567. Ozone: SCM: Support update container. Contributed by Weiwei Yang. 2018-04-26 05:34:18 -07:00
Xiaoyu Yao
17a6e62629 HDFS-11537. Block Storage : add cache layer. Contributed by Chen Liang. 2018-04-26 05:34:18 -07:00
Anu Engineer
3598d4b8cf HDFS-11548. Ozone: SCM: Add node pool management API. Contributed by Xiaoyu Yao 2018-04-26 05:34:18 -07:00
Anu Engineer
dc8e73a7d5 HDFS-11355. Block Storage : Merge configuration into ozone configuration classes. Contributed by Chen Liang. 2018-04-26 05:34:18 -07:00
Anu Engineer
860a4e0044 HDFS-11550. Ozone: Add a check to prevent removing a container that has keys in it. Contributed by Weiwei Yang. 2018-04-26 05:34:18 -07:00
Anu Engineer
23044c1db8 HDFS-11361. Block Storage: add cache interface. Contributed by Chen Liang. 2018-04-26 05:34:18 -07:00
Anu Engineer
d251a55ff9 HDFS-11559. Ozone: MiniOzoneCluster prints too many log messages by default. Contributed by Tsz Wo Nicholas Sze. 2018-04-26 05:34:18 -07:00
Anu Engineer
1e892f5748 HDFS-11162. Block Storage: add command line tool. Contributed by Chen Liang. 2018-04-26 05:34:18 -07:00
Anu Engineer
85c2312e7d HDFS-11492. Ozone: Add the ability to handle sendContainerReport Command. Contributed by Anu Engineer. 2018-04-26 05:34:18 -07:00
Anu Engineer
98d3360e3a HDFS-11444. Ozone: Fix datanode ID handling in MiniOzoneCluster. Contributed by Weiwei Yang. 2018-04-26 05:34:18 -07:00
Xiaoyu Yao
88371ff07f HDFS-11491. Ozone: SCM: Add close container RPC. Contributed by Anu Engineer. 2018-04-26 05:34:18 -07:00
Anu Engineer
932423211f HDFS-11469. Ozone: SCM: Container allocation based on node report. Contributed by Xiaoyu Yao. 2018-04-26 05:34:18 -07:00
Xiaoyu Yao
fc7d678d3d HDFS-11071. Ozone: SCM: Move SCM config keys to ScmConfig. Contributed by Weiwei Yang. 2018-04-26 05:34:18 -07:00
Tsz-Wo Nicholas Sze
7b7d186b82 HDFS-11513. Ozone: Separate XceiverServer and XceiverClient into interfaces and implementations. 2018-04-26 05:34:18 -07:00
Anu Engineer
1058aa2523 HDFS-10928. Ozone:SCM: Support MXBean for SCM and NodeManager. Contributed by Weiwei Yang. 2018-04-26 05:34:18 -07:00
Anu Engineer
386dbc11da HDFS-11196. Ozone: Improve logging and error handling in the container layer. Contributed by Anu Engineer. 2018-04-25 15:55:06 -07:00
Anu Engineer
32cc2b8f1a HDFS-11509. Ozone: Fix TestEndpoint test regression. Contributed by Anu Engineer. 2018-04-25 15:54:56 -07:00
Anu Engineer
9c57a61f68 HDFS-11424. Block Storage: add container representation to meta data. Contributed Chen Liang. 2018-04-25 15:54:56 -07:00
Anu Engineer
3e1317de02 HDFS-11451. Ozone: Add protobuf definitions for container reports. Contributed by Anu Engineer. 2018-04-25 15:54:56 -07:00
Anu Engineer
02fb9aed32 HDFS-11158. Ozone: TestDatanodeStateMachine is failing intermittently. Contributed by Weiwei Yang. 2018-04-25 15:54:56 -07:00
Anu Engineer
753979865b HDFS-11137. Ozone: SCM: Add negative tests cases for datanodeStatemachine. Contributed by Weiwei Yang. 2018-04-25 15:54:42 -07:00
Anu Engineer
d55564143d HDFS-11484. Ozone: Fix flaky TestNodeManager#testScmNodeReportUpdate. Contributed by Xiaoyu Yao. 2018-04-25 15:54:42 -07:00
Anu Engineer
a2328d36ac HDFS-11480. Ozone: TestEndpoint task failure. Contributed by Xiaoyu Yao. 2018-04-25 15:54:42 -07:00
Anu Engineer
2cba0daddc HDFS-11425. Ozone: add client-facing container APIs and container references. Contributed by Chen Liang. 2018-04-25 15:54:42 -07:00
Anu Engineer
56f011fd02 HDFS-11447. Ozone: SCM: Send node report to SCM with heartbeat.Contributed by Xiaoyu Yao. 2018-04-25 15:54:41 -07:00
Anu Engineer
f4529316bd HDFS-11474. Ozone: TestContainerMapping needs to cleanup levelDB files.Contributed by Xiaoyu Yao. 2018-04-25 15:54:36 -07:00
Anu Engineer
b29ae6e5f7 HDFS-11473. Ozone : exclude cblock protobuf files from findbugs check. Contributed by Xiaoyu Yao. 2018-04-25 15:54:36 -07:00
Anu Engineer
b8b72241aa HDFS-11036. Ozone: reuse Xceiver connection. Contributed by Chen Liang. 2018-04-25 15:54:36 -07:00
Arpit Agarwal
754ed7d651 HDFS-11414. Ozone : move StorageContainerLocation protocol to hdfs-client. Contributed by Chen Liang. 2018-04-25 15:54:34 -07:00
Anu Engineer
bb410de10c HDFS-11184. Ozone: SCM: Make SCM use container protocol. Contributed by Anu Engineer. 2018-04-25 15:54:26 -07:00
Anu Engineer
c169dd1306 HDFS-11463. Ozone: Add metrics for container operations and export over JMX. Contributed by Mukul Kumar Singh. 2018-04-25 15:54:03 -07:00
Anu Engineer
a7f82cba71 HDFS-11154. Block Storage: store server state to persistent storage. Contributed by Chen Liang 2018-04-25 15:53:58 -07:00
Anu Engineer
9997d36eb6 HDFS-11138. Block Storage: add block storage server. Contributed by Chen Liang 2018-04-25 15:53:58 -07:00
Anu Engineer
48db56adea HDFS-11133. Ozone: Add allocateContainer RPC. Contributed by Anu Engineer 2018-04-25 15:53:58 -07:00
Anu Engineer
ca12aac5a4 HDFS-11126. Ozone: Add small file support RPC. Contributed by Anu Engineer. 2018-04-25 15:53:58 -07:00
Anu Engineer
05b44e1ad8 HDFS-11108. Ozone: use containers with the state machine. Contributed by Anu Engineer 2018-04-25 15:53:56 -07:00
Anu Engineer
8bd85268e6 HDFS-11081. Ozone:SCM: Add support for registerNode in datanode. Contributed by Anu Engineer. 2018-04-25 15:53:50 -07:00
Anu Engineer
2b8b3754f6 HDFS-11130. Block Storage : Add storage client to server protocol. Contributed by Chen Lian 2018-04-25 15:53:49 -07:00
Anu Engineer
3d83ee25c5 HDFS-11127. Block Storage : add block storage service protocol. Contributed by Chen Liang 2018-04-25 15:53:43 -07:00
Anu Engineer
8274ff356a HDFS-11103. Ozone: Cleanup some dependencies. Contributed by Anu Engineer. 2018-04-25 15:53:39 -07:00
Anu Engineer
e49e305f25 HDFS-11001. Ozone:SCM: Add support for registerNode in SCM. Contributed by Anu Engineer. 2018-04-25 15:53:34 -07:00
Anu Engineer
964daed853 fix a build break due to merge 2018-04-25 15:53:34 -07:00
Anu Engineer
b186fc81f7 HDFS-10938. Ozone:SCM: Add datanode protocol. Contributed by Anu Engineer. 2018-04-25 15:53:32 -07:00
Anu Engineer
ee119ff60a HDFS-11004. Ozone : move Chunk IO and container protocol calls to hdfs-client. Contributed by Chen Liang. 2018-04-25 15:53:27 -07:00
Anu Engineer
ed84388fca HDFS-10912. Ozone:SCM: Add chill mode support to NodeManager. Contributed by Anu Engineer. 2018-04-25 15:53:27 -07:00
Anu Engineer
5520f73dee Fixing merge conflicts due to HDFS-10637 2018-04-25 15:53:27 -07:00