<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: How can I check Ambari start services commands? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-can-I-check-Ambari-start-services-commands/m-p/165086#M29473</link>
    <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/10642/neomerdien.html" nodeid="10642"&gt;@Andrey Nikitin&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Well it is showing debug logs on my cluster, so something might be messed up while installating HS2. &lt;/P&gt;&lt;PRE&gt;HIVE_CONF_DIR=/usr/hdp/current/hive-server2/conf/conf.server /usr/hdp/current/hive-server2/bin/hiveserver2 -hiveconf hive.metastore.uris=" " -hiveconf hive.root.logger=DEBUG,console
WARNING: Use "yarn jar" to launch YARN applications.
16/05/24 04:39:12 [main]: DEBUG common.LogUtils: Using hive-site.xml found on CLASSPATH at /etc/hive/hdp/conf.server/hive-site.xml
16/05/24 04:39:12 [main]: DEBUG server.HiveServer2:
Logging initialized using configuration in file:/etc/hive/hdp/conf.server/hive-log4j.properties
16/05/24 04:39:12 [main]: INFO server.HiveServer2: STARTUP_MSG:
/************************************************************
STARTUP_MSG: Starting HiveServer2
STARTUP_MSG:   host = ey.example.com/240.0.0.11
STARTUP_MSG:   args = [--hiveconf, hive.aux.jars.path=file:///usr/hdp/current/hive-webhcat/share/hcatalog/hive-hcatalog-core.jar, -hiveconf, hive.metastore.uris= , -hiveconf, hive.root.logger=DEBUG,console]
STARTUP_MSG:   version = 1.2.1000.2.4.2.0-258
......
....
6/05/24 04:39:12 [main]: INFO server.HiveServer2: Starting HiveServer2
16/05/24 04:39:12 [main]: DEBUG lib.MutableMetricsFactory: field org.apache.hadoop.metrics2.lib.MutableRate org.apache.hadoop.security.UserGroupInformation$UgiMetrics.loginSuccess with annotation @org.apache.hadoop.metrics2.annotation.Metric(value=[Rate of successful kerberos logins and latency (milliseconds)], about=, valueName=Time, type=DEFAULT, always=false, sampleName=Ops)
16/05/24 04:39:12 [main]: DEBUG lib.MutableMetricsFactory: field org.apache.hadoop.metrics2.lib.MutableRate org.apache.hadoop.security.UserGroupInformation$UgiMetrics.loginFailure with annotation @org.apache.hadoop.metrics2.annotation.Metric(value=[Rate of failed kerberos logins and latency (milliseconds)], about=, valueName=Time, type=DEFAULT, always=false, sampleName=Ops)
16/05/24 04:39:12 [main]: DEBUG lib.MutableMetricsFactory: field org.apache.hadoop.metrics2.lib.MutableRate org.apache.hadoop.security.UserGroupInformation$UgiMetrics.getGroups with annotation @org.apache.hadoop.metrics2.annotation.Metric(value=[GetGroups], about=, valueName=Time, type=DEFAULT, always=false, sampleName=Ops)
16/05/24 04:39:12 [main]: DEBUG impl.MetricsSystemImpl: UgiMetrics, User and group related metrics
16/05/24 04:39:12 [main]: DEBUG security.Groups:  Creating new Groups object
16/05/24 04:39:12 [main]: DEBUG util.NativeCodeLoader: Trying to load the custom-built native-hadoop library...
16/05/24 04:39:12 [main]: DEBUG util.NativeCodeLoader: Loaded the native-hadoop library
16/05/24 04:39:12 [main]: DEBUG security.JniBasedUnixGroupsMapping: Using JniBasedUnixGroupsMapping for Group resolution
16/05/24 04:39:12 [main]: DEBUG security.JniBasedUnixGroupsMappingWithFallback: Group mapping impl=org.apache.hadoop.security.JniBasedUnixGroupsMapping
16/05/24 04:39:12 [main]: DEBUG security.Groups: Group mapping impl=org.apache.hadoop.security.JniBasedUnixGroupsMappingWithFallback; cacheTimeout=300000; warningDeltaMs=5000
16/05/24 04:39:12 [main]: DEBUG session.SessionState: SessionState user: null
16/05/24 04:39:12 [main]: DEBUG security.UserGroupInformation: hadoop login
16/05/24 04:39:12 [main]: DEBUG security.UserGroupInformation: hadoop login commit
16/05/24 04:39:12 [main]: DEBUG security.UserGroupInformation: using local user:UnixPrincipal: root
16/05/24 04:39:12 [main]: DEBUG security.UserGroupInformation: Using user: "UnixPrincipal: root" with name root
16/05/24 04:39:12 [main]: DEBUG security.UserGroupInformation: User entry: "root"
16/05/24 04:39:12 [main]: DEBUG security.UserGroupInformation: UGI loginUser:root (auth:SIMPLE)
&lt;/PRE&gt;</description>
    <pubDate>Tue, 24 May 2016 21:44:01 GMT</pubDate>
    <dc:creator>jyadav</dc:creator>
    <dc:date>2016-05-24T21:44:01Z</dc:date>
    <item>
      <title>How can I check Ambari start services commands?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-can-I-check-Ambari-start-services-commands/m-p/165079#M29466</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;following the still pending issue:
&lt;A href="https://community.hortonworks.com/questions/34749/cant-start-hiveserver2-beeline-error-error-could-n.html" target="_blank"&gt;https://community.hortonworks.com/questions/34749/cant-start-hiveserver2-beeline-error-error-could-n.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I would like to know how can I check what commands ambari running when its starting services through the GUI ?
when I start the hive service manually:
/usr/bin/hive --service hiveserver2 --hiveconf hive.root.logger=DEBUG,console
it starts without any problems, but when i try to start via Ambari it fails (details in the link above).&lt;/P&gt;&lt;P&gt;I would like to know where can i find the Ambari run commands that starts the different services, specifically Hiveserver2 so i can run it manually and maybe then i can pinpoint the problem.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2016 19:27:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-can-I-check-Ambari-start-services-commands/m-p/165079#M29466</guid>
      <dc:creator>neomerdien</dc:creator>
      <dc:date>2016-05-24T19:27:54Z</dc:date>
    </item>
    <item>
      <title>Re: How can I check Ambari start services commands?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-can-I-check-Ambari-start-services-commands/m-p/165080#M29467</link>
      <description>&lt;P&gt;Try starting/stoping services services from Ambari UI.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/4490-screen-shot-2016-05-24-at-73650-am.png"&gt;screen-shot-2016-05-24-at-73650-am.png&lt;/A&gt;&lt;/P&gt;&lt;P&gt;And then go to link to see the commands Ambari executes.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cloudera.com/legacyfs/online/attachments/4491-screen-shot-2016-05-24-at-73759-am.png"&gt;screen-shot-2016-05-24-at-73759-am.png&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2016 19:39:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-can-I-check-Ambari-start-services-commands/m-p/165080#M29467</guid>
      <dc:creator>pardeep_kumar</dc:creator>
      <dc:date>2016-05-24T19:39:15Z</dc:date>
    </item>
    <item>
      <title>Re: How can I check Ambari start services commands?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-can-I-check-Ambari-start-services-commands/m-p/165081#M29468</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/10642/neomerdien.html" nodeid="10642"&gt;@Andrey Nikitin&lt;/A&gt;&lt;P&gt;Did you also looked inside /var/log/hive/hive-server2.out file after starting HS2 from Ambari? if nothing is there then lets try to restart the agent on that node once and start HS2 again.&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2016 19:50:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-can-I-check-Ambari-start-services-commands/m-p/165081#M29468</guid>
      <dc:creator>jyadav</dc:creator>
      <dc:date>2016-05-24T19:50:59Z</dc:date>
    </item>
    <item>
      <title>Re: How can I check Ambari start services commands?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-can-I-check-Ambari-start-services-commands/m-p/165082#M29469</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2528/jyadav.html" nodeid="2528"&gt;@Jitendra Yadav&lt;/A&gt; &lt;/P&gt;&lt;P&gt;yes, I've already looked there and restarted ambari-agent and even ambari-server.&lt;/P&gt;&lt;P&gt;I am checking for HiveServer2 logs (in /var/log/hive) but the problem is that the logs there are empty. for example the metastore logs are there and if I restart it the logs updates with information successfully.&lt;/P&gt;&lt;P&gt;I know for a fact that its the right log location because when I restart HiveServer2 through ambari, the timestamp on those logs updates and corresponds to the time I try to start the service in ambari but the logs still show up as empty and don't provide any information.&lt;/P&gt;&lt;P&gt;btw in the from the ambari-agent log:&lt;/P&gt;&lt;PRE&gt;INFO 2016-05-24 16:04:21,115 RecoveryManager.py:217 - HIVE_SERVER needs recovery.
INFO 2016-05-24 16:04:21,180 Controller.py:260 - Heartbeat response received (id = 9)
INFO 2016-05-24 16:04:21,181 RecoveryManager.py:217 - HIVE_SERVER needs recovery.
INFO 2016-05-24 16:04:31,183 Heartbeat.py:78 - Building Heartbeat: {responseId = 9, timestamp = 1464095071182, commandsInProgress = False, componentsMapped = True}
INFO 2016-05-24 16:04:31,189 Controller.py:260 - Heartbeat response received (id = 10)
INFO 2016-05-24 16:04:31,189 RecoveryManager.py:217 - HIVE_SERVER needs recovery
&lt;/PRE&gt;&lt;P&gt;hope that explains my situation.&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2016 20:02:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-can-I-check-Ambari-start-services-commands/m-p/165082#M29469</guid>
      <dc:creator>neomerdien</dc:creator>
      <dc:date>2016-05-24T20:02:18Z</dc:date>
    </item>
    <item>
      <title>Re: How can I check Ambari start services commands?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-can-I-check-Ambari-start-services-commands/m-p/165083#M29470</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/139/pardeepkumar.html" nodeid="139"&gt;@Pardeep&lt;/A&gt;&lt;P&gt;perfect, thats exactly what i was looking for.

while going over the log, the intresting bit is the follows:
&lt;/P&gt;&lt;PRE&gt;016-05-24 16:05:43,261 - File['/etc/security/limits.d/hive.conf'] {'content': Template('hive.conf.j2'), 'owner': 'root', 'group': 'root', 'mode': 0644}
2016-05-24 16:05:43,261 - File['/usr/lib/ambari-agent/DBConnectionVerification.jar'] {'content': DownloadSource('http://HOSTNAME:8080/resources/DBConnectionVerification.jar'), 'mode': 0644}
2016-05-24 16:05:43,262 - Not downloading the file from &lt;A href="http://HOSTNAME:8080/resources/DBConnectionVerification.jar" target="_blank"&gt;http://HOSTNAME:8080/resources/DBConnectionVerification.jar&lt;/A&gt;, because /var/lib/ambari-agent/tmp/DBConnectionVerification.jar already exists
2016-05-24 16:05:43,263 - File['/var/lib/ambari-agent/tmp/start_hiveserver2_script'] {'content': Template('startHiveserver2.sh.j2'), 'mode': 0755}
2016-05-24 16:05:43,263 - Directory['/var/run/hive'] {'owner': 'hive', 'mode': 0755, 'group': 'hadoop', 'recursive': True, 'cd_access': 'a'}
2016-05-24 16:05:43,264 - Directory['/var/log/hive'] {'owner': 'hive', 'mode': 0755, 'group': 'hadoop', 'recursive': True, 'cd_access': 'a'}
2016-05-24 16:05:43,264 - Directory['/var/lib/hive'] {'owner': 'hive', 'mode': 0755, 'group': 'hadoop', 'recursive': True, 'cd_access': 'a'}
2016-05-24 16:05:43,264 - Ranger admin not installed
2016-05-24 16:05:43,265 - call['ambari-sudo.sh su hive -l -s /bin/bash -c 'hive --config /usr/hdp/current/hive-server2/conf/conf.server --service metatool -listFSRoot' 2&amp;gt;/dev/null | grep hdfs:// | cut -f1,2,3 -d '/' | grep -v 'hdfs://HOSTNAME:8020' | head -1'] {}
2016-05-24 16:05:47,240 - call returned (0, '')
2016-05-24 16:05:47,241 - Execute['/var/lib/ambari-agent/tmp/start_hiveserver2_script /var/log/hive/hive-server2.out /var/log/hive/hive-server2.log /var/run/hive/hive-server.pid /usr/hdp/current/hive-server2/conf/conf.server /var/log/hive'] {'environment': {'HIVE_BIN': 'hive', 'JAVA_HOME': '/usr/java/default', 'HADOOP_HOME': '/usr/hdp/current/hadoop-client'}, 'not_if': "ls /var/run/hive/hive-server.pid &amp;gt;/dev/null 2&amp;gt;&amp;amp;1 &amp;amp;&amp;amp; ps -p `ambari-sudo.sh su hive -l -s /bin/bash -c 'cat /var/run/hive/hive-server.pid'` &amp;gt;/dev/null 2&amp;gt;&amp;amp;1", 'user': 'hive', 'path': ['/usr/sbin:/sbin:/usr/lib/ambari-server/*:/usr/sbin:/sbin:/usr/lib/ambari-server/*:/usr/lib64/qt-3.3/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin:/var/lib/ambari-agent:/var/lib/ambari-agent:/usr/hdp/current/hive-server2/bin:/usr/hdp/current/hadoop-client/bin']}
2016-05-24 16:05:47,372 - Execute['/usr/java/default/bin/java -cp /usr/lib/ambari-agent/DBConnectionVerification.jar:/usr/hdp/current/hive-server2/lib/mysql-connector-java.jar org.apache.ambari.server.DBConnectionVerification 'jdbc:mysql://HOSTNAME/hive?createDatabaseIfNotExist=true' hive [PROTECTED] com.mysql.jdbc.Driver'] {'path': ['/usr/sbin:/sbin:/usr/local/bin:/bin:/usr/bin'], 'tries': 5, 'try_sleep': 10}
&lt;/PRE&gt;&lt;P&gt;but I dont have any errors, and when checking /var/lib/ambari-agent/tmp/start_hiveserver2_script, the content is:
HIVE_SERVER2_OPTS=" -hiveconf hive.log.file=hiveserver2.log -hiveconf hive.log.dir=$5"
HIVE_CONF_DIR=$4 /usr/hdp/current/hive-server2/bin/hiveserver2 -hiveconf hive.metastore.uris=" " ${HIVE_SERVER2_OPTS} &amp;gt; $1 2&amp;gt; $2 &amp;amp;
echo $!|cat&amp;gt;$3&lt;/P&gt;&lt;P&gt;which translates to:&lt;/P&gt;&lt;PRE&gt;HIVE_SERVER2_OPTS=" -hiveconf hive.log.file=hiveserver2.log -hiveconf hive.log.dir=/var/log/hive"
HIVE_CONF_DIR=/usr/hdp/current/hive-server2/conf/conf.server /usr/hdp/current/hive-server2/bin/hiveserver2 -hiveconf hive.metastore.uris=" "  -hiveconf hive.log.file=hiveserver2.log -hiveconf hive.log.dir=/var/log/hive &amp;gt; /var/log/hive/hive-server2.out 2&amp;gt; /var/log/hive/hive-server2.log &amp;amp;
echo $!|cat&amp;gt;$3
&lt;/PRE&gt;&lt;P&gt;I tried running it manually and nothing happens, but I still nowhere where its calling the actual service itself, something like /usr/bin/hive --service hiveserver2.

what am I missing here?&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2016 20:49:56 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-can-I-check-Ambari-start-services-commands/m-p/165083#M29470</guid>
      <dc:creator>neomerdien</dc:creator>
      <dc:date>2016-05-24T20:49:56Z</dc:date>
    </item>
    <item>
      <title>Re: How can I check Ambari start services commands?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-can-I-check-Ambari-start-services-commands/m-p/165084#M29471</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/10642/neomerdien.html" nodeid="10642"&gt;@Andrey Nikitin&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Can you run below command and share the console output?&lt;/P&gt;&lt;P&gt;HIVE_CONF_DIR=/usr/hdp/current/hive-server2/conf/conf.server /usr/hdp/current/hive-server2/bin/hiveserver2 -hiveconf hive.metastore.uris=" " -hiveconf hive.root.logger=DEBUG,console&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2016 21:07:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-can-I-check-Ambari-start-services-commands/m-p/165084#M29471</guid>
      <dc:creator>jyadav</dc:creator>
      <dc:date>2016-05-24T21:07:57Z</dc:date>
    </item>
    <item>
      <title>Re: How can I check Ambari start services commands?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-can-I-check-Ambari-start-services-commands/m-p/165085#M29472</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2528/jyadav.html" nodeid="2528"&gt;@Jitendra Yadav&lt;/A&gt; 
there is no output.. co console messages or anything.
I checked /usr/hdp/current/hive-server2/bin/hiveserver2 content, its just setting different paths and jar files, i dont think its were the services is running from.&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2016 21:31:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-can-I-check-Ambari-start-services-commands/m-p/165085#M29472</guid>
      <dc:creator>neomerdien</dc:creator>
      <dc:date>2016-05-24T21:31:54Z</dc:date>
    </item>
    <item>
      <title>Re: How can I check Ambari start services commands?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-can-I-check-Ambari-start-services-commands/m-p/165086#M29473</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/10642/neomerdien.html" nodeid="10642"&gt;@Andrey Nikitin&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Well it is showing debug logs on my cluster, so something might be messed up while installating HS2. &lt;/P&gt;&lt;PRE&gt;HIVE_CONF_DIR=/usr/hdp/current/hive-server2/conf/conf.server /usr/hdp/current/hive-server2/bin/hiveserver2 -hiveconf hive.metastore.uris=" " -hiveconf hive.root.logger=DEBUG,console
WARNING: Use "yarn jar" to launch YARN applications.
16/05/24 04:39:12 [main]: DEBUG common.LogUtils: Using hive-site.xml found on CLASSPATH at /etc/hive/hdp/conf.server/hive-site.xml
16/05/24 04:39:12 [main]: DEBUG server.HiveServer2:
Logging initialized using configuration in file:/etc/hive/hdp/conf.server/hive-log4j.properties
16/05/24 04:39:12 [main]: INFO server.HiveServer2: STARTUP_MSG:
/************************************************************
STARTUP_MSG: Starting HiveServer2
STARTUP_MSG:   host = ey.example.com/240.0.0.11
STARTUP_MSG:   args = [--hiveconf, hive.aux.jars.path=file:///usr/hdp/current/hive-webhcat/share/hcatalog/hive-hcatalog-core.jar, -hiveconf, hive.metastore.uris= , -hiveconf, hive.root.logger=DEBUG,console]
STARTUP_MSG:   version = 1.2.1000.2.4.2.0-258
......
....
6/05/24 04:39:12 [main]: INFO server.HiveServer2: Starting HiveServer2
16/05/24 04:39:12 [main]: DEBUG lib.MutableMetricsFactory: field org.apache.hadoop.metrics2.lib.MutableRate org.apache.hadoop.security.UserGroupInformation$UgiMetrics.loginSuccess with annotation @org.apache.hadoop.metrics2.annotation.Metric(value=[Rate of successful kerberos logins and latency (milliseconds)], about=, valueName=Time, type=DEFAULT, always=false, sampleName=Ops)
16/05/24 04:39:12 [main]: DEBUG lib.MutableMetricsFactory: field org.apache.hadoop.metrics2.lib.MutableRate org.apache.hadoop.security.UserGroupInformation$UgiMetrics.loginFailure with annotation @org.apache.hadoop.metrics2.annotation.Metric(value=[Rate of failed kerberos logins and latency (milliseconds)], about=, valueName=Time, type=DEFAULT, always=false, sampleName=Ops)
16/05/24 04:39:12 [main]: DEBUG lib.MutableMetricsFactory: field org.apache.hadoop.metrics2.lib.MutableRate org.apache.hadoop.security.UserGroupInformation$UgiMetrics.getGroups with annotation @org.apache.hadoop.metrics2.annotation.Metric(value=[GetGroups], about=, valueName=Time, type=DEFAULT, always=false, sampleName=Ops)
16/05/24 04:39:12 [main]: DEBUG impl.MetricsSystemImpl: UgiMetrics, User and group related metrics
16/05/24 04:39:12 [main]: DEBUG security.Groups:  Creating new Groups object
16/05/24 04:39:12 [main]: DEBUG util.NativeCodeLoader: Trying to load the custom-built native-hadoop library...
16/05/24 04:39:12 [main]: DEBUG util.NativeCodeLoader: Loaded the native-hadoop library
16/05/24 04:39:12 [main]: DEBUG security.JniBasedUnixGroupsMapping: Using JniBasedUnixGroupsMapping for Group resolution
16/05/24 04:39:12 [main]: DEBUG security.JniBasedUnixGroupsMappingWithFallback: Group mapping impl=org.apache.hadoop.security.JniBasedUnixGroupsMapping
16/05/24 04:39:12 [main]: DEBUG security.Groups: Group mapping impl=org.apache.hadoop.security.JniBasedUnixGroupsMappingWithFallback; cacheTimeout=300000; warningDeltaMs=5000
16/05/24 04:39:12 [main]: DEBUG session.SessionState: SessionState user: null
16/05/24 04:39:12 [main]: DEBUG security.UserGroupInformation: hadoop login
16/05/24 04:39:12 [main]: DEBUG security.UserGroupInformation: hadoop login commit
16/05/24 04:39:12 [main]: DEBUG security.UserGroupInformation: using local user:UnixPrincipal: root
16/05/24 04:39:12 [main]: DEBUG security.UserGroupInformation: Using user: "UnixPrincipal: root" with name root
16/05/24 04:39:12 [main]: DEBUG security.UserGroupInformation: User entry: "root"
16/05/24 04:39:12 [main]: DEBUG security.UserGroupInformation: UGI loginUser:root (auth:SIMPLE)
&lt;/PRE&gt;</description>
      <pubDate>Tue, 24 May 2016 21:44:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-can-I-check-Ambari-start-services-commands/m-p/165086#M29473</guid>
      <dc:creator>jyadav</dc:creator>
      <dc:date>2016-05-24T21:44:01Z</dc:date>
    </item>
    <item>
      <title>Re: How can I check Ambari start services commands?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-can-I-check-Ambari-start-services-commands/m-p/165087#M29474</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2528/jyadav.html" nodeid="2528"&gt;@Jitendra Yadav&lt;/A&gt; &lt;/P&gt;&lt;P&gt;thanks to your example I went to recheck /usr/hdp/current/hive-server2/bin/hiveserver2 file.
I cross checked it will a working staging environment I have, and what do you know... the following line in the end was missing:
exec "${HIVE_HOME}/bin/hiveserver2.distro" "$@"&lt;/P&gt;&lt;P&gt;I modified the file with the missing line and now the service is starting without a problem.&lt;/P&gt;&lt;P&gt;Thanks again!!!&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2016 22:02:09 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-can-I-check-Ambari-start-services-commands/m-p/165087#M29474</guid>
      <dc:creator>neomerdien</dc:creator>
      <dc:date>2016-05-24T22:02:09Z</dc:date>
    </item>
    <item>
      <title>Re: How can I check Ambari start services commands?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-can-I-check-Ambari-start-services-commands/m-p/165088#M29475</link>
      <description>&lt;P&gt;Yeah..so /usr/hdp/current/hive-server2/bin/hiveserver2 was the culprit :). Do you know how that line got removed? ideally we don't change these files manually.&lt;/P&gt;</description>
      <pubDate>Tue, 24 May 2016 22:12:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-can-I-check-Ambari-start-services-commands/m-p/165088#M29475</guid>
      <dc:creator>jyadav</dc:creator>
      <dc:date>2016-05-24T22:12:30Z</dc:date>
    </item>
  </channel>
</rss>

