Re: use more than one host with spark cassandra connector

2019-09-09 Thread Jeff Zhang
Try %spark.conf

https://zeppelin.apache.org/docs/0.9.0-SNAPSHOT/usage/interpreter/overview.html#generic-confinterpreter


Sebastian Albrecht  于2019年9月9日周一
下午4:15写道:

> Hi Jeff,
> thank you. Is it possible to change the spark property in a %spark
> paragraph which was set interpreter UI or has the interpreter to be
> restarted for that?
>
> BR,
> Sebastian.
>
> Am Sa., 7. Sept. 2019 um 04:36 Uhr schrieb Jeff Zhang :
>
>> Sebastian,
>>
>> I don't think spark interpreter of zeppelin does anything for cassandra.
>> IIUC spark.cassandra.connection.host is spark-cassandra connector
>> property, as long as spark support it, it should work in zeppelin. So I
>> would suggest to you to figure out how to set more than one host in spark
>> cassandra connector first.
>>
>> Sebastian Albrecht  于2019年9月7日周六
>> 上午12:25写道:
>>
>>>
>>> Am Fr., 6. Sept. 2019 um 17:04 Uhr schrieb Jeff Zhang >> >:
>>>
 It is better to ask this kind of question in spark community. As long
 as spark support it, you can do it in zeppelin.


>>> Hi Jeff,
>>> thank you for your answer. Zeppelin already does is in the spark
>>> interpreter: set the property spark.cassandra.connection.host , add the
>>> cassandra-connector to the dependencies and go. But where do i configure an
>>> additional host? In the same interpreter. Do i have to add a separate spark
>>> interpreter?
>>>
>>> Thank you,
>>> Sebastian.
>>>
>>>
 Sebastian Albrecht  于2019年9月6日周五
 下午9:27写道:

> Hi,
> is there a way to connect a zeppelin instance to more than one
> cassandra hosts via the spark cassandra connector to use the data from 
> them
> in spark?
>
> BR,
> Sebastian.
>


 --
 Best Regards

 Jeff Zhang

>>>
>>
>> --
>> Best Regards
>>
>> Jeff Zhang
>>
>

-- 
Best Regards

Jeff Zhang


Re: use more than one host with spark cassandra connector

2019-09-09 Thread Sebastian Albrecht
Hi Jeff,
thank you. Is it possible to change the spark property in a %spark
paragraph which was set interpreter UI or has the interpreter to be
restarted for that?

BR,
Sebastian.

Am Sa., 7. Sept. 2019 um 04:36 Uhr schrieb Jeff Zhang :

> Sebastian,
>
> I don't think spark interpreter of zeppelin does anything for cassandra.
> IIUC spark.cassandra.connection.host is spark-cassandra connector
> property, as long as spark support it, it should work in zeppelin. So I
> would suggest to you to figure out how to set more than one host in spark
> cassandra connector first.
>
> Sebastian Albrecht  于2019年9月7日周六
> 上午12:25写道:
>
>>
>> Am Fr., 6. Sept. 2019 um 17:04 Uhr schrieb Jeff Zhang :
>>
>>> It is better to ask this kind of question in spark community. As long as
>>> spark support it, you can do it in zeppelin.
>>>
>>>
>> Hi Jeff,
>> thank you for your answer. Zeppelin already does is in the spark
>> interpreter: set the property spark.cassandra.connection.host , add the
>> cassandra-connector to the dependencies and go. But where do i configure an
>> additional host? In the same interpreter. Do i have to add a separate spark
>> interpreter?
>>
>> Thank you,
>> Sebastian.
>>
>>
>>> Sebastian Albrecht  于2019年9月6日周五
>>> 下午9:27写道:
>>>
 Hi,
 is there a way to connect a zeppelin instance to more than one
 cassandra hosts via the spark cassandra connector to use the data from them
 in spark?

 BR,
 Sebastian.

>>>
>>>
>>> --
>>> Best Regards
>>>
>>> Jeff Zhang
>>>
>>
>
> --
> Best Regards
>
> Jeff Zhang
>


Re: use more than one host with spark cassandra connector

2019-09-06 Thread Jeff Zhang
Sebastian,

I don't think spark interpreter of zeppelin does anything for cassandra.
IIUC spark.cassandra.connection.host is spark-cassandra connector property,
as long as spark support it, it should work in zeppelin. So I would suggest
to you to figure out how to set more than one host in spark cassandra
connector first.

Sebastian Albrecht  于2019年9月7日周六
上午12:25写道:

>
> Am Fr., 6. Sept. 2019 um 17:04 Uhr schrieb Jeff Zhang :
>
>> It is better to ask this kind of question in spark community. As long as
>> spark support it, you can do it in zeppelin.
>>
>>
> Hi Jeff,
> thank you for your answer. Zeppelin already does is in the spark
> interpreter: set the property spark.cassandra.connection.host , add the
> cassandra-connector to the dependencies and go. But where do i configure an
> additional host? In the same interpreter. Do i have to add a separate spark
> interpreter?
>
> Thank you,
> Sebastian.
>
>
>> Sebastian Albrecht  于2019年9月6日周五
>> 下午9:27写道:
>>
>>> Hi,
>>> is there a way to connect a zeppelin instance to more than one cassandra
>>> hosts via the spark cassandra connector to use the data from them in spark?
>>>
>>> BR,
>>> Sebastian.
>>>
>>
>>
>> --
>> Best Regards
>>
>> Jeff Zhang
>>
>

-- 
Best Regards

Jeff Zhang


Re: use more than one host with spark cassandra connector

2019-09-06 Thread Sebastian Albrecht
Am Fr., 6. Sept. 2019 um 17:04 Uhr schrieb Jeff Zhang :

> It is better to ask this kind of question in spark community. As long as
> spark support it, you can do it in zeppelin.
>
>
Hi Jeff,
thank you for your answer. Zeppelin already does is in the spark
interpreter: set the property spark.cassandra.connection.host , add the
cassandra-connector to the dependencies and go. But where do i configure an
additional host? In the same interpreter. Do i have to add a separate spark
interpreter?

Thank you,
Sebastian.


> Sebastian Albrecht  于2019年9月6日周五
> 下午9:27写道:
>
>> Hi,
>> is there a way to connect a zeppelin instance to more than one cassandra
>> hosts via the spark cassandra connector to use the data from them in spark?
>>
>> BR,
>> Sebastian.
>>
>
>
> --
> Best Regards
>
> Jeff Zhang
>


Re: use more than one host with spark cassandra connector

2019-09-06 Thread Jeff Zhang
It is better to ask this kind of question in spark community. As long as
spark support it, you can do it in zeppelin.

Sebastian Albrecht  于2019年9月6日周五
下午9:27写道:

> Hi,
> is there a way to connect a zeppelin instance to more than one cassandra
> hosts via the spark cassandra connector to use the data from them in spark?
>
> BR,
> Sebastian.
>


-- 
Best Regards

Jeff Zhang


use more than one host with spark cassandra connector

2019-09-06 Thread Sebastian Albrecht
Hi,
is there a way to connect a zeppelin instance to more than one cassandra
hosts via the spark cassandra connector to use the data from them in spark?

BR,
Sebastian.