Re: Default schema

2015-04-14 Thread matshyeq
For the following I suggested: "…or setting param file (like hive-env.sh, hiverc or hive-site.xml…)?" I don't know what property or variable to set up? Would you provide an example excerpt? Thank you, Kind Regards ~Maciek On Tue, Apr 14, 2015 at 10:43 PM, Bala Krishna Gangisetty < b...@altiscal

Re: Default schema

2015-04-14 Thread Bala Krishna Gangisetty
You can also specify it in "*.hiverc*" file. .hiverc is executed automatically when Hive CLI is launched. The file can be located at "$HIVE_CONF_DIR/.hiverc", or "$HOME/.hiverc". It may vary based on distribution you're on. The below 2 Hive JIRAs can provide more details. HIVE-1414

Re: Default schema

2015-04-14 Thread Maciek
Thought about that but not sure if it's the most suitable one Would you mind sharing those other ways? Thanks! On Tue, Apr 14, 2015 at 9:49 PM, Bala Krishna Gangisetty wrote: > Yes, certainly. There are couple of ways to do this. > > One such way is to define an alias for "hive --database > **"

Re: Default schema

2015-04-14 Thread Bala Krishna Gangisetty
Yes, certainly. There are couple of ways to do this. One such way is to define an alias for "hive --database **" --Bala G. On Tue, Apr 14, 2015 at 1:30 PM, Maciek wrote: > Is it possible to customize the schema user logs on to? > I was thinking of setting some bash environment variable > or se

Default schema

2015-04-14 Thread Maciek
Is it possible to customize the schema user logs on to? I was thinking of setting some bash environment variable or setting param file (like hive-env.sh, hiverc or hive-site.xml…)?