From commits-return-28604-archive-asf-public=cust-asf.ponee.io@airflow.incubator.apache.org Thu Nov 22 08:29:06 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id E9AAA180645 for ; Thu, 22 Nov 2018 08:29:05 +0100 (CET) Received: (qmail 83327 invoked by uid 500); 22 Nov 2018 07:29:04 -0000 Mailing-List: contact commits-help@airflow.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@airflow.incubator.apache.org Delivered-To: mailing list commits@airflow.incubator.apache.org Received: (qmail 83318 invoked by uid 99); 22 Nov 2018 07:29:04 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 22 Nov 2018 07:29:04 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 67C99C198D for ; Thu, 22 Nov 2018 07:29:04 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -109.501 X-Spam-Level: X-Spam-Status: No, score=-109.501 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id GCdbkx_psdor for ; Thu, 22 Nov 2018 07:29:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id DA0725F430 for ; Thu, 22 Nov 2018 07:29:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 3C8B7E262F for ; Thu, 22 Nov 2018 07:29:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 6905121EE5 for ; Thu, 22 Nov 2018 07:29:00 +0000 (UTC) Date: Thu, 22 Nov 2018 07:29:00 +0000 (UTC) From: "Iuliia Volkova (JIRA)" To: commits@airflow.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AIRFLOW-3326) High Sierra Complaining 'in progress in another thread when fork() was called' MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AIRFLOW-3326?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D16= 695621#comment-16695621 ]=20 Iuliia Volkova commented on AIRFLOW-3326: ----------------------------------------- [~ryan.yuan] is this all code of plugin?=20 from airflow.contrib.hooks.bigquery_hook import BigQueryHook class BQHook(BigQueryHook): pass=20 > High Sierra Complaining 'in progress in another thread when fork() was ca= lled' > -------------------------------------------------------------------------= ----- > > Key: AIRFLOW-3326 > URL: https://issues.apache.org/jira/browse/AIRFLOW-3326 > Project: Apache Airflow > Issue Type: Bug > Affects Versions: 1.10.0 > Environment: macOS High Sierra 10.13.6 (17G65) > Reporter: Ryan Yuan > Assignee: Ryan Yuan > Priority: Blocker > > Inside the plugins folder, I=C2=A0have a hook that is a child class of Bi= gQueryHook.=C2=A0 > {code:java} > // code > from airflow.contrib.hooks.bigquery_hook import BigQueryHook > class BQHook(BigQueryHook): > pass{code} > When I run the airflow server, it keeps throwing messages complaining=C2= =A0'in progress in another thread when fork() was called', and I can't use = the web server UI at all. > {code:java} > // messages from terminal > objc[15098]: +[__NSPlaceholderDate initialize] may have been in progress = in another thread when fork() was called. > objc[15098]: +[__NSPlaceholderDate initialize] may have been in progress = in another thread when fork() was called. We cannot safely call it or ignor= e it in the fork() child process. Crashing instead. Set a breakpoint on obj= c_initializeAfterForkError to debug. > [2018-11-12 14:03:40 +1100] [15102] [INFO] Booting worker with pid: 15102 > [2018-11-12 14:03:40,792] {__init__.py:51} INFO - Using executor Sequenti= alExecutor > [2018-11-12 14:03:40,851] {base_hook.py:83} INFO - Using connection to: h= ttps://custom-data-z00100-dev.appspot.com/ > objc[15099]: +[__NSPlaceholderDate initialize] may have been in progress = in another thread when fork() was called. > objc[15099]: +[__NSPlaceholderDate initialize] may have been in progress = in another thread when fork() was called. We cannot safely call it or ignor= e it in the fork() child process. Crashing instead. Set a breakpoint on obj= c_initializeAfterForkError to debug. > [2018-11-12 14:03:40 +1100] [15103] [INFO] Booting worker with pid: 15103 > [2018-11-12 14:03:40,902] {base_hook.py:83} INFO - Using connection to: h= ttps://custom-data-z00100-dev.appspot.com/ > objc[15101]: +[__NSPlaceholderDate initialize] may have been in progress = in another thread when fork() was called. > objc[15101]: +[__NSPlaceholderDate initialize] may have been in progress = in another thread when fork() was called. We cannot safely call it or ignor= e it in the fork() child process. Crashing instead. Set a breakpoint on obj= c_initializeAfterForkError to debug. > [2018-11-12 14:03:40 +1100] [15104] [INFO] Booting worker with pid: 15104 > [2018-11-12 14:03:40,948] {base_hook.py:83} INFO - Using connection to: h= ttps://custom-data-z00100-dev.appspot.com/ > objc[15100]: +[__NSPlaceholderDate initialize] may have been in progress = in another thread when fork() was called. > objc[15100]: +[__NSPlaceholderDate initialize] may have been in progress = in another thread when fork() was called. We cannot safely call it or ignor= e it in the fork() child process. Crashing instead. Set a breakpoint on obj= c_initializeAfterForkError to debug. > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)