With the following change, I was able to build from the root of htrace workspace:
diff --git a/htrace-hbase/pom.xml b/htrace-hbase/pom.xml index f9f81c9..74fb4e6 100644 --- a/htrace-hbase/pom.xml +++ b/htrace-hbase/pom.xml @@ -30,7 +30,7 @@ language governing permissions and limitations under the License. --> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> - <hbase.version>2.0.0-SNAPSHOT</hbase.version> + <hbase.version>0.98.6.1-hadoop2</hbase.version> <!-- <hbase.version>0.99.0-SNAPSHOT</hbase.version> --> <hadoop.version>2.4.0</hadoop.version> <!-- <hadoop.version>3.0.0-SNAPSHOT</hadoop.version> --> I got: $ ls -l htrace-hbase/target/htrace-hbase-3.0.4.jar -rw-r--r-- 1 tyu staff 126760 Oct 8 19:54 htrace-hbase/target/htrace-hbase-3.0.4.jar Cheers On Wed, Oct 8, 2014 at 7:44 PM, abhishek1015 <abhishek1...@gmail.com> wrote: > I tried with 0.98.5 as you suggested, but htrace-hbase does not compile. Is > it possible that it is developed for 2.0.0-SNAPSHOT version? My suspicion > is > based on the HttpServer2 missing error. I could not find this class in any > 0.98.5 jar. > > ERROR] Failed to execute goal > org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile > (default-compile) on project htrace-hbase: Compilation failure: Compilation > failure: > [ERROR] > > /home/hadoop/git/htrace/htrace-hbase/src/main/java/org/htrace/viewer/HBaseSpanViewerServer.java:[28,29] > error: cannot find symbol > [ERROR] symbol: class HttpServer2 > [ERROR] location: package org.apache.hadoop.http > [ERROR] > > /home/hadoop/git/htrace/htrace-hbase/src/main/java/org/htrace/viewer/HBaseSpanViewerServer.java:[43,10] > error: cannot find symbol > [ERROR] symbol: class HttpServer2 > [ERROR] location: class HBaseSpanViewerServer > [ERROR] > > /home/hadoop/git/htrace/htrace-hbase/src/main/java/org/htrace/impl/HBaseSpanReceiver.java:[341,12] > error: method configure in class HBaseSpanReceiver cannot be applied to gi > ven types; > [ERROR] required: HTraceConfiguration > [ERROR] found: HBaseHTraceConfiguration > ERROR] reason: actual argument HBaseHTraceConfiguration cannot be converted > to HTraceConfiguration by method invocation conversion > [7/48439] > [ERROR] > > /home/hadoop/git/htrace/htrace-hbase/src/main/java/org/htrace/viewer/HBaseSpanViewerSpansServlet.java:[50,32] > error: cannot find symbol > [ERROR] symbol: method getDecodedPath(HttpServletRequest,String) > [ERROR] location: class ServletUtil > [ERROR] > > /home/hadoop/git/htrace/htrace-hbase/src/main/java/org/htrace/viewer/HBaseSpanViewerServer.java:[57,53] > error: cannot find symbol > [ERROR] symbol: method getHostPortString(InetSocketAddress) > [ERROR] location: class NetUtils > [ERROR] > > /home/hadoop/git/htrace/htrace-hbase/src/main/java/org/htrace/viewer/HBaseSpanViewerServer.java:[58,15] > error: package HttpServer2 does not exist > [ERROR] > > /home/hadoop/git/htrace/htrace-hbase/src/main/java/org/htrace/viewer/HBaseSpanViewerServer.java:[58,49] > error: package HttpServer2 does not exist > [ERROR] > > /home/hadoop/git/htrace/htrace-hbase/src/main/java/org/htrace/viewer/HBaseSpanViewerServer.java:[63,45] > error: cannot find symbol > [ERROR] -> [Help 1] > > > For some reason, I do not see any "reply all" option. I see only "reply" > and > "reply to author" option. I will look for "reply all" option in future > posts. > > Thanks > Abhishek > > > > > -- > View this message in context: > http://apache-hbase.679495.n3.nabble.com/NoSuchMethodError-using-zipkin-with-hbase-0-98-5-tp4064831p4064890.html > Sent from the HBase User mailing list archive at Nabble.com. >