You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-user@hadoop.apache.org by Simon Dong <si...@gmail.com> on 2013/09/09 18:00:11 UTC

Re: Running Contrail on hadoopo

On Sep 3, 2013 9:20 AM, "Felipe Gutierrez" <fe...@gmail.com>
wrote:

> Hi,
>
> I am trying to run Contrail on Hadoop and it starts ok, but after some
> time throws an error. Some java class can't convert a string to float
> because there is a comma.
>
> I think the problem is not at contrail code. Maybe the location of my
> timezone? Does anyone already passed through this?
>
> $ bin/hadoop jar contrail-1.0-SNAPSHOT.jar contrail.Contrail -asm assembly
> -k 25 -reads reads
> == Starting time 2013-09-03 10:08:59
> Preprocess reads:       2
> job_201309030936_0005 9 s  250 converted
> Build Initial:  4
>
> job_201309030936_0006 358 s  2814 nodes [250 (100,00%) good reads, 9000 bp]
>   Quick Merge:  java.lang.NumberFormatException: For input string: "1,00"
>         at
> sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1242)
>         at java.lang.Float.parseFloat(Float.java:439)
>         at contrail.Node.cov(Node.java:1096)
>         at contrail.Node.toNodeMsg(Node.java:664)
>         at contrail.QuickMerge$QuickMergeMapper.map(QuickMerge.java:69)
>         at contrail.QuickMerge$QuickMergeMapper.map(QuickMerge.java:47)
>         at org.apache.hadoop.mapred.MapRunner.run(MapRunner.java:50)
>         at org.apache.hadoop.mapred.MapTask.runOldMapper(MapTask.java:436)
>         at org.apache.hadoop.mapred.MapTask.run(MapTask.java:372)
>         at org.apache.hadoop.mapred.Child$4.run(Child.java:255)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at javax.security.auth.Subject.doAs(Subject.java:416)
>         at
> org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1149)
>         at org.apache.hadoop.mapred.Child.main(Child.java:249)
>
>
>
> --
> *--
> -- Felipe Oliveira Gutierrez
> -- Felipe.o.Gutierrez@gmail.com
> -- https://sites.google.com/site/lipe82/Home/diaadia*
>