oracle / big-data-lite

Samples to the Oracle Big Data Lite VM
http://www.oracle.com/technetwork/database/bigdata-appliance/oracle-bigdatalite-2104726.html
MIT License
38 stars 39 forks source link

Automatically execute nosql table #9

Open anandchandak opened 7 years ago

anandchandak commented 7 years ago

Modified the script to automatically create nosql tables

martygubar commented 7 years ago

Hi Anand. I don't understand the change here. This script is used to start the demo. It assumes that the table has already been created. Should there be an additional script to create the tables?

Thanks. Marty

anandchandak commented 7 years ago

Marty, i think this was added in response to someone's complaint that the table are not getting created. But, if you think this need to go a different script, please let me know and i'll move that.

martygubar commented 7 years ago

There are two things: 1) create tables, 2) populate tables.

I backup the NoSQL DB stores from the previous BDL release and restore to the new one. I'm surprised that there were tables missing b/c I test the movieplex app. Do you know what tables were missing? Do you want to add a script to /home/oracle/movie/moviedemo/nosqldb/scripts that will create and populate the tables? I'm happy to use that to build out the proper out-of-box database.

Thanks Anand!

anandchandak commented 7 years ago

yes, i think that was the problem the tables were not getting automatically and the user started the demo, which obviously resulted in the error., let me add a script to create the table at the location you are suggesting.