我对hadoop、hive、hbase和kylin都是新手。我试着安装前三个,它似乎是工作。
之后,我尝试安装apachekylin,运行sample.sh并获得成功。
运行脚本后,我重新启动并打开web界面。无法打开某些页,例如:/cube、/models、/admin/config
问题是:我可以看到在hive中创建了5个表,还创建了2个多维数据集。但是当我在webgui中打开时,模型处于加载状态,我无法构建多维数据集。
当我试着建造立方体的时候
我找不到任何信息日志(也许有,但我不知道)
Kylin.loghttps://pastebin.com/tuzkqepa
hadoop-hadoop-namenode-master.loghttps://pastebin.com/t8ent3py
hadoop-hadoop-secondarynamenode-master.loghttps://pastebin.com/imjdnffu
yarn-hadoop-resourcemanager-master.loghttps://pastebin.com/tgwjwtrf
hbase-hadoop-zookeeper-master.loghttps://pastebin.com/ym6eky5h
hbase-hadoop-master-master.loghttps://pastebin.com/p1ygfw4w
以下是hadoop的配置(yarn site.xml)
<configuration>
<property>
<name>yarn.nodemanager.aux-services</name>
<value>mapreduce_shuffle</value>
</property>
<property>
<name>yarn.resourcemanager.scheduler.address</name>
<value>master:8030</value>
</property>
<property>
<name>yarn.resourcemanager.resource-tracker.address</name>
<value>master:8031</value>
</property>
<property>
<name>yarn.resourcemanager.address</name>
<value>master:8032</value>
</property>
</configuration>
hdfs-site.xml文件
<configuration>
<property>
<name>dfs.replication</name>
<value>1</value>
</property>
</configuration>
core-site.xml文件
<configuration>
<property>
<name>fs.defaultFS</name>
<value>hdfs://master:9000</value>
</property>
<property>
<name>hadoop.tmp.dir</name>
<value>/home/hadoop/tmp</value>
</property>
</configuration>
mapred-site.xml文件
<configuration>
<property>
<name>mapreduce.framework.name</name>
<value>yarn</value>
</property>
</configuration>
hbase区域服务器的配置
slave2
hbase-site.xml文件
<configuration>
<property>
<name>hbase.rootdir</name>
<value>hdfs://master:9000/hbase</value>
</property>
<property>
<name>hbase.cluster.distributed</name>
<value>true</value>
</property>
<property>
<name>hbase.zookeeper.property.dataDir</name>
<value>/home/hadoop/datadir</value>
</property>
<property>
<name>hbase.zookeeper.quorum</name>
<value>master,slave2</value>
</property>
</configuration>
配置单元hive-site.xml的配置
<configuration>
<property>
<name>javax.jdo.option.ConnectionURL</name>
<value>jdbc:mysql://master:3306/metastore?createDatabaseIfNotExist=true</value>
<description>metadata is stored in a MySQL server</description>
</property>
<property>
<name>javax.jdo.option.ConnectionDriverName</name>
<value>com.mysql.jdbc.Driver</value>
<description>MySQL JDBC driver class</description>
</property>
<property>
<name>javax.jdo.option.ConnectionUserName</name>
<value>root</value>
<description>user name for connecting to mysql server</description>
</property>
<property>
<name>javax.jdo.option.ConnectionPassword</name>
<value>gwudainget</value>
<description>password for connecting to mysql server</description>
</property>
<property>
<name>hive.cli.print.current.db</name>
<value>true</value>
<description>Whether to include the current database in the Hive prompt.</description>
</property>
</configuration>
对于kylin,我使用默认配置,因为我不知道如何处理kylin配置。
我使用的:hadoop 2.7.5二进制hbase 1.2.6二进制hive 1.2.2二进制kylin 2.2.0源代码(我只是添加日志)
暂无答案!
目前还没有任何答案,快来回答吧!