Dong, you might misunderstand the ³offline² here; The doc ³Off Hadoop cli
installation² talks about how to install Kylin in a machine which is out
of Hadoop cluster; In that case, you need configure a remote cli
host/user/pwd in kylin.properties so that Kylin can ssh to that cli to
execute hadoop/hive/hbase commands; As usually it is not a problem for
user to install Kylin in hadoop cluster, the ³off cli² mode will not be
our focus anymore;

For your case, if you want to install 2 Kylin instances, there are two
options in my mind:

Option 1:
Install Kylin in two machines, and configure one instance to run query
engine only, and the other run all (job engine + query engine); Yang has
mentioned how to configure that in a previous email;

Option 2:
Install the 2 instances in 1 machine but assign different ports to them
(modify in tomcat/conf/server.xml); Please also do the same configuration
as option 1; After that, use different ports to access different instances;

For both option 1 and 2, remember to update the kylin.rest.servers to let
them aware each other, so that they can notify the other on a cube state
change;

Please let us know if you have further question.

On 5/5/15, 3:58 PM, "dong wang" <[email protected]> wrote:

>shaofeng, then, does it mean that we couldn't start 2 different kylin
>instances either on the same one machine or on 2 different machines to
>POINT to the same CDH hadoop cluster?
>
>2015-05-05 15:51 GMT+08:00 Shi, Shaofeng <[email protected]>:
>
>>
>> examples/test_case_data/sandbox/kylin.properties, as the folder name
>> indicates, it is for unit test (pointing to a HDP sandbox);
>>
>> conf/kylin.properties is for packaging a binary release;
>>
>> The offline mode is not recommended since 0.7, although it may still
>>work;
>>
>> On 5/5/15, 3:44 PM, "dong wang" <[email protected]> wrote:
>>
>> >according to this email title,  in which cases do the 2 different
>> >kylin.properties files work?
>> >
>> >in addition, I also found that
>> >
>> 
>>https://github.com/KylinOLAP/Kylin/blob/master/docs/Installation/Off%20Ha
>>d
>> >oop%20CLI%20Installation.md
>> >mentions some stuff about offline installation on the topic~
>>
>>

Reply via email to