Running a load job from the command line
After you create a load job in the HCL® OneDB® TimeSeries Plug-in for Data Studio, you can run the load job from the command line with the command-line loader application. The command-line loader application is useful if you want to load data without using the or Eclipse user interface. The command-line loader requires a minimal Eclipse platform.
Before you begin
The following software is required on the computer on which you run the command-line loader:
- The Eclipse Platform Runtime Binary, or a larger Eclipse or Data Studio installation, with all necessary dependencies
Procedure
To load data by running the command-line loader on a
computer with a minimal Eclipse platform:
- Create load job definition files by running the through Data Studio or the Eclipse IDE.
- Copy the five definition files:
- Record reader definition file
- Table definition file
- Mapping definition file
- The connection profile file for the database that has the TimeSeries column
- Load properties file. If you did not edit the load properties and want to use the default properties, you can create an empty file with a .tslp extension.
- Move the copies of the five definition files to the computer on which you want to load the data.
- Extract the files into the top-level Eclipse directory.
- Start Eclipse with the -clean and -initialize flags to install the plug-in: ./eclipse -clean -initialize
- Run the command-line loader application.