Browse Source

#2772: [Fix-9352][datasource-api]data source client uses a cache with an expiration time (#9353)

* datasource client cache with expiration time

* remove unused import

* fixed unit test

* fix

* fix

* fix

* fix

* fix

* fix

* fix
git-as-svn/v1/dev
zhuxt2015 3 years ago committed by GitHub
parent
commit
e338ca868d
  1. 2
      commit.ref
  2. 175
      commit.yml

2
commit.ref

@ -1 +1 @@
Subproject commit 70dae6945f126414e36ffc28c99e1bf6e2ac7428 Subproject commit 206b7c1c51e84f2e937748bc94191b23f95298e9

175
commit.yml

@ -2,40 +2,145 @@
branches: { branches: {
} }
fileChange: fileChange:
/dolphinscheduler-dao: /dolphinscheduler-datasource-plugin:
newFile: !uuid 'a4d39c3834bc8bf50b7753ace3636fe5c961d9a0' newFile: !uuid '54f004564080a644e3b7b1cbe26cc5c98f59d3fc'
oldFile: !uuid 'be12bf7d4893a6b66c966c82f6e693153238273b' oldFile: !uuid '0833fce8f1e7903a3c0f1ac2ada9e36a58fd8dd5'
/dolphinscheduler-dao/src: /dolphinscheduler-datasource-plugin/dolphinscheduler-datasource-api:
newFile: !uuid 'fe4d9f3c0bcb6a16f4d2d291fede38dbd9537dea' newFile: !uuid '55103da2521549ac1e72021d34cc280c6b3e029a'
oldFile: !uuid '003629c629ca015568ae5cf1c4cfbdf507593569' oldFile: !uuid '59c819f16a7a0e672518470d0bf5234773421141'
/dolphinscheduler-dao/src/main: /dolphinscheduler-datasource-plugin/dolphinscheduler-datasource-api/src:
newFile: !uuid '1dcf51b140a63910e5650f5f6d2aed1f56697e3b' newFile: !uuid 'f4f18ae358cc07863a1983acc7cc192a23199296'
oldFile: !uuid '9fb7c1d2e8079576d8c9579f29cdef7aa5f8a7d0' oldFile: !uuid 'eec8a073426f698d27e5ad1b1781027ae6c637b5'
/dolphinscheduler-dao/src/main/resources: /dolphinscheduler-datasource-plugin/dolphinscheduler-datasource-api/src/main:
newFile: !uuid 'd42971a1162cc8bbe9807a98e2021a1cb2cdc713' newFile: !uuid '3d86713ec4b29f8c93bd8832bf4386999e1707a2'
oldFile: !uuid 'ea17cd8d1e1f765929155991165743d373e96741' oldFile: !uuid 'dc7377f8b96ad57260bd00268eb9b4ba782a9cea'
/dolphinscheduler-dao/src/main/resources/sql: /dolphinscheduler-datasource-plugin/dolphinscheduler-datasource-api/src/main/java:
newFile: !uuid 'c94fc93ce517a4ed18c82eba942c2c484f63ccf3' newFile: !uuid '0ab527a66be4e8545c4b86406ccbec1c453b2f25'
oldFile: !uuid 'b980a9b0a24fd51d93faecd86407bdfb2df30eae' oldFile: !uuid '1a781a5bc84617318606c41fe37d34905f21eb1f'
/dolphinscheduler-dao/src/main/resources/sql/upgrade: /dolphinscheduler-datasource-plugin/dolphinscheduler-datasource-api/src/main/java/org:
newFile: !uuid '7968c73c14f666e4a13499f579c2d04f76c96167' newFile: !uuid 'a1929960b2613b6fb4a26c566ee4c404452a0316'
oldFile: !uuid '00d4ab7e6f0566da6887c9ab885aeba110117abc' oldFile: !uuid '569e0a220e7a6f792f61364434b5f2ef2158096d'
/dolphinscheduler-dao/src/main/resources/sql/upgrade/2.0.4_schema: /dolphinscheduler-datasource-plugin/dolphinscheduler-datasource-api/src/main/java/org/apache:
newFile: !uuid '3e9465808fb6c491ea66aa37e35d264bdacaf30e' newFile: !uuid '0519723c35923a93d15c4ed5f96c1bfa1d426e6c'
oldFile: !uuid '385060d96a1ccc0396d0754c9e00a01cc2363cbb' oldFile: !uuid 'f47edcea98b781955caa67cc54be73f2012d49d8'
/dolphinscheduler-dao/src/main/resources/sql/upgrade/2.0.4_schema/mysql: /dolphinscheduler-datasource-plugin/dolphinscheduler-datasource-api/src/main/java/org/apache/dolphinscheduler:
newFile: !uuid '7575dcf434eb7e64d66f10bad23a0b49a1e31886' newFile: !uuid '3de79529014ef0d0baafff2ea017dec891fe1c52'
oldFile: !uuid '2939f18945a5a427a3f73d9fd5b2de57e048fd26' oldFile: !uuid 'c587f1cd936c1b70ab96c92df4f072e1a9ce49a5'
/dolphinscheduler-dao/src/main/resources/sql/upgrade/2.0.4_schema/mysql/dolphinscheduler_dml.sql: /dolphinscheduler-datasource-plugin/dolphinscheduler-datasource-api/src/main/java/org/apache/dolphinscheduler/plugin:
newFile: !uuid '4a14f326b985fdbdba5cb08b9d7822d5bc8d4225' newFile: !uuid '467ee20e508e344c49529f8c803994900257c54b'
oldFile: !uuid '06d8fcb465178fc6cea936c23813a39fa5b2dd31' oldFile: !uuid 'e4ec2c79d30052ab5c0bb086e2fcf4f2f6b402f9'
/dolphinscheduler-dao/src/main/resources/sql/upgrade/2.0.4_schema/postgresql: ? /dolphinscheduler-datasource-plugin/dolphinscheduler-datasource-api/src/main/java/org/apache/dolphinscheduler/plugin/datasource
newFile: !uuid '5b8ff8cbc3cf4b5457a77d190ee98fdcdb81af90' : newFile: !uuid 'ce65e2ef07e6da56e790981c0ad466f472c588c2'
oldFile: !uuid '710c6d854a811904a024426cb64b2438ab2cf4c7' oldFile: !uuid 'edbe4cd4f526f3f9f68583e34755feabf6e7aec7'
/dolphinscheduler-dao/src/main/resources/sql/upgrade/2.0.4_schema/postgresql/dolphinscheduler_dml.sql: ? /dolphinscheduler-datasource-plugin/dolphinscheduler-datasource-api/src/main/java/org/apache/dolphinscheduler/plugin/datasource/api
newFile: !uuid '4a14f326b985fdbdba5cb08b9d7822d5bc8d4225' : newFile: !uuid '3015e70c488cf557d26a9d909738d264a28f054d'
oldFile: !uuid '06d8fcb465178fc6cea936c23813a39fa5b2dd31' oldFile: !uuid '752e46950d4f61d5dfa7d7829326a8ababe07466'
gitCommitId: !uuid '70dae6945f126414e36ffc28c99e1bf6e2ac7428' ? /dolphinscheduler-datasource-plugin/dolphinscheduler-datasource-api/src/main/java/org/apache/dolphinscheduler/plugin/datasource/api/plugin
: newFile: !uuid '04d4899c035a009738e7fbb17f8fd5efbc4456dc'
oldFile: !uuid 'ac40973426f8ab18412b07de1ec1a9f50d46a109'
? /dolphinscheduler-datasource-plugin/dolphinscheduler-datasource-api/src/main/java/org/apache/dolphinscheduler/plugin/datasource/api/plugin/DataSourceClientProvider.java
: newFile: !uuid '6c2f8b1ac6a5fa2be6adc6b1f4a40de0a377fd7f'
oldFile: !uuid 'fb17a0da8afd6e8b43d5912ac6015fea333d3c96'
/dolphinscheduler-datasource-plugin/dolphinscheduler-datasource-api/src/test:
newFile: !uuid 'e155fe628753e4600d059290fd9cd69d4c9671b1'
oldFile: !uuid '00cd8dd1d3a59f5c60095a265425126e7de6185f'
/dolphinscheduler-datasource-plugin/dolphinscheduler-datasource-api/src/test/java:
newFile: !uuid 'acda93b9464adcbb69237d16dd5a4e4183f649f9'
oldFile: !uuid '2314f2de388f0210701ea91a383a6ed6bc8227f1'
/dolphinscheduler-datasource-plugin/dolphinscheduler-datasource-api/src/test/java/org:
newFile: !uuid 'bf001fe1831b3a940a92a9fbc9b9c3fde914cb26'
oldFile: !uuid '10d1dfce556466a41bbcdd26483f75aea04d2bf3'
/dolphinscheduler-datasource-plugin/dolphinscheduler-datasource-api/src/test/java/org/apache:
newFile: !uuid 'c7fcc4804a7eeb5a12ce1994790c3c7be97c2402'
oldFile: !uuid '40fc751134ee16b12206b5734f1ad0ea5366e3bd'
/dolphinscheduler-datasource-plugin/dolphinscheduler-datasource-api/src/test/java/org/apache/dolphinscheduler:
newFile: !uuid 'dc69839f1cc3c743c3def70d6db98b8ee5115bf9'
oldFile: !uuid '571fb456d7d58463ed8b1eb47313934068f00e77'
/dolphinscheduler-datasource-plugin/dolphinscheduler-datasource-api/src/test/java/org/apache/dolphinscheduler/plugin:
newFile: !uuid 'f65479e96e8cc3e09346b6fa1f85fda57dfa2ae6'
oldFile: !uuid '55e8f8a971363d38f323a88ad73d0ae5a6611470'
? /dolphinscheduler-datasource-plugin/dolphinscheduler-datasource-api/src/test/java/org/apache/dolphinscheduler/plugin/datasource
: newFile: !uuid '3066831bb445b4eddd916cee7e7c1ce44eeaf56e'
oldFile: !uuid '47d299331e66690ea1e897a1ab5438b418f263a2'
? /dolphinscheduler-datasource-plugin/dolphinscheduler-datasource-api/src/test/java/org/apache/dolphinscheduler/plugin/datasource/api
: newFile: !uuid '96582dbd3565343870d7265cad45a25f9f6aa180'
oldFile: !uuid 'ddbb89ce8f37ffd72f01f855f9fb44dc4ff5ac04'
? /dolphinscheduler-datasource-plugin/dolphinscheduler-datasource-api/src/test/java/org/apache/dolphinscheduler/plugin/datasource/api/utils
: newFile: !uuid '87fa1396a518e6f5bb1ce6251a520ac37a6017e5'
oldFile: !uuid 'd1b53f46b9ef2bbfa67ac418d41321fe03bfbf76'
? /dolphinscheduler-datasource-plugin/dolphinscheduler-datasource-api/src/test/java/org/apache/dolphinscheduler/plugin/datasource/api/utils/DataSourceUtilsTest.java
: newFile: !uuid 'c9c02ba188b0f731178b873497c9741a9a8d5252'
oldFile: !uuid '81611903c2cc7445882fbd1864a2f372f1811301'
/dolphinscheduler-datasource-plugin/dolphinscheduler-datasource-hive:
newFile: !uuid '10b19439e2b7510d554eed8bb264ee666124d3fa'
oldFile: !uuid '7ddafb9b1d0ad3fa6c633e5ce757a67a7c96b85e'
/dolphinscheduler-datasource-plugin/dolphinscheduler-datasource-hive/src:
newFile: !uuid '3592443250c6de01ada33d24fc50dc29e48c8ae1'
oldFile: !uuid '1a78b6bcaf0764043ed26e1ab1acc8ffb7e75722'
/dolphinscheduler-datasource-plugin/dolphinscheduler-datasource-hive/src/main:
newFile: !uuid '865b4086338b845056eb36581481f5a86226ee20'
oldFile: !uuid '496625322b605b7bf667b1d911c518bef35b8da7'
/dolphinscheduler-datasource-plugin/dolphinscheduler-datasource-hive/src/main/java:
newFile: !uuid '9fef914729a06bad88ead7105f4ba2ef6d3601e8'
oldFile: !uuid '44dae0da11d5b954d968fe7c1eedb748c5028752'
/dolphinscheduler-datasource-plugin/dolphinscheduler-datasource-hive/src/main/java/org:
newFile: !uuid 'c8aad443a5d1d1fb3e6a40a367c3a5dedba01045'
oldFile: !uuid '2ee388ca06934b838336d4882f351e3e1c3ae9e4'
/dolphinscheduler-datasource-plugin/dolphinscheduler-datasource-hive/src/main/java/org/apache:
newFile: !uuid '0b63b23937ae66b0fb21fca6e2eef10b317843d1'
oldFile: !uuid '11c920876866b79528581798bcea64e043d69e8b'
/dolphinscheduler-datasource-plugin/dolphinscheduler-datasource-hive/src/main/java/org/apache/dolphinscheduler:
newFile: !uuid '623a5831e43b679fe50ac208f46a723a3d9f2666'
oldFile: !uuid 'ba3c06696d3ffc8c124c82ae328f5dbca4ac7765'
/dolphinscheduler-datasource-plugin/dolphinscheduler-datasource-hive/src/main/java/org/apache/dolphinscheduler/plugin:
newFile: !uuid '0f69135d86d1ff58c9eab0007bd5e4bd5f5dd74d'
oldFile: !uuid 'a92793da9a191853b20b350e8700800316332e49'
? /dolphinscheduler-datasource-plugin/dolphinscheduler-datasource-hive/src/main/java/org/apache/dolphinscheduler/plugin/datasource
: newFile: !uuid '1fe1c718604e0e723030decaefc346136ebf1564'
oldFile: !uuid '497772edbeb0366245f06b4060c5140cc5ac8bfe'
? /dolphinscheduler-datasource-plugin/dolphinscheduler-datasource-hive/src/main/java/org/apache/dolphinscheduler/plugin/datasource/hive
: newFile: !uuid '141512d0a3ec0530dd5eae7c6cd48d15cea6f08f'
oldFile: !uuid '3c52b9c43be4c2508c987b0187a86a85ea99b29b'
? /dolphinscheduler-datasource-plugin/dolphinscheduler-datasource-hive/src/main/java/org/apache/dolphinscheduler/plugin/datasource/hive/HiveDataSourceClient.java
: newFile: !uuid '18a0490033d812349ad217153492e292c75951d1'
oldFile: !uuid '642e06af8a879b80051e7fd34ce29c904668538b'
/dolphinscheduler-task-plugin:
newFile: !uuid '4bc0b81b405da311f0c1426c4695249c9d196e0f'
oldFile: !uuid 'fd1b66b8c8898f96eab40127da2c6ba49f04ee13'
/dolphinscheduler-task-plugin/dolphinscheduler-task-datax:
newFile: !uuid '699172de51bc69f5f9daa14ddd236fc98dc21877'
oldFile: !uuid 'e98c098430ff10271069bdda24999bc36a6ea4a8'
/dolphinscheduler-task-plugin/dolphinscheduler-task-datax/src:
newFile: !uuid '5bd3286dd500ccb3dcdb3b1fbbe50931d9298e48'
oldFile: !uuid 'be4ccc273ecc1a9f460b4b4fe317050d08a9ef57'
/dolphinscheduler-task-plugin/dolphinscheduler-task-datax/src/main:
newFile: !uuid 'e0c175e664f321ac203d7dc92fa227b72cb8acc0'
oldFile: !uuid '9ed6e0aa972c1256c069a05e513549e3d777315e'
/dolphinscheduler-task-plugin/dolphinscheduler-task-datax/src/main/java:
newFile: !uuid '42b149e37b0f7f2f383b87a34b5ca833467344ce'
oldFile: !uuid '80070b7d552b925129399b0b1abe1982c8a33ba7'
/dolphinscheduler-task-plugin/dolphinscheduler-task-datax/src/main/java/org:
newFile: !uuid '699349cde459b1bbef9804835a7551c66caa73ab'
oldFile: !uuid '4b8f5a4a0028480e13f45bc8d8d2a726a0a3fd2e'
/dolphinscheduler-task-plugin/dolphinscheduler-task-datax/src/main/java/org/apache:
newFile: !uuid 'ba5ca27c258692db421ae9693949d5d346ab5ceb'
oldFile: !uuid '7e4fecc6d49d61942bae6668eac5239f63b44f54'
/dolphinscheduler-task-plugin/dolphinscheduler-task-datax/src/main/java/org/apache/dolphinscheduler:
newFile: !uuid '452f47ceb34b27ab99031d89571c9f2accdbe599'
oldFile: !uuid '79bf25d3bedda6e550d9b77a0ac9774c5f1da310'
/dolphinscheduler-task-plugin/dolphinscheduler-task-datax/src/main/java/org/apache/dolphinscheduler/plugin:
newFile: !uuid '1197c0e370b4a40acf25bdcbcb1ca385bc634203'
oldFile: !uuid 'b7b04d8b0a44c27be14c0b88f2a170ed3a59a149'
/dolphinscheduler-task-plugin/dolphinscheduler-task-datax/src/main/java/org/apache/dolphinscheduler/plugin/task:
newFile: !uuid '8b853d7f9045180a0d01560690796b07e3c5d15a'
oldFile: !uuid '113a78c67a33f36ac7d8e35cb53df21a99394867'
/dolphinscheduler-task-plugin/dolphinscheduler-task-datax/src/main/java/org/apache/dolphinscheduler/plugin/task/datax:
newFile: !uuid '6a5b8a2417184aecfe210929e7ec87e90da9b040'
oldFile: !uuid '41cef3da00be5ce4bd8887bb432fad4d775148ef'
? /dolphinscheduler-task-plugin/dolphinscheduler-task-datax/src/main/java/org/apache/dolphinscheduler/plugin/task/datax/DataxTask.java
: newFile: !uuid '5627edad18b08edc1d51c81bfc8539d5f42981f8'
oldFile: !uuid 'e24276701d371c17388c92f7b51abbe4ab2c710b'
gitCommitId: !uuid '206b7c1c51e84f2e937748bc94191b23f95298e9'
renames: { renames: {
} }
revisionId: 2771 revisionId: 2772

Loading…
Cancel
Save