Hadoop,HBase集群环境搭建的问题集锦(二)
10.艾玛, Datanode也启动不了了?
找到log:
Caused by: java.net.UnknownHostException: Invalid host name: local host is: (unknown); destination host is: “maste1”:8031; java.net.
UnknownHostException; For more details see: http://wiki.apache.org/hadoop/UnknownHost
解决的方法:
找到hadoop配置文件yarn-site.xml改正配置信息例如以下.
依旧启动不了?
解决的方法:
清空master1, master2 上的name里的数据,删除current文件夹,rm -rf current
清空slave1,slave2上的data01里的数据,删除current文件夹,rm -rf current
在主master1上name格式化, hdfs namenode -format
启动hdfs: ./start-all.sh
奏效!!赞!!!
11.命令#netstat -atln是做什么的?
答: 查看网络port信息的.
-a (all)显示所有选项。默认不显示LISTEN相关
-t (tcp)仅显示tcp相关选项
-n 拒绝显示别名。能显示数字的所有转化成数字。
-l 仅列出有在 Listen (监听) 的服務状态
參考链接http://www.cnblogs.com/ggjucheng/archive/2012/01/08/2316661.html
12.Tomcat配置web账号password:
答:配置web管理帐号
改动文件conf/tomcat-users.xml,在tomcat-users元素中加入帐号password。须要指定角色.
# vi /usr/local/tomcat/server/conf/tomcat-users.xml
<tomcat-users>
<user name="admin" password="admin" roles="admin-gui,manager-gui" />
</tomcat-users>
參考资料:http://blog.csdn.net/gyming/article/details/36060843
Solr安装參考资料:
http://www.linuxidc.com/Linux/2014-05/101443.htm
http://www.656463.com/article/IbiInu.htm
13. 查看 solr的logging会出现:
19:44:42 WARN SolrResourceLoader Can’t find (or read) directory to add to classloader: ../../../contrib/extraction/lib (resolved as: /home/solr_home/collection1/../../../contrib/extraction/lib).
这种警告;事实上这是由于找不到 相应的jar包造成的。
在/home/solr_home/collection1/conf/solrconfig.xml 中原有的配置文件为:
<lib dir="../../../contrib/extraction/lib" regex=".*\.jar" />
<lib dir="../../../dist/" regex="solr-cell-\d.*\.jar" />
<lib dir="../../../contrib/clustering/lib/" regex=".*\.jar" />
<lib dir="../../../dist/" regex="solr-clustering-\d.*\.jar" />
<lib dir="../../../contrib/langid/lib/" regex=".*\.jar" />
<lib dir="../../../dist/" regex="solr-langid-\d.*\.jar" />
<lib dir="../../../contrib/velocity/lib" regex=".*\.jar" />
<lib dir="../../../dist/" regex="solr-velocity-\d.*\.jar" />
<!-- If a 'dir' option (with or without a regex) is used and nothing
is found that matches, a warning will be logged.
-->
<lib dir="/non/existent/dir/yields/warning" />
这个是警告信息
解决的方法: 能够将 solr-4.3.1\文件夹下的 contrib 和 dist 复制到 /home/solr_home/collection1/conf 以下就能够了
然后改动上面的配置文件/home/solr_home/collection1/conf/solrconfig.xml就可以。
<lib dir="conf/contrib/extraction/lib" regex=".*\.jar" />
<lib dir="conf/dist/" regex="solr-cell-\d.*\.jar" />
<lib dir="conf/contrib/clustering/lib/" regex=".*\.jar" />
<lib dir="conf/dist/" regex="solr-clustering-\d.*\.jar" />
<lib dir="conf/contrib/langid/lib/" regex=".*\.jar" />
<lib dir="conf/dist/" regex="solr-langid-\d.*\.jar" />
<lib dir="conf/contrib/velocity/lib" regex=".*\.jar" />
<lib dir="conf/dist/" regex="solr-velocity-\d.*\.jar" />
<!-- If a 'dir' option (with or without a regex) is used and nothing
is found that matches, a warning will be logged.
-->
<lib dir="/non/existent/dir/yields/warning" />
14.Solr中怎样新建core?
參考资料:http://blog.csdn.net/clj198606061111/article/details/21288499/
15 solr完美安装參考链接?
http://www.656463.com/article/IbiInu.htm
http://my.oschina.net/liuxundemo/blog/208236
Hadoop,HBase集群环境搭建的问题集锦(二)的更多相关文章
- Hadoop,HBase集群环境搭建的问题集锦(四)
21.Schema.xml和solrconfig.xml配置文件里參数说明: 參考资料:http://www.hipony.com/post-610.html 22.执行时报错: 23., /comm ...
- HBase —— 集群环境搭建
一.集群规划 这里搭建一个3节点的HBase集群,其中三台主机上均为Regin Server.同时为了保证高可用,除了在hadoop001上部署主Master服务外,还在hadoop002上部署备用的 ...
- Hadoop+Spark:集群环境搭建
环境准备: 在虚拟机下,大家三台Linux ubuntu 14.04 server x64 系统(下载地址:http://releases.ubuntu.com/14.04.2/ubuntu-14.0 ...
- hadoop(八) - hbase集群环境搭建
1. 上传hbase安装包hbase-0.96.2-hadoop2-bin.tar.gz 2. 解压 tar -zxvf hbase-0.96.2-hadoop2-bin.tar.gz -C /clo ...
- HBase集群环境搭建v2.0
本文档环境基于ubuntu16.04版本,如果最终不使用SuperMap iServer 10i ,可以不配置geomesa-hbase_2.11-2.2.0-bin.tar.gz 相比1.0版本,升 ...
- HBase集群环境搭建v1.0
本文档环境基于ubuntu14.04版本,如果最终不使用SuperMap iServer 9D ,可以不配置geomesa-hbase_2.11-2.0.1-bin.tar.gz (转发请注明出处:h ...
- 数据仓库组件:HBase集群环境搭建和应用案例
本文源码:GitHub || GitEE 一.Hbase简介 1.基础描述 Hadoop原生的特点是解决大规模数据的离线批量处理场景,HDFS具备强大存储能力,但是并没有提供很强的数据查询机制.HBa ...
- 大数据平台搭建-hadoop/hbase集群的搭建
版本要求 java 版本:1.8.*(1.8.0_60) 下载地址:http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downl ...
- Hbase集群环境搭建
Hbase数据库依赖 Hadoop和zookeeper,所以,安装Hbase之前,需要先把zookeeper集群搭建好.(当然,Hbase有内建的zookeeper,不过不建议使用).Hbase配置上 ...
随机推荐
- DOM事件绑定方式
普通事件可以直接绑定 比如document.onmouseover=fn; 或者document.addEventListener("mouseover",fn,flase); a ...
- bootstrap字体图标不正常显示的原因
本地引入bootstrap.css文件,使用https://v3.bootcss.com/components/站点 字体图标 时不能正常显示,换成 bootstrap 官网的 cdn 链接却能正常显 ...
- 开启PowerDesigner15工具栏上的被禁用掉的图标
PowerDesigner 15 的版本,工具栏上的Inheritance图标默认是禁用的,如下图所示:
- .NET泛型02,泛型的使用
在" .NET泛型01,为什么需要泛型,泛型基本语法"中,了解了泛型的基本概念,本篇偏重于泛型的使用.主要包括: ■ 泛型方法重载需要注意的问题■ 泛型的类型推断■ 泛型方法也可以 ...
- 【docker】centOS7上部署的mysql和spring boot服务,要求,mysql的时间、java程序服务的时间和宿主机的时间完全保持一致【修改mysql时区,临时和永久】【修改spring boot配置文件时区】【修改docker启动spring boot实例程序时区】
要求:centOS7上部署的mysql和spring boot服务,要求,mysql的时间.java程序服务的时间和宿主机的时间完全保持一致: ============================ ...
- UITableView分页
UITableView分页上拉加载简单,ARC环境,源码如下,以作备份: 原理是,点击最后一个cell,触发一个事件来处理数据,然后reloadData RootViewController.m + ...
- 《Windows核心编程》第3章——handle复制相关实验
先写一个程序,用来查看进程的内核对象,这样我们就能比较子进程是否继承了父进程的某个句柄: #include <windows.h> #include <stdio.h> #de ...
- mac的cpu处理器个数、核数、超线程
处理器:1个 每个核的L2缓存大小:256KB L3缓存大小:3MB 核数:2个 2个核却有4个CPU:使用了超线程技术--双核四线程 macOS,查看CPU信息:sysctl machdep.cpu ...
- from __future__ import print_function
1.在python2.x的环境是使用下面语句,则第二句语法检查通过,第三句语法检查失败 from __future__ import print_function priint('good') pri ...
- 加载依赖的jar包在命令行编译和运行java文件
在命令里编译和执行java文件,当应用程序需要需要依赖的jar包里面的class文件才能编译运行的时候,应该这样做: 1. 首先是编译过程,在命令行里面执行: (1) javac -classpath ...