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 4134110FEF for ; Tue, 19 Nov 2013 06:51:52 +0000 (UTC) Received: (qmail 22870 invoked by uid 500); 19 Nov 2013 06:51:44 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 22770 invoked by uid 500); 19 Nov 2013 06:51:41 -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 22522 invoked by uid 99); 19 Nov 2013 06:51:26 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 Nov 2013 06:51:26 +0000 Date: Tue, 19 Nov 2013 06:51:26 +0000 (UTC) From: "Hudson (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HBASE-9924) Avoid potential filename conflict in region_mover.rb MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HBASE-9924?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13826252#comment-13826252 ] Hudson commented on HBASE-9924: ------------------------------- SUCCESS: Integrated in hbase-0.96-hadoop2 #124 (See [https://builds.apache.org/job/hbase-0.96-hadoop2/124/]) HBASE-9924 Avoid potential filename conflict in region_mover.rb (tedyu: rev 1543224) * /hbase/branches/0.96/bin/region_mover.rb > Avoid potential filename conflict in region_mover.rb > ---------------------------------------------------- > > Key: HBASE-9924 > URL: https://issues.apache.org/jira/browse/HBASE-9924 > Project: HBase > Issue Type: Improvement > Components: shell > Affects Versions: 0.96.0, 0.94.13 > Reporter: Liang Xie > Assignee: Liang Xie > Fix For: 0.98.0, 0.96.1 > > Attachments: HBase-9924.txt > > > when i worked at a shared/common box with my colleague, found this error while moving region: > NativeException: java.io.FileNotFoundException: /tmp/hh-hadoop-srv-st01.bj (Permission denied) > writeFile at /home/xieliang/infra/hbase/target/hbase-0.94.3-mdh1.0.0-SNAPSHOT/hbase-0.94.3-mdh1.0.0-SNAPSHOT/bin/region_mover.rb:283 > unloadRegions at /home/xieliang/infra/hbase/target/hbase-0.94.3-mdh1.0.0-SNAPSHOT/hbase-0.94.3-mdh1.0.0-SNAPSHOT/bin/region_mover.rb:354 > (root) at /home/xieliang/infra/hbase/target/hbase-0.94.3-mdh1.0.0-SNAPSHOT/hbase-0.94.3-mdh1.0.0-SNAPSHOT/bin/region_mover.rb:480 > 2013-11-07 15:08:12 Unload host hh-hadoop-srv-st01.bj failed. > The root cause is currently getFilename in region move script will get the same output with diff users. One possible quick fix is just add the username to the filename. -- This message was sent by Atlassian JIRA (v6.1#6144)