Support Questions

Find answers, ask questions, and share your expertise
Check out our newest addition to the community, the Cloudera Data Analytics (CDA) group hub.

changing useTicketCache=true in hbase_queryserver_jaas.conf


We would like to change useTicketCache=true in hbase_queryserver_jaas.conf file.

I changed it manually on the servers where hbase&phoenix are running. But once I restart those services it switched back to default useTicketCache=false.

Is there any way that we can this?


Super Mentor

@Sudheer Velagapudi

I saw a very similar kind of query was asked by another HCC user recently hence i am responding to this threads as well so that other users can also get some idea.

Basically in an Ambari Managed Cluster if we make any changes to the "" files on the filesystem manually then those changes will be reverted back as soon as we try to restart those components via Ambari (UI/API) because ambari will try to create and push those file again based on the Templates.

In your case the template can be seen here:

Example: (On Ambari Server Host)

# cat /var/lib/ambari-server/resources/common-services/HBASE/
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements.  See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership.  The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License.  You may obtain a copy of the License at
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# See the License for the specific language governing permissions and
# limitations under the License.

Client { required


On Agent Host we can find it in the agent cache which is pulled from Ambari Server:

# ls -l /var/lib/ambari-agent/cache/common-services/HBASE/


So if you want those changes to be poersisted then please make the changes in those templates and then restart agent & ambari server.

The above question and the reply below was originally posted in the Community Help Track. On Sun Jun 9 23:05 UTC 2019, a member of the HCC moderation staff moved it to the Cloud & Operations track. The Community Help Track is intended for questions about using the HCC site itself.

Bill Brooks, Community Moderator
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.
Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.