You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@gora.apache.org by "Lewis John McGibbney (JIRA)" <ji...@apache.org> on 2012/11/12 14:05:12 UTC

[jira] [Resolved] (GORA-172) java.lang.ClassNotFoundException: org.apache.gora.memory.store.MemStore.MemQuery

     [ https://issues.apache.org/jira/browse/GORA-172?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Lewis John McGibbney resolved GORA-172.
---------------------------------------

    Resolution: Fixed

Committed @revision 1408272 in trunk
Thank you to all reporters and reviewers.
                
> java.lang.ClassNotFoundException: org.apache.gora.memory.store.MemStore.MemQuery
> --------------------------------------------------------------------------------
>
>                 Key: GORA-172
>                 URL: https://issues.apache.org/jira/browse/GORA-172
>             Project: Apache Gora
>          Issue Type: Bug
>          Components: gora-core
>    Affects Versions: 0.2.1
>            Reporter: Mike Baranczak
>             Fix For: 0.3
>
>         Attachments: GORA-172.patch
>
>
> Caused by: java.io.IOException: java.lang.ClassNotFoundException: Failed to load classorg.apache.gora.memory.store.MemStore.MemQuery
> 	at org.apache.gora.util.IOUtils.loadFromConf(IOUtils.java:483)
> 	at org.apache.gora.mapreduce.GoraInputFormat.getQuery(GoraInputFormat.java:125)
> 	at org.apache.gora.mapreduce.GoraInputFormat.setConf(GoraInputFormat.java:112)
> 	... 47 more
> Caused by: java.lang.ClassNotFoundException: Failed to load classorg.apache.gora.memory.store.MemStore.MemQuery
> 	at org.apache.gora.util.ClassLoadingUtils.loadClass(ClassLoadingUtils.java:41)
> 	at org.apache.gora.util.ClassLoadingUtils.loadClass(ClassLoadingUtils.java:19)
> 	at org.apache.gora.util.IOUtils.loadFromConf(IOUtils.java:480)
> 	... 49 more
> It seems that IOUtils mangles the name of this static inner class (should be: MemStore$MemQuery). This bug was described two years ago on the mailing list - the guy even described how to fix it:
> http://mail-archives.apache.org/mod_mbox/gora-dev/201011.mbox/%3CAANLkTik6Ne18wSWvFzxNCgGWTgC_F1sZmt6U221Ldnuj@mail.gmail.com%3E

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira