Thanks a lot for the inputs. I'll try out the new client approach.
Best,
Paul Lam
Patrick Duin 于2021年9月29日周三 下午5:54写道:
> In some of our tools we used to interact with the metastore we've moved
> away from long running clients altogether the thrift protocol is best
> served by just creating a ne
*History*
*Hive 1.2* -
VM time zone set to Asia/Bangkok
*Query* - SELECT FROM_UNIXTIME(UNIX_TIMESTAMP('1800-01-01 00:00:00
UTC','-MM-dd HH:mm:ss z'));
*Result* - 1800-01-01 07:00:00
*Implementation details* -
SimpleDateFormat formatter = new SimpleDateFormat(pattern);
Long unixtime = form
In some of our tools we used to interact with the metastore we've moved
away from long running clients altogether the thrift protocol is best
served by just creating a new client for a request. Try to just create a
new client every time. They are fast to make.
They metastore clients are also not th
Hi community,
I have a long-running IMetaStoreClient that would queries metadata upon user
requests. But the connection would be lost sometimes because of server restarts
or network unstablity, which leads to SocketException when accessing Metastore.
I noticed there’s a #reconnect method, whic