Closed JamesTreleaven closed 5 years ago
Additionally, I am working on Ubuntu 18.04 with Java version 1.8.0_191.
Hi @JamesTreleaven - did you set archetypeVersion
in the mvn archetype:generate
command to 3.7.1
?
I think I figured out your problem, @JamesTreleaven. You copied the jar file to ~/work/datacollector/dist/target/streamsets-datacollector-3.7.1/streamsets-datacollector-3.7.1/user-libs
rather than extracting the tarball (as mentioned in the tutorial). The jar needs to be in a specific directory path under the user-libs
directory for Data Collector to pick it up. You can fix this by doing:
mkdir -p ~/work/datacollector/dist/target/streamsets-datacollector-3.7.1/streamsets-datacollector-3.7.1/user-libs/samplestage/lib
mv ~/work/datacollector/dist/target/streamsets-datacollector-3.7.1/streamsets-datacollector-3.7.1/user-libs/samplestage-1.0-SNAPSHOT.jar ~/work/datacollector/dist/target/streamsets-datacollector-3.7.1/streamsets-datacollector-3.7.1/user-libs/samplestage/lib/samplestage-1.0-SNAPSHOT.jar
Thank you very much @metadaddy, the fix you provided has solved my problem. My apologies - I should have followed the instructions more closely!
No worries, @JamesTreleaven!
I wish to create a 'StreamSets Destination' to interface with my firms software, so I am walking through the 'Creating a Custom StreamSets Destination' tutorial. When I get to the 'Extract the tarball to SDC’s user-libs directory, restart SDC, and you should see the sample stages in the stage library' step ... I don't see 'Sample' or 'sample' listed in the 'Select Destination to connect' dropdown.
Some details: