You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-user@hadoop.apache.org by Raj Hadoop <ha...@yahoo.com> on 2013/05/22 20:53:54 UTC

Hive tmp logs

Hi,
 
My hive job logs are being written to /tmp/hadoop directory. I want to change it to a different location i.e. a sub directory somehere under the 'hadoop' user home directory.
How do I change it.
 
Thanks,
Ra

Re: hive.log

Posted by Sanjay Subramanian <Sa...@wizecommerce.com>.
Ok figured it out

-  vi  /etc/hive/conf/hive-log4j.properties

- Modify this line
#hive.log.dir=/tmp/${user.name}
hive.log.dir=/data01/workspace/hive/log/${user.name}


From: Sanjay Subramanian <sa...@wizecommerce.com>>
Reply-To: "user@hive.apache.org<ma...@hive.apache.org>" <us...@hive.apache.org>>
Date: Thursday, May 23, 2013 2:56 PM
To: "user@hive.apache.org<ma...@hive.apache.org>" <us...@hive.apache.org>>
Cc: User <us...@hadoop.apache.org>>
Subject: hive.log

How do I set the property in hive-site.xml that defines the local linux directory for hive.log ?
Thanks
sanjay

CONFIDENTIALITY NOTICE
======================
This email message and any attachments are for the exclusive use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message along with any attachments, from your computer system. If you are the intended recipient, please be advised that the content of this message is subject to access, review and disclosure by the sender's Email System Administrator.

CONFIDENTIALITY NOTICE
======================
This email message and any attachments are for the exclusive use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message along with any attachments, from your computer system. If you are the intended recipient, please be advised that the content of this message is subject to access, review and disclosure by the sender's Email System Administrator.

Re: hive.log

Posted by Sanjay Subramanian <Sa...@wizecommerce.com>.
Ok figured it out

-  vi  /etc/hive/conf/hive-log4j.properties

- Modify this line
#hive.log.dir=/tmp/${user.name}
hive.log.dir=/data01/workspace/hive/log/${user.name}


From: Sanjay Subramanian <sa...@wizecommerce.com>>
Reply-To: "user@hive.apache.org<ma...@hive.apache.org>" <us...@hive.apache.org>>
Date: Thursday, May 23, 2013 2:56 PM
To: "user@hive.apache.org<ma...@hive.apache.org>" <us...@hive.apache.org>>
Cc: User <us...@hadoop.apache.org>>
Subject: hive.log

How do I set the property in hive-site.xml that defines the local linux directory for hive.log ?
Thanks
sanjay

CONFIDENTIALITY NOTICE
======================
This email message and any attachments are for the exclusive use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message along with any attachments, from your computer system. If you are the intended recipient, please be advised that the content of this message is subject to access, review and disclosure by the sender's Email System Administrator.

CONFIDENTIALITY NOTICE
======================
This email message and any attachments are for the exclusive use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message along with any attachments, from your computer system. If you are the intended recipient, please be advised that the content of this message is subject to access, review and disclosure by the sender's Email System Administrator.

Re: hive.log

Posted by Sanjay Subramanian <Sa...@wizecommerce.com>.
Ok figured it out

-  vi  /etc/hive/conf/hive-log4j.properties

- Modify this line
#hive.log.dir=/tmp/${user.name}
hive.log.dir=/data01/workspace/hive/log/${user.name}


From: Sanjay Subramanian <sa...@wizecommerce.com>>
Reply-To: "user@hive.apache.org<ma...@hive.apache.org>" <us...@hive.apache.org>>
Date: Thursday, May 23, 2013 2:56 PM
To: "user@hive.apache.org<ma...@hive.apache.org>" <us...@hive.apache.org>>
Cc: User <us...@hadoop.apache.org>>
Subject: hive.log

How do I set the property in hive-site.xml that defines the local linux directory for hive.log ?
Thanks
sanjay

