Skip to content

Commit

Permalink
Some debug messages for cassandra
Browse files Browse the repository at this point in the history
  • Loading branch information
jayunit100 committed Jan 25, 2015
1 parent aa0d6aa commit 61fd8c9
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -188,8 +188,11 @@ object Driver {
Thread.sleep(1)
transactions.foreach({
xN =>
System.out.println("Running Cassandra Insert..." + xN)
System.out.println("Note that this can fail if cassandra isnt working...")
val xNtxt=xN.toString+" "+xN.getText;
session.executeAsync(s"INSERT INTO streaming_test.key_value (key, value) VALUES ('$xNtxt' , $x)")}
session.executeAsync(s"INSERT INTO streaming_test.key_value (key, value) VALUES ('$xNtxt' , $x)")
}
)
true;
}
Expand Down

0 comments on commit 61fd8c9

Please sign in to comment.