its worked.
*Anupam Ranjan*
On 19 March 2013 10:58, Harsh J wrote:
If your jar "MapReduceIndiaWeather-1.0.jar" is not a runnable one then
your command must instead be:
hadoop jar target/MapReduceIndiaWeather-1.0.jar [[[CLASSNAME with
main()]]] /usr/share/sequence genome-output
On Tue, Mar 19, 2013 at 10:49 AM, Anupam Ranjan
wrote:
--
Harsh J
If your jar "MapReduceIndiaWeather-1.0.jar" is not a runnable one then
your command must instead be:
hadoop jar target/MapReduceIndiaWeather-1.0.jar [[[CLASSNAME with
main()]]] /usr/share/sequence genome-output
On Tue, Mar 19, 2013 at 10:49 AM, Anupam Ranjan
wrote:
Thanks Darren.
I have solved the jdk issue and now its working fine. There is no issue with
tools.jar.
Now I am facing issue with execution of maven project on hadoop. I am
running this command "hadoop jar target/MapReduceIndiaWeather-1.0.jar
/usr/share/sequence genome-output "
Output:
Exception in thread "main" java.lang.ClassNotFoundException:
/usr/share/sequence
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at org.apache.hadoop.util.RunJar.main(RunJar.java:201)
I am unable to deploy this jar and get the output where sequence is a text
file with input data.
Thanks & Regards,
Anupam Ranjan
fantasticanupam@gmail.com>I have solved the jdk issue and now its working fine. There is no issue with
tools.jar.
Now I am facing issue with execution of maven project on hadoop. I am
running this command "hadoop jar target/MapReduceIndiaWeather-1.0.jar
/usr/share/sequence genome-output "
Output:
Exception in thread "main" java.lang.ClassNotFoundException:
/usr/share/sequence
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at org.apache.hadoop.util.RunJar.main(RunJar.java:201)
I am unable to deploy this jar and get the output where sequence is a text
file with input data.
Thanks & Regards,
Anupam Ranjan
On 18 March 2013 22:59, Darren Lo wrote:
(bcc scm-users)
Hi Anupam,
It sounds like this is a CDH question. I've moved your question to the
cdh-user group.
Judging from your error message, you may want to try using the Sun JDK
instead of open jdk.
Thanks,
Darren
On Mon, Mar 18, 2013 at 5:47 AM, Anupam Ranjan <
(bcc scm-users)
Hi Anupam,
It sounds like this is a CDH question. I've moved your question to the
cdh-user group.
Judging from your error message, you may want to try using the Sun JDK
instead of open jdk.
Thanks,
Darren
On Mon, Mar 18, 2013 at 5:47 AM, Anupam Ranjan <
wrote:
--
Thanks,
Darren
Hi All,
I am building a maven project on CDH-4 when I am executing the command
"mvn clean install" getting the error given below.
Fatal error compiling: tools.jar not found:
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/../lib/tools.jar ->
Please suggest me solution and also how to run the maven project too,
Thanks & Regards,
Anupam Ranjan
I am building a maven project on CDH-4 when I am executing the command
"mvn clean install" getting the error given below.
Fatal error compiling: tools.jar not found:
/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/../lib/tools.jar ->
Please suggest me solution and also how to run the maven project too,
Thanks & Regards,
Anupam Ranjan
--
Thanks,
Darren
--
Harsh J