- Community Home
- >
- Software
- >
- HPE Ezmeral Software platform
- >
- Mismatch found for java and native libraries build...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-24-2021 10:41 PM
06-24-2021 10:41 PM
Mismatch found for java and native libraries build version
Am getting the below error when tried to build the project in my local. Below are my configuration used in the pom.xml file. Please help me out to resolve the issue
hbase-server: 1.1.8-mapr-1901
hive-exec: 2.3.6-mapr-2009-r3
spring-batch-core: 4.3.3
spark-sql_2.11: 2.3.1-mapr-1808-r4
hadoop-common, hadoop-mapreduce-client-common: 2.7.0-mapr-1808
scalatest_2.11: 3.0.9
Build is getting failed when tried to execute the unit test on my local machine.
Exception StackTrace:
[INFO] --- scalatest-maven-plugin:2.0.2:test (scala_tests) @ global-sic8-core ---
Discovery starting.
Discovery completed in 940 milliseconds.
Run starting. Expected test count is: 16
AddNeustarSourceTests:
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/C:/Users/msrin11/.m2/repository/org/apache/logging/log4j/log4j-slf4j-impl/2.6.2/log4j-slf4j-impl-2.6.2.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/C:/Users/msrin11/.m2/repository/org/slf4j/slf4j-log4j12/1.7.10/slf4j-log4j12-1.7.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFactory]
ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console. Set system property 'org.apache.logging.log4j.simplelog.StatusLogger.level' to TRACE to show Log4j2 internal initialization logging.
2021-06-25 10:51:09,7111 ERROR JniCommon fc/jni_MapRClient.cc:795 Thread: 26176 Mismatch found for java and native libraries java build version 6.1.0.20180926230239.GA, native build version 6.0.0.20171109191718.GA java patch vserion $Id: mapr-version: 6.1.0.20180926230239.GA 9008f798f53897bea861, native patch version $Id: mapr-version: 6.0.0.20171109191718.GA 2227eb16eb6dc79ffe87
*** RUN ABORTED ***
java.io.IOException: Could not create FileClient
at com.mapr.fs.MapRFileSystem.lookupClient(MapRFileSystem.java:661)
at com.mapr.fs.MapRFileSystem.lookupClient(MapRFileSystem.java:714)
at com.mapr.fs.MapRFileSystem.getMapRFileStatus(MapRFileSystem.java:1424)
at com.mapr.fs.MapRFileSystem.getFileStatus(MapRFileSystem.java:1098)
at org.apache.hadoop.fs.FileSystem.exists(FileSystem.java:1464)
at org.apache.spark.sql.execution.datasources.DataSource$.org$apache$spark$sql$execution$datasources$DataSource$$checkAndGlobPathIfNecessary(DataSource.scala:714)
at org.apache.spark.sql.execution.datasources.DataSource$$anonfun$15.apply(DataSource.scala:389)
at org.apache.spark.sql.execution.datasources.DataSource$$anonfun$15.apply(DataSource.scala:389)
at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:241)
at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:241)
...
Cause: java.io.IOException: Could not create FileClient
at com.mapr.fs.MapRClientImpl.<init>(MapRClientImpl.java:139)
at com.mapr.fs.MapRFileSystem.lookupClient(MapRFileSystem.java:655)
at com.mapr.fs.MapRFileSystem.lookupClient(MapRFileSystem.java:714)
at com.mapr.fs.MapRFileSystem.getMapRFileStatus(MapRFileSystem.java:1424)
at com.mapr.fs.MapRFileSystem.getFileStatus(MapRFileSystem.java:1098)
at org.apache.hadoop.fs.FileSystem.exists(FileSystem.java:1464)
at org.apache.spark.sql.execution.datasources.DataSource$.org$apache$spark$sql$execution$datasources$DataSource$$checkAndGlobPathIfNecessary(DataSource.scala:714)
at org.apache.spark.sql.execution.datasources.DataSource$$anonfun$15.apply(DataSource.scala:389)
at org.apache.spark.sql.execution.datasources.DataSource$$anonfun$15.apply(DataSource.scala:389)
at scala.collection.TraversableLike$$anonfun$flatMap$1.apply(TraversableLike.scala:241)
...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-25-2021 08:11 AM
06-25-2021 08:11 AM
Re: Mismatch found for java and native libraries build version
When you are saying you are running unit test on your machine, what mapr version you have installed across which you are running this Unit test?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-28-2021 01:46 AM
06-28-2021 01:46 AM
Re: Mismatch found for java and native libraries build version
am using mapr version
6.1.0-mapr
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-29-2021 08:20 PM - edited 06-29-2021 08:43 PM
06-29-2021 08:20 PM - edited 06-29-2021 08:43 PM
Re: Mismatch found for java and native libraries build version
Can you let me know from where you are resolving the dependancies in pom.xml? Which repo you are referring to?
Is your machine acting like a mapr client which connects to a cluster? What mapr versions you have on your cluster and client? are they the same?
to me it looks like your machine is like a mapr client which is 6.1? This happens when your client and core(cluster nodes) are in different build version
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2021 06:07 PM
07-06-2021 06:07 PM
Re: Mismatch found for java and native libraries build version
Can you confirm over the mapr versions as asked by me in the earlier post.