uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "rohan rai" <hiroha...@gmail.com>
Subject Re: UIMA Cas Consumer on hadoop
Date Mon, 16 Jun 2008 06:25:35 GMT
The problem is similar to one I face d before....But here I have no Resource
Manager to tell

JCasImpl to get type from the right class path


On Mon, Jun 16, 2008 at 10:48 AM, rohan rai <hirohanin@gmail.com> wrote:

> What does the given exception mean
> If I run it
> FSIndex documentIndex = jCas.getAnnotationIndex(org.ziva.dedup.types.Document.type);
> from within hadoop reducer, it works
>
> But if I use this within process CAS it starts throeing exception
>
> Any light
>
>
> 16 Jun, 2008 10:42:41 AM org.ziva.dedup.OnlyPhone processCas(170)
> INFO: The JCAS cover class "org.ziva.dedup.types.Document_Type" could not be loaded.
> org.apache.uima.cas.CASRuntimeException: The JCAS cover class "org.ziva.dedup.types.Document_Type"
could not be loaded.
>
> 	at org.apache.uima.jcas.impl.JCasImpl.getType(JCasImpl.java:417)
> 	at org.apache.uima.jcas.impl.JCasImpl.getCasType(JCasImpl.java:436)
> 	at org.apache.uima.jcas.impl.JCasImpl.getAnnotationIndex(JCasImpl.java:1503)
>
> 	at org.ziva.dedup.OnlyPhone.processCas(OnlyPhone.java:149)
> 	at org.ziva.dq.hadoop.DeDupHadoopMain$Reduce.reduce(DeDupHadoopMain.java:104)
> 	at org.ziva.dq.hadoop.DeDupHadoopMain$Reduce.reduce(DeDupHadoopMain.java:1)
>
> 	at org.apache.hadoop.mapred.ReduceTask.run(ReduceTask.java:333)
> 	at org.apache.hadoop.mapred.TaskTracker$Child.main(TaskTracker.java:2084)
>
>

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