반응형
◾ curl 명령어로 zeppelin 노트북 실행 방법
#!/bin/bash
kinit -kt /opt/cloudera/security/user.keytab userid
curl -X POST -H "accept: application/json" --negotiate -u : \
https://zeppelin-server-url:8886/api/notebook/run/$1/$2
- $1 : paragraph
- $2 : notebook index name
- 확인 : zeppelin > notebook > wheel icon