Skip to content

Commit

Permalink
Merge pull request #1094 from airbnb/pig_operator
Browse files Browse the repository at this point in the history
Adding to inits
  • Loading branch information
artwr committed Feb 29, 2016
2 parents f6eebb0 + 1c5aa66 commit 936f4ae
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions airflow/hooks/__init__.py
Expand Up @@ -11,6 +11,7 @@
],
'hdfs_hook': ['HDFSHook'],
'webhdfs_hook': ['WebHDFSHook'],
'pig_hook': ['PigCliHook'],
'mysql_hook': ['MySqlHook'],
'postgres_hook': ['PostgresHook'],
'presto_hook': ['PrestoHook'],
Expand Down
2 changes: 1 addition & 1 deletion airflow/hooks/pig_hook.py
Expand Up @@ -72,5 +72,5 @@ def run_cli(self, pig, verbose=True):
def kill(self):
if hasattr(self, 'sp'):
if self.sp.poll() is None:
print("Killing the Hive job")
print("Killing the Pig job")
self.sp.kill()
1 change: 1 addition & 0 deletions airflow/operators/__init__.py
Expand Up @@ -19,6 +19,7 @@
'ShortCircuitOperator',
],
'hive_operator': ['HiveOperator'],
'pig_operator': ['PigOperator'],
'presto_check_operator': [
'PrestoCheckOperator',
'PrestoValueCheckOperator',
Expand Down

0 comments on commit 936f4ae

Please sign in to comment.