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 7025D200C4C for ; Tue, 4 Apr 2017 08:40:46 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 6ECF0160B81; Tue, 4 Apr 2017 06:40:46 +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 A16FF160BA2 for ; Tue, 4 Apr 2017 08:40:45 +0200 (CEST) Received: (qmail 22776 invoked by uid 500); 4 Apr 2017 06:40:44 -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 22643 invoked by uid 99); 4 Apr 2017 06:40:44 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Apr 2017 06:40:44 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 238AA1A0266 for ; Tue, 4 Apr 2017 06:40:44 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -100.002 X-Spam-Level: X-Spam-Status: No, score=-100.002 tagged_above=-999 required=6.31 tests=[RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id KMhbERMnO_J3 for ; Tue, 4 Apr 2017 06:40:43 +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 EFA205FBC1 for ; Tue, 4 Apr 2017 06:40:42 +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 815DCE0012 for ; Tue, 4 Apr 2017 06:40:42 +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 B83E72401F for ; Tue, 4 Apr 2017 06:40:41 +0000 (UTC) Date: Tue, 4 Apr 2017 06:40:41 +0000 (UTC) From: "ASF subversion and git services (JIRA)" To: commits@airflow.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AIRFLOW-1030) HttpHook error when creating HttpSensor MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 04 Apr 2017 06:40:46 -0000 [ https://issues.apache.org/jira/browse/AIRFLOW-1030?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15954651#comment-15954651 ] ASF subversion and git services commented on AIRFLOW-1030: ---------------------------------------------------------- Commit 4db53f39a972cae691dc49687a407dda0ff49aaf in incubator-airflow's branch refs/heads/v1-8-test from pdambrauskas [ https://git-wip-us.apache.org/repos/asf?p=incubator-airflow.git;h=4db53f3 ] [AIRFLOW-1030][AIRFLOW-1] Fix hook import for HttpSensor Closes #2180 from pdambrauskas/fix/http_hook_import (cherry picked from commit f2dae7d15623e2534e7c0dab3b5a7e02d4cff81d) Signed-off-by: Bolke de Bruin > HttpHook error when creating HttpSensor > --------------------------------------- > > Key: AIRFLOW-1030 > URL: https://issues.apache.org/jira/browse/AIRFLOW-1030 > Project: Apache Airflow > Issue Type: Bug > Components: core > Affects Versions: Airflow 1.8 > Environment: python3 > Reporter: Paulius Dambrauskas > Assignee: Paulius Dambrauskas > > Task: > {code} > sensor = HttpSensor( > task_id='http_sensor_check', > http_conn_id='http_default', > endpoint='', > params={}, > poke_interval=5, > dag=dag > ) > {code} > Exception > {code} > Traceback (most recent call last): > File "/usr/local/lib/python3.5/dist-packages/airflow-1.9.0.dev0+apache.incubating-py3.5.egg/airflow/models.py", line 268, in process_file > m = imp.load_source(mod_name, filepath) > File "/usr/lib/python3.5/imp.py", line 172, in load_source > module = _load(spec) > File "", line 693, in _load > File "", line 673, in _load_unlocked > File "", line 665, in exec_module > File "", line 222, in _call_with_frames_removed > File "/home/paulius/airflow/dags/cpg_4.py", line 43, in > dag=dag) > File "/usr/local/lib/python3.5/dist-packages/airflow-1.9.0.dev0+apache.incubating-py3.5.egg/airflow/utils/decorators.py", line 86, in wrapper > result = func(*args, **kwargs) > File "/usr/local/lib/python3.5/dist-packages/airflow-1.9.0.dev0+apache.incubating-py3.5.egg/airflow/operators/sensors.py", line 663, in __init__ > self.hook = hooks.http_hook.HttpHook(method='GET', http_conn_id=http_conn_id) > File "/usr/local/lib/python3.5/dist-packages/airflow-1.9.0.dev0+apache.incubating-py3.5.egg/airflow/utils/helpers.py", line 436, in __getattr__ > raise AttributeError > AttributeError > {code} -- This message was sent by Atlassian JIRA (v6.3.15#6346)