in Education by
I'm using Ambari 2.6.2.2 and I installed Hbase, for which I started thrift server. How can I configure the thrift server to start at boot? Right now, I configured only hbase to start at boot using "Service Auto-Start" from ambari. Also , how can I configure thrift server to restart when an oom happens? Thank you JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)

1 Answer

0 votes
by
It seems that there is no way to do this directly from Ambari. I managed to start at boot and to autorestart using Supervisor. Here is supervisor configure file for Thrift and Rest Servers. [program:hbase-thrift] command=hbase thrift start -p 9090 --infoport 9095 stderr_logfile = /var/log/supervisor/thrift-stderr.log stdout_logfile = /var/log/supervisor/thrift-stdout.log autorestart=true user=hbase stdout_logfile_backups=5 stderr_logfile_backups=5 [program:hbase-rest] command=hbase rest start -p 9080 --infoport 9085 stderr_logfile = /var/log/supervisor/rest-stderr.log stdout_logfile = /var/log/supervisor/rest-stdout.log autorestart=true user=hbase stdout_logfile_backups=5 stderr_logfile_backups=5

Related questions

0 votes
    I installed Apache Ambari 2.6.2.2 and I deployed two services: Hbase and AMS. For Hbase I started ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked May 7, 2022 in Education by JackTerrance
0 votes
    I've got a Node.js powered site that I'm running on Amazon Elastic Beanstalk. My Node.js app listens on port ... to my site via HTTPS. Select the correct answer from above options...
asked Feb 8, 2022 in Education by JackTerrance
0 votes
    Thrift API is used either to read or write data from Cassandra (1)True (2)False...
asked May 6, 2021 in Technology by JackTerrance
0 votes
    I'm trying to teach myself about Docker and using the docker-compose.yml to play around with images and ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Jul 8, 2022 in Education by JackTerrance
0 votes
    My application has many views and I am using an AutoLogoffHelper class which maintains the timer for the ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 26, 2022 in Education by JackTerrance
0 votes
    I typically start up my development version of WLS 10.3.3 from the command line by launching startWebLogic. ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Feb 16, 2022 in Education by JackTerrance
0 votes
    the————button is used to restart the downloading of a Web page A)Refresh B)Home Select the correct answer from above options...
asked Dec 19, 2021 in Education by JackTerrance
0 votes
    For which of the following criteria can Spring boot auto configuration be done? A. Presence of a System Property B. ... of a particular class in classpath E. All the options...
asked Nov 8, 2022 in Education by JackTerrance
0 votes
    Auto-configuration report can be logged to the console by enabling debug mode while starting the application. A. True B. False...
asked Nov 8, 2022 in Education by JackTerrance
0 votes
    Specific Auto-Configuration classes cannot be disabled in Spring. A. True B. False...
asked Nov 8, 2022 in Education by JackTerrance
0 votes
    What is auto-association task in neural networks? (a) find relation between 2 consecutive inputs (b) related to ... d) none of the mentioned Please answer the above question....
asked Sep 21, 2022 in Education by JackTerrance
0 votes
    An auto - associative network is? (a) network in neural which contains feedback (b) network in neural which contains ... d) none of the mentioned Please answer the above question....
asked Aug 26, 2022 in Education by JackTerrance
0 votes
    I have a problem with table-layout:fixed and width of inner columns if their content wider than column. ... Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Aug 1, 2022 in Education by JackTerrance
0 votes
    How to disable auto-rotation in jwplayer library? fragment.setFullscreenOnDeviceRotate(false); setRequestedOrientation( ... Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Jun 19, 2022 in Education by JackTerrance
0 votes
    Set the cron job, but the order email will auto cc to other customers and I don't know why. ... JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)...
asked Jun 14, 2022 in Education by JackTerrance
...