648 Commits

Author SHA1 Message Date
Doroszlai, Attila
4345e6e10f
[HDDS-1351] NoClassDefFoundError when running ozone genconf (). Contributed by Doroszlai Attila.
This closes #659.

(cherry picked from commit 7dc0ecc446e3e58a795a925b3546b6d328b4eb02)
2019-03-29 09:03:38 -07:00
Xiaoyu Yao
f8f85fcc31
HDDS-1318. Fix MalformedTracerStateStringException on DN logs. Contributed by Xiaoyu Yao.
This closes #641 

(cherry picked from commit ca5e4ce0367228bc0ac032c4654d3deb7493316b)
2019-03-28 12:01:45 -07:00
Xiaoyu Yao
5f8ded542a
HDDS-1346. Remove hard-coded version ozone-0.5.0 from ReadMe of ozonesecure-mr docker-compose. Contributed by Xiaoyu Yao.
This closes #652.

(cherry picked from commit 8a59efee34107517bf6ad6dfb9b4342098e2f847)
2019-03-27 21:53:31 -07:00
Shweta Yakkali
299177eaa7
HDDS-139. Output of createVolume can be improved. Contributed by Shweta.
(cherry picked from commit f426b7ce8fb33d57e4187484448b9e0bfc04ccfa)
2019-03-26 19:03:09 -07:00
Ajay Yadav
447d53476a
HDDS-939. Add S3 access check to Ozone manager. Contributed by Ajay Kumar. (#634)
(cherry picked from commit 82d477293c879ed4529efe2b5e8d138e09bbce3c)
2019-03-26 09:02:15 -07:00
Shashikant Banerjee
eed623ad61 HDDS-1317. KeyOutputStream#write throws ArrayIndexOutOfBoundsException when running RandomWrite MR examples. Contributed by Shashikant Banerjee. 2019-03-25 15:45:26 +05:30
Xiaoyu Yao
8d1c218428
HDDS-1299. Support TokenIssuer interface for running jobs with OzoneFileSystem. Contributed by Xiaoyu Yao.
This closes #627.

(cherry picked from commit 6a34c9bb29dc3e0370b63b63f26229e3dc90cc13)
2019-03-23 09:36:56 -07:00
Xiaoyu Yao
9b989c49c9 HDDS-1291. Set OmKeyArgs#refreshPipeline flag properly to avoid reading from stale pipeline. Contributed by Xiaoyu Yao. (#639)
(cherry picked from commit dea6f2a065271d2e37eda05bbcb98fb1bb5ed2a6)
2019-03-22 15:09:22 -07:00
Arpit Agarwal
6d73e7bdf4
HDDS-1323. Ignore unit test TestFailureHandlingByClient. Contributed by Supratim Deka.
(cherry picked from commit 1d389ecb24482c2c4b41df898e8f9bc937cc524d)
2019-03-22 11:30:50 -07:00
Arpit Agarwal
8f422d7b5e
HDDS-1320. Update ozone to latest ratis snapshot build (0.4.0-1fc5ace-SNAPSHOT). Contributed by Mukul Kumar Singh.
(cherry picked from commit 90afc9ab0382d45083dca1434f02936985798e48)
2019-03-21 14:27:07 -07:00
Arpit Agarwal
6c009a3d04
HDDS-1321. TestOzoneManagerHttpServer depends on hard-coded port numbers. Contributed by Arpit Agarwal. (#633)
Change-Id: I9656af4a7f41812da9d125c10ae0e8daf3dcf7f5
(cherry picked from commit 2828f8c339d7a03bd2bedf99c7700a3bbeec3a34)
2019-03-21 14:21:05 -07:00
Xiaoyu Yao
b2c63c3ce1
HDDS-1246. Add ozone delegation token utility subcmd for Ozone CLI. Contributed by Xiaoyu Yao. (#594)
(cherry picked from commit 5cfb88a225157366e194fc7fb2e20141b1ad24db)
2019-03-20 19:09:25 -07:00
Hanisha Koneru
598c16c1fc
HDDS-1072. Implement RetryProxy and FailoverProxy for OM client.
(cherry picked from commit 12402b7a74a9069230ebfdc9e5c2ee0e28a23990)
2019-03-20 17:53:06 -07:00
Bharat Viswanadham
3edb697a37
HDDS-1307. Test ScmChillMode testChillModeOperations failed. (#622)
HDDS-1307. Test ScmChillMode testChillModeOperations failed. Contributed by Bharat Viswanadham. (#622)

(cherry picked from commit 1639071b054d120d8b99f34b4deed837d3afa11f)
2019-03-19 13:58:00 -07:00
Xiaoyu Yao
a55a295c7a HDDS-1215. Change hadoop-runner and apache/hadoop base image to use Java8. Contributed by Xiaoyu Yao.
This closes #615

(cherry picked from commit 992489c11ca6710466266250a3933e0281ac4d35)
2019-03-19 09:57:50 -07:00
Ajay Yadav
d2e115d8c8 HDDS-1119. DN get OM certificate from SCM CA for block token validation. Contributed by Ajay Kumar. (#601)
(cherry picked from commit f10d49332522beca7cb7342e68b2acdbe4c974f8)
2019-03-18 23:11:36 -07:00
Xiaoyu Yao
6fd95b8595 HDDS-1296. Fix checkstyle issue from Nightly run. Contributed by Xiaoyu Yao. (#616)
(cherry picked from commit 66a104bc57242b2817e8c1f67cb6776e70cf5c47)
2019-03-18 09:39:05 -07:00
Elek, Márton
a009255723 HDDS-1283. Fix the dynamic documentation of basic s3 client usage. Contributed by Elek, Marton. (#605)
(cherry picked from commit 16b78622ccf641e3805a0d78be9c1c3e20f97f6a)
2019-03-15 14:13:08 -07:00
Xiaoyu Yao
3ca1024eec HDDS-1138. Ozone Client should avoid talking to SCM directly. Contributed by Xiaoyu Yao and Mukul Kumar Singh.
Closes #585 

(cherry picked from commit d1afa038044f6aaec43551571caae567b2bf4139)
2019-03-15 10:42:09 -07:00
Elek, Márton
522976e405 HDDS-1259. OzoneFS classpath separation is broken by the token validation. Contributed by Elek Marton.
Closes #604 

(cherry picked from commit dc21655f2a477196ccc5173666b73d11865eeaf5)
2019-03-15 10:05:11 -07:00
Márton Elek
3fd9c0db17 HDDS-807. Period should be an invalid character in bucket names. Contributed by Siddharth Wagle.
(cherry picked from commit c449cdebe68fb5fe2a7bd83715f6c3f4d5b523d9)
2019-03-15 10:04:50 -07:00
Shashikant Banerjee
8bd13ffa10 HDDS-1098. Introduce Retry Policy in Ozone Client. Contributed by Shashikant Banerjee.
(cherry picked from commit 155ab6d5d8ab4a80019e65351572320502d8a510)
2019-03-15 15:47:56 +05:30
Vivek Ratnavel Subramanian
64726dd8fe
HDDS-761. Create S3 subcommand to run S3 related operations.
Closes #579

(cherry picked from commit 90015084850298803d8e165a0f6f9719ba724ea3)
2019-03-14 21:19:48 -07:00
Vivek Ratnavel Subramanian
c00e704496
HDDS-1265. ozone sh s3 getsecret throws Null Pointer Exception for unsecured clusters.
Closes #611

(cherry picked from commit 2627dad333eb88011b854fe163d70e79163e33f8)
2019-03-14 17:22:21 -07:00
Mukul Kumar Singh
8e66b6220b HDDS-1237. Fix test TestSecureContainerServer.testClientServerRatisGrpc. Contributed by Mukul Kumar Singh.
(cherry picked from commit 983b78afdc8939d0d2116f23837d958e6b5d9e46)
2019-03-14 17:03:07 +05:30
Mukul Kumar Singh
f38a8a9630 HDDS-1241. Update ozone to latest ratis snapshot build (0.4.0-5680cf5-SNAPSHOT). Contributed by Mukul Kumar Singh.
(cherry picked from commit ea9fb07fd22417ab22d231531277d9ffe07814a2)
2019-03-14 15:25:22 +05:30
Ajay Yadav
0f4ae392d7 HDDS-1254. Fix failure in TestOzoneManagerHttpServer & TestStorageContainerManagerHttpServer. Contributed by Ajay Kumar. (#598)
(cherry picked from commit 4fa009989bd641388aeb9b1bd9c90e9ddbfe84c0)
2019-03-13 12:02:17 -07:00
Aravindan Vijayan
34f0ad064d HDDS-1209. Fix the block allocation logic in SCM when client wants to exclude all available open containers in a chosen pipeline.
Signed-off-by: Nanda kumar <nanda@apache.org>
(cherry picked from commit 1f47fb7a2fa9bfb9fd2a7ca5c9f1128fabc32784)
2019-03-13 17:14:51 +05:30
Lokesh Jain
b5b3f4d823 HDDS-1128. Create stateful manager class for the pipeline creation scheduling.
Signed-off-by: Nanda kumar <nanda@apache.org>
(cherry picked from commit 0d62753da9650c2d3470ff4572734241ecaa6a71)
2019-03-13 16:47:04 +05:30
Ajay Yadav
15b6e38ddf
HDDS-1043. Enable token based authentication for S3 api
Closes #561

(cherry picked from commit dcb0de848d8388fcee425847e52f6361790225c6)
2019-03-12 18:54:59 +01:00
Mukul Kumar Singh
97fd3025a4 HDDS-1095. OzoneManager#openKey should do multiple block allocations in a single SCM rpc call. Contributed by Mukul Kumar Singh.
(cherry picked from commit daf4660eebfa9267e7082f7c9a14c3dd5d6d5d46)
2019-03-12 20:03:36 +05:30
Shashikant Banerjee
4373c12701 HDDS-1173. Fix a data corruption bug in BlockOutputStream. Contributed by Shashikant Banerjee.
(cherry picked from commit b4aa24d3c5ad1b9309a58795e4b48e567695c4e4)
2019-03-12 10:21:14 +05:30
Xiaoyu Yao
e673bebcfe HDDS-1245. OM delegation expiration time should use Time.now instead … (#587)
Closes #587.

(cherry picked from commit c7307867f0d28dbb11e2194ff885da8269e4fb42)
2019-03-11 21:20:57 -07:00
Ajay Yadav
6028aefb57 HDDS-596. Add robot test for OM Block Token. Contributed by Ajay Kumar.
This closes (#581)

(cherry picked from commit 599e926d462134aa3235311feb27f3a8cdff6a51)
2019-03-11 15:02:43 -07:00
Xiaoyu Yao
1050bf42fa HDDS-1236. Fix incorrect Ozone ClientProtocol KerberosInfo annotation. Contributed by Xiaoyu Yao. (#573)
(cherry picked from commit 4fc493e511dacc41628925bdcb3506cd944346e6)
2019-03-11 11:51:38 -07:00
Xiaoyu Yao
fe41e67ba4 Revert "HDDS-1236. Fix incorrect Ozone ClientProtocol KerberosInfo annotation. Contributed by Xiaoyu Yao. (#573)"
This reverts commit 89fb60ffd07e0ea21c6fb431eacc9a575360fb93.
2019-03-11 11:50:34 -07:00
Xiaoyu Yao
89fb60ffd0 HDDS-1236. Fix incorrect Ozone ClientProtocol KerberosInfo annotation. Contributed by Xiaoyu Yao. (#573)
(cherry picked from commit 4fc493e511dacc41628925bdcb3506cd944346e6)
2019-03-11 09:22:29 -07:00
Mukul Kumar Singh
aa9de9a0fa HDDS-1210. Ratis pipeline creation doesn't check raft client reply status during initialization. Contributed by Mukul Kumar Singh.
(cherry picked from commit 2c3ec37738544107238f75d0ca781fd23bdc309b)
2019-03-11 14:57:45 +05:30
Lokesh Jain
60b5e178e3 HDDS-1220. KeyManager#openKey should release the bucket lock before doing an allocateBlock. Contributed by Lokesh Jain.
(cherry picked from commit ebb5fa115b842a3bcb747e881ca2a8fe4c716d07)
2019-03-11 14:56:51 +05:30
Bharat Viswanadham
e65717af25
HDDS-1242. In S3 when bucket already exists, it should just return location.
(cherry picked from commit 73e1801b2db928d165e4cf076e1ba50ec1e8b48a)
2019-03-09 21:48:46 -08:00
Elek, Márton
118986cde7
HDDS-1213. Support plain text S3 MPU initialization request.
(cherry picked from commit c072458e5d1ec88c8e4d76cd09623083b8ccfc03)
2019-03-08 10:15:30 -08:00
Vivek Ratnavel Subramanian
62ab3425dc
HDDS-1226. ozone-filesystem jar missing in hadoop classpath
Closes #560

(cherry picked from commit 475011bbf8b58a10457fe0c68a8e18edc5bf1623)
2019-03-07 14:46:01 +01:00
Vivek Ratnavel Subramanian
67a26ac793
HDDS-1093. Configuration tab in OM/SCM ui is not displaying the correct values.
(cherry picked from commit a55fc362999f269efa1b6304438148aef3c03ed8)
2019-03-07 14:45:51 +01:00
Márton Elek
9cd3fe49cf
HDDS-1113. Remove default dependencies from hadoop-ozone project. Contributed by Elek, Marton.
Closes #490

(cherry picked from commit 45f976fdcf1d8cbcdcbcc4783c9f13fddae1c429)
2019-03-07 14:44:34 +01:00
Ajay Kumar
5502da4ae2
HDDS-1216. Change name of ozoneManager service in docker compose files to om.
Closes #553

(cherry picked from commit 9d87247af30757fbf521a4b432149846790364c5)
2019-03-07 14:41:28 +01:00
Márton Elek
a50ffd8d05
HDDS-1222. Remove TestContainerSQLCli unit test stub. Contributed by Elek, Marton. 2019-03-07 14:35:59 +01:00
Shashikant Banerjee
b99ae7b4e2 HDDS-935. Avoid creating an already created container on a datanode in case of disk removal followed by datanode restart. Contributed by Shashikant Banerjee.
(cherry picked from commit 5fcea54a50753a37b61f0e3c6be5a0236f95861a)
2019-03-07 14:26:38 +05:30
Elek, Márton
8d906d7217 HDDS-919. Enable prometheus endpoints for Ozone datanodes (#502)
Pull request from Elek, Márton. (#502)

(cherry picked from commit 7f636b47b5e430e340c8fd731fd9e35e22f9ddbf)
2019-03-05 12:15:56 -08:00
Anu Engineer
6eb79815fa HDDS-1171. Add benchmark for OM and OM client in Genesis.
Contributed by Lokesh Jain.

(cherry picked from commit 7fd890116ab941d51b28cf84b01330b6e33c9b18)
2019-03-05 11:55:26 -08:00
Arpit Agarwal
c57e1ddd63
HDDS-1218. Do the dist-layout-stitching for Ozone after the test-compile phase. Contributed by Marton Elek.
(cherry picked from commit 3ef1235215c68e9f0aff8e17643c52838fa363a3)
2019-03-05 10:27:15 -08:00