Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hadoop, mail # user - Running Contrail on hadoop


Copy link to this message
-
Running Contrail on hadoop
Felipe Gutierrez 2013-09-03, 13:20
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
-- [EMAIL PROTECTED]
-- https://sites.google.com/site/lipe82/Home/diaadia*