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 4DFB810C10 for ; Fri, 8 Nov 2013 06:51:25 +0000 (UTC) Received: (qmail 54145 invoked by uid 500); 8 Nov 2013 06:51:21 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 54072 invoked by uid 500); 8 Nov 2013 06:51:20 -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 53978 invoked by uid 99); 8 Nov 2013 06:51:18 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 Nov 2013 06:51:18 +0000 Date: Fri, 8 Nov 2013 06:51:18 +0000 (UTC) From: "Liang Xie (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-9924) avoid 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:all-tabpanel ] Liang Xie updated HBASE-9924: ----------------------------- Attachment: HBase-9924.txt > avoid 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 > 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)