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

stack commented on HTRACE-247:
------------------------------

So, the webapp is from htrace-htraced. It is what it uses. If you start 
htrace-htraced, it should be putting it up for you to query.

We broke out the webapp to be its own separate module though because the notion 
was that it should be developed apart from htrace-htraced. The idea is that one 
day this webapp could be deployed for htrace-htraced but also in other 
containers; e.g. deployed in the hbase UI. A bit of config for the container 
would point it at the span store it should query. The work to make it useable 
for any store other than htrace-htraced has not yet been done. You are the 
first to try the webapp running apart from htrace-htraced so there are likely 
some issues.

Thanks [~lewismc]

> Add instructions to htrace-webapp/README.md demonstrating how to use the web 
> application
> ----------------------------------------------------------------------------------------
>
>                 Key: HTRACE-247
>                 URL: https://issues.apache.org/jira/browse/HTRACE-247
>             Project: HTrace
>          Issue Type: Bug
>          Components: docs, ui
>    Affects Versions: 4.0
>            Reporter: Lewis John McGibbney
>            Priority: Critical
>             Fix For: 4.1
>
>         Attachments: Screen Shot 2015-09-14 at 10.05.02 PM.png
>
>
> Right now I literally have no idea how to use the Web Application. This issue 
> became apparent to me whilst trying to build the docker container and running 
> into some Tomcat issues, then investigating the Web App locally only to find 
> out that I couldn't package it. I then logged HTRACE-246.
> When I deployed the web app into Apache Tomcat and navigated to 
> http://localhost:8080/htrace-webapp-4.1.0-incubating-SNAPSHOT/#about I am 
> greeted with some concerning message the there is an error with regards to a 
> REST service not being found!
> Please see the attached screenshot which shows you what I am seeing.
> I have tried starting up the REST server as per 
> {code}
> lmcgibbn@LMC-032857 
> /usr/local/incubator-htrace/htrace-htraced/go/build(HTRACE-241) $ ./htraced
> 2015-09-14T22:00:51-07:00 I: Created new LevelDB instance in /tmp/htrace1/db
> 2015-09-14T22:00:51-07:00 I: Created new LevelDB instance in /tmp/htrace2/db
> 2015-09-14T22:00:51-07:00 I: Serving static files from 
> /usr/local/incubator-htrace/htrace-htraced/go/web
> .2015-09-14T22:00:51-07:00 I: Started REST server on [::]:9095...
> 2015-09-14T22:00:51-07:00 I: Started HRPC server on [::]:9075...
> {code}
> However this does not resolve the issue and I still cannot bind to any RESt 
> service at the /server/info endpoint.
> Can anyone help me to understand this?
> The issue describes the fact that we need to augment the documentation for 
> the Web Application. Whether or not that happens in the webapp README I don't 
> care. But the documentation should be easy to find.
> Thanks folks.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to