Skip to content
This repository has been archived by the owner on Jan 15, 2022. It is now read-only.

Commit

Permalink
adding in comments for explaining constant values
Browse files Browse the repository at this point in the history
  • Loading branch information
Vrushali Channapattan committed Nov 20, 2014
1 parent 06977f0 commit cc16080
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions hraven-core/src/main/java/com/twitter/hraven/Constants.java
Original file line number Diff line number Diff line change
Expand Up @@ -457,5 +457,11 @@ public class Constants {
/** name of the properties file used for cluster to cluster identifier mapping */
public static final String HRAVEN_CLUSTER_PROPERTIES_FILENAME = "hRavenClusters.properties";

/** spark job keys have a prefix of "spark"
* hence spark job key length is calculated as
* 5
* +
* regular job key length which is 16 (epoch and sequence number)
*/
public static final int SPARK_JOB_KEY_LENGTH = 21;
}

0 comments on commit cc16080

Please sign in to comment.