Author: kamaci
Date: Sat Oct 24 23:07:28 2015
New Revision: 1710397
URL: http://svn.apache.org/viewvc?rev=1710397&view=rev
Log:
GoraSparkEngine tutorial improved.
Modified:
gora/site/trunk/content/current/tutorial.md
Modified: gora/site/trunk/content/current/tutorial.md
URL:
http://svn.apache.org/viewvc/gora/site/trunk/content/current/tutorial.md?rev=1710397&r1=1710396&r2=1710397&view=diff
==============================================================================
--- gora/site/trunk/content/current/tutorial.md (original)
+++ gora/site/trunk/content/current/tutorial.md Sat Oct 24 23:07:28 2015
@@ -1036,6 +1036,7 @@ Here are the functions of map and reduce
/** The number of milliseconds in a day */
private static final long DAY_MILIS = 1000 * 60 * 60 * 24;
+
/**
* map function used in calculation
*/
@@ -1079,8 +1080,7 @@ Here are the functions of map and reduce
};
/**
- * Rolls up the given timestamp to the day cardinality, so that data can be
- * aggregated daily
+ * Rolls up the given timestamp to the day cardinality, so that data can be
aggregated daily
*/
private static long getDay(long timeStamp) {
return (timeStamp / DAY_MILIS) * DAY_MILIS;