giraph-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Young Han <young....@uwaterloo.ca>
Subject Re: giraph.metrics.enable
Date Fri, 10 Oct 2014 18:16:18 GMT
Use them as -Dgiraph.metrics.enable=true, after GiraphRunner but before you
specify the algorithm of interest. In other words,

hadoop jar .... org.apache.giraph.GiraphRunner \
   -Dgiraph.metrics.enable=true \
   -Dgiraph.metrics.directory=dir \
   org.apache.giraph.examples.SomeAlgorithm \
   -ca AlgorithmSpecificOpts -vif InputFormat ... etc.

As Matthew mentioned, by default it outputs metrics to the stderr logs---I
haven't used the directory option before either.

Young

On Fri, Oct 10, 2014 at 2:10 PM, Matthew Saltz <saltzm@gmail.com> wrote:

> Use the -ca flag, for each one. Metrics.enable puts metrics from the run
> in the stderr file of each worker by default. I've never used the command
> to change the directory. If that's not what you're looking for let me know,
> I'll be glad to help.
>
> Best,
> Matthew
> El 10/10/2014 19:55, "xuhong zhang" <xuhongnever@gmail.com> escribió:
>
>> Dear everyone,
>>
>> How to use  "giraph.metrics.enable=true" and
>> "giraph.metrics.directory=dir" options.
>>
>> Where should i specify them in the command?
>>
>> thanks
>>
>> --
>> Xuhong Zhang
>>
>

Mime
View raw message