dolphinscheduler icon indicating copy to clipboard operation
dolphinscheduler copied to clipboard

[Feature] Sqoop component optimization

Open Eights-Li opened this issue 6 years ago • 3 comments

Is your feature request related to a problem? Please describe. dev branch sqoop task need to enhancment. optimization points: Sqoop's data access and data export do not support Hadoop-level custom parameters, that is, -D level parameters – MR task name – MR map and reduce memory and quantity, etc. • Split-by field is not supported. If -m is greater than 1, if the primary key of the relational database table is not self-increasing, Sqoop It may cause duplicate data imported into Hadoop. The general solution is to specify a split-by field. therefore, split-by needs support • Cannot customize parameters, such as import mysql, some tables can add –direct to speed up the import speed

Describe the solution you'd like ideas: • The task name of Sqoop is universal, and it must be changed to the required parameter on the Sqoop page • Add Hadoop custom parameter input box for setting MR parameter memory, etc. • Add Sqoop task-level custom parameters, like –driect, –fetch-size and other parameters used in specific situations • Add option button to choose, custom script or use template script, refer to the design of DataX node

Eights-Li avatar Jun 06 '20 16:06 Eights-Li

The suggestion is very good. At present, the Sqoop node type does only support data import and export, and other Sqoop commands do not support it. But according to my understanding, the person in charge of the Sqoop class node may not want to open the function of custom parameters, because this is more difficult to verify. The above is just my understanding. I hope @zixi0825 can give us your opinions. Thank you.

743294668 avatar Jun 08 '20 01:06 743294668

The solution is good. When I designed, I thought that the graphical interface can meet the needs of simple and fast use. It is better to use custom scripts to support custom parameters. Custom scripts I think can be implemented with shell scripts, so they are not added to the sqoop task type.

zixi0825 avatar Jun 08 '20 09:06 zixi0825

merge into dev, close

Eights-Li avatar Jun 11 '20 03:06 Eights-Li