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 <pcha...@facebook.com> 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 <pcha...@facebook.com>
> *Reply-To: *<hive-user@hadoop.apache.org>
> *Date: *Sun, 12 Jul 2009 18:38:43 -0700
> *To: *<hive-user@hadoop.apache.org>
> *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 <coderp...@gmail.com>
> *Reply-To: *<hive-user@hadoop.apache.org>
> *Date: *Sun, 12 Jul 2009 18:35:49 -0700
> *To: *hive-user <hive-user@hadoop.apache.org>
> *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

Reply via email to