CONFIDENTIALITY NOTICE
======================
This email message and any attachments are for the exclusive use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message along with any attachments, from your computer system. If you are the intended recipient, please be advised that the content of this message is subject to access, review and disclosure by the sender's Email System Administrator.

CONFIDENTIALITY NOTICE
======================
This email message and any attachments are for the exclusive use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message along with any attachments, from your computer system. If you are the intended recipient, please be advised that the content of this message is subject to access, review and disclosure by the sender's Email System Administrator.

Re: hive.log

Posted by Sanjay Subramanian <Sa...@wizecommerce.com>.
Ok figured it out

-  vi  /etc/hive/conf/hive-log4j.properties

- Modify this line
#hive.log.dir=/tmp/${user.name}
hive.log.dir=/data01/workspace/hive/log/${user.name}


From: Sanjay Subramanian <sa...@wizecommerce.com>>
Reply-To: "user@hive.apache.org<ma...@hive.apache.org>" <us...@hive.apache.org>>
Date: Thursday, May 23, 2013 2:56 PM
To: "user@hive.apache.org<ma...@hive.apache.org>" <us...@hive.apache.org>>
Cc: User <us...@hadoop.apache.org>>
Subject: hive.log

How do I set the property in hive-site.xml that defines the local linux directory for hive.log ?
Thanks
sanjay

CONFIDENTIALITY NOTICE
======================
This email message and any attachments are for the exclusive use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message along with any attachments, from your computer system. If you are the intended recipient, please be advised that the content of this message is subject to access, review and disclosure by the sender's Email System Administrator.

CONFIDENTIALITY NOTICE
======================
This email message and any attachments are for the exclusive use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message along with any attachments, from your computer system. If you are the intended recipient, please be advised that the content of this message is subject to access, review and disclosure by the sender's Email System Administrator.

Re: hive.log

Posted by Sanjay Subramanian <Sa...@wizecommerce.com>.
Ok figured it out

-  vi  /etc/hive/conf/hive-log4j.properties

- Modify this line
#hive.log.dir=/tmp/${user.name}
hive.log.dir=/data01/workspace/hive/log/${user.name}


From: Sanjay Subramanian <sa...@wizecommerce.com>>
Reply-To: "user@hive.apache.org<ma...@hive.apache.org>" <us...@hive.apache.org>>
Date: Thursday, May 23, 2013 2:56 PM
To: "user@hive.apache.org<ma...@hive.apache.org>" <us...@hive.apache.org>>
Cc: User <us...@hadoop.apache.org>>
Subject: hive.log

How do I set the property in hive-site.xml that defines the local linux directory for hive.log ?
Thanks
sanjay

CONFIDENTIALITY NOTICE
======================
This email message and any attachments are for the exclusive use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message along with any attachments, from your computer system. If you are the intended recipient, please be advised that the content of this message is subject to access, review and disclosure by the sender's Email System Administrator.

CONFIDENTIALITY NOTICE
======================
This email message and any attachments are for the exclusive use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message along with any attachments, from your computer system. If you are the intended recipient, please be advised that the content of this message is subject to access, review and disclosure by the sender's Email System Administrator.

hive.log

Posted by Sanjay Subramanian <Sa...@wizecommerce.com>.
How do I set the property in hive-site.xml that defines the local linux directory for hive.log ?
Thanks
sanjay

CONFIDENTIALITY NOTICE
======================
This email message and any attachments are for the exclusive use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message along with any attachments, from your computer system. If you are the intended recipient, please be advised that the content of this message is subject to access, review and disclosure by the sender's Email System Administrator.

hive.log

Posted by Sanjay Subramanian <Sa...@wizecommerce.com>.
How do I set the property in hive-site.xml that defines the local linux directory for hive.log ?
Thanks
sanjay

CONFIDENTIALITY NOTICE
======================
This email message and any attachments are for the exclusive use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message along with any attachments, from your computer system. If you are the intended recipient, please be advised that the content of this message is subject to access, review and disclosure by the sender's Email System Administrator.

Re: Hive tmp logs

Posted by Sanjay Subramanian <Sa...@wizecommerce.com>.
Clarification
This property defines a file on HDFS
<property>
  <name>hive.exec.scratchdir</name>
  <value> /data01/workspace/hive scratch/dir/on/local/linux/disk</value>
</property>




From: Sanjay Subramanian <sa...@wizecommerce.com>>
Date: Wednesday, May 22, 2013 12:23 PM
To: "user@hive.apache.org<ma...@hive.apache.org>" <us...@hive.apache.org>>
Cc: User <us...@hadoop.apache.org>>
Subject: Re: Hive tmp logs

<property>
  <name>hive.querylog.location</name>
  <value>/path/to/hivetmp/dir/on/local/linux/disk</value>
</property>


From: Anurag Tangri <ta...@gmail.com>>
Reply-To: "user@hive.apache.org<ma...@hive.apache.org>" <us...@hive.apache.org>>
Date: Wednesday, May 22, 2013 11:56 AM
To: "user@hive.apache.org<ma...@hive.apache.org>" <us...@hive.apache.org>>
Cc: Hive <us...@hive.apache.org>>, User <us...@hadoop.apache.org>>
Subject: Re: Hive tmp logs

Hi,
You can add Hive query log property in your hive site xml and point to the directory you want.

Thanks,
Anurag Tangri

Sent from my iPhone

On May 22, 2013, at 11:53 AM, Raj Hadoop <ha...@yahoo.com>> wrote:

Hi,

My hive job logs are being written to /tmp/hadoop directory. I want to change it to a different location i.e. a sub directory somehere under the 'hadoop' user home directory.
How do I change it.

Thanks,
Ra

CONFIDENTIALITY NOTICE
======================
This email message and any attachments are for the exclusive use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message along with any attachments, from your computer system. If you are the intended recipient, please be advised that the content of this message is subject to access, review and disclosure by the sender's Email System Administrator.

hive.log

Posted by Sanjay Subramanian <Sa...@wizecommerce.com>.
How do I set the property in hive-site.xml that defines the local linux directory for hive.log ?
Thanks
sanjay

CONFIDENTIALITY NOTICE
======================
This email message and any attachments are for the exclusive use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message along with any attachments, from your computer system. If you are the intended recipient, please be advised that the content of this message is subject to access, review and disclosure by the sender's Email System Administrator.

hive.log

Posted by Sanjay Subramanian <Sa...@wizecommerce.com>.
How do I set the property in hive-site.xml that defines the local linux directory for hive.log ?
Thanks
sanjay

CONFIDENTIALITY NOTICE
======================
This email message and any attachments are for the exclusive use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message along with any attachments, from your computer system. If you are the intended recipient, please be advised that the content of this message is subject to access, review and disclosure by the sender's Email System Administrator.

hive.log

Posted by Sanjay Subramanian <Sa...@wizecommerce.com>.
How do I set the property in hive-site.xml that defines the local linux directory for hive.log ?
Thanks
sanjay

CONFIDENTIALITY NOTICE
======================
This email message and any attachments are for the exclusive use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message along with any attachments, from your computer system. If you are the intended recipient, please be advised that the content of this message is subject to access, review and disclosure by the sender's Email System Administrator.

Re: Hive tmp logs

Posted by Sanjay Subramanian <Sa...@wizecommerce.com>.
Clarification
This property defines a file on HDFS
<property>
  <name>hive.exec.scratchdir</name>
  <value> /data01/workspace/hive scratch/dir/on/local/linux/disk</value>
</property>




From: Sanjay Subramanian <sa...@wizecommerce.com>>
Date: Wednesday, May 22, 2013 12:23 PM
To: "user@hive.apache.org<ma...@hive.apache.org>" <us...@hive.apache.org>>
Cc: User <us...@hadoop.apache.org>>
Subject: Re: Hive tmp logs

<property>
  <name>hive.querylog.location</name>
  <value>/path/to/hivetmp/dir/on/local/linux/disk</value>
</property>


From: Anurag Tangri <ta...@gmail.com>>
Reply-To: "user@hive.apache.org<ma...@hive.apache.org>" <us...@hive.apache.org>>
Date: Wednesday, May 22, 2013 11:56 AM
To: "user@hive.apache.org<ma...@hive.apache.org>" <us...@hive.apache.org>>
Cc: Hive <us...@hive.apache.org>>, User <us...@hadoop.apache.org>>
Subject: Re: Hive tmp logs

Hi,
You can add Hive query log property in your hive site xml and point to the directory you want.

Thanks,
Anurag Tangri

Sent from my iPhone

On May 22, 2013, at 11:53 AM, Raj Hadoop <ha...@yahoo.com>> wrote:

Hi,

My hive job logs are being written to /tmp/hadoop directory. I want to change it to a different location i.e. a sub directory somehere under the 'hadoop' user home directory.
How do I change it.

Thanks,
Ra

CONFIDENTIALITY NOTICE
======================
This email message and any attachments are for the exclusive use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message along with any attachments, from your computer system. If you are the intended recipient, please be advised that the content of this message is subject to access, review and disclosure by the sender's Email System Administrator.

Re: Hive tmp logs

Posted by Sanjay Subramanian <Sa...@wizecommerce.com>.
Clarification
This property defines a file on HDFS
<property>
  <name>hive.exec.scratchdir</name>
  <value> /data01/workspace/hive scratch/dir/on/local/linux/disk</value>
</property>




From: Sanjay Subramanian <sa...@wizecommerce.com>>
Date: Wednesday, May 22, 2013 12:23 PM
To: "user@hive.apache.org<ma...@hive.apache.org>" <us...@hive.apache.org>>
Cc: User <us...@hadoop.apache.org>>
Subject: Re: Hive tmp logs

<property>
  <name>hive.querylog.location</name>
  <value>/path/to/hivetmp/dir/on/local/linux/disk</value>
</property>


From: Anurag Tangri <ta...@gmail.com>>
Reply-To: "user@hive.apache.org<ma...@hive.apache.org>" <us...@hive.apache.org>>
Date: Wednesday, May 22, 2013 11:56 AM
To: "user@hive.apache.org<ma...@hive.apache.org>" <us...@hive.apache.org>>
Cc: Hive <us...@hive.apache.org>>, User <us...@hadoop.apache.org>>
Subject: Re: Hive tmp logs

Hi,
You can add Hive query log property in your hive site xml and point to the directory you want.

Thanks,
Anurag Tangri

Sent from my iPhone

On May 22, 2013, at 11:53 AM, Raj Hadoop <ha...@yahoo.com>> wrote:

Hi,

My hive job logs are being written to /tmp/hadoop directory. I want to change it to a different location i.e. a sub directory somehere under the 'hadoop' user home directory.
How do I change it.

Thanks,
Ra

CONFIDENTIALITY NOTICE
======================
This email message and any attachments are for the exclusive use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message along with any attachments, from your computer system. If you are the intended recipient, please be advised that the content of this message is subject to access, review and disclosure by the sender's Email System Administrator.

Re: Hive tmp logs

Posted by Sanjay Subramanian <Sa...@wizecommerce.com>.
Clarification
This property defines a file on HDFS
<property>
  <name>hive.exec.scratchdir</name>
  <value> /data01/workspace/hive scratch/dir/on/local/linux/disk</value>
</property>




From: Sanjay Subramanian <sa...@wizecommerce.com>>
Date: Wednesday, May 22, 2013 12:23 PM
To: "user@hive.apache.org<ma...@hive.apache.org>" <us...@hive.apache.org>>
Cc: User <us...@hadoop.apache.org>>
Subject: Re: Hive tmp logs

