You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "witgo (JIRA)" <ji...@apache.org> on 2014/04/27 17:19:15 UTC

[jira] [Comment Edited] (SPARK-1644) hql("CREATE TABLE IF NOT EXISTS src (key INT, value STRING)") throw an exception

    [ https://issues.apache.org/jira/browse/SPARK-1644?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13982353#comment-13982353 ] 

witgo edited comment on SPARK-1644 at 4/27/14 3:18 PM:
-------------------------------------------------------

The org.datanucleus:*  can't be packaged into spark-assembly-*.jar 
{code}
Caused by: org.datanucleus.exceptions.NucleusUserException: Persistence process has been specified to use a ClassLoaderResolver of name "datanucleus" yet this has not been found by the DataNucleus plugin mechanism. Please check your CLASSPATH and plugin specification.
{code}

The plugin.xml,MANIFEST.MF is damaged


was (Author: witgo):
The org.datanucleus:*  can't be packaged into spark-assembly-*.jar 
{code}
Caused by: org.datanucleus.exceptions.NucleusUserException: Persistence process has been specified to use a ClassLoaderResolver of name "datanucleus" yet this has not been found by the DataNucleus plugin mechanism. Please check your CLASSPATH and plugin specification.
{code}

{code}plugin.xml{code}{code}MANIFEST.MF{code} is damaged

>  hql("CREATE TABLE IF NOT EXISTS src (key INT, value STRING)") throw an exception
> ---------------------------------------------------------------------------------
>
>                 Key: SPARK-1644
>                 URL: https://issues.apache.org/jira/browse/SPARK-1644
>             Project: Spark
>          Issue Type: Bug
>          Components: SQL
>            Reporter: witgo
>         Attachments: spark.log
>
>
> cat conf/hive-site.xml
> {code:xml}
> <configuration>
>   <property>
>     <name>javax.jdo.option.ConnectionURL</name>
>     <value>jdbc:postgresql://bj-java-hugedata1:7432/hive</value>
>   </property>
>   <property>
>     <name>javax.jdo.option.ConnectionDriverName</name>
>     <value>org.postgresql.Driver</value>
>   </property>
>   <property>
>     <name>javax.jdo.option.ConnectionUserName</name>
>     <value>hive</value>
>   </property>
>   <property>
>     <name>javax.jdo.option.ConnectionPassword</name>
>     <value>passwd</value>
>   </property>
>   <property>
>     <name>hive.metastore.local</name>
>     <value>false</value>
>   </property>
>   <property>
>     <name>hive.metastore.warehouse.dir</name>
>     <value>hdfs://host:8020/user/hive/warehouse</value>
>   </property>
> </configuration>
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)