Hi Team How do we configure Pinot as a DataSource ...
# thirdeye-pinot
s
Hi Team How do we configure Pinot as a DataSource for ThirdEye? I have ThirdEye Server and Pinot running in a debugger. I have the ThirdEye UI running. When I attempt to create a pinot datasource, it fails in the DataSourcesLoader class.
Copy code
public ThirdEyeDataSource loadDataSource(DataSourceDTO dataSource) {
  try {
    final String factoryName = dataSource.getType();
    checkArgument(dataSourceFactoryMap.containsKey(factoryName),
        "Data Source type not loaded: " + factoryName);
Issue is the dataSourceFactoryMap is empty. Looks like that is because the plugin was not loaded. What is the correct class or jar to place in the plugins directory?
k
Whats the ThirdEye version and repo
s
Hi Kishore. It was forked from https://github.com/startreedata/thirdeye about 2 weeks ago.
For anyone looking at this thread, I got past this issue by building the project per the README.md
Copy code
./mvnw -T 1C install
Once built under thirdeye-distribution there will be a directory such as: target/thirdeye-distribution-1.146.0-SNAPSHOT-dist In your runtime configuration set an environment variable: THIRDEYE_PLUGINS_DIR=thirdeye/thirdeye-distribution/target/thirdeye-distribution-1.146.0-SNAPSHOT-dist/thirdeye-distribution-1.146.0-SNAPSHOT/plugins Once configured start your server in debug.