MongoDB: insertion failure

3 views
Skip to first unread message

Yuri Gurevich

unread,
Sep 6, 2014, 12:42:13 PM9/6/14
to BG-Social...@googlegroups.com
Hi,

I'm trying to use BG with mongodb client, but I'm having some problem with data insertion:

java -cp build/bg.jar:db/MongoDB/lib/* edu.usc.bg.BGMainClass onetime -load -db  mongoDB.MongoDbClient -P ~/populateDB_new -p mongodb.url=127.0.0.1:27017 -p insertimage=true -p imagesize=2 -p threadcount=1 -p mongodb.database=local -p mongodb.writeConcern="none" -p maxexecutiontime=60
BGClient is in onetime mode.
*****max execution time specified : 60
BG Client: ThreadCount =1

Loading workload...
Connected
EXECUTIONDONE
Creating the initial zipfian probabilities...
Sum of original probs = 0.9999999999999961
Initial Zipfian probabilities are created.
Done creating clusters.
ClusterId0, 10000
ZipfianMean=0.27 Usercount=10000 numMaxClusters=1; 20.0% of members have, 0.6207969279431967, initial probability.
ZipfianMean=0.27 Usercount=10000 numMaxClusters=1; 20.0% of members have, 0.6207969279431991 clustering(new)probability.
Time to create fragments :99 msecs
Done dividing users
Insertion failed. Make sure the appropriate data store schema was created.



Could you please advice


thanks,
-Yuri

Shahram Ghandeharizadeh

unread,
Sep 7, 2014, 10:42:53 AM9/7/14
to BG-Social...@googlegroups.com
Hi,
Please verify that you are creating a BG schema prior to issuing your command to populate the schema with data.  The following posting is relevant:
https://groups.google.com/forum/#!searchin/bg-socialbenchmark/MongoDB/bg-socialbenchmark/e2yzaJQz3kI/fhLbnsSB2pAJ
Cheers,
Shahram.

--
You received this message because you are subscribed to the Google Groups "BG Social Benchmark" group.
To unsubscribe from this group and stop receiving emails from it, send an email to BG-SocialBenchm...@googlegroups.com.
Visit this group at http://groups.google.com/group/BG-SocialBenchmark.
For more options, visit https://groups.google.com/d/optout.

Yuri Gurevich

unread,
Sep 7, 2014, 6:37:09 PM9/7/14
to BG-Social...@googlegroups.com
Thank you so much for your reply Shahram. 
You were right: I had some exception during schema creation phase.. Now I've added the missing parameter, and after that the schema was successfully created and the data has been loaded.


thanks,
-Yuri



--
You received this message because you are subscribed to a topic in the Google Groups "BG Social Benchmark" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/BG-SocialBenchmark/wQ3RMLsiTKU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to BG-SocialBenchm...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages