Skip to content

Commit

Permalink
new data generation
Browse files Browse the repository at this point in the history
  • Loading branch information
Janos Schwellach committed Aug 18, 2015
1 parent 6ac06da commit 4a1bafa
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public static void initTestData() throws Exception {
locationInfo.setCountry(LOCATION_COUNTRY[location]);
write(ser.serialize(makeLocationProperty(timestamp, location, locationInfo)),getAsFileSystemString("property_location_"+location+"_location_time_"+timestamp));

for (int i=0;i<10000;i++) {
for (int i=0;i<1000;i++) {
timestamp = generateRandomTimeStamp();
String game = GAMES[R.nextInt(GAMES.length)];
write(ser.serialize(makeGameplay(location, game, timestamp)),getAsFileSystemString("edge_gameplay_location_"+location+"_game_"+game+"_time_"+timestamp));
Expand Down
3 changes: 1 addition & 2 deletions src/main/thrift/schema.thrift
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ union GameID {

struct Location {
1: optional string city;
2: optional string state;
3: optional string country;
2: optional string country;
}

union LocationPropertyValue {
Expand Down
Binary file modified src/test/hadoop/candidates.tar.gz
Binary file not shown.

0 comments on commit 4a1bafa

Please sign in to comment.