Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C2C77964A for ; Mon, 20 Feb 2012 22:20:25 +0000 (UTC) Received: (qmail 9772 invoked by uid 500); 20 Feb 2012 22:20:25 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 9719 invoked by uid 500); 20 Feb 2012 22:20:25 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 9635 invoked by uid 99); 20 Feb 2012 22:20:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Feb 2012 22:20:25 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 20 Feb 2012 22:20:22 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 6346D2B10CF for ; Mon, 20 Feb 2012 22:19:42 +0000 (UTC) Date: Mon, 20 Feb 2012 22:19:42 +0000 (UTC) From: "Hudson (Commented) (JIRA)" To: issues@hbase.apache.org Message-ID: <282702816.3643.1329776382408.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <754754153.5526.1328224613993.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HBASE-5327) Print a message when an invalid hbase.rootdir is passed MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HBASE-5327?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13212152#comment-13212152 ] Hudson commented on HBASE-5327: ------------------------------- Integrated in HBase-0.92-security #91 (See [https://builds.apache.org/job/HBase-0.92-security/91/]) HBASE-5327 Print a message when an invalid hbase.rootdir is passed (Jimmy Xiang) (Revision 1243648) Result = FAILURE tedyu : Files : * /hbase/branches/0.92/CHANGES.txt * /hbase/branches/0.92/src/main/java/org/apache/hadoop/hbase/master/MasterFileSystem.java > Print a message when an invalid hbase.rootdir is passed > ------------------------------------------------------- > > Key: HBASE-5327 > URL: https://issues.apache.org/jira/browse/HBASE-5327 > Project: HBase > Issue Type: Bug > Affects Versions: 0.90.5 > Reporter: Jean-Daniel Cryans > Assignee: Jimmy Xiang > Fix For: 0.94.0, 0.90.6, 0.92.1 > > Attachments: hbase-5327.txt, hbase-5327_v2.txt > > > As seen on the mailing list: http://comments.gmane.org/gmane.comp.java.hadoop.hbase.user/24124 > If hbase.rootdir doesn't specify a folder on hdfs we crash while opening a path to .oldlogs: > {noformat} > 2012-02-02 23:07:26,292 FATAL org.apache.hadoop.hbase.master.HMaster: Unhandled exception. Starting shutdown. > java.lang.IllegalArgumentException: java.net.URISyntaxException: Relative path in absolute URI: hdfs://sv4r11s38:9100.oldlogs > at org.apache.hadoop.fs.Path.initialize(Path.java:148) > at org.apache.hadoop.fs.Path.(Path.java:71) > at org.apache.hadoop.fs.Path.(Path.java:50) > at org.apache.hadoop.hbase.master.MasterFileSystem.(MasterFileSystem.java:112) > at org.apache.hadoop.hbase.master.HMaster.finishInitialization(HMaster.java:448) > at org.apache.hadoop.hbase.master.HMaster.run(HMaster.java:326) > at java.lang.Thread.run(Thread.java:662) > Caused by: java.net.URISyntaxException: Relative path in absolute URI: hdfs://sv4r11s38:9100.oldlogs > at java.net.URI.checkPath(URI.java:1787) > at java.net.URI.(URI.java:735) > at org.apache.hadoop.fs.Path.initialize(Path.java:145) > ... 6 more > {noformat} > It could also crash anywhere else, this just happens to be the first place we use hbase.rootdir. We need to verify that it's an actual folder. -- 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