@Test
public void emptyConfigurationVariablesOnlyForNonSparkProperties() {

  Properties intpProperty = repl.getProperty();
  SparkConf sparkConf = repl.getSparkContext().getConf();
  for (Object oKey : intpProperty.keySet()) {
    String key = (String) oKey;
    String value = (String) intpProperty.get(key);
    LOGGER.debug(String.format("[%s]: [%s]", key, value));
    if (key.startsWith("spark.") && value.isEmpty()) {
      assertTrue(String.format("configuration starting from 'spark.' should not be empty. [%s]", key), !sparkConf.contains(key) || !sparkConf.get(key).isEmpty());
    }
  }
}