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

Andrew Purtell commented on HBASE-22728:
----------------------------------------

Still not quite right. Can't launch {{./bin/hbase rest start}} because 
hbase-rest is not a dependency of hbase-assembly. Thrift is a dependency and 
can be launched this way, so this looks like a long standing oversight. After I 
add the dependency on hbase-rest to hbase-assembly and try to launch the rest 
gateway in place, we still need jackson dependencies (at test scope I think) or 
else the gateway is nonfunctional ... various classes cannot be instantiated.

To test:
1. Start zk+master+regionserver in one process in one terminal via 
{{./bin/hbase master start}}
2. Start rest gateway in another terminal via {{./bin/hbase rest start}}
3. {{curl localhost:8080}}

With my addendum this all works. Let me attach it. 

> Upgrade jackson dependencies in branch-1
> ----------------------------------------
>
>                 Key: HBASE-22728
>                 URL: https://issues.apache.org/jira/browse/HBASE-22728
>             Project: HBase
>          Issue Type: Sub-task
>    Affects Versions: 1.4.10, 1.3.5
>            Reporter: Andrew Purtell
>            Assignee: Viraj Jasani
>            Priority: Major
>             Fix For: 1.5.0, 1.3.6, 1.4.11
>
>         Attachments: HBASE-22728-addendum.patch, 
> HBASE-22728.branch-1.01.patch, HBASE-22728.branch-1.02.patch, 
> HBASE-22728.branch-1.04.patch, HBASE-22728.branch-1.06.patch, 
> HBASE-22728.branch-1.10.patch, HBASE-22728.branch-1.11.patch, 
> HBASE-22728.branch-1.12.patch, HBASE-22728.branch-1.14.patch
>
>
> Avoid Jackson versions and dependencies with known CVEs



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Reply via email to