hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-9924) Avoid potential filename conflict in region_mover.rb
Date Mon, 18 Nov 2013 23:11:22 GMT

     [ 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)

Mime
View raw message