Hi Min, Can you try "ant clean" and rebuild the project? It's possible that some files are still referencing to the old jpox jars.
Zheng On Sun, Jul 12, 2009 at 7:46 PM, Min Zhou<[email protected]> wrote: > I've replaced my hive-default.xml to new one, came across the same > exception. > The jpox*.jar has been removed, we can't find that jar from our classpath, > I that needed add them into? > > FAILED: Error in metadata: javax.jdo.JDOFatalUserException: Class org.jpox.PersistenceManagerFactoryImpl was not found. > NestedThrowables: > java.lang.ClassNotFoundException: org.jpox.PersistenceManagerFactoryImpl > 09/07/13 10:41:17 ERROR exec.DDLTask: FAILED: Error in metadata: javax.jdo.JDOFatalUserException: Class org.jpox.PersistenceManagerFactoryImpl was not found. > > Min > > On Mon, Jul 13, 2009 at 9:41 AM, Prasad Chakka <[email protected]> wrote: >> >> Previously, this property was defined in jpox.properties but HIVE-610 >> moved all such properties to hive-default.xml. It is possible that you may >> still be using old hive-default.xml thus hive is not able to find this >> property. >> >> >> ________________________________ >> From: Prasad Chakka <[email protected]> >> Reply-To: <[email protected]> >> Date: Sun, 12 Jul 2009 18:38:43 -0700 >> To: <[email protected]> >> Subject: Re: how to define my metastore since jpox be removed >> >> Make sure that you have hive-default.xml and hive-site.xml in the >> classpath while invoking hive. >> >> Prasad >> >> >> ________________________________ >> From: Min Zhou <[email protected]> >> Reply-To: <[email protected]> >> Date: Sun, 12 Jul 2009 18:35:49 -0700 >> To: hive-user <[email protected]> >> Subject: how to define my metastore since jpox be removed >> >> I found all things about jpox*.jar has been removed from the >> trunk(HIVE-445,HIVE-610). I configured my hive following the old way , found >> an exception: >> >> hive> show tables; >> >> FAILED: Error in metadata: javax.jdo.JDOFatalUserException: A property named javax.jdo.PersistenceManagerFactoryClass must be specified, or a jar file with a META-INF/services/javax.jdo.PersistenceManagerFactory entry must be in the classpath, or a property named javax.jdo.option.PersistenceUnitName must be specified. >> >> how can i define my metastore since jpox be removed? >> >> Thanks, >> Min >> -- >> My research interests are distributed systems, parallel computing and >> bytecode based virtual machine. >> >> My profile: >> http://www.linkedin.com/in/coderplay >> My blog: >> http://coderplay.javaeye.com >> >> > > > > -- > My research interests are distributed systems, parallel computing and > bytecode based virtual machine. > > My profile: > http://www.linkedin.com/in/coderplay > My blog: > http://coderplay.javaeye.com > -- Yours, Zheng
