[jira] [Updated] (HBASE-24032) [RSGroup] Assign created tables to respective rsgroup automatically instead of manual operations

2020-03-31 Thread Duo Zhang (Jira)


 [ 
https://issues.apache.org/jira/browse/HBASE-24032?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Duo Zhang updated HBASE-24032:
--
Fix Version/s: (was: master)
   3.0.0

> [RSGroup] Assign created tables to respective rsgroup automatically instead 
> of manual operations 
> -
>
> Key: HBASE-24032
> URL: https://issues.apache.org/jira/browse/HBASE-24032
> Project: HBase
>  Issue Type: Improvement
>  Components: master, rsgroup
>Reporter: Reid Chan
>Assignee: Reid Chan
>Priority: Major
> Fix For: 3.0.0, 2.3.0, 1.7.0, 1.4.14, 2.2.5
>
>
> In prod practise, it's time consuming and tiring to assign tables to their 
> rsgroups for HBase admin by shell, especially in 1.x rsgroup client is 
> IA.private, we could not even write some programs to do that.
> And I'm here proposing a solution to do the automated rsgroup assignment by 
> allowing running a shell in postCreateTable to determine which table should 
> go to which rsgroup (way in branch-1 not master). The benefit is obvious, 
> admin can determine or change at any time the mapping rule in script without 
> restarting or re-config anything. It's flexible, convenience and time saving.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (HBASE-24032) [RSGroup] Assign created tables to respective rsgroup automatically instead of manual operations

2020-03-26 Thread Reid Chan (Jira)


 [ 
https://issues.apache.org/jira/browse/HBASE-24032?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Reid Chan updated HBASE-24032:
--
Release Note: 
Admin can determine which tables go to which rsgroup by script  (setting 
hbase.rsgroup.table.mapping.script with local filystem path) on Master side 
which aims to lighten the burden of admin operations.  Note, since HBase 3+, 
rsgroup can be specified in TableDescriptor as well, if clients specify this, 
master will skip the determination from script.

Here is a simple example of script:
{code}
# Input consists of two string, 1st is the namespace of the table, 2nd is the 
table name of the table
#!/bin/bash
namespace=$1
tablename=$2
if [[ $namespace == test ]]; then
  echo test
elif [[ $tablename == *foo* ]]; then
  echo other
else
  echo default
fi
{code}

  was:
Admin can determine which tables go to which rsgroup by script  (setting 
hbase.rsgroup.table.mapping.script with local filystem path) on Master side 
which aims to lighten the burden of admin operations.  Note, since HBase 3+, 
rsgroup can be specified in TableDescriptor as well, if clients specify this, 
master will skip the determination from script.

Here is a simple example of script:
{code}
# Input consists two string, 1st one is namespace of the table, 2nd is the 
table name of the table
#!/bin/bash
namespace=$1
tablename=$2
if [[ $namespace == test ]]; then
  echo test
elif [[ $tablename == *foo* ]]; then
  echo other
else
  echo default
fi
{code}


> [RSGroup] Assign created tables to respective rsgroup automatically instead 
> of manual operations 
> -
>
> Key: HBASE-24032
> URL: https://issues.apache.org/jira/browse/HBASE-24032
> Project: HBase
>  Issue Type: Improvement
>  Components: master, rsgroup
>Reporter: Reid Chan
>Assignee: Reid Chan
>Priority: Major
> Fix For: 2.3.0, master, 1.7.0, 1.4.14, 2.2.5
>
>
> In prod practise, it's time consuming and tiring to assign tables to their 
> rsgroups for HBase admin by shell, especially in 1.x rsgroup client is 
> IA.private, we could not even write some programs to do that.
> And I'm here proposing a solution to do the automated rsgroup assignment by 
> allowing running a shell in postCreateTable to determine which table should 
> go to which rsgroup (way in branch-1 not master). The benefit is obvious, 
> admin can determine or change at any time the mapping rule in script without 
> restarting or re-config anything. It's flexible, convenience and time saving.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (HBASE-24032) [RSGroup] Assign created tables to respective rsgroup automatically instead of manual operations

2020-03-26 Thread Reid Chan (Jira)


 [ 
https://issues.apache.org/jira/browse/HBASE-24032?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Reid Chan updated HBASE-24032:
--
Release Note: 
Admin can determine which tables go to which rsgroup by script  (setting 
hbase.rsgroup.table.mapping.script with local filystem path) on Master side 
which aims to lighten the burden of admin operations.  Note, since HBase 3+, 
rsgroup can be specified in TableDescriptor as well, if clients specify this, 
master will skip the determination from script.

Here is a simple example of script:
{code}
# Input consists two string, 1st one is namespace of the table, 2nd is the 
table name of the table
#!/bin/bash
namespace=$1
tablename=$2
if [[ $namespace == test ]]; then
  echo test
elif [[ $tablename == *foo* ]]; then
  echo other
else
  echo default
fi
{code}

  was:Admin can determine which tables go to which rsgroup by script on Master 
side which aims to lighten the burden of admin operations.  Note, since HBase 
3+, rsgroup can be specified in TableDescriptor as well, if clients specify 
this, master will skip the determination from script.


> [RSGroup] Assign created tables to respective rsgroup automatically instead 
> of manual operations 
> -
>
> Key: HBASE-24032
> URL: https://issues.apache.org/jira/browse/HBASE-24032
> Project: HBase
>  Issue Type: Improvement
>  Components: master, rsgroup
>Reporter: Reid Chan
>Assignee: Reid Chan
>Priority: Major
> Fix For: 2.3.0, master, 1.7.0, 1.4.14, 2.2.5
>
>
> In prod practise, it's time consuming and tiring to assign tables to their 
> rsgroups for HBase admin by shell, especially in 1.x rsgroup client is 
> IA.private, we could not even write some programs to do that.
> And I'm here proposing a solution to do the automated rsgroup assignment by 
> allowing running a shell in postCreateTable to determine which table should 
> go to which rsgroup (way in branch-1 not master). The benefit is obvious, 
> admin can determine or change at any time the mapping rule in script without 
> restarting or re-config anything. It's flexible, convenience and time saving.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (HBASE-24032) [RSGroup] Assign created tables to respective rsgroup automatically instead of manual operations

2020-03-25 Thread Reid Chan (Jira)


 [ 
https://issues.apache.org/jira/browse/HBASE-24032?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Reid Chan updated HBASE-24032:
--
Release Note: Admin can determine which tables go to which rsgroup by 
script on Master side which aims to lighten the burden of admin operations.  
Note, since HBase 3+, rsgroup can be specified in TableDescriptor as well, if 
clients specify this, master will skip the determination from script.

> [RSGroup] Assign created tables to respective rsgroup automatically instead 
> of manual operations 
> -
>
> Key: HBASE-24032
> URL: https://issues.apache.org/jira/browse/HBASE-24032
> Project: HBase
>  Issue Type: Improvement
>  Components: master, rsgroup
>Reporter: Reid Chan
>Assignee: Reid Chan
>Priority: Major
> Fix For: 2.3.0, master, 1.7.0, 1.4.14, 2.2.5
>
>
> In prod practise, it's time consuming and tiring to assign tables to their 
> rsgroups for HBase admin by shell, especially in 1.x rsgroup client is 
> IA.private, we could not even write some programs to do that.
> And I'm here proposing a solution to do the automated rsgroup assignment by 
> allowing running a shell in postCreateTable to determine which table should 
> go to which rsgroup (way in branch-1 not master). The benefit is obvious, 
> admin can determine or change at any time the mapping rule in script without 
> restarting or re-config anything. It's flexible, convenience and time saving.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (HBASE-24032) [RSGroup] Assign created tables to respective rsgroup automatically instead of manual operations

2020-03-24 Thread Guanghao Zhang (Jira)


 [ 
https://issues.apache.org/jira/browse/HBASE-24032?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Guanghao Zhang updated HBASE-24032:
---
Fix Version/s: (was: 2.2.4)
   2.2.5

> [RSGroup] Assign created tables to respective rsgroup automatically instead 
> of manual operations 
> -
>
> Key: HBASE-24032
> URL: https://issues.apache.org/jira/browse/HBASE-24032
> Project: HBase
>  Issue Type: Improvement
>  Components: master, rsgroup
>Reporter: Reid Chan
>Assignee: Reid Chan
>Priority: Major
> Fix For: 2.3.0, master, 1.7.0, 1.4.14, 2.2.5
>
>
> In prod practise, it's time consuming and tiring to assign tables to their 
> rsgroups for HBase admin by shell, especially in 1.x rsgroup client is 
> IA.private, we could not even write some programs to do that.
> And I'm here proposing a solution to do the automated rsgroup assignment by 
> allowing running a shell in postCreateTable to determine which table should 
> go to which rsgroup (way in branch-1 not master). The benefit is obvious, 
> admin can determine or change at any time the mapping rule in script without 
> restarting or re-config anything. It's flexible, convenience and time saving.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (HBASE-24032) [RSGroup] Assign created tables to respective rsgroup automatically instead of manual operations

2020-03-24 Thread Reid Chan (Jira)


 [ 
https://issues.apache.org/jira/browse/HBASE-24032?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Reid Chan updated HBASE-24032:
--
Fix Version/s: 2.2.4
   2.3.0

> [RSGroup] Assign created tables to respective rsgroup automatically instead 
> of manual operations 
> -
>
> Key: HBASE-24032
> URL: https://issues.apache.org/jira/browse/HBASE-24032
> Project: HBase
>  Issue Type: Improvement
>  Components: master, rsgroup
>Reporter: Reid Chan
>Assignee: Reid Chan
>Priority: Major
> Fix For: 2.3.0, master, 1.7.0, 2.2.4, 1.4.14
>
>
> In prod practise, it's time consuming and tiring to assign tables to their 
> rsgroups for HBase admin by shell, especially in 1.x rsgroup client is 
> IA.private, we could not even write some programs to do that.
> And I'm here proposing a solution to do the automated rsgroup assignment by 
> allowing running a shell in postCreateTable to determine which table should 
> go to which rsgroup (way in branch-1 not master). The benefit is obvious, 
> admin can determine or change at any time the mapping rule in script without 
> restarting or re-config anything. It's flexible, convenience and time saving.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (HBASE-24032) [RSGroup] Assign created tables to respective rsgroup automatically instead of manual operations

2020-03-23 Thread Reid Chan (Jira)


 [ 
https://issues.apache.org/jira/browse/HBASE-24032?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Reid Chan updated HBASE-24032:
--
Fix Version/s: 1.4.14
   1.7.0
   master

> [RSGroup] Assign created tables to respective rsgroup automatically instead 
> of manual operations 
> -
>
> Key: HBASE-24032
> URL: https://issues.apache.org/jira/browse/HBASE-24032
> Project: HBase
>  Issue Type: Improvement
>  Components: master, rsgroup
>Reporter: Reid Chan
>Assignee: Reid Chan
>Priority: Major
> Fix For: master, 1.7.0, 1.4.14
>
>
> In prod practise, it's time consuming and tiring to assign tables to their 
> rsgroups for HBase admin by shell, especially in 1.x rsgroup client is 
> IA.private, we could not even write some programs to do that.
> And I'm here proposing a solution to do the automated rsgroup assignment by 
> allowing running a shell in postCreateTable to determine which table should 
> go to which rsgroup (way in branch-1 not master). The benefit is obvious, 
> admin can determine or change at any time the mapping rule in script without 
> restarting or re-config anything. It's flexible, convenience and time saving.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (HBASE-24032) [RSGroup] Assign created tables to respective rsgroup automatically instead of manual operations

2020-03-21 Thread Reid Chan (Jira)


 [ 
https://issues.apache.org/jira/browse/HBASE-24032?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Reid Chan updated HBASE-24032:
--
Description: 
In prod practise, it's time consuming and tiring to assign tables to their 
rsgroups for HBase admin by shell, especially in 1.x rsgroup client is 
IA.private, we could not even write some programs to do that.

And I'm here proposing a solution to do the automated rsgroup assignment by 
allowing running a shell in postCreateTable to determine which table should go 
to which rsgroup (way in branch-1 not master). The benefit is obvious, admin 
can determine or change at any time the mapping rule in script without 
restarting or re-config anything. It's flexible, convenience and time saving.

  was:
In prod practise, it's time consuming and tiring to assign tables to their 
rsgroups for HBase admin by shell, especially in 1.x rsgroup client is 
IA.private, we could not even write some programs to do that.

And I'm here proposing a solution to do the automated rsgroup assignment by 
allowing running a shell in postCreateTable to determine which table should go 
to which rsgroup. The benefit is obvious, admin can determine or change at any 
time the mapping rule in script without restarting or re-config anything. It's 
flexible, convenience and time saving.


> [RSGroup] Assign created tables to respective rsgroup automatically instead 
> of manual operations 
> -
>
> Key: HBASE-24032
> URL: https://issues.apache.org/jira/browse/HBASE-24032
> Project: HBase
>  Issue Type: Improvement
>  Components: master, rsgroup
>Reporter: Reid Chan
>Assignee: Reid Chan
>Priority: Major
>
> In prod practise, it's time consuming and tiring to assign tables to their 
> rsgroups for HBase admin by shell, especially in 1.x rsgroup client is 
> IA.private, we could not even write some programs to do that.
> And I'm here proposing a solution to do the automated rsgroup assignment by 
> allowing running a shell in postCreateTable to determine which table should 
> go to which rsgroup (way in branch-1 not master). The benefit is obvious, 
> admin can determine or change at any time the mapping rule in script without 
> restarting or re-config anything. It's flexible, convenience and time saving.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (HBASE-24032) [RSGroup] Assign created tables to respective rsgroup automatically instead of manual operations

2020-03-21 Thread Reid Chan (Jira)


 [ 
https://issues.apache.org/jira/browse/HBASE-24032?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Reid Chan updated HBASE-24032:
--
Summary: [RSGroup] Assign created tables to respective rsgroup 
automatically instead of manual operations   (was: [RSGroup] Assign created 
tables to respective rsgroup instead of manual operations )

> [RSGroup] Assign created tables to respective rsgroup automatically instead 
> of manual operations 
> -
>
> Key: HBASE-24032
> URL: https://issues.apache.org/jira/browse/HBASE-24032
> Project: HBase
>  Issue Type: Improvement
>  Components: master, rsgroup
>Reporter: Reid Chan
>Assignee: Reid Chan
>Priority: Major
>
> In prod practise, it's time consuming and tiring to assign tables to their 
> rsgroups for HBase admin by shell, especially in 1.x rsgroup client is 
> IA.private, we could not even write some programs to do that.
> And I'm here proposing a solution to do the automated rsgroup assignment by 
> allowing running a shell in postCreateTable to determine which table should 
> go to which rsgroup. The benefit is obvious, admin can determine or change at 
> any time the mapping rule in script without restarting or re-config anything. 
> It's flexible, convenience and time saving.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)