[
https://issues.apache.org/jira/browse/HBASE-16361?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15410509#comment-15410509
]
stack commented on HBASE-16361:
-------------------------------
The classnotfound is looking for URIException.
URIException is in commons-httpclient.
The below commit....
commit 379b86c5df783eaeb53e6913afdde92da5351ec2
Author: tedyu <[email protected]>
Date: Tue Aug 2 10:53:57 2016 -0700
HBASE-16267 Remove commons-httpclient dependency from hbase-rest module
... is about removing commons-httpclient from hbase-rest on the face of it but
when you look at the patch, it is also updating our httpclient version from 4.3
to 4.5, duplicating a httpclient reference in hbase-server, and adding excludes
for commons-httpclient, the jar with the missing URI in it.
Let me revert since it has a few issues rather than just one.
> Revert of HBASE-16317, "revert all ESAPI..." broke TestLogLevel
> ---------------------------------------------------------------
>
> Key: HBASE-16361
> URL: https://issues.apache.org/jira/browse/HBASE-16361
> Project: HBase
> Issue Type: Bug
> Components: dependencies, UI
> Reporter: stack
> Assignee: stack
>
> Side effect of the revert in HBASE-16317 is broken TestLogLevel.
> testDynamicLogLevel(org.apache.hadoop.hbase.http.log.TestLogLevel) Time
> elapsed: 0.956 sec <<< ERROR!
> java.io.IOException: Server returned HTTP response code: 500 for URL:
> http://localhost:51940/logLevel?log=org.apache.hadoop.hbase.http.log.TestLogLevel&level=ERROR
> at
> sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1840)
> at
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1441)
> at
> org.apache.hadoop.hbase.http.log.TestLogLevel.testDynamicLogLevel(TestLogLevel.java:71)
> Complaint is because...
> 41 Caused by: java.lang.ClassNotFoundException:
> org.apache.commons.httpclient.URIException
> 42 at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
> Let me see if I can fix.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)