DB Entries
For a tdss product an entry should be made into product_repos table mapping the product with correct hadoop directory path. The product id should be mapped to hadoop base dir via Name node hdfs://NAME NODE HOST:NAME NODE PORT/<BASE DIR>/
INSERT INTO product_repos (id, product_id, repo_type, root_context) VALUES (NULL,<product id>, 'HDFS', 'hdfs://NAME NODE HOST:NAME NODE PORT/<BASE DIR>/');
For launching job for a given organization id (to which the product belongs), an entry should be made into org_resources table, with subsc type field set to "YARN"
insert into org_resources (id, org_id, subsc_type, master_private_ip, master_public_ip, aws_cf_stack_id, is_analyzer_active, worker_count) VALUES (NULL,<org id>,'YARN','master','master','dummy',0,1);
Last updated