Skip to Main Content

Analytics Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

LinkageError loader constraint violation when resolving method -When Add Data Set

2976037Dec 1 2017 — edited Dec 13 2017

Hello experts,

I installed BDD 1.5.0.37.152 based on the Big Data Lite Virtual Machine 4.9 edition,

When I tried to Add Data Set, finished with the "null" information as the following,

pastedImage_0.png

Further investigation, find the hive table was not created.

BDD was installed in the path "/u06/bdd".

From the log file "/u06/bdd/user_projects/domains/bdd-1.5.0.37.152_domain/servers/bigdatalite.localdomain/logs/bdd-studio-odl.log", get the following information,

Caused by: java.lang.LinkageError: loader constraint violation: when resolving method "org.apache.avro.Schema$Field.<init>(Ljava/lang/String;Lorg/apache/avro/Schema;Ljava/lang/String;Lorg/codehaus/jackson/JsonNode;)V" the class loader (instance of weblogic/utils/classloaders/GenericClassLoader) of the current class, com/oracle/portal/hadoop/util/AvroUtils, and the class loader (instance of sun/misc/Launcher$AppClassLoader) for the method's defining class, org/apache/avro/Schema$Field, have different Class objects for the type org/codehaus/jackson/JsonNode used in the signature

From the log file "/u06/bdd/user_projects/domains/bdd-1.5.0.37.152_domain/servers/AdminServer/logs/AdminServer.log", get the information about avro are as the following:

/usr/lib/hadoop/client/avro.jar

/u01/connectors/olh/jlib/avro-1.8.1.jar

/u01/connectors/olh/jlib/avro-mapred-1.8.1-hadoop2.jar

/usr/lib/hadoop/parquet-avro.jar

And tried to find the information about avro, got the following output,

[oracle@bigdatalite u06]$ find /u06 -name *avro*.*

/u06/bdd/user_projects/domains/bdd-1.5.0.37.152_domain/servers/bigdatalite.localdomain/tmp/_WL_user/oracle.endecastudio_1.5.0.0.0/wvbajr/APP-INF/lib/avro-1.7.6.jar

/u06/bdd/user_projects/domains/bdd-1.5.0.37.152_domain/servers/AdminServer/tmp/.appmergegen_1511942268716_bdd-studio.ear/APP-INF/lib/avro-1.7.6.jar

/u06/bdd/BDD-1.5.0.37.152/dgraph/lib64/libavrocpp.so.1.7.6.0

find: `/u06/lost+found': Permission denied

[oracle@bigdatalite u06]$

It seems that are some confliction about avro.

Can you help on this issue?

Thanks a lot for your help.

Jun Wang.

Message was edited by: 2976037 bdd-1.5.0.37.152_domain.txt, real file name is bdd-1.5.0.37.152_domain.log, from /u06/bdd/user_projects/domains/bdd-1.5.0.37.152_domain/servers/AdminServer/logs/bdd-1.5.0.37.152_domain.log bdd-studio-odl.txt, real file name is bdd-studio-odl.log, from /u06/bdd/user_projects/domains/bdd-1.5.0.37.152_domain/servers/bigdatalite.localdomain/logs/bdd-studio-odl.log

This post has been answered by 2976037 on Dec 13 2017
Jump to Answer
Comments
Post Details