码迷,mamicode.com
首页 > 其他好文 > 详细

初探BigInsights(1)

时间:2016-01-13 22:06:48      阅读:682      评论:0      收藏:0      [点我收藏+]

标签:hbase   hive   biginsight   bigsql   hadoop   

  之前的文章《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服务,或者使用脚本启动

biadmin@bivm:~> /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          
[INFO] @bivm.ibm.com - bigsql-server started            
[INFO] @bivm.ibm.com - bigsql-server-v1 started, pid 17836            
[INFO] Deployer - FMP pids file written            
[INFO] Progress - 58%            
[INFO] Progress - Start oozie            
[INFO] Deployer - Run oozie command as:oozie            
[INFO] @bivm.ibm.com - oozie started, pid 19082            
[INFO] Progress - 67%            
[INFO] Progress - Start console            
[INFO] Deployer - starting pigserver, logging to /var/ibm/biginsights/sheets/logs/bigsheets-console-pigserver.out            
[INFO] Deployer - Server waslp-server is not running.            
[INFO] Deployer - Starting server waslp-server.            
[INFO] Deployer - Server waslp-server started with process ID 19488.            
[INFO] Deployer - BigInsights Management Console started, pid 19488            
[INFO] Progress - 75%            
[INFO] Progress - Start httpfs            
[INFO] @bivm.ibm.com - httpfs-server started, pid 19975            
[INFO] Deployer - httpfs service started            
[INFO] Progress - 83%            
[INFO] Progress - Start monitoring            
[INFO] Deployer - Start monitoring...            
[INFO] Deployer - Starting monitoring agent on bivm.ibm.com as user monitoring            
[INFO] @bivm.ibm.com - monitoring started, pid 21613            
[INFO] Deployer - monitoring service started            
[INFO] Progress - 92%            
[INFO] Progress - Start alert            
[INFO] Deployer - start alert management service...            
[INFO] Deployer - Server waslp-server is not running.            
[INFO] Deployer - Starting server waslp-server.            
[INFO] Deployer - Server waslp-server start failed. Check server logs for details.            
[INFO] Progress - 100%            
[INFO] DeployManager - Start; SUCCEEDED components: [hdm, zookeeper, hadoop, catalog, hbase, hive, bigsql, oozie, console, httpfs, monitoring, alert]; Consumes : 2148290ms

大概10分钟后启动完毕,然后可以使用命令行查看BigInsight各项服务的状态

biadmin@bivm:~> /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 更多内容请参考: 

http://www-01.ibm.com/support/knowledgecenter/SSPT3X_3.0.0/com.ibm.swg.im.infosphere.biginsights.product.doc/doc/using.html%23task_edc_xhj_3n?lang=zh

本文出自 “star&storage” 博客,请务必保留此出处http://taotao1240.blog.51cto.com/731446/1734755

初探BigInsights(1)

标签:hbase   hive   biginsight   bigsql   hadoop   

原文地址:http://taotao1240.blog.51cto.com/731446/1734755

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!