Hi,

I want to confirm that you have tried to put the `hive-site.xm`l of HDP1 under 
directory `/etc/hive/conf`  in HDP2, and still encounter this error?

If you put the `hive-site.xml` of HDP1 in directory `/etc/hive/conf` in HDP2, 
Kylin will read the `hive-site.xml` of HDP1 when reading the Hadoop 
configuration, and the `LOCATION` here will use the HDFS directory configured 
in the `hive-site.xml` of HDP1.

> 在 2022年1月11日,下午4:55,Meng, Lingsheng <lingsheng.m...@rakuten.com.INVALID> 写道:
> 
> Hi,
> 
> I’m trying to create 2 Kylin clusters (primary + secondary).
> The 2 clusters use the same data source, but for the secondary cluster, I 
> want to user another Hbase installation.
> 
> I did the following changes compared with the primary:
> 
>  *   in .bashrc: changed the HBASE_HOME
>  *   in kylin.properties: define ` 
> kylin.storage.hbase.cluster-fs=hdfs://newhbase-cluster:8080`
> 
> After starting the kylin in secondary cluster, from the start up log, it 
> always trys to connect to the zookeeper of new Hbase.
> 
> Then I tried to build a cube, the log shows the hive command like
> “””
> ……
> 
> CREATE EXTERNAL TABLE IF NOT EXISTS 
> kylin_intermediate_test_cart_add_cube_0ed9de6e_80eb_1d90_dd3f_9ef85ddd8941
> 
> (
> 
> \`CART_ADD_USER_KEY\` string
> 
> )
> 
> STORED AS SEQUENCEFILE
> 
> LOCATION 
> 'hdfs://new_hbase_cluster_ns/tmp/aipl/kylin/aipl-kylin_metadata/kylin-6db3c2d5-49f0-dee4-adee-45f689d05460/kylin_intermediate_test_cart_add_cube_0ed9de6e_80eb_1d90_dd3f_9ef85ddd8941'
> 
> ;
> ……
> ”””
> Obviously, I got the error
> 
> Error: Error while compiling statement: FAILED: SemanticException 
> java.lang.IllegalArgumentException: java.net.UnknownHostException: 
> new_hbase_cluster_ns (state=42000,code=40000)
> 
> My Env :
> Kylin: apache-kylin-3.1.2-bin-hadoop3
> Hadoop: 3.1
> Hbase: 2.0
> 
> Could you help me solve this issue?
> 
> Thank you very much!
> 
> 
> Best regards,
> ____________________________
> Lingsheng Meng | Forest | CNTD
> 
> 

Reply via email to