Hadoop 1.2.1 plugin for Eclipse Juno: I can't launch the application -
i want use hadoop eclipse plugin run wordcount example.
i have systems: local: windows 7, eclipse juno (4.2.2), hadoop-1.2.1 unpacked. remote: debian 7.1 same hadoop version installed , tested.
i followed instructions found at: http://iredlof.com/part-4-compile-hadoop-v1-0-4- eclipse-plugin-on-ubuntu-12-10/ , built plugin on windows machine.
the hadoop running, tested hadoop-examples wordcount , freshly created wordcount.
what works plugin:
- i can create new mr project
- i can add new mr location (remote in case)
- i can browse/upload/download/delete files dfs,
what doesn't work:
- i cannot run code (using run ... run hadoop). console writes "classnotfoundexception: wordcountreducer". same error can found in hadoop job logs.
i exported jar project, copied on remote machine , launched hadoop command line. worked expected.
i saw when manually launching project on remote machine, hadoop creates job.jar in user/.staging directory. when launching project eclipse, jar missing.
my question is: how can run project eclipse plugin?
thanks
set user job driver.
system.setproperty("hadoop_user_name", "yourubuntuuserid");
it might work. try , let me know.
Comments
Post a Comment