static void mapreduce() throws Exception {
   JobLauncher jobLauncher = SpringInitialize.getContext().getBean(JobLauncher.class);
   Job job = SpringInitialize.getContext().getBean(Job.class);
   Map<String, JobParameter> map = new HashMap<String, JobParameter>();
   map.put("word.input", new JobParameter("/user/conan/word/input/"));
   map.put("word.output", new JobParameter("/user/conan/word/output/"));
   jobLauncher.run(job, new JobParameters(map));
 }
 static void scp() throws IOException {
   ScpSource scpConnection = (ScpSource) SpringInitialize.getContext().getBean("alSCPConnection");
   ScpDAO scp = (ScpDAO) SpringInitialize.getContext().getBean("sCPService");
   String remoteFile = "/tmp/export.csv";
   String localFolder = "D:/workspace/java/tianji-recommmendation/metadata/data/";
   scp.setSCPConnection(scpConnection);
   scp.get(remoteFile, localFolder);
 }