hadoop - Running jar file map reduce without Hdfs -


i have bundled jar eclipse project. pass arguments jar. input file jar. know how give input file not in hdfs. know that's not hadoop works testing purposes. eclipse has feature local files. there way via command line?

you can run hadoop in 'local' mode overriding job tracker , file system properties command line:

hadoop jar <jar-file> <main-class> -fs local -jt local <other-args..> 

you need using genricoptionsparser (which norm if you're using toolrunner launch jobs.


Comments

Popular posts from this blog

python - How to create a legend for 3D bar in matplotlib? -

php - Dynamic url re-writing using htaccess -

java - Multi-Label Document Classification -