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
Post a Comment