public static List<JSONObject> createJSONInput(FileSystem fs){
  String inputJSONFile=SystemConfiguration.getProperty(DistributedTestDriver.JSON_PIR_INPUT_FILE_PROPERTY);
  logger.info("PIR JSON input being created at " + inputJSONFile);
  List<JSONObject> dataElementsJSON=createJSONDataElements();
  HDFS.writeFile(dataElementsJSON,fs,inputJSONFile,true);
  logger.info("PIR JSON input successfully created!");
  return dataElementsJSON;
}

public static List < JSONObject > createJSONInput ( FileSystem fs ) { String inputJSONFile = SystemConfiguration . getProperty ( DistributedTestDriver . JSON_PIR_INPUT_FILE_PROPERTY ) ; logger . info ( "PIR JSON input being created at " + inputJSONFile ) ; List < JSONObject > dataElementsJSON = createJSONDataElements ( ) ; HDFS . writeFile ( dataElementsJSON , fs , inputJSONFile , true ) ; logger . info ( "PIR JSON input successfully created!" ) ; return dataElementsJSON ; }
creates json input and writes to hdfs
