hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason Dere (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-6822) TestAvroSerdeUtils fails with -Phadoop-2
Date Thu, 03 Apr 2014 00:52:19 GMT

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

Jason Dere updated HIVE-6822:
-----------------------------

    Status: Patch Available  (was: Open)

> TestAvroSerdeUtils fails with -Phadoop-2
> ----------------------------------------
>
>                 Key: HIVE-6822
>                 URL: https://issues.apache.org/jira/browse/HIVE-6822
>             Project: Hive
>          Issue Type: Bug
>          Components: Tests
>            Reporter: Jason Dere
>            Assignee: Jason Dere
>         Attachments: HIVE-6822.1.patch
>
>
> Works fine with -Phadoop-1, but with -Phadoop-2 hits the following error:
> {noformat}
> Running org.apache.hadoop.hive.serde2.avro.TestAvroSerdeUtils
> Tests run: 10, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.603 sec <<<
FAILURE! - in org.apache.hadoop.hive.serde2.avro.TestAvroSerdeUtils
> determineSchemaCanReadSchemaFromHDFS(org.apache.hadoop.hive.serde2.avro.TestAvroSerdeUtils)
 Time elapsed: 0.688 sec  <<< ERROR!
> java.lang.NoClassDefFoundError: com/sun/jersey/spi/container/servlet/ServletContainer
> 	at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> 	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
> 	at org.apache.hadoop.http.HttpServer2.addJerseyResourcePackage(HttpServer2.java:564)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNodeHttpServer.initWebHdfs(NameNodeHttpServer.java:84)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNodeHttpServer.start(NameNodeHttpServer.java:121)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.startHttpServer(NameNode.java:601)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.initialize(NameNode.java:500)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:658)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.<init>(NameNode.java:643)
> 	at org.apache.hadoop.hdfs.server.namenode.NameNode.createNameNode(NameNode.java:1259)
> 	at org.apache.hadoop.hdfs.MiniDFSCluster.createNameNode(MiniDFSCluster.java:914)
> 	at org.apache.hadoop.hdfs.MiniDFSCluster.createNameNodesAndSetConf(MiniDFSCluster.java:805)
> 	at org.apache.hadoop.hdfs.MiniDFSCluster.initMiniDFSCluster(MiniDFSCluster.java:663)
> 	at org.apache.hadoop.hdfs.MiniDFSCluster.<init>(MiniDFSCluster.java:603)
> 	at org.apache.hadoop.hdfs.MiniDFSCluster.<init>(MiniDFSCluster.java:474)
> 	at org.apache.hadoop.hive.serde2.avro.TestAvroSerdeUtils.determineSchemaCanReadSchemaFromHDFS(TestAvroSerdeUtils.java:189)
> {noformat}



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

Mime
View raw message