giraph-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ramani, Arun" <aram...@paypal.com>
Subject Passing Custom Arguments for giraph.zkList
Date Thu, 29 Aug 2013 21:05:50 GMT
Hi,

I am trying to pass a zookeeper quorum to my giraph job and it throws the following exception:

13/08/29 13:14:38 INFO utils.ConfigurationUtils: No edge input format specified. Ensure your
InputFormat does not require one.
13/08/29 13:14:38 INFO utils.ConfigurationUtils: No output format specified. Ensure your OutputFormat
does not require one.
13/08/29 13:14:38 INFO utils.ConfigurationUtils: Setting custom argument [giraph.zkList] to
zk1 in GiraphConfiguration
Exception in thread "main" java.lang.IllegalArgumentException: Unable to parse custom  argument:
zk2:port
        at org.apache.giraph.utils.ConfigurationUtils.populateGiraphConfiguration(ConfigurationUtils.java:288)
        at org.apache.giraph.utils.ConfigurationUtils.parseArgs(ConfigurationUtils.java:147)
        at com.paypal.risk.rd.giraph.AccountPropagation.run(AccountPropagation.java:46)
        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
        at com.paypal.risk.rd.giraph.AccountPropagation.main(AccountPropagation.java:98)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.hadoop.util.RunJar.main(RunJar.java:197)

I pass the zklist like this:

Hadoop jar GRAPH.jar <CLASSNAME> -vip <CLASS NAME> -vif <CLASS NAME> -wc
<CLASS NAME> -w <worker number> -ca giraph.zkList="zk1:<port>,zk2:<port>,zk3:<port>,zk4:<port>,zk5:<port>"

Please suggest what is wrong with this invocation.

Thanks
Arun Ramani

Mime
View raw message