[jira] [Commented] (HBASE-22217) HBase shell command proposal : "rit assign all"

2019-04-16 Thread Sergey Shelukhin (JIRA)


[ 
https://issues.apache.org/jira/browse/HBASE-22217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16819268#comment-16819268
 ] 

Sergey Shelukhin commented on HBASE-22217:
--

[~xucang] my experience was that sometimes it says that the region is in 
transition and cannot be assigned, iirc usually when it's CLOSING. I didn't 
investigate in detail.

> HBase shell command proposal : "rit assign all" 
> 
>
> Key: HBASE-22217
> URL: https://issues.apache.org/jira/browse/HBASE-22217
> Project: HBase
>  Issue Type: New Feature
>  Components: Operability, Region Assignment, shell
>Reporter: Xu Cang
>Assignee: Sakthi
>Priority: Minor
>
> HBase shell command proposal : "rit assign all" 
>  
> Currently we have shell command "rit" to list all RITs.
> It would be handy having a command "rit assign all" to assign all RITs.
> This equals to getting the list of RITs from 'rit' command and running 
> "assign " one by one.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (HBASE-22217) HBase shell command proposal : "rit assign all"

2019-04-16 Thread Sakthi (JIRA)


[ 
https://issues.apache.org/jira/browse/HBASE-22217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16819254#comment-16819254
 ] 

Sakthi commented on HBASE-22217:


Are we planning to add this in hbase as of now ? or hbck2? 

> HBase shell command proposal : "rit assign all" 
> 
>
> Key: HBASE-22217
> URL: https://issues.apache.org/jira/browse/HBASE-22217
> Project: HBase
>  Issue Type: New Feature
>  Components: Operability, Region Assignment, shell
>Reporter: Xu Cang
>Assignee: Sakthi
>Priority: Minor
>
> HBase shell command proposal : "rit assign all" 
>  
> Currently we have shell command "rit" to list all RITs.
> It would be handy having a command "rit assign all" to assign all RITs.
> This equals to getting the list of RITs from 'rit' command and running 
> "assign " one by one.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (HBASE-22217) HBase shell command proposal : "rit assign all"

2019-04-15 Thread Xu Cang (JIRA)


[ 
https://issues.apache.org/jira/browse/HBASE-22217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16818633#comment-16818633
 ] 

Xu Cang commented on HBASE-22217:
-

[~sershe]

That could be an nice option. 

Correct me if I am wrong, from my production experience, 'assign' is able to 
assign a RIT into a regionserver properly. Is this not by design? 

> HBase shell command proposal : "rit assign all" 
> 
>
> Key: HBASE-22217
> URL: https://issues.apache.org/jira/browse/HBASE-22217
> Project: HBase
>  Issue Type: New Feature
>  Components: Operability, Region Assignment, shell
>Reporter: Xu Cang
>Assignee: Sakthi
>Priority: Minor
>
> HBase shell command proposal : "rit assign all" 
>  
> Currently we have shell command "rit" to list all RITs.
> It would be handy having a command "rit assign all" to assign all RITs.
> This equals to getting the list of RITs from 'rit' command and running 
> "assign " one by one.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (HBASE-22217) HBase shell command proposal : "rit assign all"

2019-04-15 Thread Sergey Shelukhin (JIRA)


[ 
https://issues.apache.org/jira/browse/HBASE-22217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16818238#comment-16818238
 ] 

Sergey Shelukhin commented on HBASE-22217:
--

It would also be nice if this command (as well as assign) had a -force option 
(default?) that would clear region state to offline, delete all procedures for 
it and try again. Current "assign" cannot assign a RIT and it is usually a 
procedure that's stuck in some bad state that is an issue.

> HBase shell command proposal : "rit assign all" 
> 
>
> Key: HBASE-22217
> URL: https://issues.apache.org/jira/browse/HBASE-22217
> Project: HBase
>  Issue Type: New Feature
>  Components: Operability, Region Assignment, shell
>Reporter: Xu Cang
>Assignee: Sakthi
>Priority: Minor
>
> HBase shell command proposal : "rit assign all" 
>  
> Currently we have shell command "rit" to list all RITs.
> It would be handy having a command "rit assign all" to assign all RITs.
> This equals to getting the list of RITs from 'rit' command and running 
> "assign " one by one.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (HBASE-22217) HBase shell command proposal : "rit assign all"

2019-04-12 Thread stack (JIRA)


[ 
https://issues.apache.org/jira/browse/HBASE-22217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16816723#comment-16816723
 ] 

stack commented on HBASE-22217:
---

[~xucang] Yes, the old hbck did many things. The intent is to migrate to hbck2, 
those operations that make sense in the new context (much of what hbck1 did 
does not apply in hbase2).

> HBase shell command proposal : "rit assign all" 
> 
>
> Key: HBASE-22217
> URL: https://issues.apache.org/jira/browse/HBASE-22217
> Project: HBase
>  Issue Type: New Feature
>  Components: Operability, Region Assignment, shell
>Reporter: Xu Cang
>Assignee: Sakthi
>Priority: Minor
>
> HBase shell command proposal : "rit assign all" 
>  
> Currently we have shell command "rit" to list all RITs.
> It would be handy having a command "rit assign all" to assign all RITs.
> This equals to getting the list of RITs from 'rit' command and running 
> "assign " one by one.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (HBASE-22217) HBase shell command proposal : "rit assign all"

