swsnu / bd2018

25 stars 10 forks source link

./run_spark 시 compile error 문의 #5

Open jhshim0326 opened 5 years ago

jhshim0326 commented 5 years ago

현재 window에서 제공하는 wsl 환경을 사용하고 있습니다.

스켈레톤 코드를 수행해보는데, run_spark 수행 시

[ERROR] You must specify a valid lifecycle phase or a goal in the format : or :[:]:. Available lifecycle phases are: validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test, post-integration-test, verify, install, deploy, pre-clean, clean, post-clean, pre-site, site, post-site, site-deploy.

다음과 같은 error가 발생하면서 실행이 되질 않네요.

데이터 다운로드 하는 스크립트도

Saving to: ‘iso_8859-1.txt%0D.1’

iso_8859-1.txt%0D.1 100%[=================================================>] 504 --.-KB/s in 0s

2018-10-25 20:41:51 (30.0 MB/s) - ‘iso_8859-1.txt%0D.1’ saved [504/504]

mv: cannot stat 'iso_8859-1.txt': No such file or directory

이런식으로 에러가나는데, 혹시 wsl 을 사용하면 안되는 환경인지 궁금합니다.

안된다면 docker를 사용한 환경으로 변경하려구요.

johnyangk commented 5 years ago

Docker를 통해 Mac/Ubuntu 환경으로 변경이 필요할 것 같습니다.

HW1 Spec:

https://github.com/swsnu/bd2018/tree/master/hw1_beam#provide-scripts-to-run-the-application-on-sparknemo-and-write-a-report-2-credits

TAs will run your scripts to reproduce the results