spark-submit --files /path/to/hive-site.xml

On Tue, Mar 24, 2015 at 10:31 AM, Udit Mehta <[email protected]> wrote:
> Another question related to this, how can we propagate the hive-site.xml to
> all workers when running in the yarn cluster mode?
>
> On Tue, Mar 24, 2015 at 10:09 AM, Marcelo Vanzin <[email protected]>
> wrote:
>>
>> It does neither. If you provide a Hive configuration to Spark,
>> HiveContext will connect to your metastore server, otherwise it will
>> create its own metastore in the working directory (IIRC).
>>
>> On Tue, Mar 24, 2015 at 8:58 AM, nitinkak001 <[email protected]>
>> wrote:
>> > I am wondering if HiveContext connects to HiveServer2 or does it work
>> > though
>> > Hive CLI. The reason I am asking is because Cloudera has deprecated Hive
>> > CLI.
>> >
>> > If the connection is through HiverServer2, is there a way to specify
>> > user
>> > credentials?
>> >
>> >
>> >
>> > --
>> > View this message in context:
>> > http://apache-spark-user-list.1001560.n3.nabble.com/Does-HiveContext-connect-to-HiveServer2-tp22200.html
>> > Sent from the Apache Spark User List mailing list archive at Nabble.com.
>> >
>> > ---------------------------------------------------------------------
>> > To unsubscribe, e-mail: [email protected]
>> > For additional commands, e-mail: [email protected]
>> >
>>
>>
>>
>> --
>> Marcelo
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>



-- 
Marcelo

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to