File system needs to be upgraded. You have version null and I want version 7

安装hbase时候报错: File system needs to be upgraded. You have version null and I want version 7

注: 我安装的hbase依赖于hdfs, hdfs是有nameservice的。

解决方法:

1. 首先查看hbase的配置文件,hbase-site.xml, 找到hbase.rootdir的value值, 这个值里面的/hbase1 中存放了hbase的信息

<property>
        <name>hbase.rootdir</name>
        <value>hdfs://nameservice1/hbase1</value>
    </property>

2. 在安装hmaster的机器上切换到hdfs用户

su hdfs

3. 在hdfs用户下执行

hadoop fs -rm -r -skipTrash /hbase1

删除/hbase1, 然后重启hbase master。

时间: 2024-12-16 19:59:32

File system needs to be upgraded. You have version null and I want version 7的相关文章

Extension of write anywhere file system layout

A file system layout apportions an underlying physical volume into one or more virtual volumes (vvols) of a storage system. The underlying physical volume is an aggregate comprising one or more groups of disks, such as RAID groups, of the storage sys

Google File System读书笔记

GFS是google分布式存储的基石,其他存储系统,比如Google的bigtable.megastore.percolator均直接或者间接的构建在GFS上. 系统架构 GFS Master维护了系统的元数据,包括文件及chunk命名空间.文件到chunk的映射关系.chunk的位置信息:复制整个系统的全局控制,master定期会与CS通过心跳的方式交换信息 GFS ChunkServer(CS,数据块服务器)64MB的chunk块,由master在创建时分配一个64位全局唯一的chunk句柄

NW.JS File System 文件夹的操作( 创建, 删除, 读取 )

<script type="text/javascript"> /* * 引入File System 模块 */ var fs = require("fs"); /* * 创建文件夹的方法 * mkdir(path, callback(){}) * path: 文件夹所在路径 * callback("错误信息 <成功返回null>"): 回调函数 */ fs.mkdir('./test', function(err){ i

NFS中小企业常见的网络文件系统服务(network file system)

NFS中小企业常见的网络文件系统服务(network file system) RPC服务最主要的功能就是记录每个NFS功能所对应的端口号,并在NFS客服端请求时将该端口和功能对应的信息传递个给请求数据的NFS客服端 流程: 1,先开启RPC服务 2,再启动NFS服务 3,NFS服务向RPC注册启动的端口 4,客服请求NFS服务 5,RPC返回端口给客服端 环境搭建: 服务端为 nfsserver  客服端为 nfsclient NFS服务需要安装的软件包: yum install nfs-ut

名字就叫&quot;nfs&quot;-(network file system)

一.简介   NFS(network file system)网络文件系统.通过网络让不同的主机系统之间可以实现文件或目录共享.分为客户端和服务器,NFS网络文件系统很像windows系统的网络共享.安全功能.网络驱动器和Samba服务类似. 二.安装及其配置 服务器端配置如下: 1)安装nfs-utils和rpcbind两包 yum -y install nfs-utils rpcbind 2)启动服务 service nfs start或/etc/init.d/nfs start    /e

Can Microsoft’s exFAT file system bridge the gap between OSes?

转自:http://arstechnica.com/information-technology/2013/06/review-is-microsofts-new-data-sharing-system-a-cross-platform-savior/ With Apple's licensing of Microsoft's exFAT file system, it seems like we finally have a good option for OS X and Windows d

Windows -&gt;&gt; Windows下一代文件系统 -- Resilient file system(ReFS)

Comming soon!!! 参考文献: Building the next generation file system for Windows: ReFS ReFS: What you need to know about the Resilient File System (Part 1)

Hadoop -&gt;&gt; HDFS(Hadoop Distributed File System)

HDFS全称是Hadoop Distributed File System.作为分布式文件系统,具有高容错性的特点.它放宽了POSIX对于操作系统接口的要求,可以直接以流(Stream)的形式访问文件系统中的数据. HDFS能快速检测到硬件故障,也就是数据节点的Failover,并且自动恢复数据访问. 使用流形式的数据方法特点不是对数据访问时快速的反应,而是批量数据处理时的吞吐能力的最大化. 文件操作原则: HDFS文件的操作原则是“只写一次,多次读取”.一个文件一旦被创建再写入数据完毕后就不再

RHEL5.8物理机遇到Read-only file system

[[email protected] tmp]# date Thu Jun 4 04:36:31 CST 2015 [[email protected] tmp]# mkdir ss mkdir: cannot create directory `ss': Read-only file system [[email protected] tmp]# pwd /tmp [[email protected] tmp]# df -h Filesystem Size Used Avail Use% Mo