Thanks, it's correct.
The error was introduced by the copy/paste from the wiki page of 
orientdb-etl.

Thanks again! :)

Il giorno mercoledì 16 luglio 2014 15:48:00 UTC+2, Enrico Risa ha scritto:
>
> Hi  Giulio
>
> seems that your JSON is not well configured
>
> Try to remove *,* from 
>
> verbose: true,
>
>
> 2014-07-16 15:38 GMT+02:00 Giulio Grosso <[email protected] <javascript:>>
> :
>
>> Hi everybody,
>> I'm trying to use new oritentdb-etl tool.
>> I have correctly configured the environment (orientdb community version 
>> 1.7.5) following all the steps here 
>> <https://github.com/orientechnologies/orientdb-etl/wiki>.
>>
>> Unfortunately I get the following exception:
>>
>> Exception in thread "main" 
>> com.orientechnologies.orient.core.exception.OSerializationException: Error 
>> on unmarshalling J
>> SON content for record: config: {
>>     verbose: true,
>>   },
>>   extractor : {
>>     jdbc: { driver: "com.oracle.jdbc.Driver",
>>               url: "jdbc:oracle:thin:@//xx.xxx.xxx.xx:xxxx/xxx",
>>               userName: "xxxxxxxx",
>>               userPassword: "xxxxxxxx",
>>               query: "select * from People" }
>>   },
>>   transformers : [
>>    { vertex: { "class": "People"} }
>>   ],
>>   loader : {
>>     orientdb: {
>>       dbURL: "plocal:/temp/databases/etl-test-xxx",
>>       dbAutoCreate: true
>>     }
>>   }
>>         at 
>> com.orientechnologies.orient.core.serialization.serializer.record.string.ORecordSerializerJSON.fromString(ORe
>> cordSerializerJSON.java:293)
>>         at 
>> com.orientechnologies.orient.core.record.ORecordAbstract.fromJSON(ORecordAbstract.java:202)
>>         at 
>> com.orientechnologies.orient.etl.OETLProcessor.main(OETLProcessor.java:169)
>> Caused by: 
>> com.orientechnologies.orient.core.exception.OSerializationException: Error 
>> on unmarshalling JSON content: wro
>> ng format. Use <field> : <value>
>>         at 
>> com.orientechnologies.orient.core.serialization.serializer.record.string.ORecordSerializerJSON.fromString(ORe
>> cordSerializerJSON.java:165)
>>         at 
>> com.orientechnologies.orient.core.serialization.serializer.record.string.ORecordSerializerJSON.getValueAsReco
>> rd(ORecordSerializerJSON.java:609)
>>         at 
>> com.orientechnologies.orient.core.serialization.serializer.record.string.ORecordSerializerJSON.getValueAsObje
>> ctOrMap(ORecordSerializerJSON.java:579)
>>         at 
>> com.orientechnologies.orient.core.serialization.serializer.record.string.ORecordSerializerJSON.getValue(OReco
>> rdSerializerJSON.java:412)
>>         at 
>> com.orientechnologies.orient.core.serialization.serializer.record.string.ORecordSerializerJSON.fromString(ORe
>> cordSerializerJSON.java:242)
>>         ... 2 more
>>
>> Json config file seems to be ok, where's the error?
>>
>> Thanks in advance.
>>
>> -- 
>>
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "OrientDB" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to