[
https://issues.apache.org/jira/browse/HBASE-2489?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13259035#comment-13259035
]
Benoit Sigoure commented on HBASE-2489:
---------------------------------------
@chenning, this isn't a good place to ask for support, send an email to the
user mailing list.
At this point you should be using a version of HBase that's much newer than the
one in which this fix was made, so you shouldn't need to apply this fix.
> Make the "Filesystem needs to be upgraded" error message more useful.
> ---------------------------------------------------------------------
>
> Key: HBASE-2489
> URL: https://issues.apache.org/jira/browse/HBASE-2489
> Project: HBase
> Issue Type: Improvement
> Components: util
> Reporter: Benoit Sigoure
> Assignee: Benoit Sigoure
> Priority: Trivial
> Fix For: 0.90.0
>
> Attachments:
> 0001-Improve-the-error-message-File-system-needs-to-be-up.patch
>
>
> The other day, when starting HBase I got this error:
> {noformat}
> 2010-04-23 09:38:14,847 ERROR org.apache.hadoop.hbase.master.HMaster: Failed
> to start master
> org.apache.hadoop.hbase.util.FileSystemVersionException: File system needs to
> be upgraded. Run the '${HBASE_HOME}/bin/hbase migrate' script.
> at org.apache.hadoop.hbase.util.FSUtils.checkVersion(FSUtils.java:187)
> {noformat}
> I was puzzled until I realized, after adding extra debug statements in the
> code, that I forgot to properly set {{hbase.rootdir}} after re-deploying my
> dev environment. I think the message above was misleading and I'm proposing
> a trivial patch to make it a little bit better:
> {noformat}
> 2010-04-23 09:48:29,000 ERROR org.apache.hadoop.hbase.master.HMaster: Failed
> to start master
> org.apache.hadoop.hbase.util.FileSystemVersionException: File system needs to
> be upgraded. You have version null and I want version 7. Run the
> '${HBASE_HOME}/bin/hbase migrate' script.
> at org.apache.hadoop.hbase.util.FSUtils.checkVersion(FSUtils.java:189)
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira