Support Questions
Find answers, ask questions, and share your expertise

Access Database that save job and deploy model in cloudera

Access Database that save job and deploy model in cloudera

New Contributor

Dear all,

In my company, there are around 10 developer and all of them can create job and deploy model in our cloudera. Many developer in my company give us impact that there are many jobs and models in my cloudera. We get some problem about how to create list of jobs and deploy models so we want create list of job and deploy model to make report of cloudera. But it will take long time to check each of job and deploy model in all of project. How can i access db that save job and deploy model detail?

Thank you.. 

1 REPLY 1

Re: Access Database that save job and deploy model in cloudera

@asdusadeh You can get inside the CDSW DB by below steps but I would be very careful while make any changes as it can cause whole application down or data loss. 

 

Get the db pod name
$ kubectl get pods -l role=db
NAME READY STATUS RESTARTS AGE
db-4066525870-68x44 1/1 Running 2 21d

Exec into the running container and connect to the psql terminal with the sense user:
kubectl exec db-4066525870-68x44 -ti -- psql -U sense


Cheers!
Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.