1. 설치 파일 다운로드
파일 : zeppelin-0.11.1-bin-all.tgz
https://zeppelin.apache.org/download.html
Download
<!-- Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or ag
zeppelin.apache.org
2. 압축 풀기
$ tar -zxvf zeppelin-0.11.1-bin-all.tgz
3. Zeppelin daemon 실행
$ cd zeppelin-0.11.1-bin-all/bin
$ zeppelin.cmd
$ cd zeppelin-0.11.1-bin-all/bin
$ zeppelin.cmd
브라우저에서 http://localhost:8080/#/ 접속 (default port: 8080)
실패~~~!!
아니 서버는 실행됐는데..
localhost:8080 접속은 가능하지만 화면에 아무것도 노출되지 않고 css를 못읽는다.
서버 실행 시 아래와 같은 오류 발생.
java.io.FileNotFoundException: ...\zeppelin-0.11.1-bin-all\bin\zeppelin-web-angular\dist
1. 폴더 생성
일단 저 경로에 뭐가 없으니까 zeppelin-0.11.1-bin-all\bin 하위에 zeppelin-web-angular\dist 폴더 생성
2. 파일 복사
zeppelin-0.11.1-bin-all 아래에 zeppelin-web-angular-0.11.1.war 요런게 있음.
이것을 zeppelin-0.11.1-bin-all\bin\zeppelin-web-angular\dist 하위로 복사
3. 압축 풀기
jar xvf zeppelin-web-angular-0.11.1.war
4. 다시 실행
$ cd zeppelin-0.11.1-bin-all/bin
$ zeppelin.cmd
리눅스에서는
bin/zeppelin-daemon.sh start
성공 ^^;
참고 -https://stackoverflow.com/questions/61078714/apache-zeppelin-not-loading-in-a-browser-in-windows-10
Apache Zeppelin not loading in a browser in windows 10
I followed the steps mentioned here https://gist.github.com/codspire/7b0955b9e67fe73f6118dad9539cbaa2 When entered "localhost:8080" in a browser nothing happens Hadoop version -- 3.1.3 Spark ver...
stackoverflow.com
원격 접속 허용
추가적으로 원격 접속을 위해 아래 세팅을 추가.
conf 디렉토리 하위에 zeppelin-site.xml.template를 복사해서 zeppelin-site.xml 파일을 만든다.
zeppelin.server.addr 의 value를 0.0.0.0 (모든 접속 허용) 으로 변경
<property>
<name>zeppelin.server.addr</name>
<value>0.0.0.0</value>
<description>Server binding address. If you cannot connect to your web browser on WSL or Windows, change 127.0.0.1 to 0.0.0.0. It, however, causes security issues when you open your machine to the public</description>
</property>
zeppelin.server.xframe.options의 X-Frame-Options를 SAMEORIGIN -> ALLOW-FROM http://localhost:1234로 변경
접속을 허용할 주소와 포트를 입력해주면 된다. 예) localhost:1234
//변경 후
<property>
<name>zeppelin.server.xframe.options</name>
<value>X-Frame-Options: ALLOW-FROM http://localhost:1234</value>
<description>The X-Frame-Options HTTP response header can be used to indicate whether or not a browser should be allowed to render a page in a frame/iframe/object.</description>
</property>
*참고
오픈소스 일기 2: Apache Zeppelin 이란 무엇인가?
이번시간엔 필자가 Contribute하고 있는 오픈소스 프로젝트인 아파치 제플린(Apache Zeppelin)에 대해서 다뤄보도록 하겠다. 이미 잘 알고 계시는 분들보다 이것이 뭔지 잘 모르는 분들의 이해를 돕고
medium.com
https://zeppelin.apache.org/docs/0.10.0/setup/security/http_security_headers.html
Apache Zeppelin 0.10.0 Documentation: Setting up HTTP Response Headers
<!-- Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or ag
zeppelin.apache.org
Apache Zeppelin 0.10.0 Documentation: Setting up HTTP Response Headers
<!-- Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or ag
zeppelin.apache.org
'IT 잡동사니' 카테고리의 다른 글
MongoDB - 명령어 모음집 (0) | 2024.07.02 |
---|---|
Ubuntu OpenLDAP 설치 (0) | 2024.07.01 |
Zeppelin spark interpreter 연동 (0) | 2024.07.01 |
데이터 중심 애플리케이션 설계 - 복제 (0) | 2022.09.12 |
IntelliJ Google style fomatter를 적용해보자! + 매크로 등록 (0) | 2022.05.15 |