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

stack commented on HTRACE-9:
----------------------------

That is cute, having maven build go.

When we server javascript from htraced, it'll be serving static files?

bq. It has no dependencies on an external project

I had to install leveldb

gobuild.sh needs execute bit set.

Building on mac os x, I don't have ldconfig... can add check of system later 
and look on DYLD_LIBRARY_PATH 

I also had to add this stuff to get it to build:

diff --git a/pom.xml b/pom.xml
index 067a7a9..9e817bc 100644
--- a/pom.xml
+++ b/pom.xml
@@ -126,6 +126,9 @@ language governing permissions and limitations under the 
License. -->
               <exclude>.svn/**</exclude>
               <exclude>**/.settings/**</exclude>
               <exclude>**/generated/**</exclude>
+              <exclude>**/github.com/**</exclude>
+              <exclude>**/gopkg.in/**</exclude>
+              <exclude>**/dependency-reduced-pom.xml</exclude>
               <!-- Readme -->
               <exclue>README.md</exclue>
             </excludes>

... so rat check would pass.

I got this far:
kalashnikov-16:htrace-core stack$ ./src/go/bin/htraced
2014/12/05 16:29:14 LevelDB opened /tmp/htrace1/db
2014/12/05 16:29:14 LevelDB opened /tmp/htrace2/db

Looks like its listening on 9095.

I ran the cmdline tool:

$ ./src/go/bin/htrace serverInfo
HTraced server version 1.0-SNAPSHOT

I'd say its good enough to checkin.  Can work on build, etc., in subsequent 
issues.  Fix the rat complain on commit.  I can work on making it work for mac 
os x.

Good stuff Colin




> Add standalone htraced server
> -----------------------------
>
>                 Key: HTRACE-9
>                 URL: https://issues.apache.org/jira/browse/HTRACE-9
>             Project: HTrace
>          Issue Type: Improvement
>            Reporter: Colin Patrick McCabe
>            Assignee: Colin Patrick McCabe
>         Attachments: HTRACE-9.001.patch, HTRACE-9.002.patch
>
>
> Add a standalone htraced server which can accept trace spans and serve a web 
> GUI.



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

Reply via email to