code: @Override
      public void initialize(Map<String, Object> puProperties)
      {
          reader = new SparkEntityReader(kunderaMetadata);
          setExternalProperties(puProperties);
          initializePropertyReader();
          PersistenceUnitMetadata pum = kunderaMetadata.getApplicationMetadata().getPersistenceUnitMetadata(
                  getPersistenceUnit());
          sparkconf = new SparkConf(true);
          configureClientProperties(pum);
          sparkContext = new SparkContext(sparkconf);
          sqlContext = new HiveContext(sparkContext);
      }
docs: /*
  
  
  /*
  (non-Javadoc)
  
  @see
  com.impetus.kundera.loader.GenericClientFactory#initialize(java.util.Map)