Error Opening Job Jar Hadoop-streaming.jar
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Error opening job jar: file in hdfs up vote 0 down vote favorite I have been trying to fix this one but not sure what is the mistake I make here! Can you please help me on this! Thanks a lot in advance! My program: package hadoopbook; import java.io.IOException; import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.fs.Path; import org.apache.hadoop.io.IntWritable; import org.apache.hadoop.io.LongWritable; import org.apache.hadoop.io.Text; import org.apache.hadoop.mapreduce.Job; import org.apache.hadoop.mapreduce.Mapper; import org.apache.hadoop.mapreduce.Reducer; import org.apache.hadoop.mapreduce.lib.input.FileInputFormat; import org.apache.hadoop.mapreduce.lib.output.FileOutputFormat; public class WordCount { //Mapper public static class WcMapperDemo extends Mapper
Sign in Pricing Blog Support Search GitHub This repository Watch 172 Star 719 Fork 273 RevolutionAnalytics/RHadoop Code Issues 53 Pull requests 0 Projects 0 Wiki Pulse Graphs New issue Error opening job jar: /usr/local/Cellar/hadoop/1.1.2/libexec/contrib WITH RHADOOP #188 Closed sbpatel opened this Issue May http://stackoverflow.com/questions/28979587/error-opening-job-jar-file-in-hdfs 16, 2013 · 16 comments Projects None yet Labels None yet Milestone No milestone Assignees No one assigned 2 participants sbpatel commented May 16, 2013 Hi, When I run following step: ints = to.dfs(1:10) I am getting https://github.com/RevolutionAnalytics/RHadoop/issues/188 error: Exception in thread "main" java.io.IOException: Error opening job jar: /usr/local/Cellar/hadoop/1.1.2/libexec/contrib at org.apache.hadoop.util.RunJar.main(RunJar.java:90) Caused by: java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.(ZipFile.java:127) at java.util.jar.JarFile.(JarFile.java:136) at java.util.jar.JarFile.(JarFile.java:73) at org.apache.hadoop.util.RunJar.main(RunJar.java:88) Warning message: In to.dfs(1:10) : Converting to.dfs argument to keyval with a NULL key piccolbo commented May 16, 2013 Can you run any streaming jobs not involving R? Thanks Antonio … On Thu, May 16, 2013 at 3:06 PM, sbpatel ***@***.***> wrote: Hi, When I run following step: ints = to.dfs(1:10) I am getting error: Exception in thread "main" java.io.IOException: Error opening job jar: /usr/local/Cellar/hadoop/1.1.2/libexec/contrib at org.apache.hadoop.util.RunJar.main(RunJar.java:90) Caused by: java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.(ZipFile.java:127) at java.util.jar.JarFile.(JarFile.java:136) at java.util.jar.JarFile.(JarFile.java:73) at org.apac
von GoogleAnmeldenAusgeblendete FelderNach Gruppen oder Nachrichten suchen
Hadoop Administration for Big Data Certificate in NoSQL Databases for Big Data Advanced MS Excel with Macro, VBA and Dashboards Blog Tutorials Online Hackathons Create personalized offers for customers base... Analysis of Community Interactions using Spar... Modelling and Thinking in Graphs (Neo4J) Student Portfolios Sign In Build Projects, Learn Skills, Get Hired Request Info Learn how you can build Big Data Projects There is an error "Error opening Jar" that hadoop is throwing when i try to run a jar job 0 Sree I executed the below command and it throws this error. I created the jar from eclipse itself. Please help as this is preventing me from running my first program on the VM [it runs fine on eclipse] [cloudera@localhost wordcount]$ hadoop jar dezyre/wordcount.jar WordCount dezyre/input.txt output Exception in thread "main" java.io.IOException: Error opening job jar: dezyre/wordcount.jar at org.apache.hadoop.util.RunJar.main(RunJar.java:135) Caused by: java.util.zip.ZipException: error in opening zip file at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.(ZipFile.java:127) at java.util.jar.JarFile.(JarFile.java:135) at java.util.jar.JarFile.(JarFile.java:72) at org.apache.hadoop.util.RunJar.main(RunJar.java:133) Hadoop Wordcount Jun 11 2015 11:44 AM 4 Answer(s) 0 DeZyre Support hi Sree, Please check the name of the zip file, you have not provided complete path of jar. modify it as below hadoop jar /home/cloudera/dezyre/wordcount.jar WordCount dezyre/input.txt output Jun 11 2015 07:14 PM 0 Sree i provided the complete path and it still doesn't work. Should the jar be rwxrwxrwx? my Jar is only -rw-rw-rw. I am not able to make it executable, is that the reason for this issue? Jun 12 2015 06:41 AM 0 Karuna I would check the path and name of the jar file ....java is case sensitive so you may want to recheck the path and name of the jar file .....It may not seem like related to execute privilege ... Also, I am new to java ... just trying to help out here ....Hope this helps .... Good luck.... Jun 19 2015 10:10 AM 0 Alpna Hi Sree Did this work finally for you? For me the jar was working fine earlier but all off a sudden I am getting the same issue and surprisingly with the same old jar. I tried creating many new jars also after that but s