[
https://issues.apache.org/jira/browse/HBASE-22029?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16792003#comment-16792003
]
stack commented on HBASE-22029:
-------------------------------
Using...
{code}
for f in `find . -name '*.jar'`; do echo $f && jar tvf $f | grep -i
javax.ws.rs.core.Response; done > /tmp/find.txt
{code}
... against build generated repo, here are the jars with Response in them:
{code}
./com/sun/jersey/jersey-core/1.17.1/jersey-core-1.17.1.jar
./com/sun/jersey/jersey-core/1.9/jersey-core-1.9.jar
./javax/ws/rs/jsr311-api/1.1.1/jsr311-api-1.1.1.jar
./javax/ws/rs/javax.ws.rs-api/2.0.1/javax.ws.rs-api-2.0.1.jar
{code}
mvn dependency/analysis doesn't account for how jsr311 makes it into the repo.
The jersey-cores are an abstract Response. They are excluded usually but can
come in in hadoop2 via hadoop-common. Let me try build excluding these
jersey-core in more places and run with -X to see if i can catch a classpath...
or why jsr311 is downloaded.
> RESTApiClusterManager.java:[250,48] cannot find symbol in hbase-it
> ------------------------------------------------------------------
>
> Key: HBASE-22029
> URL: https://issues.apache.org/jira/browse/HBASE-22029
> Project: HBase
> Issue Type: Sub-task
> Reporter: stack
> Priority: Major
>
> I get this doing a RM build. Can't repro elsewhere.
> Picking up an old jaxrs? See
> https://stackoverflow.com/questions/34679773/extract-string-from-javax-response
> Let me try adding explicit dependency.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)