Skip to content
This repository has been archived by the owner on Nov 16, 2023. It is now read-only.

zookeeper.cpp:87 CHECK_SOME(jvm): Could not load library 'C:/java8/lib/jvm.lib': %1 is not a valid Win32 application. #267

Open
m0ps opened this issue Jul 22, 2019 · 0 comments

Comments

@m0ps
Copy link

m0ps commented Jul 22, 2019

I'm trying to build mesos with start-windows-build.ps1. It fails on executing mesos-tests.exe
The error in the log is:

[----------] 12 tests from GroupTest
*** Check failure stack trace: ***
    @   00007FF77332041B  google::LogMessage::Fail
    @   00007FF773320321  google::LogMessage::SendToLog
    @   00007FF77331FAF7  google::LogMessage::Flush
    @   00007FF773321721  google::LogMessageFatal::~LogMessageFatal
    @   00007FF76E9894A7  _CheckFatal::~_CheckFatal
    @   00007FF7709F0321  mesos::internal::tests::ZooKeeperTest::SetUpTestCase
    @   00007FF7743DBAD6  testing::TestCase::RunSetUpTestCase
    @   00007FF7743B8721  testing::internal::HandleSehExceptionsInMethodIfSupported<testing::TestCase,void>
    @   00007FF7743B835D  testing::internal::HandleExceptionsInMethodIfSupported<testing::TestCase,void>
    @   00007FF774398A52  testing::TestCase::Run
    @   00007FF77439FC0B  testing::internal::UnitTestImpl::RunAllTests
    @   00007FF7743B88C1  testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl,bool
>
    @   00007FF7743B857D  testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl,bool>
    @   00007FF774399197  testing::UnitTest::Run
    @   00007FF76ECDF722  RUN_ALL_TESTS
    @   00007FF76ECDEC1E  main
    @   00007FF77441D8B4  invoke_main
    @   00007FF77441D79E  __scrt_common_main_seh
    @   00007FF77441D65E  __scrt_common_main
    @   00007FF77441D949  mainCRTStartup
    @   00007FFB77B17974  BaseThreadInitThunk
    @   00007FFB821CA271  RtlUserThreadStart
ld not be created: Failed to create HDFS client: Hadoop client is not available, exit status: 1
I0722 08:20:17.903214  8376 fetcher.cpp:66] Skipping URI fetcher plugin 'hadoop' as it could not be created: Failed to create HDFS client: Hadoop client is not available, exit status: 1
I0722 08:20:18.127583  8376 zookeeper.cpp:82] Using Java classpath: -Djava.class.path=C:\DCOS\mesos\3rdparty\zookeeper-3
.4.8\src\zookeeper-3.4.8\zookeeper-3.4.8.jar;C:\DCOS\mesos\3rdparty\zookeeper-3.4.8\src\zookeeper-3.4.8\lib\jline-0.9.94
.jar;C:\DCOS\mesos\3rdparty\zookeeper-3.4.8\src\zookeeper-3.4.8\lib\log4j-1.2.16.jar;C:\DCOS\mesos\3rdparty\zookeeper-3.
4.8\src\zookeeper-3.4.8\lib\netty-3.7.0.Final.jar;C:\DCOS\mesos\3rdparty\zookeeper-3.4.8\src\zookeeper-3.4.8\lib\slf4j-api-1.6.1.jar;C:\DCOS\mesos\3rdparty\zookeeper-3.4.8\src\zookeeper-3.4.8\lib\slf4j-log4j12-1.6.1.jar
F0722 08:20:18.127583  8376 zookeeper.cpp:87] CHECK_SOME(jvm): Could not load library 'C:/java8/lib/jvm.lib': %1 is not a valid Win32 application.

I figured out that zookeeper 3.4.* support only Win32 platform, support of Win64 was added in 3.5 branch. But... Win32 app should run on Win64 platform. Could someone point me what's wrong in my build environment?

Installed jdk ver:
C:>java -version
java version "1.8.0_211"
Java(TM) SE Runtime Environment (build 1.8.0_211-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.211-b12, mixed mode)
I tried to install x86 instead, but the issue is the same.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant