当前位置:网站首页>头歌 平台作业
头歌 平台作业
2022-07-24 05:21:00 【大概是犬青】
HBase的安装与简单操作
第1关:Hbase数据库的安装
mkdir /appcd /opttar -zxvf hbase-2.1.1-bin.tar.gz -C /appvim /app/hbase-2.1.1/conf/hbase-env.shexport JAVA_HOME=/usr/lib/jvm/jdk1.8.0_111
vim /app/hbase-2.1.1/conf/hbase-site.xml
末尾插入如下内容:<configuration> <property> <name>hbase.rootdir</name> <value>file:///root/data/hbase/data</value> </property> <property> <name>hbase.zookeeper.property.dataDir</name> <value>/root/data/hbase/zookeeper</value> </property> <property> <name>hbase.unsafe.stream.capability.enforce</name> <value>false</value> </property> </configuration>vim /etc/profile
末尾插入如下内容:# SET HBASE_enviroment HBASE_HOME=/app/hbase-2.1.1 export PATH=$PATH:$HBASE_HOME/binsource /etc/profilestart-hbase.sh
第2关:创建表
基于第一关实验环境,如果下面遇到问题重做第一关
hbase shellcreate 'test','data'create 'dept','data'create 'emp','data'
第3关:添加数据、删除数据、删除表
基于第一关实验环境,如果下面遇到问题重做第一关
hbase shellcreate 'mytable','data'put 'mytable','row1','data:1','zhangsan'put 'mytable','row2','data:2','zhangsanfeng'put 'mytable','row3','data:3','zhangwuji'
单节点 Kafka 安装
第1关:单节点 Kafka 的安装
cd /data/workspace/myshixun/tar -zxvf kafka_2.11-1.1.0.tgz -C /opt/cd /opt/kafka_2.11-1.1.0/config/vi server.properties然后修改log.dirs=/opt/kafka-logs(在下图位置)
然后设置Zookeeper 的连接默认就行,不用改vi /etc/profile
在末尾添加如下:export KAFKA_HOME=/opt/kafka_2.11-1.1.0export PATH=$PATH:$KAFKA_HOME/bin
保存退出后source /etc/profile启动zookeeper:
/opt/zookeeper-3.4.12/bin/zkServer.sh start
启动kafka:kafka-server-start.sh /opt/kafka_2.11-1.1.0/config/server.properties
边栏推荐
- Vsual studio 2013 environment UDP multicast
- QT drawing exception using pure code
- [FatFs] migrate FatFs manually and transfer SRAM virtual USB flash disk
- 字符串方法以及实例
- vscode 多行注释总是会自动展开的问题
- Iotp2pgate two IOT devices point-to-point communication fast implementation scheme
- JUC并发编程基础(8)--读写锁
- MySQL download and installation environment settings
- labelme转voc代码中的一个小问题
- 树莓派大用处,利用校园网搭建一个校园局域网站
猜你喜欢

STM32 DSP library MDK vc5\vc6 compilation error: 256, (const float64_t *) twiddlecoeff64_ 256, armBitRevIndexTableF64_ 256,

YOLOv5学习总结(持续更新)

Common features of ES6

Chapter III summary of linear model

"Statistical learning methods (2nd Edition)" Li Hang Chapter 14 clustering method mind map notes and after-school exercise answers (detailed steps) K-means hierarchical clustering Chapter 14

PDF Text merge
![OSError: [WinError 127] 找不到指定的程序。Error loading “caffe2_detectron_ops.dll“ or one of its dependencies](/img/1d/4c9924c20f697011f0e9cda6616c12.png)
OSError: [WinError 127] 找不到指定的程序。Error loading “caffe2_detectron_ops.dll“ or one of its dependencies

How to solve the problem of large distribution gap between training set and test set

用指针访问二维数组

Raspberry pie is of great use. Use the campus network to build a campus local website
随机推荐
"Statistical learning methods (2nd Edition)" Li Hang Chapter 14 clustering method mind map notes and after-school exercise answers (detailed steps) K-means hierarchical clustering Chapter 14
STM32 DSP library MDK vc5\vc6 compilation error: 256, (const float64_t *) twiddlecoeff64_ 256, armBitRevIndexTableF64_ 256,
Jupyter notebook选择conda环境
day3-jvm+排序总结
如何在网页上下载视频
单播、组播、广播、工具开发、QT Udp通讯协议开发简介及开发工具源码
What do programmers often mean by API? What are the API types?
day5-jvm
day1-jvm+leetcode
DeepSort 总结
Vscode multiline comments always expand automatically
JVM system learning
用指针访问二维数组
Positional argument after keyword argument
Points for attention in adding spp module to the network
vscode 多行注释总是会自动展开的问题
删除分类网络预训练权重的的head部分的权重以及修改权重名称
Common methods of array
js星星打分效果
PDF Text merge