2019-04-12 Thread Xu Cang (JIRA)


[ 
https://issues.apache.org/jira/browse/HBASE-22217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16816721#comment-16816721
 ] 

Xu Cang commented on HBASE-22217:
-

Yes, it could be. [~stack] 

One thing I noticed is even by using only one option from hbck such as 
'-fixAssignments', it does MANY things such as "Closes any open regions that 
are not in HDFS" , "Closes any open regions for disabled tables" and "Making 
sure open regions are assigned to single host". In my opinion we should add 
these kind small but useful options into hbck too. Just my 2cent. 

> HBase shell command proposal : "rit assign all" 
> 
>
> Key: HBASE-22217
> URL: https://issues.apache.org/jira/browse/HBASE-22217
> Project: HBase
>  Issue Type: New Feature
>  Components: Operability, Region Assignment, shell
>Reporter: Xu Cang
>Assignee: Sakthi
>Priority: Minor
>
> HBase shell command proposal : "rit assign all" 
>  
> Currently we have shell command "rit" to list all RITs.
> It would be handy having a command "rit assign all" to assign all RITs.
> This equals to getting the list of RITs from 'rit' command and running 
> "assign " one by one.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (HBASE-22217) HBase shell command proposal : "rit assign all"

2019-04-12 Thread Sakthi (JIRA)


[ 
https://issues.apache.org/jira/browse/HBASE-22217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16816530#comment-16816530
 ] 

Sakthi commented on HBASE-22217:


I agree [~stack]

> HBase shell command proposal : "rit assign all" 
> 
>
> Key: HBASE-22217
> URL: https://issues.apache.org/jira/browse/HBASE-22217
> Project: HBase
>  Issue Type: New Feature
>  Components: Operability, Region Assignment, shell
>Reporter: Xu Cang
>Assignee: Sakthi
>Priority: Minor
>
> HBase shell command proposal : "rit assign all" 
>  
> Currently we have shell command "rit" to list all RITs.
> It would be handy having a command "rit assign all" to assign all RITs.
> This equals to getting the list of RITs from 'rit' command and running 
> "assign " one by one.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (HBASE-22217) HBase shell command proposal : "rit assign all"

2019-04-11 Thread stack (JIRA)


[ 
https://issues.apache.org/jira/browse/HBASE-22217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16815960#comment-16815960
 ] 

stack commented on HBASE-22217:
---

'rit assign all' sounds like hbck2 territory. If 'rit', that is of interest but 
hopefully it a temporary state of affairs. Should it persist, then time to roll 
up the sleeves and crack the hbck2 tooling?

> HBase shell command proposal : "rit assign all" 
> 
>
> Key: HBASE-22217
> URL: https://issues.apache.org/jira/browse/HBASE-22217
> Project: HBase
>  Issue Type: New Feature
>  Components: Operability, Region Assignment, shell
>Reporter: Xu Cang
>Assignee: Sakthi
>Priority: Minor
>
> HBase shell command proposal : "rit assign all" 
>  
> Currently we have shell command "rit" to list all RITs.
> It would be handy having a command "rit assign all" to assign all RITs.
> This equals to getting the list of RITs from 'rit' command and running 
> "assign " one by one.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (HBASE-22217) HBase shell command proposal : "rit assign all"

2019-04-11 Thread Sakthi (JIRA)


[ 
https://issues.apache.org/jira/browse/HBASE-22217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16815897#comment-16815897
 ] 

Sakthi commented on HBASE-22217:


Would like to work on this one. 

> HBase shell command proposal : "rit assign all" 
> 
>
> Key: HBASE-22217
> URL: https://issues.apache.org/jira/browse/HBASE-22217
> Project: HBase
>  Issue Type: New Feature
>  Components: Operability, Region Assignment, shell
>Reporter: Xu Cang
>Assignee: Sakthi
>Priority: Minor
>
> HBase shell command proposal : "rit assign all" 
>  
> Currently we have shell command "rit" to list all RITs.
> It would be handy having a command "rit assign all" to assign all RITs.
> This equals to getting the list of RITs from 'rit' command and running 
> "assign " one by one.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (HBASE-22217) HBase shell command proposal : "rit assign all"

2019-04-11 Thread Sean Busbey (JIRA)


[ 
https://issues.apache.org/jira/browse/HBASE-22217?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16815858#comment-16815858
 ] 

Sean Busbey commented on HBASE-22217:
-

we'll need to be clear in the docs here and on hbck2 what the difference is in 
the two cases of using the "assign" command on a RIT.

> HBase shell command proposal : "rit assign all" 
> 
>
> Key: HBASE-22217
> URL: https://issues.apache.org/jira/browse/HBASE-22217
> Project: HBase
>  Issue Type: New Feature
>Reporter: Xu Cang
>Priority: Minor
>
> HBase shell command proposal : "rit assign all" 
>  
> Currently we have shell command "rit" to list all RITs.
> It would be handy having a command "rit assign all" to assign all RITs.
> This equals to getting the list of RITs from 'rit' command and running 
> "assign " one by one.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)