Support Questions

Find answers, ask questions, and share your expertise

Restart Zeppelin interpreter using shell script in hdp 3.1.5

avatar
Explorer

Team,

Many users are facing intermittent issues using jdbc interpreter 

Issue : Unable to instantiate org.apache.hadoop.hive.q1.metadata.SessionHiveMetaStoreClient

 

Workaround is to restart jdbc interpreter , so as to automate this process need to add this in a shell script. 

Can someone help us on this.

 

 

Thanks

ASIF.

6 REPLIES 6

avatar
Rising Star

In my opinion,

there seems to be a problem running the interpreter due to insufficient memory.

First check if there is insufficient memory by monitoring the system.

avatar
Explorer

@youngick 

As per Cloudera this is an open bug in apache which is not solved in hdp 3.1.5 as well.

So as a workaround need to restart jdbc interpreter using cronjob .

 

Thanks

ASIF.

avatar
Explorer

@Akhil S Naik

@felix Albani

@Scharan

avatar
Explorer

@Scharan

 

Can you please guide us with the below , as need to restart jdbc interpreter using shell script / curl command.

 

 

 

 

Thanks

ASIF.

avatar
Rising Star

avatar
Explorer

Hi

As per the link,

https://zeppelin.apache.org/docs/0.8.0/usage/rest_api/interpreter.html#restart-an-interpreter

 

To restart zeppelin interpreter we need to know interpreter id , which we are unable to find .

 

https://zeppelin.apache.org/docs/0.8.0/usage/rest_api/interpreter.html#restart-an-interpreter

 

Also interpreter restart can only be done with admin user, hence that also needs to be passed via script.

 

 

Thanks

ASIF.