projects
/
NoSQL-toys.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge branch 'master' of mjesec.ffzg.hr:/git/NoSQL-toys
[NoSQL-toys.git]
/
riak
/
query.sh
1
#!/bin/sh -x
2
3
function execute_query {
4
curl -v -X POST http://192.168.1.200:8098/mapred -H "Content-Type: application/json" -d @$1
5
}
6
7
ls query/*.json | while read file ; do
8
echo "executing $file"
9
execute_query $file
10
echo
11
done