[ 
https://issues.apache.org/jira/browse/HBASE-1456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12714529#action_12714529
 ] 

Andrew Lenards commented on HBASE-1456:
---------------------------------------

I applied the patch file on 0.19.2 and replaced libthrift-20080411p1.jar in 
{hbase-0.19.2}/lib with libthrift.jar 

I'm now getting the following NoClassDefFoundError when attempting to start the 
thrift server: 

$ bin/hbase thrift start 
Exception in thread "main" java.lang.NoClassDefFoundError: 
com/facebook/thrift/protocol/TProtocolFactory
Caused by: java.lang.ClassNotFoundException: 
com.facebook.thrift.protocol.TProtocolFactory
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
Could not find the main class: org.apache.hadoop.hbase.thrift.ThriftServer.  
Program will exit.



> Backport thrift 0.1.0 changes to branch 0.19
> --------------------------------------------
>
>                 Key: HBASE-1456
>                 URL: https://issues.apache.org/jira/browse/HBASE-1456
>             Project: Hadoop HBase
>          Issue Type: Improvement
>          Components: thrift
>    Affects Versions: 0.19.2
>            Reporter: Tim Sell
>             Fix For: 0.19.2
>
>         Attachments: HBASE-1456-v0.19.2.patch, libthrift.jar
>
>
> Since so much in thrift has changed between the ancient version used in this 
> branch and thrift 0.1.0, it will be useful to have a backport patch of all 
> the changes so far.
> There are some api tweaks. Like, gets returning lists, and just being empty 
> when nothing was found instead of throwing NotFound.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to