kylin-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jepson (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KYLIN-2680) kylin2.0 Build Cube with Spark (beta),can't access nameservice1
Date Thu, 22 Jun 2017 07:18:00 GMT
Jepson created KYLIN-2680:
-----------------------------

             Summary: kylin2.0 Build Cube with Spark (beta),can't access nameservice1
                 Key: KYLIN-2680
                 URL: https://issues.apache.org/jira/browse/KYLIN-2680
             Project: Kylin
          Issue Type: Test
    Affects Versions: v2.0.0
         Environment: CDH5.11.0 (HDFS HA)
apache-kylin-2.0.0-bin-cdh57
            Reporter: Jepson
            Priority: Critical
             Fix For: document
         Attachments: QQ截图20170622150917.png

I refernece with the doc,configure spark cube. [http://kylin.apache.org/docs20/tutorial/cube_spark.html]

*First use the command with error:*
h5. [hdfs@hadoop36 hadoop-conf]$ $KYLIN_HOME/bin/kylin.sh start
h5. Retrieving hadoop conf dir...
h5. /opt/software/kylin/hadoop-conf is override as the kylin_hadoop_conf_dir
h5. KYLIN_HOME is set to /opt/software/kylin
h5. mkdir: Failed on local exception: java.io.IOException: Connection reset by peer; Host
Details : local host is: "hadoop36.jiuye/192.168.17.36"; destination host is: "nameservice1":8020;

h5. Failed to create /kylin. Please make sure the user has right to access /kylin
h5. [hdfs@hadoop36 hadoop-conf]$

*Second use the command with error:*
[hdfs@hadoop36 hadoop-conf]$ $KYLIN_HOME/bin/kylin.sh start
Retrieving hadoop conf dir...
/opt/software/kylin/hadoop-conf is override as the kylin_hadoop_conf_dir
KYLIN_HOME is set to /opt/software/kylin
2017-06-22 15:07:04,885 INFO  [main] ipc.Client (Client.java:handleConnectionTimeout(840))
- Retrying connect to server: nameservice1/180.168.41.175:8020. Already tried 0 time(s); maxRetries=45

This error is that kylin can't access with  nameservce1(HDFS HA), 
so I add the hdfs-site.xml, not in the doc,is sloved:
[hdfs@hadoop36 hadoop-conf]$ ln -s /etc/hadoop/conf/hdfs-site.xml $KYLIN_HOME/hadoop-conf/hdfs-site.xml
 




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message