Skip to content

bahadrix/Farabi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Farabi

Mass Signal Extraction & Analysis Architecture based On Distrubuted System

Install

git clone https://github.com/bahadrix/Farabi.git Farabi
cd Farabi
mvn package

Creating Work Set Package From Existing MP3 Files

We use the CreatePack job for creating the HDFS package.

####Usage

me.farabi.job.CreatePack [opts] <local_dir> <hdfs_dir>
   [opts]
       -m <num>    : Maximum number of files to be processed.

####Examples Create package on HDFS from first 200 file in ~/mp3 folder.

hadoop jar target/Farabi-1.0-SNAPSHOT.jar me.farabi.job.CreatePack ~/mp3 farabi/input -m 200

-m argument defines maximum number of files used from source directory.

We can create that package from all files in that directory like this:

hadoop jar target/Farabi-1.0-SNAPSHOT.jar me.farabi.job.CreatePack ~/mp3 farabi/input

Running Job on a Package

Job Information File

farabi.properties file must be defined like this:

mongodb.server.host=mongodb.host.address
mongodb.server.port=27017
mongodb.db=farabi

####Usage

FFTAnalysis <input> <output> [-p <properties file>]
   <input>                 : Package data file location on HDFS
   <output>                : Output location on HDFS for logs and stuff
   -p <properties file>    : Properties file for mongodb connection info and stuff.
                             Default: farabi.properties

####Example

hadoop jar target/Farabi-1.0-SNAPSHOT.jar \
  me.farabi.job.FFTAnalysis \
  farabi/input/all/data farabi/output \
  -p target/classes/farabi.sample.properties

About

Mass Signal Extraction & Analysis Architecture

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages