eu.dicodeproject.analysis.restapi.oozie
Class TwitterVectorExporter

java.lang.Object
  extended by eu.dicodeproject.analysis.restapi.oozie.TwitterVectorExporter

@Component
public class TwitterVectorExporter
extends Object


Constructor Summary
TwitterVectorExporter()
           
 
Method Summary
 File getTwitterVectors(Properties params)
           
 void setHadoopJobtracker(String hadoopJobtracker)
           
 void setHadoopNamenode(String hadoopNamenode)
           
 void setHadoopReducers(String hadoopReducers)
           
 void setOozieJobPath(String oozieJobPath)
           
 void setOozieOutputDir(String oozieOutputDir)
           
 void setOozieQueue(String oozieQueue)
           
 void setOozieUrl(String oozieUrl)
           
 String startJob(String wfDefinition, Properties inputParams, String dateString)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TwitterVectorExporter

public TwitterVectorExporter()
Method Detail

startJob

public String startJob(String wfDefinition,
                       Properties inputParams,
                       String dateString)
                throws org.apache.oozie.client.OozieClientException
Parameters:
wfDefinition -
inputParams -
dateString -
Returns:
Throws:
org.apache.oozie.client.OozieClientException

getTwitterVectors

public File getTwitterVectors(Properties params)
                       throws org.apache.oozie.client.OozieClientException,
                              InterruptedException,
                              IOException,
                              org.apache.commons.compress.archivers.ArchiveException
Parameters:
params -
Returns:
Throws:
org.apache.oozie.client.OozieClientException
InterruptedException
IOException
org.apache.commons.compress.archivers.ArchiveException

setHadoopNamenode

public void setHadoopNamenode(String hadoopNamenode)
Parameters:
hadoopNamenode -

setHadoopJobtracker

public void setHadoopJobtracker(String hadoopJobtracker)
Parameters:
hadoopJobtracker -

setOozieUrl

public void setOozieUrl(String oozieUrl)
Parameters:
oozieUrl -

setOozieQueue

public void setOozieQueue(String oozieQueue)
Parameters:
oozieQueue -

setOozieJobPath

public void setOozieJobPath(String oozieJobPath)
Parameters:
oozieJobPath -

setOozieOutputDir

public void setOozieOutputDir(String oozieOutputDir)
Parameters:
oozieOutputDir -

setHadoopReducers

public void setHadoopReducers(String hadoopReducers)
Parameters:
hadoopReducers -


Copyright © 2011. All Rights Reserved.