incubator-oozie-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Samuel Dehouck <sam...@box.net>
Subject Re: Pb running hive, map-reduce examples
Date Thu, 20 Oct 2011 01:14:39 GMT
Updated hadoop to the latest version and it fixed it. Thanks!

On Tue, Oct 18, 2011 at 10:58 PM, Mohammad Islam <mislam77@yahoo.com> wrote:

> Hi Samuel,
> Are you using CDH3U1 for *everything*?
> Some related discussion:
> https://groups.google.com/a/cloudera.org/group/cdh-user/browse_thread/thread/fb72aa87f2c5225d#
>
> Regards,
> Mohammad
>
>
> ________________________________
> From: Samuel Dehouck <samuel@box.net>
> To: oozie-users@incubator.apache.org
> Sent: Tuesday, October 18, 2011 3:42 PM
> Subject: Pb running hive, map-reduce examples
>
> Hi,
>
> I'm running into issues when I try to run the hive or map-reduce examples
> of
> Cloudera's oozie distribution.
>
> I'm getting:
>
> java.lang.RuntimeException: Error in configuring object
>     at
> org.apache.hadoop.util.ReflectionUtils.setJobConf(ReflectionUtils.java:93)
>     at
> org.apache.hadoop.util.ReflectionUtils.setConf(ReflectionUtils.java:64)
>     at
> org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:117)
>     at org.apache.hadoop.mapred.JobConf.getInputFormat(JobConf.java:596)
>     at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:370)
>     at org.apache.hadoop.mapred.MapTask.run(MapTask.java:324)
>     at org.apache.hadoop.mapred.Child$4.run(Child.java:268)
>     at java.security.AccessController.doPrivileged(Native Method)
>     at javax.security.auth.Subject.doAs(Subject.java:396)
>     at
> org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1115)
>     at org.apache.hadoop.mapred.Child.main(Child.java:262)
> Caused by: java.lang.reflect.InvocationTargetException
>     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>     at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>     at java.lang.reflect.Method.invoke(Method.java:597)
>     at
> org.apache.hadoop.util.ReflectionUtils.setJobConf(ReflectionUtils.java:88)
>     ... 10 more
> Caused by: java.lang.IllegalArgumentException: Compression codec
> org.apache.hadoop.io.compress.DeflateCodec not found.
>     at
> org.apache.hadoop.io.compress.CompressionCodecFactory.getCodecClasses(CompressionCodecFactory.java:96)
>     at
> org.apache.hadoop.io.compress.CompressionCodecFactory.<init>(CompressionCodecFactory.java:134)
>     at
> org.apache.hadoop.mapred.TextInputFormat.configure(TextInputFormat.java:38)
>     ... 15 more
> Caused by: java.lang.ClassNotFoundException:
> org.apache.hadoop.io.compress.DeflateCodec
>     at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>     at java.security.AccessController.doPrivileged(Native Method)
>     at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>     at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
>     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>     at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
>     at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
>     at java.lang.Class.forName0(Native Method)
>     at java.lang.Class.forName(Class.java:247)
>     at
> org.apache.hadoop.conf.Configuration.getClassByName(Configuration.java:943)
>     at
> org.apache.hadoop.io.compress.CompressionCodecFactory.getCodecClasses(CompressionCodecFactory.java:89)
>     ... 17 more
>
>
> Any idea what would be causing this?
>
> Thanks,
>
> Samuel
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message