With the given stacktrace I can say that your metastore db (derby) is read only or the user with whom you are trying to connect has read only permission only.
Thanks Rajkumar Singh On Tue, Nov 3, 2015 at 2:54 PM, Vishwakarma, Chhaya < chhaya.vishwaka...@thinkbiganalytics.com> wrote: > > > Hi all, > > When I type "hive" command it hangs without going to hive prompt, when I > checked logs I found below error. > > ERROR [BoneCP-pool-watch-thread]: bonecp.PoolWatchThread > (PoolWatchThread.java:fillConnections(118)) - Error in trying to obtain a > connection. Retrying in 7000ms > > java.sql.SQLException: A read-only user or a user in a read-only database > is not permitted to disable read-only mode on a connection. > > > > Can someone please suggest what am I missing here ? > > Regards, > > Chhaya >