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...@altiscale.com> wrote:

> 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 <https://issues.apache.org/jira/browse/HIVE-1414> automatically
> invoke .hiverc init script
> HIVE-2911 <https://issues.apache.org/jira/browse/HIVE-2911> Move global
> .hiverc file
>
> --Bala G.
>
> On Tue, Apr 14, 2015 at 2:03 PM, Maciek <mac...@sonra.io> wrote:
>
>> 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 <
>> b...@altiscale.com> wrote:
>>
>>> Yes, certainly. There are couple of ways to do this.
>>>
>>> One such way is to define an alias for "hive --database
>>> *<custom_database>*"
>>>
>>> --Bala G.
>>>
>>> On Tue, Apr 14, 2015 at 1:30 PM, Maciek <mac...@sonra.io> wrote:
>>>
>>>> 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…)?
>>>>
>>>
>>>
>>
>

Reply via email to