[jira] [Commented] (HBASE-9924) avoid filename conflict in region_mover.rb

2013-11-14 Thread Jonathan Hsieh (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-9924?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13823367#comment-13823367
 ] 

Jonathan Hsieh commented on HBASE-9924:
---

lgtm for trunk./0.96.  [~lhofhansl]  Any problem for commiting to  0.94?


 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)


[jira] [Commented] (HBASE-9924) avoid filename conflict in region_mover.rb

2013-11-08 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-9924?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13817238#comment-13817238
 ] 

Hadoop QA commented on HBASE-9924:
--

{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12612792/HBase-9924.txt
  against trunk revision .

{color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

{color:red}-1 tests included{color}.  The patch doesn't appear to include 
any new or modified tests.
Please justify why no new tests are needed for this 
patch.
Also please list what manual steps were performed to 
verify this patch.

{color:green}+1 hadoop1.0{color}.  The patch compiles against the hadoop 
1.0 profile.

{color:green}+1 hadoop2.0{color}.  The patch compiles against the hadoop 
2.0 profile.

{color:red}-1 javadoc{color}.  The javadoc tool appears to have generated 1 
warning messages.

{color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

{color:green}+1 findbugs{color}.  The patch does not introduce any new 
Findbugs (version 1.3.9) warnings.

{color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

{color:green}+1 lineLengths{color}.  The patch does not introduce lines 
longer than 100

{color:red}-1 site{color}.  The patch appears to cause mvn site goal to 
fail.

{color:green}+1 core tests{color}.  The patch passed unit tests in .

Test results: 
https://builds.apache.org/job/PreCommit-HBASE-Build/7794//testReport/
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-HBASE-Build/7794//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-protocol.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-HBASE-Build/7794//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-thrift.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-HBASE-Build/7794//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-client.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-HBASE-Build/7794//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-examples.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-HBASE-Build/7794//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-hadoop1-compat.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-HBASE-Build/7794//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-prefix-tree.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-HBASE-Build/7794//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-common.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-HBASE-Build/7794//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-server.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-HBASE-Build/7794//artifact/trunk/patchprocess/newPatchFindbugsWarningshbase-hadoop-compat.html
Console output: 
https://builds.apache.org/job/PreCommit-HBASE-Build/7794//console

This message is automatically generated.

 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)


[jira] [Commented] (HBASE-9924) avoid filename conflict in region_mover.rb

2013-11-08 Thread Jean-Marc Spaggiari (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-9924?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13817258#comment-13817258
 ] 

Jean-Marc Spaggiari commented on HBASE-9924:


Smal and straight forward.

You might also want to change this:
  opts.on('-f', '--filename=FILE', 'File to save regions list into unloading, 
or read from loading; default /tmp/hostname') do |file|

To specify that the default changed?

 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)


[jira] [Commented] (HBASE-9924) avoid filename conflict in region_mover.rb

2013-11-07 Thread Liang Xie (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-9924?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13817053#comment-13817053
 ] 

Liang Xie commented on HBASE-9924:
--

Before this fix, i need to xcu to root and remove the exsiting tmp file 
manually to go on.

 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)