# 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>/** &#x20;
* 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);
