[
https://issues.apache.org/jira/browse/AIRFLOW-6716?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kaxil Naik resolved AIRFLOW-6716.
---------------------------------
Resolution: Fixed
> Fix AWS Datasync Example DAG
> ----------------------------
>
> Key: AIRFLOW-6716
> URL: https://issues.apache.org/jira/browse/AIRFLOW-6716
> Project: Apache Airflow
> Issue Type: Bug
> Components: examples
> Affects Versions: 2.0.0
> Reporter: Kaxil Naik
> Assignee: Kaxil Naik
> Priority: Minor
> Fix For: 2.0.0
>
>
> Currently, the DAG fails with JSON Decode error
> {noformat}
> ERROR [airflow.models.dagbag.DagBag] Failed to import:
> /opt/airflow/airflow/providers/amazon/aws/example_dags/example_datasync_2.py
> Traceback (most recent call last):
> File "/opt/airflow/airflow/models/dagbag.py", line 255, in process_file
> loader.exec_module(m)
> File "<frozen importlib._bootstrap_external>", line 678, in exec_module
> File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
> File
> "/opt/airflow/airflow/providers/amazon/aws/example_dags/example_datasync_2.py",
> line 70, in <module>
> default_destination_location_kwargs)
> File "/usr/local/lib/python3.6/json/__init__.py", line 354, in loads
> return _default_decoder.decode(s)
> File "/usr/local/lib/python3.6/json/decoder.py", line 339, in decode
> obj, end = self.raw_decode(s, idx=_w(s, 0).end())
> File "/usr/local/lib/python3.6/json/decoder.py", line 357, in raw_decode
> raise JSONDecodeError("Expecting value", s, err.value) from None
> json.decoder.JSONDecodeError: Expecting value: line 2 column 41 (char 81)
> {noformat}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)