Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 3622B200BD9 for ; Thu, 24 Nov 2016 13:30:00 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 35153160B1F; Thu, 24 Nov 2016 12:30:00 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 80C75160B1E for ; Thu, 24 Nov 2016 13:29:59 +0100 (CET) Received: (qmail 98874 invoked by uid 500); 24 Nov 2016 12:29:58 -0000 Mailing-List: contact issues-help@mesos.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@mesos.apache.org Delivered-To: mailing list issues@mesos.apache.org Received: (qmail 98761 invoked by uid 99); 24 Nov 2016 12:29:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Nov 2016 12:29:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 7DF3E2C03DE for ; Thu, 24 Nov 2016 12:29:58 +0000 (UTC) Date: Thu, 24 Nov 2016 12:29:58 +0000 (UTC) From: "Artem Harutyunyan (JIRA)" To: issues@mesos.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (MESOS-6640) mesos-local doesn't hande --work_dir correctly MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 24 Nov 2016 12:30:00 -0000 Artem Harutyunyan created MESOS-6640: ---------------------------------------- Summary: mesos-local doesn't hande --work_dir correctly Key: MESOS-6640 URL: https://issues.apache.org/jira/browse/MESOS-6640 Project: Mesos Issue Type: Bug Reporter: Artem Harutyunyan Fix For: 1.2.0 After {{{--work_dir}}} was made required for {{{mesos-agent}}} it's only po= ssible to launch {{{mesos-local}}} if MESOS_WORK_DIR environment variable i= s set.=20 Using {{{--work_dir}}} does not work: {{{ ~/src/mesos-install $ ./bin/mesos-local --work_dir=3D/tmp/foo I1124 13:26:42.609170 2103623680 replica.cpp:776] Replica recovered with lo= g positions 0 -> 0 with 1 holes and 0 unlearned I1124 13:26:42.610047 1601536 recover.cpp:451] Starting replica recovery I1124 13:26:42.610213 1601536 recover.cpp:477] Replica is in EMPTY status I1124 13:26:42.615016 2138112 replica.cpp:673] Replica in EMPTY status rece= ived a broadcasted recover request from __req_res__(1)@10.204.3.193:5050 I1124 13:26:42.617058 1064960 master.cpp:380] Master 73762f1c-314b-4e7c-a7e= 9-b820bfd9dde7 (xkcd2358.railnet.train) started on 10.204.3.193:5050 I1124 13:26:42.617082 1064960 master.cpp:382] Flags at startup: --agent_pin= g_timeout=3D"15secs" --agent_reregister_timeout=3D"10mins" --allocation_int= erval=3D"1secs" --allocator=3D"HierarchicalDRF" --authenticate_agents=3D"fa= lse" --authenticate_frameworks=3D"false" --authenticate_http_frameworks=3D"= false" --authenticate_http_readonly=3D"false" --authenticate_http_readwrite= =3D"false" --authenticators=3D"crammd5" --authorizers=3D"local" --framework= _sorter=3D"drf" --help=3D"false" --hostname_lookup=3D"true" --http_authenti= cators=3D"basic" --initialize_driver_logging=3D"true" --log_auto_initialize= =3D"true" --logbufsecs=3D"0" --logging_level=3D"INFO" --max_agent_ping_time= outs=3D"5" --max_completed_frameworks=3D"50" --max_completed_tasks_per_fram= ework=3D"1000" --quiet=3D"false" --recovery_agent_removal_limit=3D"100%" --= registry=3D"replicated_log" --registry_fetch_timeout=3D"1mins" --registry_g= c_interval=3D"15mins" --registry_max_agent_age=3D"2weeks" --registry_max_ag= ent_count=3D"102400" --registry_store_timeout=3D"20secs" --registry_strict= =3D"false" --root_submissions=3D"true" --user_sorter=3D"drf" --version=3D"f= alse" --webui_dir=3D"/Users/xkcd2358/src/mesos-install/share/mesos/webui" -= -work_dir=3D"/tmp/foo" --zk_session_timeout=3D"10secs" I1124 13:26:42.617246 2138112 recover.cpp:197] Received a recover response = from a replica in EMPTY status I1124 13:26:42.617292 1064960 master.cpp:434] Master allowing unauthenticat= ed frameworks to register I1124 13:26:42.617301 1064960 master.cpp:448] Master allowing unauthenticat= ed agents to register I1124 13:26:42.617306 1064960 master.cpp:462] Master allowing HTTP framewor= ks to register without authentication I1124 13:26:42.617316 1064960 master.cpp:504] Using default 'crammd5' authe= nticator W1124 13:26:42.617328 1064960 authenticator.cpp:512] No credentials provide= d, authentication requests will be refused I1124 13:26:42.617334 1064960 authenticator.cpp:519] Initializing server SA= SL Failed to start a local cluster while loading agent flags from the environm= ent: Flag 'work_dir' is required, but it was not provided ~/src/mesos-install $ }}} -- This message was sent by Atlassian JIRA (v6.3.4#6332)