我只是试着在hadoop上安装hypertable遵循官方文档首先我在centos 6.5-32位节点上以persudo分发模式部署cdh4
然后按照hypertable office文档在hadoop上安装hypertable
当我跑的时候
cap start -f Capfile.cluster
get-dfsbroker未出现错误
* executing `start'
**transaction: start
* executing `start_servers'
* executing `start_hyperspace'
* executing "/opt/hypertable/current/bin/start-hyperspace.sh --config=/opt/hypertable/0.9.7.16/conf/dev-hypertable.cfg"
servers: ["master"]
[master] executing command
**[out :: master] Started Hyperspace
command finished in 6543ms
* executing `start_master'
* executing "/opt/hypertable/current/bin/start-dfsbroker.sh hadoop --config=/opt/hypertable/0.9.7.16/conf/dev-hypertable.cfg &&\\\n /opt/hypertable/current/bin/start-master.sh --config=/opt/hypertable/0.9.7.16/conf/dev-hypertable.cfg &&\\\n /opt/hypertable/current/bin/start-monitoring.sh"
servers: ["master"]
[master] executing command
**[out :: master] DFS broker: available file descriptors: 65536
**[out :: master] Waiting for DFS Broker (hadoop) (localhost:38030) to come up...
**[out :: master] Waiting for DFS Broker (hadoop) (localhost:38030) to come up...
**[out :: master] Waiting for DFS Broker (hadoop) (localhost:38030) to come up...
**[out :: master] Waiting for DFS Broker (hadoop) (localhost:38030) to come up...
**[out :: master] Waiting for DFS Broker (hadoop) (localhost:38030) to come up...
**[out :: master] Waiting for DFS Broker (hadoop) (localhost:38030) to come up...
**[out :: master] Waiting for DFS Broker (hadoop) (localhost:38030) to come up...
**[out :: master] Waiting for DFS Broker (hadoop) (localhost:38030) to come up...
**[out :: master] ERROR: DFS Broker (hadoop) did not come up
command finished in 129114ms
failed: "sh -c '/opt/hypertable/current/bin/start-dfsbroker.sh hadoop --config=/opt/hypertable/0.9.7.16/conf/dev-hypertable.cfg &&\\\n /opt/hypertable/current/bin/start-master.sh --config=/opt/hypertable/0.9.7.16/conf/dev-hypertable.cfg &&\\\n /opt/hypertable/current/bin/start-monitoring.sh'" on master
我检查了dfsbroker.hadoop.log-in/opt/hypertable/0.9.7.16得到这个
/opt/hypertable/current/bin/jrun: line 113: exec: java: not found
但是我已经设置了javau home,我测试java是否正常运行
java --version
我尝试单独运行jrun,但没有提示exec:java:notfound
我在google之后也看到过类似的问题
但我已经用了所有我能找到的方法
/opt/hypertable/current/bin/set-hadoop-distro.sh cdh4
快去
Hypertable successfully configured for Hadoop cdh4
如果有人能给我一个关于这个问题的提示,我将不胜感激
1条答案
按热度按时间w8ntj3qf1#
启动群集之前,必须运行:
然后可以检查所有目录是否已正确设置:
而且java版本也应该可以工作
更多信息请参见快速入门。