You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Sumit Mohanty (JIRA)" <ji...@apache.org> on 2013/09/19 22:17:51 UTC

[jira] [Updated] (AMBARI-3293) Hive Metastore and Hive server2 are started as root user after the cluster install using ambari

     [ https://issues.apache.org/jira/browse/AMBARI-3293?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sumit Mohanty updated AMBARI-3293:
----------------------------------

    Attachment: AMBARI-3293.patch

Use the correct variable for hive_user.
                
> Hive Metastore and Hive server2 are started as root user after the cluster install using ambari
> -----------------------------------------------------------------------------------------------
>
>                 Key: AMBARI-3293
>                 URL: https://issues.apache.org/jira/browse/AMBARI-3293
>             Project: Ambari
>          Issue Type: Bug
>          Components: controller
>    Affects Versions: 1.4.0
>            Reporter: Sumit Mohanty
>            Assignee: Sumit Mohanty
>             Fix For: 1.4.1
>
>         Attachments: AMBARI-3293.patch
>
>
> Hive Metastore and HiveServer2 are started as root user after the cluster install using ambari
> All the other services are started as appropriate user except Hive services. 
> While configuration of the services before cluster install the default user is mentioned as "hive" on the UI for Hive Metastore. 
> But after the installation hive services are started as root though. 
> {noformat}
> root     16100  3.3  5.8 1548228 112404 ?      Sl   19:59   0:04 /usr/jdk64/jdk1.6.0_31/bin/java -Xmx1024m -Djava.net.preferIPv4Stack=true -Dhadoop.log.dir=/var/log/hadoop/root -Dhadoop.log.file=hadoop.log -Dhadoop.home.dir=/usr/lib/hadoop -Dhadoop.id.str=root -Dhadoop.root.logger=INFO,console -Djava.library.path=/usr/lib/hadoop/lib/native -Dhadoop.policy.file=hadoop-policy.xml -Djava.net.preferIPv4Stack=true -Xmx1024m -Xmx1024m -Dhadoop.security.logger=INFO,NullAppender org.apache.hadoop.util.RunJar /usr/lib/hive/lib/hive-service-0.12.0.2.0.6.0-17.jar org.apache.hadoop.hive.metastore.HiveMetaStore
> root     16480  3.8  5.9 1552472 113576 ?      Sl   19:59   0:05 /usr/jdk64/jdk1.6.0_31/bin/java -Xmx1024m -Djava.net.preferIPv4Stack=true -Dhadoop.log.dir=/var/log/hadoop/root -Dhadoop.log.file=hadoop.log -Dhadoop.home.dir=/usr/lib/hadoop -Dhadoop.id.str=root -Dhadoop.root.logger=INFO,console -Djava.library.path=/usr/lib/hadoop/lib/native -Dhadoop.policy.file=hadoop-policy.xml -Djava.net.preferIPv4Stack=true -Xmx1024m -Xmx1024m -Dhadoop.security.logger=INFO,NullAppender org.apache.hadoop.util.RunJar /usr/lib/hive/lib/hive-service-0.12.0.2.0.6.0-17.jar org.apache.hive.service.server.HiveServer2 -hiveconf hive.metastore.uris=
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira