Coder Social home page Coder Social logo

It shoot an error while build building Airflow webserver i.e /usr/bin/env: ‘bash\r’: No such file or directory about airflow-spark HOT 6 OPEN

cordon-thiago avatar cordon-thiago commented on August 26, 2024
It shoot an error while build building Airflow webserver i.e /usr/bin/env: ‘bash\r’: No such file or directory

from airflow-spark.

Comments (6)

akbarnotopb avatar akbarnotopb commented on August 26, 2024 1

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.

big-analytics avatar big-analytics commented on August 26, 2024

Has anyone found a resolution to this?

from airflow-spark.

big-analytics avatar big-analytics commented on August 26, 2024

Think I found it, it's the magic line on the entrypoint.sh. It's wrong.

from airflow-spark.

cordon-thiago avatar cordon-thiago commented on August 26, 2024

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.

Pipka091 avatar Pipka091 commented on August 26, 2024

change #!/usr/bin/env bash on the #!/bin/sh
in entrypoint.sh

from airflow-spark.

guiminyao avatar guiminyao commented on August 26, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.