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

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -