Re: Hadoop Java exception

2015-10-08 Thread Mingliang Liu
If you use Maven or Gradle, you can set up your config files there. It’s easier to maintain the dependency. Mingliang Liu Member of Technical Staff - HDFS, Hortonworks Inc. m...@hortonworks.com On Oct 8, 2015, at 10:04 AM, Odin Guillermo Caudillo Gallegos mailto:o

Re: Hadoop Java exception

2015-10-08 Thread Odin Guillermo Caudillo Gallegos
Hi. I already have it on the external jars over Eclipse. But still got the error. Is there any alternatives to this? Thanks 2015-10-08 11:59 GMT-05:00 Ted Yu : > Looks like htrace jar was missing from the classpath. > > jar tvf htrace-core-3.1.0-incubating.jar | grep Trace > 1187 Thu Jan 15 11

Re: Hadoop Java exception

2015-10-08 Thread Ted Yu
Looks like htrace jar was missing from the classpath. jar tvf htrace-core-3.1.0-incubating.jar | grep Trace 1187 Thu Jan 15 11:36:52 UTC 2015 org/apache/htrace/HTraceConfiguration$MapConf.class 3195 Thu Jan 15 11:36:52 UTC 2015 org/apache/htrace/HTraceConfiguration.class 5247 Thu Jan 15 11:

Hadoop Java exception

2015-10-08 Thread Odin Guillermo Caudillo Gallegos
Hi. I'm doing a code to write a file on HDFS, i tried a few ways to do it, but i always get the following error: Do i need another library? i include all the libraries in the share/hadoop/common/lib folder and still getting it Exception in thread "main" java.lang.NoClassDefFoundError: org/htrace/T