You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by te...@apache.org on 2013/11/19 00:09:54 UTC

svn commit: r1543224 - /hbase/branches/0.96/bin/region_mover.rb

Author: tedyu
Date: Mon Nov 18 23:09:53 2013
New Revision: 1543224

URL: http://svn.apache.org/r1543224
Log:
HBASE-9924 Avoid potential filename conflict in region_mover.rb


Modified:
    hbase/branches/0.96/bin/region_mover.rb

Modified: hbase/branches/0.96/bin/region_mover.rb
URL: http://svn.apache.org/viewvc/hbase/branches/0.96/bin/region_mover.rb?rev=1543224&r1=1543223&r2=1543224&view=diff
==============================================================================
--- hbase/branches/0.96/bin/region_mover.rb (original)
+++ hbase/branches/0.96/bin/region_mover.rb Mon Nov 18 23:09:53 2013
@@ -413,7 +413,7 @@ end
 def getFilename(options, targetServer)
   filename = options[:file]
   if not filename
-    filename = "/tmp/" + targetServer
+    filename = "/tmp/" + ENV['USER'] + targetServer
   end
   return filename
 end