[
https://issues.apache.org/jira/browse/HBASE-10336?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13881992#comment-13881992
]
Eric Charles commented on HBASE-10336:
--------------------------------------
[[email protected]] thx for the pointer. Actually, I looked at jenkins output
and didn't see the command invoked not any details on the outputs. just the
exception. I guess the build script mutes this on purpose which makes it more
tricky for newbies like me, if the -Dhadoop.profile=1.0 would have appeared in
the log, I would have seen where the error was coming from, obviously from the
fact I didn't try to compile with hadoop1.
I have decoupled quite more keys (there was the reported
DEFAULT_HADOOP_HTTP_STATIC_USER and a few more). Now I have a more tricky one
{code}
[ERROR]
/home/eric/wrk/com/hbase.git/hbase-server/src/main/java/org/apache/hadoop/hbase/http/conf/ConfServlet.java:[93,10]
writeXml(java.io.OutputStream) in org.apache.hadoop.conf.Configuration cannot
be applied to (java.io.Writer)
{code}
It's the classical ball of wool.... I'm sure you see what I eman You guys
please tell me: a quick hack for this before falling on the next one or a more
complete solution via 'HBASE-9213 create a unified shim for hadoop 1 and 2 so
that there's one build of HBase' - Depends how quick you want this HBASE-10336
to land.
> Remove deprecated usage of Hadoop HttpServer in InfoServer
> ----------------------------------------------------------
>
> Key: HBASE-10336
> URL: https://issues.apache.org/jira/browse/HBASE-10336
> Project: HBase
> Issue Type: Bug
> Affects Versions: 0.99.0
> Reporter: Eric Charles
> Assignee: Eric Charles
> Attachments: HBASE-10336-1.patch, HBASE-10336-2.patch,
> HBASE-10336-3.patch, HBASE-10336-4.patch, HBASE-10336-5.patch,
> HBASE-10336-6.patch, HBASE-10336-7.patch
>
>
> Recent changes in Hadoop HttpServer give NPE when running on hadoop
> 3.0.0-SNAPSHOT. This way we use HttpServer is deprecated and will probably be
> not fixed (see HDFS-5760). We'd better move to the new proposed builder
> pattern, which means we can no more use inheritance to build our nice
> InfoServer.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)