<property>
  <name>hive.querylog.location</name>
  <value>/path/to/hivetmp/dir/on/local/linux/disk</value>
</property>


From: Anurag Tangri <ta...@gmail.com>>
Reply-To: "user@hive.apache.org<ma...@hive.apache.org>" <us...@hive.apache.org>>
Date: Wednesday, May 22, 2013 11:56 AM
To: "user@hive.apache.org<ma...@hive.apache.org>" <us...@hive.apache.org>>
Cc: Hive <us...@hive.apache.org>>, User <us...@hadoop.apache.org>>
Subject: Re: Hive tmp logs

Hi,
You can add Hive query log property in your hive site xml and point to the directory you want.

Thanks,
Anurag Tangri

Sent from my iPhone

On May 22, 2013, at 11:53 AM, Raj Hadoop <ha...@yahoo.com>> wrote:

Hi,

My hive job logs are being written to /tmp/hadoop directory. I want to change it to a different location i.e. a sub directory somehere under the 'hadoop' user home directory.
How do I change it.

Thanks,
Ra

CONFIDENTIALITY NOTICE
======================
This email message and any attachments are for the exclusive use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message along with any attachments, from your computer system. If you are the intended recipient, please be advised that the content of this message is subject to access, review and disclosure by the sender's Email System Administrator.

Re: Hive tmp logs

Posted by Sanjay Subramanian <Sa...@wizecommerce.com>.
Clarification
This property defines a file on HDFS
<property>
  <name>hive.exec.scratchdir</name>
  <value> /data01/workspace/hive scratch/dir/on/local/linux/disk</value>
</property>




From: Sanjay Subramanian <sa...@wizecommerce.com>>
Date: Wednesday, May 22, 2013 12:23 PM
To: "user@hive.apache.org<ma...@hive.apache.org>" <us...@hive.apache.org>>
Cc: User <us...@hadoop.apache.org>>
Subject: Re: Hive tmp logs

<property>
  <name>hive.querylog.location</name>
  <value>/path/to/hivetmp/dir/on/local/linux/disk</value>
</property>


From: Anurag Tangri <ta...@gmail.com>>
Reply-To: "user@hive.apache.org<ma...@hive.apache.org>" <us...@hive.apache.org>>
Date: Wednesday, May 22, 2013 11:56 AM
To: "user@hive.apache.org<ma...@hive.apache.org>" <us...@hive.apache.org>>
Cc: Hive <us...@hive.apache.org>>, User <us...@hadoop.apache.org>>
Subject: Re: Hive tmp logs

Hi,
You can add Hive query log property in your hive site xml and point to the directory you want.

Thanks,
Anurag Tangri

Sent from my iPhone

On May 22, 2013, at 11:53 AM, Raj Hadoop <ha...@yahoo.com>> wrote:

Hi,

My hive job logs are being written to /tmp/hadoop directory. I want to change it to a different location i.e. a sub directory somehere under the 'hadoop' user home directory.
How do I change it.

Thanks,
Ra

CONFIDENTIALITY NOTICE
======================
This email message and any attachments are for the exclusive use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message along with any attachments, from your computer system. If you are the intended recipient, please be advised that the content of this message is subject to access, review and disclosure by the sender's Email System Administrator.

Re: Hive tmp logs

Posted by Sanjay Subramanian <Sa...@wizecommerce.com>.
<property>
  <name>hive.querylog.location</name>
  <value>/path/to/hivetmp/dir/on/local/linux/disk</value>
</property>

<property>
  <name>hive.exec.scratchdir</name>
  <value> /data01/workspace/hive scratch/dir/on/local/linux/disk</value>
</property>

From: Anurag Tangri <ta...@gmail.com>>
Reply-To: "user@hive.apache.org<ma...@hive.apache.org>" <us...@hive.apache.org>>
Date: Wednesday, May 22, 2013 11:56 AM
To: "user@hive.apache.org<ma...@hive.apache.org>" <us...@hive.apache.org>>
Cc: Hive <us...@hive.apache.org>>, User <us...@hadoop.apache.org>>
Subject: Re: Hive tmp logs

Hi,
You can add Hive query log property in your hive site xml and point to the directory you want.

Thanks,
Anurag Tangri

Sent from my iPhone

On May 22, 2013, at 11:53 AM, Raj Hadoop <ha...@yahoo.com>> wrote:

Hi,

My hive job logs are being written to /tmp/hadoop directory. I want to change it to a different location i.e. a sub directory somehere under the 'hadoop' user home directory.
How do I change it.

Thanks,
Ra

CONFIDENTIALITY NOTICE
======================
This email message and any attachments are for the exclusive use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message along with any attachments, from your computer system. If you are the intended recipient, please be advised that the content of this message is subject to access, review and disclosure by the sender's Email System Administrator.

Re: Hive tmp logs

Posted by Sanjay Subramanian <Sa...@wizecommerce.com>.
<property>
  <name>hive.querylog.location</name>
  <value>/path/to/hivetmp/dir/on/local/linux/disk</value>
</property>

<property>
  <name>hive.exec.scratchdir</name>
  <value> /data01/workspace/hive scratch/dir/on/local/linux/disk</value>
</property>

From: Anurag Tangri <ta...@gmail.com>>
Reply-To: "user@hive.apache.org<ma...@hive.apache.org>" <us...@hive.apache.org>>
Date: Wednesday, May 22, 2013 11:56 AM
To: "user@hive.apache.org<ma...@hive.apache.org>" <us...@hive.apache.org>>
Cc: Hive <us...@hive.apache.org>>, User <us...@hadoop.apache.org>>
Subject: Re: Hive tmp logs

Hi,
You can add Hive query log property in your hive site xml and point to the directory you want.

Thanks,
Anurag Tangri

Sent from my iPhone

On May 22, 2013, at 11:53 AM, Raj Hadoop <ha...@yahoo.com>> wrote:

Hi,

My hive job logs are being written to /tmp/hadoop directory. I want to change it to a different location i.e. a sub directory somehere under the 'hadoop' user home directory.
How do I change it.

Thanks,
Ra

CONFIDENTIALITY NOTICE
======================
This email message and any attachments are for the exclusive use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message along with any attachments, from your computer system. If you are the intended recipient, please be advised that the content of this message is subject to access, review and disclosure by the sender's Email System Administrator.

Re: Hive tmp logs

Posted by Sanjay Subramanian <Sa...@wizecommerce.com>.
<property>
  <name>hive.querylog.location</name>
  <value>/path/to/hivetmp/dir/on/local/linux/disk</value>
</property>

<property>
  <name>hive.exec.scratchdir</name>
  <value> /data01/workspace/hive scratch/dir/on/local/linux/disk</value>
</property>

From: Anurag Tangri <ta...@gmail.com>>
Reply-To: "user@hive.apache.org<ma...@hive.apache.org>" <us...@hive.apache.org>>
Date: Wednesday, May 22, 2013 11:56 AM
To: "user@hive.apache.org<ma...@hive.apache.org>" <us...@hive.apache.org>>
Cc: Hive <us...@hive.apache.org>>, User <us...@hadoop.apache.org>>
Subject: Re: Hive tmp logs

Hi,
You can add Hive query log property in your hive site xml and point to the directory you want.

Thanks,
Anurag Tangri

Sent from my iPhone

On May 22, 2013, at 11:53 AM, Raj Hadoop <ha...@yahoo.com>> wrote:

Hi,

My hive job logs are being written to /tmp/hadoop directory. I want to change it to a different location i.e. a sub directory somehere under the 'hadoop' user home directory.
How do I change it.

Thanks,
Ra

CONFIDENTIALITY NOTICE
======================
This email message and any attachments are for the exclusive use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message along with any attachments, from your computer system. If you are the intended recipient, please be advised that the content of this message is subject to access, review and disclosure by the sender's Email System Administrator.

Re: Hive tmp logs

Posted by Sanjay Subramanian <Sa...@wizecommerce.com>.
<property>
  <name>hive.querylog.location</name>
  <value>/path/to/hivetmp/dir/on/local/linux/disk</value>
</property>

<property>
  <name>hive.exec.scratchdir</name>
  <value> /data01/workspace/hive scratch/dir/on/local/linux/disk</value>
</property>

From: Anurag Tangri <ta...@gmail.com>>
Reply-To: "user@hive.apache.org<ma...@hive.apache.org>" <us...@hive.apache.org>>
Date: Wednesday, May 22, 2013 11:56 AM
To: "user@hive.apache.org<ma...@hive.apache.org>" <us...@hive.apache.org>>
Cc: Hive <us...@hive.apache.org>>, User <us...@hadoop.apache.org>>
Subject: Re: Hive tmp logs

Hi,
You can add Hive query log property in your hive site xml and point to the directory you want.

Thanks,
Anurag Tangri

Sent from my iPhone

On May 22, 2013, at 11:53 AM, Raj Hadoop <ha...@yahoo.com>> wrote:

Hi,

My hive job logs are being written to /tmp/hadoop directory. I want to change it to a different location i.e. a sub directory somehere under the 'hadoop' user home directory.
How do I change it.

Thanks,
Ra

CONFIDENTIALITY NOTICE
======================
This email message and any attachments are for the exclusive use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message along with any attachments, from your computer system. If you are the intended recipient, please be advised that the content of this message is subject to access, review and disclosure by the sender's Email System Administrator.

Re: Hive tmp logs

Posted by Sanjay Subramanian <Sa...@wizecommerce.com>.
<property>
  <name>hive.querylog.location</name>
  <value>/path/to/hivetmp/dir/on/local/linux/disk</value>
</property>

<property>
  <name>hive.exec.scratchdir</name>
  <value> /data01/workspace/hive scratch/dir/on/local/linux/disk</value>
</property>

From: Anurag Tangri <ta...@gmail.com>>
Reply-To: "user@hive.apache.org<ma...@hive.apache.org>" <us...@hive.apache.org>>
Date: Wednesday, May 22, 2013 11:56 AM
To: "user@hive.apache.org<ma...@hive.apache.org>" <us...@hive.apache.org>>
Cc: Hive <us...@hive.apache.org>>, User <us...@hadoop.apache.org>>
Subject: Re: Hive tmp logs

Hi,
You can add Hive query log property in your hive site xml and point to the directory you want.

Thanks,
Anurag Tangri

Sent from my iPhone

On May 22, 2013, at 11:53 AM, Raj Hadoop <ha...@yahoo.com>> wrote:

Hi,

My hive job logs are being written to /tmp/hadoop directory. I want to change it to a different location i.e. a sub directory somehere under the 'hadoop' user home directory.
How do I change it.

Thanks,
Ra

CONFIDENTIALITY NOTICE
======================
This email message and any attachments are for the exclusive use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message along with any attachments, from your computer system. If you are the intended recipient, please be advised that the content of this message is subject to access, review and disclosure by the sender's Email System Administrator.

Re: Hive tmp logs

Posted by Anurag Tangri <ta...@gmail.com>.
Hi,
You can add Hive query log property in your hive site xml and point to the directory you want.

Thanks,
Anurag Tangri

Sent from my iPhone

On May 22, 2013, at 11:53 AM, Raj Hadoop <ha...@yahoo.com> wrote:

> Hi,
>  
> My hive job logs are being written to /tmp/hadoop directory. I want to change it to a different location i.e. a sub directory somehere under the 'hadoop' user home directory.
> How do I change it.
>  
> Thanks,
> Ra