Airflow: Error: Unrecognized Arguments: Webserver
I am trying to start my airflow webserver, but it says it is an unrecognised argument $ airflow webserver [2017-05-25 15:06:44,682] {__init__.py:36} INFO - Using executor CeleryExe
Solution 1:
I figured it out as I was writing the last line of the question. I was restarting because I updated a DAG, in which, I had added an ArgumentParser
parser = argparse.ArgumentParser()
parser.add_argument(
'-v', '--verbose',
help="Print lots of debugging statements",
action="store_const", dest="loglevel", const=logging.DEBUG,
default=logging.INFO,
)
Apparently that is not allowed in Airflow DAGs
Post a Comment for "Airflow: Error: Unrecognized Arguments: Webserver"