Quantcast

Hive rc

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Hive rc

abhatnagar@vantage.com
Hi

Does anybody has idea of how (.hiverc) file looks like.


Thanks
Ankit
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Hive rc

Ted Yu-3
Check out processCmd() in CliDriver.java

Basically .hiverc contains multiple lines of CLI commands. You can use
backslash to spread one command across multiple lines.

On Thu, Jan 20, 2011 at 2:25 PM, [hidden email] <
[hidden email]> wrote:

>
> Hi
>
> Does anybody has idea of how (.hiverc) file looks like.
>
>
> Thanks
> Ankit
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Hive-rc-tp2296028p2296028.html
> Sent from the Hadoop lucene-users mailing list archive at Nabble.com.
>
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Hive rc location

abhatnagar@vantage.com
Where is this file located?

Also does anyone has a sample
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Hive rc location

Edward Capriolo
On Fri, Jan 21, 2011 at 9:56 AM, [hidden email]
<[hidden email]> wrote:
>
> Where is this file located?
>
> Also does anyone has a sample
> --
> View this message in context: http://lucene.472066.n3.nabble.com/Hive-rc-tp2296028p2302262.html
> Sent from the Hadoop lucene-users mailing list archive at Nabble.com.
>
Please register for the hive user or dev lists for these type of
questions. Hadoop user and common user is not the ideal place for this
question.

Hive will look for the file in two locations!
env[HIVE_HOME]/bin/.hiverc, property(user.home)/.hiverc

https://issues.apache.org/jira/browse/HIVE-1414

However this feature is currently only in trunk! So if you are running
hive-0.6.0 You do not have hiverc support yet.

Edward
Loading...