之前的文章《IBM BigInsights -- 基于 Hadoop 的数据分析平台》介绍了IBM大数据分析平台BigInsights,在Hadoop的基础上IBM增加了额外的模块提供更广泛的数据分析。对于想了解下BigInsight是个什么东西?能做什么的同学,IBM也提供了BigInsights的虚拟机版本。对于那些想大概了解Hadoop,但又不想手动去搭建Hadoop平台的同学来说,BigInsight虚拟机也是个不错的选择。
首先到IBM官网下载 https://www-01.ibm.com/marketing/iwm/iwm/web/reg/download.do?source=swg-beta-iibob&S_PKG=dl&lang=en_US&cp=UTF-8&dlmethod=http, 下载“iibi3002_QuickStart_Single_VMware.7z”,用VMware Workstation打开,开机后如下界面,可以看到是基于SUSE的。
第一次启动时会做文件系统检查
选择语言
同意License
输入用户名密码,默认的用户名密码及端口号如下
之后会看到如下界面
双击桌面的Start Biginsights,启动BigInsight服务,或者使用脚本启动
[email protected]:~> /opt/ibm/biginsights/bin/start-all.sh [INFO] DeployCmdline - [ IBM InfoSphere BigInsights Quickstart Edition ] [INFO] Progress - Start hdm [INFO] @bivm.ibm.com - hdm started, pid 4363 [INFO] Progress - 8% [INFO] Progress - Start zookeeper [INFO] HdmUtil - Install configuration has changed in the system, reloading... [INFO] @bivm.ibm.com - zookeeper started, pid 4618 [INFO] Deployer - zookeeper service started [INFO] Progress - 17% [INFO] Progress - Start hadoop [INFO] @bivm.ibm.com - namenode started, pid 4829 [INFO] @bivm.ibm.com - secondarynamenode started, pid 5363 [INFO] @bivm.ibm.com - datanode started, pid 5713 [INFO] Progress - 19% [INFO] Deployer - Waiting for Namenode to exit safe mode... [INFO] Deployer - Waiting another 5 seconds for namenode to exit safemode. Check the namenode log for details. [INFO] Deployer - HDFS cluster started successfully [INFO] Progress - 20% [INFO] Progress - 21% [INFO] @bivm.ibm.com - jobtracker started, pid 6468 [INFO] @bivm.ibm.com - tasktracker started, pid 6888 [INFO] Progress - 25% [INFO] Deployer - MapReduce cluster started successfully [INFO] Progress - Start catalog [INFO] DB2Operator - Starting DB2 Instance db2inst1 on node bivm.ibm.com. Database to be activated BIDB [INFO] DB2Operator - DB2 node bivm.ibm.com is started with process ID 7672 [INFO] DB2Operator - Database BIDB has been activated [INFO] Progress - 33% [INFO] Progress - Start hbase [INFO] Deployer - check zookeeper services, make sure zookeeper service is started before start hbase service [INFO] @bivm.ibm.com - hbase-master(active) started [INFO] @bivm.ibm.com - hbase-regionserver started [INFO] Deployer - hbase service started [INFO] Progress - 42% [INFO] Progress - Start hive [INFO] DB2Operator - Starting DB2 Instance db2inst1 on node bivm.ibm.com. Database to be activated BIDB [INFO] DB2Operator - DB2 Instance db2inst1 is already running on node bivm.ibm.com with process ID 7672 [INFO] DB2Operator - Database BIDB has already been activated [INFO] @bivm.ibm.com - hive-web-interface started, pid 10001 [INFO] @bivm.ibm.com - hive-server2 started, pid 10587 [INFO] Progress - 49% [INFO] Progress - 50% [INFO] Progress - Start bigsql [INFO] Deployer - Starting Big SQL Scheduler : OK Starting Big SQL : OK Starting Big SQL v1 : OK (pid 17836) [INFO] @bivm.ibm.com - scheduler started |
大概10分钟后启动完毕,然后可以使用命令行查看BigInsight各项服务的状态
[email protected]:~> /opt/ibm/biginsights/bin/status.sh |
另外,桌面上还有BigInsight Shell,
比如双击桌面的HBase Shell,就可以直接进入shell
用浏览器打开BigInsight Web界面,http://192.168.133.135:8080/
分布式文件系统HDFS的web界面
接下来的文章我们会通过几个实验来了解BigInsight具体是怎么工作的。
BigInsight Knowledge Center 更多内容请参考: