Druid datasource not created after batch indexing

I ran a hadoop mapreduce batch indexing job and it completed successfully.

The spec file was run with the property “segmentOutputPath” : /user/venkat/druid/data/index/output and “dataSource” : “national”

I see folders in that directory such as /user/venkat/druid/data/index/output/national/20170717T000000.000Z_20170718T000000.000Z

I see segment information in the druid_segments mysql table however the druid_datasource table is empty and the rest endpoint does not return any datasource.

The historical node is running with config

I believe this may be an issue as the storage directory is not the same as the segment location. Is there a way to create a manual entry to the data_sources table if I move the segment data around ?