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:

解决办法: 找到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是做什么的? 答: 查看网络端口信息的. -a (all)显示所有选项,默认不显示LISTEN相关 -t (tcp)仅显示tcp相关选项 -n 拒绝显示别名,能显示数字的全部转化成数字。 -l 仅列出有在 Listen (监听) 的服務状态 参考链接

12.Tomcat配置web账号密码: 答:配置web管理帐号 修改文件conf/tomcat-users.xml,在tomcat-users元素中添加帐号密码,需要指定角色. # vi /usr/local/tomcat/server/conf/tomcat-users.xml

==”admin-gui,manager-gui” /></tomcat-users>

参考资料:

Solr安装参考资料: 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 中原有的配置文件为:

========”../../../dist/” regex=”solr-velocity-\d.*\.jar” /> <!– If a ‘dir’ option (with or without a regex) is used and nothingis 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即可。

========”conf/dist/” regex=”solr-velocity-\d.*\.jar” /> <!– If a ‘dir’ option (with or without a regex) is used and nothingis found that matches, a warning will be logged.–> <lib dir=”/non/existent/dir/yields/warning” />

14.Solr中如何新建core? 参考资料: 15 solr完美安装参考链接?

,闽南的花市,一开始是来自漳州百花村,

Hadoop,HBase集群环境搭建的问题集锦(二)

相关文章:

你感兴趣的文章:

标签云: