简体   繁体   English

在Windows中配置HBase群集

[英]Configure HBase cluster in Windows

I would like to configure HBase cluster in Windows environment; 我想在Windows环境中配置HBase集群;

Existing possible ways: 1) Cygwin; 现有的可能方式: 1)Cygwin; 2) VirtualBox; 2)VirtualBox; 3) HDInsight; 3)HDInsight;

My requirement: Configure HBase cluster purely in windows environment. 我的要求: 仅在Windows环境中配置HBase群集。

Analysis so far, 到目前为止的分析,

  1. In file 'hbase-0.98/bin/start-hbase.cmd' , they have mentioned as below, 在文件'hbase-0.98 / bin / start-hbase.cmd'中 ,他们提到如下,

    if "%distMode%"=="false" ( start "HBase Distribution" %HBASE_BIN_PATH%\\hbase.cmd master start ) else ( if "%distMode%"=="true" ( @echo This is not implemented yet. Stay tuned. @rem call %HBASE_BIN_PATH%\\hbase-daemons.cmd --config "${HBASE_CONF_DIR}" start zookeeper 如果“%distMode%” ==“ false”(开始“ HBase Distribution”%HBASE_BIN_PATH%\\ hbase.cmd master start)否则(如果“%distMode%” ==“ true”(@echo尚未实现。 @rem调用%HBASE_BIN_PATH%\\ hbase-daemons.cmd --config“ $ {HBASE_CONF_DIR}”启动Zookeeper

  2. File hbase-daemons.cmd is totally missing in the installer package; 安装程序包中完全没有文件hbase-daemons.cmd

  3. Message "This is not implemented yet. Stay tuned." 消息“尚未实现。敬请期待。” Tells us to wait; 告诉我们等待;

Yet HDInsight and Hortonworks were able to create HBase-Hadoop Cluster in Windows. 然而,HDInsight和Hortonworks能够在Windows中创建HBase-Hadoop集群。 I would like to do the same; 我也想这样做

Please guide me, what configuration do I need to do to configure HBase-Hadoop cluster in windows; 请指导我,在Windows中配置HBase-Hadoop集群需要做什么配置;

Thanks 谢谢

Hbasecluster formed on hadoopcluster only.So use normal hbase package. Hbasecluster仅在hadoopcluster上形成,因此请使用普通的hbase软件包。 1.Run zookeeper in system1.here place all PC's ip which are involved in cluster. 1.在system1中运行zookeeper,在这里放置集群中所有的PC的IP。 2.Then change "start-hbase.cmd" file by using standalone mode command.Then start "Master and Regionserver" in system2. 2.然后使用独立模式命令更改“ start-hbase.cmd”文件。然后在system2中启动“ Master and Regionserver”。 3.Then start "regionserver" in system3. 3.然后在system3中启动“ regionserver”。 4.Now the Hbase_Cluster is ready. 4.现在,Hbase_Cluster已准备就绪。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM