You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by ap...@apache.org on 2015/02/11 21:13:31 UTC

[1/4] hbase git commit: HBASE-12989 region_mover.rb unloadRegions method uses ArrayList concurrently resulting in errors (Abhishek Singh Chouhan)

Repository: hbase
Updated Branches:
  refs/heads/0.98 a6d07b314 -> 83aa5432e
  refs/heads/branch-1 23a894fc4 -> 2d475c267
  refs/heads/branch-1.0 6d5b1d468 -> fb2c54b9a
  refs/heads/master dec0ec229 -> 3f7b18cef


HBASE-12989 region_mover.rb unloadRegions method uses ArrayList concurrently resulting in errors (Abhishek Singh Chouhan)


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/3f7b18ce
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/3f7b18ce
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/3f7b18ce

Branch: refs/heads/master
Commit: 3f7b18cefce3318b4268985004dead20a26fccf1
Parents: dec0ec2
Author: Andrew Purtell <ap...@apache.org>
Authored: Wed Feb 11 12:12:48 2015 -0800
Committer: Andrew Purtell <ap...@apache.org>
Committed: Wed Feb 11 12:12:48 2015 -0800

----------------------------------------------------------------------
 bin/region_mover.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/3f7b18ce/bin/region_mover.rb
----------------------------------------------------------------------
diff --git a/bin/region_mover.rb b/bin/region_mover.rb
index 78979d9..565b0d5 100644
--- a/bin/region_mover.rb
+++ b/bin/region_mover.rb
@@ -307,7 +307,7 @@ def unloadRegions(options, hostname, port)
     puts "No regions were moved - there was no server available"
     exit 4
   end
-  movedRegions = java.util.ArrayList.new()
+  movedRegions = java.util.Collections.synchronizedList(java.util.ArrayList.new())
   while true
     rs = getRegions(config, servername)
     # Remove those already tried to move


[2/4] hbase git commit: HBASE-12989 region_mover.rb unloadRegions method uses ArrayList concurrently resulting in errors (Abhishek Singh Chouhan)

Posted by ap...@apache.org.
HBASE-12989 region_mover.rb unloadRegions method uses ArrayList concurrently resulting in errors (Abhishek Singh Chouhan)


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/2d475c26
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/2d475c26
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/2d475c26

Branch: refs/heads/branch-1
Commit: 2d475c2677ac0d345a0e7d7aaf74a6ba2728687e
Parents: 23a894f
Author: Andrew Purtell <ap...@apache.org>
Authored: Wed Feb 11 12:12:48 2015 -0800
Committer: Andrew Purtell <ap...@apache.org>
Committed: Wed Feb 11 12:12:56 2015 -0800

----------------------------------------------------------------------
 bin/region_mover.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/2d475c26/bin/region_mover.rb
----------------------------------------------------------------------
diff --git a/bin/region_mover.rb b/bin/region_mover.rb
index 78979d9..565b0d5 100644
--- a/bin/region_mover.rb
+++ b/bin/region_mover.rb
@@ -307,7 +307,7 @@ def unloadRegions(options, hostname, port)
     puts "No regions were moved - there was no server available"
     exit 4
   end
-  movedRegions = java.util.ArrayList.new()
+  movedRegions = java.util.Collections.synchronizedList(java.util.ArrayList.new())
   while true
     rs = getRegions(config, servername)
     # Remove those already tried to move


[3/4] hbase git commit: HBASE-12989 region_mover.rb unloadRegions method uses ArrayList concurrently resulting in errors (Abhishek Singh Chouhan)

Posted by ap...@apache.org.
HBASE-12989 region_mover.rb unloadRegions method uses ArrayList concurrently resulting in errors (Abhishek Singh Chouhan)


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/fb2c54b9
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/fb2c54b9
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/fb2c54b9

Branch: refs/heads/branch-1.0
Commit: fb2c54b9a055282b1ed2b4cc0fb123ef12f4fbc1
Parents: 6d5b1d4
Author: Andrew Purtell <ap...@apache.org>
Authored: Wed Feb 11 12:12:48 2015 -0800
Committer: Andrew Purtell <ap...@apache.org>
Committed: Wed Feb 11 12:12:59 2015 -0800

----------------------------------------------------------------------
 bin/region_mover.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/fb2c54b9/bin/region_mover.rb
----------------------------------------------------------------------
diff --git a/bin/region_mover.rb b/bin/region_mover.rb
index 7a09854..a2d4182 100644
--- a/bin/region_mover.rb
+++ b/bin/region_mover.rb
@@ -305,7 +305,7 @@ def unloadRegions(options, hostname, port)
     puts "No regions were moved - there was no server available"
     exit 4
   end
-  movedRegions = java.util.ArrayList.new()
+  movedRegions = java.util.Collections.synchronizedList(java.util.ArrayList.new())
   while true
     rs = getRegions(config, servername)
     # Remove those already tried to move


[4/4] hbase git commit: HBASE-12989 region_mover.rb unloadRegions method uses ArrayList concurrently resulting in errors (Abhishek Singh Chouhan)

Posted by ap...@apache.org.
HBASE-12989 region_mover.rb unloadRegions method uses ArrayList concurrently resulting in errors (Abhishek Singh Chouhan)


Project: http://git-wip-us.apache.org/repos/asf/hbase/repo
Commit: http://git-wip-us.apache.org/repos/asf/hbase/commit/83aa5432
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/83aa5432
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/83aa5432

Branch: refs/heads/0.98
Commit: 83aa5432e338b0b567d6fdc782a35592238f9b18
Parents: a6d07b3
Author: Andrew Purtell <ap...@apache.org>
Authored: Wed Feb 11 12:12:48 2015 -0800
Committer: Andrew Purtell <ap...@apache.org>
Committed: Wed Feb 11 12:13:03 2015 -0800

----------------------------------------------------------------------
 bin/region_mover.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/83aa5432/bin/region_mover.rb
----------------------------------------------------------------------
diff --git a/bin/region_mover.rb b/bin/region_mover.rb
index 36105dd..6476c09 100644
--- a/bin/region_mover.rb
+++ b/bin/region_mover.rb
@@ -309,7 +309,7 @@ def unloadRegions(options, hostname, port)
     puts "No regions were moved - there was no server available"
     exit 4
   end
-  movedRegions = java.util.ArrayList.new()
+  movedRegions = java.util.Collections.synchronizedList(java.util.ArrayList.new())
   while true
     rs = getRegions(config, servername)
     # Remove those already tried to move