[
https://issues.apache.org/jira/browse/MESOS-8800?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16442193#comment-16442193
]
stevenlee commented on MESOS-8800:
----------------------------------
* Start with command:
/usr/sbin/mesos-agent --master=zk://host1:2181/mesos --log_dir=/var/log/mesos
--attributes="os:centos7;disk:sas;cpu:cpu;net:1G" --containerizers=docker,mesos
--container_logger=org_apache_mesos_LogrotateContainerLogger
--docker_config=file:///root/.docker/config.json --docker_store_dir=/data/mesos
--executor_registration_timeout=5mins --hostname=test.machine.net
--image_providers=docker
--isolation=cgroups/cpu,cgroups/mem,disk/du,filesystem/linux,docker/runtime,network/port_mapping
--modules=file:///root/modules.json
--resources="ports:[31000-32000];ephemeral_ports:[32768-57344]"
--work_dir=/data/mesos --ephemeral_ports_per_container=1024
--egress_rate_limit_per_container=37500KB
I0418 17:43:23.387256 7612 logging.cpp:201] INFO level logging started!
I0418 17:43:23.387831 7612 main.cpp:365] Build: 2018-04-14 13:33:38 by root
I0418 17:43:23.387876 7612 main.cpp:366] Version: 1.5.0
I0418 17:43:23.417420 7612 systemd.cpp:240] systemd version `219` detected
I0418 17:43:23.417551 7612 main.cpp:468] Initializing systemd state
I0418 17:43:23.438782 7612 systemd.cpp:328] Started systemd slice
`mesos_executors.slice`
I0418 17:43:23.441776 7612 resolver.cpp:69] Creating default secret resolver
I0418 17:43:23.514554 7612 containerizer.cpp:304] Using isolation \{
environment_secret, volume/image, volume/host_path, cgroups/cpu, cgroups/mem,
docker/runtime, volume/sandbox_path, disk/du, filesystem/linux,
network/port_mapping }
I0418 17:43:23.525363 7612 linux_launcher.cpp:146] Using /sys/fs/cgroup/freezer
as the freezer hierarchy for the Linux launcher
sh: hadoop: command not found
I0418 17:43:23.613623 7612 fetcher.cpp:69] Skipping URI fetcher plugin 'hadoop'
as it could not be created: Failed to create HDFS client: Hadoop client is not
available, exit status: 32512
I0418 17:43:23.618947 7612 provisioner.cpp:299] Using default backend 'copy'
lt-mesos-agent: ../3rdparty/boost-1.53.0/boost/icl/concept/interval.hpp:586:
typename boost::enable_if<boost::icl::is_asymmetric_interval<Type>, bool>::type
boost::icl::non_empty::exclusive_less(const Type&, const Type&) [with Type =
Interval<short unsigned int>; typename
boost::enable_if<boost::icl::is_asymmetric_interval<Type>, bool>::type = bool]:
Assertion `!(icl::is_empty(left) || icl::is_empty(right))' failed.
*** Aborted at 1524044603 (unix time) try "date -d @1524044603" if you are
using GNU date ***
PC: @ 0x7ffb2b0fe1f7 __GI_raise
*** SIGABRT (@0x1dbc) received by PID 7612 (TID 0x7ffb39191900) from PID 7612;
stack trace: ***
@ 0x7ffb2b9b95e0 (unknown)
@ 0x7ffb2b0fe1f7 __GI_raise
@ 0x7ffb2b0ff8e8 __GI_abort
@ 0x7ffb2b0f7266 __assert_fail_base
@ 0x7ffb2b0f7312 __GI___assert_fail
@ 0x7ffb361ff306 boost::icl::non_empty::exclusive_less<>()
@ 0x7ffb361f73b7 boost::icl::exclusive_less_than<>::operator()()
@ 0x7ffb36206c3c std::_Rb_tree<>::_M_lower_bound()
@ 0x7ffb36204cde std::_Rb_tree<>::find()
@ 0x7ffb361ff515 std::set<>::find()
@ 0x7ffb361f7685 boost::icl::interval_base_set<>::find()
@ 0x7ffb361ef3aa boost::icl::find<>()
@ 0x7ffb361e75d8 boost::icl::intersects<>()
@ 0x7ffb361dc761 IntervalSet<>::intersects()
@ 0x7ffb361b7106 mesos::internal::slave::PortMappingIsolatorProcess::create()
@ 0x7ffb35d49ed0 std::_Function_handler<>::_M_invoke()
@ 0x7ffb35d3bd55 std::function<>::operator()()
@ 0x7ffb35d0f08c
_ZZN5mesos8internal5slave18MesosContainerizer6createERKNS1_5FlagsEbPNS1_7FetcherEPNS_14SecretResolverERK6OptionINS1_16NvidiaComponentsEEENKUlvE7_clEv
@ 0x7ffb35d10910 mesos::internal::slave::MesosContainerizer::create()
@ 0x7ffb35bef7bf mesos::internal::slave::Containerizer::create()
@ 0x7ffb39269dab main
@ 0x7ffb2b0eac05 __libc_start_main
@ 0x7ffb39266a29 (unknown)
Aborted
> start failed after add "network/port_mapping" to isolation
> ----------------------------------------------------------
>
> Key: MESOS-8800
> URL: https://issues.apache.org/jira/browse/MESOS-8800
> Project: Mesos
> Issue Type: Task
> Affects Versions: 1.5.0
> Reporter: stevenlee
> Priority: Major
>
> when i add
> "cgroups/cpu,cgroups/mem,disk/du,filesystem/linux,docker/runtime,network/port_mapping"
> to islotion and add
> "cpus:24;mem:128000;ports:[31000-32000];disk:100000;ephemeral_ports:[32768-57344]"
> to resources,then i systemctl start mesos-slave,report this:
> Log file created at: 2018/04/18 15:15:56
> Running on machine: test.machine.net
> Log line format: [IWEF]mmdd hh:mm:ss.uuuuuu threadid file:line] msg
> I0418 15:15:56.583765 21945 logging.cpp:201] INFO level logging started!
> I0418 15:15:56.584277 21945 main.cpp:365] Build: 2018-04-14 13:33:38 by root
> I0418 15:15:56.584306 21945 main.cpp:366] Version: 1.5.0
> I0418 15:15:56.615106 21945 systemd.cpp:240] systemd version `219` detected
> I0418 15:15:56.615202 21945 main.cpp:468] Initializing systemd state
> I0418 15:15:56.623399 21945 systemd.cpp:328] Started systemd slice
> `mesos_executors.slice`
> I0418 15:15:56.626150 21945 resolver.cpp:69] Creating default secret resolver
> I0418 15:15:56.713505 21945 containerizer.cpp:304] Using isolation \{
> environment_secret, volume/image, volume/host_path, cgroups/cpu, cgroups/mem,
> docker/runtime, volume/sandbox_path, disk/du, filesystem/linux,
> network/port_mapping }
> I0418 15:15:56.725468 21945 linux_launcher.cpp:146] Using
> /sys/fs/cgroup/freezer as the freezer hierarchy for the Linux launcher
> I0418 15:15:56.812513 21945 fetcher.cpp:69] Skipping URI fetcher plugin
> 'hadoop' as it could not be created: Failed to create HDFS client: Hadoop
> client is not available, exit status: 32512
> I0418 15:15:56.818392 21945 provisioner.cpp:299] Using default backend 'copy'
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)