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

On Tue, Mar 24, 2015 at 10:31 AM, Udit Mehta <ume...@groupon.com> 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 <van...@cloudera.com>
> 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 <nitinkak...@gmail.com>
>> 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: user-unsubscr...@spark.apache.org
>> > For additional commands, e-mail: user-h...@spark.apache.org
>> >
>>
>>
>>
>> --
>> Marcelo
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscr...@spark.apache.org
>> For additional commands, e-mail: user-h...@spark.apache.org
>>
>



-- 
Marcelo

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@spark.apache.org
For additional commands, e-mail: user-h...@spark.apache.org

Reply via email to