黑猴子的家:Kylin 之 启动异常java.io.IOException: java.net.UnknownHostException: hadoop102:2181

kylin启动报错:java.io.IOException: java.net.UnknownHostException: hadoop102:2181
安装好hdfs,hive,hbase,yarn,zk
启动前,集群,hive,hbase已经启动
第一次启动,只是将kylin解压,然后bin/kylin.sh start
啥都没配置。
java.io.IOException: java.net.UnknownHostException: hadoop102:2181


原因:端口号2181在有关zk的配置里写了两遍
hbase-site.xml的hbase.zookeeper.quorum,该项只需配置Host不需要配置端口号Port。
去掉:2181

注意:启动Kylin之前要保证HDFS,YARN,ZK,HBASE相关进程是正常运行的。
http://hadoop102:7070/kylin查看Web页面

hbase-site.xml

<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="configuration.xsl"?>
<!--
/**
 *
 * Licensed to the Apache Software Foundation (ASF) under one
 * or more contributor license agreements.  See the NOTICE file
 * distributed with this work for additional information
 * regarding copyright ownership.  The ASF licenses this file
 * to you under the Apache License, Version 2.0 (the
 * "License"); you may not use this file except in compliance
 * with the License.  You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
-->
<configuration>
    <!-- hbase存放在hdfs上的路径,端口要和hadoop的fs.defaultFS端口一致 -->
    <property>     
        <name>hbase.rootdir</name>     
        <value>hdfs://hadoop102:9000/hbase</value>
        <description> </description> 
    </property>
    <!-- 是否分布式部署 -->
    <property>   
        <name>hbase.cluster.distributed</name>
        <value>true</value>
    </property>
     <!-- 0.98后的新变动,之前版本没有.port,低版本默认端口为60000 -->
    <property>
        <name>hbase.master.port</name>
        <value>16000</value>
    </property>
    <!--  Zookeeper 节点列表 -->
    <property>   
        <name>hbase.zookeeper.quorum</name>
        <value>hadoop102,hadoop103,hadoop104</value>
        <!--  只配置主机名就可以-->
    </property>
    <property>
        <name>hbase.zookeeper.property.clientPort</name>
        <value>2181</value>
    </property>
    <!--  Zookeeper 存储位置 -->
    <property>   
        <name>hbase.zookeeper.property.dataDir</name>
        <value>/opt/module/zookeeper-3.4.10/zkdata</value>
    </property>
    <property>
        <name>hbase.master.maxclockskew</name>
        <value>180000</value>
        <description>Time difference of regionserver from master</description>
    </property>
    <property>
        <name>hbase.rpc.timeout</name>
        <value>600000</value>
    </property>
    <property>
        <name>hbase.client.operation.timeout</name>
        <value>600000</value>
    </property>
    <property>
        <name>hbase.client.scanner.timeout.period</name>
        <value>600000</value>
    </property>
    <property>
        <name>hbase.regionserver.lease.period</name>
        <value>600000</value>
    </property>
    <property>
        <name>phoenix.query.timeoutMs</name>
        <value>600000</value>
    </property>
    <property>
        <name>phoenix.query.keepAliveMs</name>
        <value>600000</value>
    </property>
    <property>
        <name>hbase.client.ipc.pool.type</name>
        <value>RoundRobinPool</value>
    </property>
    <property>
        <name>hbase.client.ipc.pool.size</name>
        <value>10</value>
    </property>
</configuration>
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

友情链接更多精彩内容