giraph-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eli Reisman <apache.mail...@gmail.com>
Subject Re: Giving a parameter into initialize() of masterCompute
Date Sun, 24 Mar 2013 17:38:55 GMT
I think you can use -D with the bin/giraph run script to pass configuration
keys and values. If you call "hadoop jar" directly and use it to run the
o.a.g.GiraphRunner class, then the same types of key and value args are
passed via -ca arguments.

The very oldest way to run Giraph code is demonstrated in the benchmark/
dirs where you see benchmarks implementing Tool from Hadoop and running
directly via hadoop jar command (as shown on the website.) For new
application code, either of the two ways listed above are preferred.


On Fri, Mar 22, 2013 at 4:49 AM, Claudio Martella <
claudio.martella@gmail.com> wrote:

> Yes, for example with -ca. It depends on how you're running your jobs,
> whether directly from hadoop or through GiraphRunner.
>
>
> On Fri, Mar 22, 2013 at 12:32 PM, Maria Stylianou <marsty5@gmail.com>wrote:
>
>>
>> On Thu, Mar 21, 2013 at 3:23 PM, Claudio Martella <
>> claudio.martella@gmail.com> wrote:
>>
>>> pass your parameters as job parameters through -D
>>
>>
>> do you mean in the execution command line? when we write -ca
>> parameter=value ? I don't know/remember the  -D
>>
>>
>>
>> --
>> Maria Stylianou
>> Intern at Telefonica, Barcelona, Spain
>> Master Student of European Master in Distributed Computing<http://www.kth.se/en/studies/programmes/master/em/emdc>
>> Universitat Polit├Ęcnica de Catalunya - BarcelonaTech, Barcelona, Spain
>> KTH Royal Institute of Technology, Stockholm, Sweden
>> Phone: +34 622 211 885
>>
>>
>
>
> --
>    Claudio Martella
>    claudio.martella@gmail.com
>

Mime
View raw message