Ok got a bit further now, if I execute on the command line: su - hive -c 'env HADOOP_HOME=/usr JAVA_HOME=/usr/lib/jvm/jre-1.6.0-sun.x86_64 /tmp/startMetastore.sh /var/log/hive/hive.out /var/log/hive/hive.log /application/run/hive/hive.pid /etc/hive/conf.server'
I get env: /tmp/startMetastore.sh: Permission denied -----Original Message----- From: Yusaku Sako [mailto:[email protected]] Sent: Friday, June 07, 2013 8:42 PM To: [email protected] Subject: Re: problems with an installation Just to confirm, you are no longer getting the permission error, right? Have you checked the log files under /var/log/hive on the host where Hive Metastore is located? Yusaku On Fri, Jun 7, 2013 at 5:30 PM, Artem Ervits <[email protected]> wrote: > I set it to 1777 and it still wouldn't start. It's failing on the metastore > start, is there a way to reset metastore alone? > > -----Original Message----- > From: Yusaku Sako [mailto:[email protected]] > Sent: Friday, June 07, 2013 6:03 PM > To: [email protected] > Subject: Re: problems with an installation > > What's the permission on the /tmp directory itself? > It should be 1777. > > > On Fri, Jun 7, 2013 at 3:01 PM, Artem Ervits <[email protected]> wrote: >> I originally installed an ambari-provisioned cluster with version 1.2.2.5. >> Hive/HCat service was never working from the beginning. I upgraded >> the server to 1.2.3.7 with hopes it had a fix for the issues I'm >> having but to no avail. I tried to figure it out on my own as well >> and I wasn't successful. If anyone know what's happening during >> service start, the message is: >> >> >> >> su - hive -c 'env HADOOP_HOME=/usr >> JAVA_HOME=/usr/lib/jvm/jre-1.6.0-sun.x86_64 /tmp/startMetastore.sh >> /var/log/hive/hive.out /var/log/hive/hive.log >> /application/run/hive/hive.pid /etc/hive/conf.server ']/Exec[su - >> hive -c 'env HADOOP_HOME=/usr >> JAVA_HOME=/usr/lib/jvm/jre-1.6.0-sun.x86_64 /tmp/startMetastore.sh >> /var/log/hive/hive.out /var/log/hive/hive.log >> /application/run/hive/hive.pid /etc/hive/conf.server ']/returns: env: >> /tmp/startMetastore.sh: Permission denied >> >> >> >> where is this permission issue coming from? I chose to use a password >> for metastore with all kinds of characters. >> >> >> >> Thank you >> >> >> This electronic message is intended to be for the use only of the >> named recipient, and may contain information that is confidential or >> privileged. >> If you are not the intended recipient, you are hereby notified that >> any disclosure, copying, distribution or use of the contents of this >> message is strictly prohibited. If you have received this message in >> error or are not the named recipient, please notify us immediately by >> contacting the sender at the electronic mail address noted above, and >> delete and destroy all copies of this message. Thank you. > > This electronic message is intended to be for the use only of the named > recipient, and may contain information that is confidential or privileged. > If you are not the intended recipient, you are hereby notified that any > disclosure, copying, distribution or use of the contents of this message is > strictly prohibited. If you have received this message in error or are not > the named recipient, please notify us immediately by contacting the sender at > the electronic mail address noted above, and delete and destroy all copies of > this message. Thank you. This electronic message is intended to be for the use only of the named recipient, and may contain information that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately by contacting the sender at the electronic mail address noted above, and delete and destroy all copies of this message. Thank you.
