mesos docker java_在Docker容器里编译Mesos报错

主机环境:CentOS 7(3.10.0-229.el7.x86_64)+Docker 1.7

容器镜像:CentOS 7

Mesos版本:Mesos-0.21.1

问题描述:前面的run都是OK就下面这个RUN,出现错误。

RUN      ] CpuIsolatorTest/1.UserCpuUsage

F1027 07:17:05.656836 21669 isolator_tests.cpp:148] CHECK_SOME(isolator): Failed to prepare hierarchy for cpu subsystem: Failed to mount cgroups hierarchy at '/sys/fs/cgroup/cpu': 'cpu' is already attached to another hierarchy

*** Check failure stack trace: ***

@     0x7f323f41ae0a  google::LogMessage::Fail()

@     0x7f323f41ad69  google::LogMessage::SendToLog()

@     0x7f323f41a77a  google::LogMessage::Flush()

@     0x7f323f41d4ae  google::LogMessageFatal::~LogMessageFatal()

@           0x9039a6  _CheckFatal::~_CheckFatal()

@           0xcc636b  CpuIsolatorTest_UserCpuUsage_Test<>::TestBody()

@          0x10e4d6c  testing::internal::HandleSehExceptionsInMethodIfSupported<>()

@          0x10dfec2  testing::internal::HandleExceptionsInMethodIfSupported<>()

@          0x10c823b  testing::Test::Run()

@          0x10c895e  testing::TestInfo::Run()

@          0x10c8ee6  testing::TestCase::Run()

@          0x10cdc62  testing::internal::UnitTestImpl::RunAllTests()

@          0x10e5bdd  testing::internal::HandleSehExceptionsInMethodIfSupported<>()

@          0x10e0bb3  testing::internal::HandleExceptionsInMethodIfSupported<>()

@          0x10ccb12  testing::UnitTest::Run()

@           0xd41d85  main

@     0x7f3239888af5  __libc_start_main

@           0x8ece39  (unknown)

make: ***  Aborted (core dumped)

make: Leaving directory `/usr/local/mesos-0.21.1/build/src'

make: ***  Error 2

make: Leaving directory `/usr/local/mesos-0.21.1/build/src'

make: ***  Error 2

make: Leaving directory `/usr/local/mesos-0.21.1/build/src'

make: ***  Error 1

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值