hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Demai Ni <nid...@gmail.com>
Subject Re: jetty 9 on hbase? (HADOOP-10075)
Date Sat, 17 May 2014 02:49:11 GMT
Ted, 

Thanks. I am changing the poms (both top and the one under Hbase- server). Due to the incompatible
btw jetty 6 and 9, infoserver and RESTserver need code changes too. Well, something to play
with this weekend.

Demai on the run

On May 16, 2014, at 4:11 PM, Ted Yu <yuzhihong@gmail.com> wrote:

> HADOOP-10075 is not integrated yet.
> It doesn't have Fix Version(s) either.
> 
> For HBase, you can change the version strings in pom.xml to match the ones
> from your hadoop build :
>    <jetty.version>6.1.26</jetty.version>
>    <jetty.jspapi.version>6.1.14</jetty.jspapi.version>
> 
> Cheers
> 
> 
> On Fri, May 16, 2014 at 2:49 PM, Demai Ni <nidmgg@gmail.com> wrote:
> 
>> hi, folks,
>> 
>> wondering anyone already began to use Jetty 9 with HBase. We are trying to
>> use Jetty9 in hadoop, and got the following exceptions when start HBase:
>> ...
>> java.lang.ClassCastException:
>> org.eclipse.jetty.servlet.ServletContextHandler incompatible with
>> org.mortbay.jetty.servlet.Context
>>        at
>> 
>> org.apache.hadoop.hbase.util.InfoServer.fixupLogsServletLocation(InfoServer.java:74)
>> ...
>> 
>> caused by the mis-match of Jetty9 and Jetty6(current HBase dependency).
>> 
>> On hadoop side HADOOP-10075 is pending. I am thinking about changing hbase
>> code(0.96) to bypass the problem.
>> 
>> Many thanks.
>> 
>> Demai
>> 

Mime
View raw message