Is it possible to change where HTraced saves data?

2016-12-22 Thread Mihir Monani
I am adding 1M  rows in HBase( roughly 200byte size) and HTrace runs out of
memory ( client which puts data in HBase ,makes thread dump on console )

HTraced saved data in /tmp/ folders in local file system.

Is there a way to make changes such that It saves data in HDFS?

Thanks,
Mihir Monani


Re: HTrace 3.2 - Can't build HTrace-HTraced package

2016-12-20 Thread Mihir Monani
Yes, i tried HTRAE-255 yesterday and it works with 3.2 Branch.

Just now, I have made comment on HTRACE-255: https://issues.apache.org/jira
/browse/HTRACE-255 to merge it in 3.2 version.

On Tue, Dec 20, 2016 at 8:38 PM, Masatake Iwasaki <
iwasak...@oss.nttdata.co.jp> wrote:

> Hi Mihir,
>
> [exec] godep: open Godeps/Godeps.json: no such file or directory
>> [exec] failed to set up dependencies
>>
>
> Did you try to build htrace-htraced on OS X?
> looks like HTRACE-255: https://issues.apache.org/jira/browse/HTRACE-255
>
> Since the fix version of HTRACE-255 is 4.0.1,
> you need equivalent fix on 3.2 if that's the case.
>
> Thanks,
> Masatake Iwasaki
>
> On 12/16/16 14:26, Mihir Monani wrote:
>
>> Hi,
>>
>> I have installed all the dependency required for HTrace.
>>
>> I am able to build 4.1.0 without any problems.
>>
>> Here is what i did :-
>>
>> *git clone https://github.com/apache/incubator-htrace.git
>> <https://github.com/apache/incubator-htrace.git>*
>> *git checkout 3.2*
>> *mvn clean install -DskipTests -Dmaven.javadoc.skip=true*
>>
>>
>>   I am not able to build 3.2 branch from git.
>>
>> Errors which i face :-
>> [INFO]
>>
>> [INFO]
>> 
>> [INFO] Building htrace-htraced 3.2.0-incubating
>> [INFO]
>> 
>>
>> ### dowanloads some dependencies ###
>>
>> [INFO]
>> [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @
>> htrace-htraced ---
>> [INFO] Using 'UTF-8' encoding to copy filtered resources.
>> [INFO] skip non existing resourceDirectory
>> /home/user/git/incubator-htrace_3.2/htrace-htraced/src/main/resources
>> [INFO] Copying 3 resources
>> [INFO]
>> [INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @
>> htrace-htraced ---
>> [INFO] Compiling 1 source file to
>> /home/user/git/incubator-htrace_3.2/htrace-htraced/target/classes
>> [INFO]
>> [INFO] --- maven-antrun-plugin:1.6:run (go_compile) @ htrace-htraced ---
>> [WARNING] Parameter tasks is deprecated, use target instead
>> [INFO] Executing tasks
>>
>> main:
>>   [exec] godep restore...
>>   [exec] godep: [WARNING]: godep should only be used inside a valid go
>> package directory and
>>   [exec] godep: [WARNING]: may not function correctly. You are
>> probably
>> outside of your $GOPATH.
>>   [exec] godep: [WARNING]: Current Directory:
>> /home/user/git/incubator-htrace_3.2/htrace-htraced/src/go/build
>>   [exec] godep: [WARNING]: $GOPATH:
>> /home/user/git/incubator-htrace_3.2/htrace-htraced/src/go/
>> build:/home/user/git/incubator-htrace_3.2/htrace-htraced/src/go
>>   [exec] godep: open Godeps/Godeps.json: no such file or directory
>>   [exec] failed to set up dependencies
>> [INFO]
>> 
>> [INFO] BUILD FAILURE
>> [INFO]
>> 
>>
>>
>>
>> I am not able to think what is the problem with 3.2 ( or 3.x) version. I
>> also face same error with 3.1 too.
>>
>> Thanks,
>> Mihir Monani
>>
>>
>


HTrace 3.2 - Can't build HTrace-HTraced package

2016-12-15 Thread Mihir Monani
Hi,

I have installed all the dependency required for HTrace.

I am able to build 4.1.0 without any problems.

Here is what i did :-

*git clone https://github.com/apache/incubator-htrace.git
<https://github.com/apache/incubator-htrace.git>*
*git checkout 3.2*
*mvn clean install -DskipTests -Dmaven.javadoc.skip=true*

 I am not able to build 3.2 branch from git.

Errors which i face :-
[INFO]

[INFO]

[INFO] Building htrace-htraced 3.2.0-incubating
[INFO]


### dowanloads some dependencies ###

[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @
htrace-htraced ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory
/home/user/git/incubator-htrace_3.2/htrace-htraced/src/main/resources
[INFO] Copying 3 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @
htrace-htraced ---
[INFO] Compiling 1 source file to
/home/user/git/incubator-htrace_3.2/htrace-htraced/target/classes
[INFO]
[INFO] --- maven-antrun-plugin:1.6:run (go_compile) @ htrace-htraced ---
[WARNING] Parameter tasks is deprecated, use target instead
[INFO] Executing tasks

main:
 [exec] godep restore...
 [exec] godep: [WARNING]: godep should only be used inside a valid go
package directory and
 [exec] godep: [WARNING]: may not function correctly. You are probably
outside of your $GOPATH.
 [exec] godep: [WARNING]: Current Directory:
/home/user/git/incubator-htrace_3.2/htrace-htraced/src/go/build
 [exec] godep: [WARNING]: $GOPATH:
/home/user/git/incubator-htrace_3.2/htrace-htraced/src/go/build:/home/user/git/incubator-htrace_3.2/htrace-htraced/src/go
 [exec] godep: open Godeps/Godeps.json: no such file or directory
 [exec] failed to set up dependencies
[INFO]

[INFO] BUILD FAILURE
[INFO]




I am not able to think what is the problem with 3.2 ( or 3.x) version. I
also face same error with 3.1 too.

Thanks,
Mihir Monani


Re: Not able to use HBaseSpanReceiver

2016-12-15 Thread Mihir Monani
Yes i was doing infinite loop thing. I will try to use trace with 3.2.0
because HBase 0.98 wont work with 4.1.0 version. There are too many changes
in HTrace APIs etc.

Thanks for input. :)

On Tue, Dec 13, 2016 at 10:51 PM, Colin McCabe <cmcc...@apache.org> wrote:

> On Tue, Dec 13, 2016, at 03:15, Mihir Monani wrote:
> > Hi,
> >
> > I am using below version of HBase and HTrace :-
> >
> > HBase 0.98.x
> >
> > HTrace 3.1.0
>
> Hi Mihir,
>
> That's a very old version of HTrace, from two years ago.  I really
> recommend using modern versions, with a setup like this:
> http://blog.cloudera.com/blog/2015/12/new-in-cloudera-labs-
> apache-htrace-incubating/
>
> >
> > I am trying to store spans in HBase itself but its not storing any data
> > in
> > HBase  There are no errors or warnings. Also when I start HBase , it will
> > also print log line , something like this  " successfully loaded
> > SpanReceiver."
>
> What's the goal?  To store spans in HBase or to view tracing of HBase
> itself?  If you are tracing HBase itself, you should expect to see that
> log message.  It is not a good idea to trace hbase if you are also using
> HBase to store the traces themselves (there is an infinite recursion
> issue here).
>
> best,
> Colin
>
>
> >
> > I am following this documentation for configuration :-
> >
> > https://github.com/apache/incubator-htrace/tree/3.1/htrace-hbase
> >
> > Can any one help me out?
> >
> > Thanks,
> > Mihir Monani
>


Not able to use HBaseSpanReceiver

2016-12-13 Thread Mihir Monani
Hi,

I am using below version of HBase and HTrace :-

HBase 0.98.x

HTrace 3.1.0

I am trying to store spans in HBase itself but its not storing any data in
HBase  There are no errors or warnings. Also when I start HBase , it will
also print log line , something like this  " successfully loaded
SpanReceiver."

I am following this documentation for configuration :-

https://github.com/apache/incubator-htrace/tree/3.1/htrace-hbase

Can any one help me out?

Thanks,
Mihir Monani