hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Liang Xie (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-9924) avoid filename conflict in region_mover.rb
Date Fri, 08 Nov 2013 06:51:17 GMT
Liang Xie created HBASE-9924:

             Summary: 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.94.13, 0.96.0
            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

View raw message