The main reason is Spark's startup time and the need to configure a component I 
don't really need (without  configs the hivecontext takes  more time to load)

Thanks,
Daniel

> On 3 ביולי 2015, at 11:13, Robin East <[email protected]> wrote:
> 
> As Akhil mentioned there isn’t AFAIK any kind of initialisation to stop the 
> SQLContext being created. If you could articulate why you would need to do 
> this (it’s not obvious to me what the benefit would be) then maybe this is 
> something that could be included as a feature in a future release. It may 
> also suggest a way to a workaround.
> 
>> On 3 Jul 2015, at 08:33, Daniel Haviv <[email protected]> 
>> wrote:
>> 
>> Thanks
>> I was looking for a less hack-ish way :)
>> 
>> Daniel
>> 
>>> On Fri, Jul 3, 2015 at 10:15 AM, Akhil Das <[email protected]> 
>>> wrote:
>>> With binary i think it might not be possible, although if you can download 
>>> the sources and then build it then you can remove this function which 
>>> initializes the SQLContext.
>>> 
>>> Thanks
>>> Best Regards
>>> 
>>>> On Thu, Jul 2, 2015 at 6:11 PM, Daniel Haviv 
>>>> <[email protected]> wrote:
>>>> Hi,
>>>> I've downloaded the pre-built binaries for Hadoop 2.6 and whenever I start 
>>>> the spark-shell it always start with HiveContext.
>>>> 
>>>> How can I disable the HiveContext from being initialized automatically ?
>>>> 
>>>> Thanks,
>>>> Daniel
> 

Reply via email to