streamsets / tutorials

StreamSets Tutorials
Apache License 2.0
348 stars 192 forks source link

how to define general label for Custom Stage Libraries #80

Closed hwhmusic closed 6 years ago

hwhmusic commented 6 years ago

i follow the tutorials to create my own hbase stage library, and i want to support different version for hbase,i guess i can do it by re-define the general label,

but i don't konw how to do that,

metadaddy commented 6 years ago

Do you mean you want your custom HBase stage library to be able to support different versions of HBase? This is quite complicated, as you have to use different versions of the HBase client jars. If you look in the main https://github.com/streamsets/datacollector project, we do this by having a hierarchy of Maven projects - for example, with Apache Kudu we have the core code in kudu-protolib; each of the apache-kudu-x_y-lib projects includes kudu-protolib with a different version of the Kudu client jar files.

metadaddy commented 6 years ago

Assuming I can close this now, @hwhmusic. Feel to reach out via our community if you still need help.