2017-10-11 7 views
1

많은 zeppeling/spark 이미지를 다운로드했으며 그 중 모두가 노트북에 로그인하는 데 문제가 있습니다. 이것은 컨테이너 안의 shiro.ini 파일입니다.zeppelin에 로그인하여 도커 문제가 발생했습니다.

... 
admin = password1 
user1 = password2 
user2 = password3 

# Sample LDAP configuration, for user Authentication, currently tested for single Realm 
[main] 
#ldapRealm = org.apache.shiro.realm.ldap.JndiLdapRealm 
#ldapRealm.userDnTemplate = cn={0},cn=engg,ou=testdomain,dc=testdomain,dc=com 
#ldapRealm.contextFactory.url = ldap://ldaphost:389 
#ldapRealm.contextFactory.authenticationMechanism = SIMPLE 

[urls] 
# anon means the access is anonymous. 
# authcBasic means Basic Auth Security 
# To enfore security, comment the line below and uncomment the next one 
/** = anon 
#/** = authcBasic 

바로이 이미지를 사용하고 있습니다 : conker84/zeppelin. 내가 관리자를 입력하고 password1 인 사용자 내가 도착했을 때 :

The username and password that you entered don't match. 

내가 발견 한 크롬을 검사하여 내가 얻을 :

api/login net::ERR_CONNECTION_REFUSED 

내가 인큐베이터 - 비행선/로그 # 아래 로그를 확인했습니다, 서버가 시작되면 이상한 점이 없습니다.

답변

1

그래서 VirtualBox에 실제로 문제가있었습니다. 네트워크 포트 포워딩에서 잘못된 포트 구성을 설정했습니다. 호스트와 게스트 모두에서 8080을 추가 한 후 Zeppelin에 로그인 할 수있었습니다.