`
digiter
  • 浏览: 118352 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

[2011-09-16] HBase configuration

    博客分类:
  • ICT
阅读更多
环境
java version "1.6.0"
hadoop-0.20.203.0rc1
hbase-0.90.4

首先是quickstart
http://hbase.apache.org/book/quickstart.html

然后是各种配置…
http://hbase.apache.org/book/os.html
2.2. Operating System
2.2.1. ssh
Google "ssh passwordless login"
得到
http://www.debian-administration.org/articles/152
引用
ssh-keygen -t rsa

引用
ssh-copy-id -i ~/.ssh/id_rsa.pub username@myurl


2.2.2. DNS

在配置Hadoop的时候已经修改过/etc/hosts文件

2.2.3. NTP

暂时没管这项

update 2011-09-21:
遇到时间不同导致HRegionServer启动不了的问题了,决定让集群中一台服务器作为NTP服务器
[服务端]
sudo vim /etc/ntp.conf
变成允许192.168.2.x子网的机器访问
引用

  #restrict default kod nomodify notrap nopeer noquery
  restrict 192.168.2.0 mask 255.255.255.0 nomodify notrap

然后重启ntpd
sudo /etc/init.d/ntpd restart
[客户端]
sudo ntpdate hadoop-master

2.2.4.  ulimit and nproc

暂时没管



分享到:
评论

相关推荐

    spring-boot-starter-hbase自定义的spring-boot的hbasestarter

    自定义的spring-boot的hbase starter,为hbase的query和更新等操作提供简易的api并集成spring-boot的auto configuration

    spring-boot-starter-hbase:Spring Boot Starter HBase的

    自定义的spring-boot的hbase starter,为hbase的query和更新等操作提供简易的api并集成spring-boot的auto configuration 版本 本项目版本 hbase版本 1.0.0 hbase1.1.2 打包 修改相关的maven私服地址 gradle clean ...

    hbase-0.90.2中创建表、插入数据,更新数据,删除数据

    假设有一个不知道是干什么表:) 表里需要存入人员和其相对应的部门信息 HBaseAdmin admin = new HBaseAdmin(configuration); List<Put> putuser = new ArrayList();

    HBASE集群搭建

    <configuration> <!-- 指定hbase在HDFS上存储的路径 --> <name>hbase.rootdir <value>hdfs://ns1/hbase <!-- 指定hbase是分布式的 --> <name>hbase.cluster.distributed <value>true <!-- 指定zk...

    Hbase中文文档

    6.11. Operational and Performance Configuration Options 6.12. 限制 7. HBase 和 MapReduce 7.1. Map-Task Spitting 7.2. HBase MapReduce Examples 7.3. Accessing Other HBase Tables in a MapReduce Job 7.4. ...

    Hbase-1.3.1-src

    在学习hbase框架学习编译必备源代码, // 声明静态配置 static Configuration conf = null; static { conf = HBaseConfiguration.create(); conf.set("hbase.zookeeper.quorum", "localhost"); }在静态配置...

    hbase各种例子新增修改删除批量导入

    Configuration conf = HBaseConfiguration.create(); HBaseHelper helper = HBaseHelper.getHelper(conf); helper.dropTable("testtable"); helper.createTable("testtable", "colfam1"); HTable table = new ...

    HBase用户手册-v2.2.docx

    2 总体介绍 7 2.1 整体介绍 7 2.2 hbase的应用 7 2.3 HBase的体系结构简介 8 2.4 HBase的访问方式 9 ...8.2 configuration 25 8.3 Cluster Connections 25 8.4 Connection Pooling 26 8.5 create table 26 8.6 sing

    java 连接Hbase 所需jar包

    java连接hbase 的jar包commons-configuration-1.6;hadoop-core-1.0.4;zookeeper-3.4.6;commons-cli-1.2等大家喜欢的话 就下载吧

    Hbase 基本操作类

    * Configuration HBASE_CONFIG = new Configuration(); * HBASE_CONFIG.set("hbase.zookeeper.quorum", "10.229.171.45"); * HBASE_CONFIG.set("hbase.zookeeper.property.clientPort", "2181"); * ...

    hbase集群配置

    <configuration> <name>fs.defaultFS <value>hdfs://slave-01:9000 <name>hadoop.tmp.dir <value>/root/hadoopv3/tmp </configuration> hdfs-site.xml <configuration> <name>dfs.replication ...

    Hadoop3.3.5+HBase1.4.5.rar+winutils.exe

    1.解压 在D盘新建 Environment 目录 将hadoop-3.3.5与hbase-1.4.5放到 Environment 目录 2.配置hadoop ... 在configuration标签内添加以下配置 ps:新建root,zoo,tmp目录,然后根据自己的hbase目录

    tsd-compaction:HBase 0.96 -> Hbase 0.99 的压缩库。 它实现了 OpenTSDB Compaction 算法

    然后在hbase shell中更改TSDB的't'列族的配置 disable 'tsdb' alter 'tsdb', {NAME => 't', CONFIGURATION => {'hbase.hstore.defaultengine.compactor.class' => ' com.twilio.compaction.TSDCompactor'}} 启用'...

    hadoop,spark,hbase,zookeeper,kafka配置文件

    hadoop,spark,hbase,zookeeper,kafka配置文件。 例如: <?xml version="1.0" encoding="UTF-8"?> <?xml-stylesheet type="text/xsl" href="configuration.xsl"?> <!-- Licensed under the ...

    快速学习-HBaseAPI操作

    第6章 HBase API操作 6.1 环境准备 新建项目后在pom.xml中添加依赖: org.apache.hbase hbase-server 1.3.1 org.apache.hbase hbase-client 1.3.1 jdk.tools jdk.tools 1.8 system ${JAVA_HOME}/lib/...

    hbase.administration

    Master HBase configuration and administration for optimum database performance

    HBase全局一致性事务支持Tephra.zip

     hBaseAdmin = new HBaseAdmin(hTable.getConfiguration());  if (!hBaseAdmin.tableExists(secondaryIndexTableName)) {  hBaseAdmin.createTable(new HTableDescriptor(secondaryIndexTableName));  ...

    HBase常用Java API

    本节介绍与 HBase 数据存储管理相关的 Java API(基于 HBase 版本 1.2.3)。 HBase 的常用Java API HBase 主要包括 5 大类操作:HBase 的配置、HBase 表的管理、列族的管理、列的管理、数据操作等。 1)org.apache....

    Hbase安装及客户端测试及笔记

    配置文件同步其他服务器启动服务查看HBase 页面HBase Shell操作基本操作表的操作HBase数据结构RowKeyColumn FamilyCellTime Stamp命名空间...Api 操作环境准备HBaseAPI获取Configuration对象判断表是否存在创建表

    Hbase工具类

    import org.apache.hadoop.conf.Configuration; import org.apache.hadoop.hbase.client.HBaseAdmin; import org.apache.hadoop.hbase.client.HTable; import org.apache.hadoop.hbase.client.Put; import org....

Global site tag (gtag.js) - Google Analytics