Comments (6)
i also encountered the same problem /usr/bin/env: ‘bash\r’: No such file or directory
while running it on windows. no modification except changing wget "https://archive.apache.org...
into copy
(download manually)
**UPDATE
for my case, seems the line break caused the problem, it solved when i converted the line sequence of entrypoint.sh
from CRLF
to LF
from airflow-spark.
Has anyone found a resolution to this?
from airflow-spark.
Think I found it, it's the magic line on the entrypoint.sh. It's wrong.
from airflow-spark.
Hi @big-analytics
I wasn't able to reproduce this problem. Just to clarify, to fix it have you removed the line below from entrypoint.sh?
#!/usr/bin/env bash
Tks
from airflow-spark.
change #!/usr/bin/env bash on the #!/bin/sh
in entrypoint.sh
from airflow-spark.
FYI, Bumped into same issue on Windows 10. It was CRLF, so converted CRLF
to LF
in both docker/docker-airflow/pg-init-scripts/init-user-db.sh
and docker/docker-airflow/entrypoint.sh
fixed the issue. Cheers.
from airflow-spark.
Related Issues (20)
- An error occurred while calling o74.save. HOT 1
- cryptography.fernet.InvalidToken HOT 2
- ERROR: manifest for jupyter/pyspark-notebook:3.0.1 not found: HOT 2
- Use spark 3.0.2 as most repos do not have 3.0.1 anymore HOT 2
- How can I add Kafka to this build? HOT 1
- Error on Step 2: Build Jupyter docker HOT 2
- ERROR: The image for the service you're trying to recreate has been removed HOT 3
- very slow build of docker-airflow-spark:1.10.7_3.1.2 HOT 8
- Cannot edit spark_default connection HOT 3
- ModuleNotFoundError: No module named 'wtforms.compat' HOT 2
- airflow-webserver_1 | ModuleNotFoundError: No module named 'wtforms.compat'
- Error when try to save spark dataframe to .csv file HOT 1
- python version
- airflow Initial job has not accepted any resources; check your cluster UI to ensure that workers are registered and have sufficient resources HOT 1
- Adding new Postgres DB
- How to add a new DAG HOT 1
- Update HOT 1
- build docker-airflow-spark:2.7.0_3.4.1 HOT 1
- Different Spark Versions HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from airflow-spark.