Does your hive classpath contain the jar having
com.dyuproject.protostuff.Schema
?

Best Regards,
Sonal
Nube Technologies <http://www.nubetech.co>

<http://in.linkedin.com/in/sonalgoyal>




On Thu, Nov 7, 2013 at 9:16 PM, Narla,Venkatesh
<venkatesh.na...@cerner.com>wrote:

>  Hello,
>
>
>  I am getting the following exception when I try to run a query. Can any
> body help me what the problem might be in this scenario.
>
>  Thanks for you time.
>
>
>  2013-11-07 09:23:38,498 FATAL ExecMapper: java.lang.NoClassDefFoundError: 
> com/dyuproject/protostuff/Schema
>       at com.cerner.kepler.directory.Directory.initialize(Directory.java:240)
>       at com.cerner.kepler.directory.Directory.getInstance(Directory.java:227)
>       at 
> com.cerner.kepler.entity.hbase.EntityTypeStore.remoteLoadTypeMap(EntityTypeStore.java:256)
>       at 
> com.cerner.kepler.entity.hbase.EntityTypeStore.loadTypeMap(EntityTypeStore.java:152)
>       at 
> com.cerner.kepler.entity.hbase.EntityTypeStore.getTypeFromId(EntityTypeStore.java:637)
>       at 
> com.cerner.kepler.entity.hbase.EntityTypeStore.toEntityKey(EntityTypeStore.java:584)
>       at 
> com.cerner.kepler.entity.hbase.HBaseKeyEncoder.toKey(HBaseKeyEncoder.java:48)
>       at 
> com.cerner.kepler.hive.KeplerCompositeKey.init(KeplerCompositeKey.java:99)
>       at 
> org.apache.hadoop.hive.hbase.RawExtensionLazyRow.uncheckedGetField(RawExtensionLazyRow.java:232)
>       at 
> org.apache.hadoop.hive.hbase.RawExtensionLazyRow.getField(RawExtensionLazyRow.java:163)
>       at 
> org.apache.hadoop.hive.serde2.lazy.objectinspector.LazySimpleStructObjectInspector.getStructFieldData(LazySimpleStructObjectInspector.java:229)
>       at 
> org.apache.hadoop.hive.ql.exec.ExprNodeColumnEvaluator.evaluate(ExprNodeColumnEvaluator.java:98)
>       at 
> org.apache.hadoop.hive.ql.exec.ExprNodeFieldEvaluator.evaluate(ExprNodeFieldEvaluator.java:80)
>       at 
> org.apache.hadoop.hive.ql.exec.ExprNodeGenericFuncEvaluator$DeferredExprObject.get(ExprNodeGenericFuncEvaluator.java:64)
>       at 
> org.apache.hadoop.hive.ql.udf.generic.GenericUDFOPEqual.evaluate(GenericUDFOPEqual.java:38)
>       at 
> org.apache.hadoop.hive.ql.exec.ExprNodeGenericFuncEvaluator.evaluate(ExprNodeGenericFuncEvaluator.java:163)
>       at 
> org.apache.hadoop.hive.ql.exec.ExprNodeGenericFuncEvaluator$DeferredExprObject.get(ExprNodeGenericFuncEvaluator.java:64)
>       at 
> org.apache.hadoop.hive.ql.udf.generic.GenericUDFOPAnd.evaluate(GenericUDFOPAnd.java:52)
>       at 
> org.apache.hadoop.hive.ql.exec.ExprNodeGenericFuncEvaluator.evaluate(ExprNodeGenericFuncEvaluator.java:163)
>       at 
> org.apache.hadoop.hive.ql.exec.FilterOperator.processOp(FilterOperator.java:118)
>       at org.apache.hadoop.hive.ql.exec.Operator.process(Operator.java:474)
>       at org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:800)
>       at 
> org.apache.hadoop.hive.ql.exec.TableScanOperator.processOp(TableScanOperator.java:83)
>       at org.apache.hadoop.hive.ql.exec.Operator.process(Operator.java:474)
>       at org.apache.hadoop.hive.ql.exec.Operator.forward(Operator.java:800)
>       at 
> org.apache.hadoop.hive.ql.exec.MapOperator.process(MapOperator.java:546)
>       at org.apache.hadoop.hive.ql.exec.ExecMapper.map(ExecMapper.java:143)
>       at org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:50)
>       at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:393)
>       at org.apache.hadoop.mapred.MapTask.run(MapTask.java:327)
>       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:1332)
>       at org.apache.hadoop.mapred.Child.main(Child.java:262)
> Caused by: java.lang.ClassNotFoundException: com.dyuproject.protostuff.Schema
>       at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
>       at java.security.AccessController.doPrivileged(Native Method)
>       at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
>       at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>       at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
>       at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
>       ... 35 more
>
>  CONFIDENTIALITY NOTICE This message and any included attachments are
> from Cerner Corporation and are intended only for the addressee. The
> information contained in this message is confidential and may constitute
> inside or non-public information under international, federal, or state
> securities laws. Unauthorized forwarding, printing, copying, distribution,
> or use of such information is strictly prohibited and may be unlawful. If
> you are not the addressee, please promptly delete this message and notify
> the sender of the delivery error by e-mail or you may call Cerner's
> corporate offices in Kansas City, Missouri, U.S.A at (+1) (816)221-1024.
>

Reply via email to