Uploaded image for project: 'Apache Gora'
  1. Apache Gora
  2. GORA-172

java.lang.ClassNotFoundException: org.apache.gora.memory.store.MemStore.MemQuery

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.2.1
    • Fix Version/s: 0.3
    • Component/s: gora-core
    • Labels:
      None

      Description

      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

        Attachments

        1. GORA-172.patch
          2 kB
          Lewis John McGibbney

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mbaranczak Mike Baranczak
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: