Graded Programming Assignment 2: Building a Data Lakehouse with AWS Lake Formation and Apache Iceberg
In Cloud 9 terminal, after the assignment download from s3, the bash script to setup the environment and initiate the jupyter notebook did not work, with errors like below (it could be a simple syntax bug but difficult for me to find out).
voclabs:~/environment $ source scripts/setup_jupyter_env.sh
: invalid option
set: usage: set [-abefhkmnptuvxBCEHPT] [-o option-name] [--] [-] [arg ...]
' doesn't match a supported format.
' doesn't match a supported format.
bash: $'\r': command not found
' doesn't match a supported format.
bash: scripts/setup_jupyter_env.sh: line 26: syntax error near unexpected token `fi'
'ash: scripts/setup_jupyter_env.sh: line 26: `fi )
: No such file or directory
' doesn't match a supported format.
bash: $'\r': command not found
bash: $'\r': command not found
: No such file or directory========================================================
' doesn't match a supported format.
bash: $'\r': command not found
bash: scripts/setup_jupyter_env.sh: line 107: unexpected EOF while looking for matching `"'