You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2013/11/19 00:11:22 UTC
[jira] [Updated] (HBASE-9924) Avoid potential filename conflict in
region_mover.rb
[ https://issues.apache.org/jira/browse/HBASE-9924?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ted Yu updated HBASE-9924:
--------------------------
Summary: Avoid potential filename conflict in region_mover.rb (was: avoid filename conflict in 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
> 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)