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 9BCAA98A3 for ; Thu, 5 Apr 2012 19:42:47 +0000 (UTC) Received: (qmail 32926 invoked by uid 500); 5 Apr 2012 19:42:46 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 32875 invoked by uid 500); 5 Apr 2012 19:42:46 -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 32831 invoked by uid 99); 5 Apr 2012 19:42:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 05 Apr 2012 19:42:46 +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; Thu, 05 Apr 2012 19:42:44 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id BEC4B35A3D4 for ; Thu, 5 Apr 2012 19:42:24 +0000 (UTC) Date: Thu, 5 Apr 2012 19:42:24 +0000 (UTC) From: "Uma Maheswara Rao G (Commented) (JIRA)" To: issues@hbase.apache.org Message-ID: <193422933.19117.1333654944783.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <889216337.11252.1333543164836.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HBASE-5711) Tests are failing with incorrect data directory permissions. 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-5711?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13247568#comment-13247568 ] Uma Maheswara Rao G commented on HBASE-5711: -------------------------------------------- @Ram, Thanks a lot for review! @Lewis, this is filed for permissions related problem. Unfortunately trace contains this warning as well. Not for metrics system warning. I think, if you are not looking for any metrics, you need not worry about that warning. > Tests are failing with incorrect data directory permissions. > ------------------------------------------------------------ > > Key: HBASE-5711 > URL: https://issues.apache.org/jira/browse/HBASE-5711 > Project: HBase > Issue Type: Bug > Components: test > Reporter: Uma Maheswara Rao G > Assignee: Uma Maheswara Rao G > Attachments: HBASE-5711.patch > > > When we run some tests in Hbase (TestAdmin), it is failing with following error. > {quote} > Starting DataNode 0 with dfs.data.dir: E:\Repositories\Hbase\target\test-data\5ff23198-892e-4f1c-8022-b3d9969fcf0b\dfscluster_0ecc6984-1925-4870-ac7c-439fceede4cb\dfs\data\data1,E:\Repositories\Hbase\target\test-data\5ff23198-892e-4f1c-8022-b3d9969fcf0b\dfscluster_0ecc6984-1925-4870-ac7c-439fceede4cb\dfs\data\data2 > 2012-04-04 18:04:51,036 WARN [main] impl.MetricsSystemImpl(137): Metrics system not started: Cannot locate configuration: tried hadoop-metrics2-datanode.properties, hadoop-metrics2.properties > 2012-04-04 18:04:51,255 WARN [main] datanode.DataNode(1548): Invalid directory in dfs.data.dir: Incorrect permission for E:/Repositories/Hbase/target/test-data/5ff23198-892e-4f1c-8022-b3d9969fcf0b/dfscluster_0ecc6984-1925-4870-ac7c-439fceede4cb/dfs/data/data1, expected: rwxr-xr-x, while actual: rwx------ > 2012-04-04 18:04:51,411 WARN [main] datanode.DataNode(1548): Invalid directory in dfs.data.dir: Incorrect permission for E:/Repositories/Hbase/target/test-data/5ff23198-892e-4f1c-8022-b3d9969fcf0b/dfscluster_0ecc6984-1925-4870-ac7c-439fceede4cb/dfs/data/data2, expected: rwxr-xr-x, while actual: rwx------ > 2012-04-04 18:04:51,411 ERROR [main] datanode.DataNode(1554): All directories in dfs.data.dir are invalid. > 2012-04-04 18:04:51,411 INFO [main] hbase.HBaseTestingUtility(684): Shutting down minicluster > 2012-04-04 18:04:51,646 WARN [main] hbase.HBaseTestingUtility(696): Failed delete of E:\Repositories\Hbase\target\test-data\5ff23198-892e-4f1c-8022-b3d9969fcf0b\dfscluster_0ecc6984-1925-4870-ac7c-439fceede4cb > 2012-04-04 18:04:51,646 INFO [main] hbase.HBaseTestingUtility(700): Minicluster is down > {quote} -- 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