[jira] [Updated] (HBASE-13935) Orphaned namespace table ZK node should not prevent master to start

2015-06-20 Thread Enis Soztutar (JIRA)

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

Enis Soztutar updated HBASE-13935:
--
Fix Version/s: 1.3.0

> Orphaned namespace table ZK node should not prevent master to start
> ---
>
> Key: HBASE-13935
> URL: https://issues.apache.org/jira/browse/HBASE-13935
> Project: HBase
>  Issue Type: Bug
>  Components: master
>Affects Versions: 1.0.0, 0.98.13
>Reporter: Stephen Yuan Jiang
>Assignee: Stephen Yuan Jiang
> Fix For: 0.98.14, 1.0.2, 1.2.0, 1.1.1, 1.3.0
>
> Attachments: HBASE-13935.v1-0.98.patch, 
> HBASE-13935.v1-branch-1.0.patch, HBASE-13935.v1-branch-1.patch
>
>
> Before we have the state-of-art Procedure V2 feature (HBASE 1.0 release or 
> older), we frequently see the following issue (orphaned ZK node) that prevent 
> master to start (at least in testing):
> {noformat}
> 2015-06-16 17:54:36,472 FATAL [master:10.0.0.99:6] master.HMaster: 
> Unhandled exception. Starting shutdown.
> org.apache.hadoop.hbase.TableExistsException: hbase:namespace
>   at 
> org.apache.hadoop.hbase.master.handler.CreateTableHandler.prepare(CreateTableHandler.java:137)
>   at 
> org.apache.hadoop.hbase.master.TableNamespaceManager.createNamespaceTable(TableNamespaceManager.java:232)
>   at 
> org.apache.hadoop.hbase.master.TableNamespaceManager.start(TableNamespaceManager.java:86)
>   at 
> org.apache.hadoop.hbase.master.HMaster.initNamespace(HMaster.java:1123)
>   at 
> org.apache.hadoop.hbase.master.HMaster.finishInitialization(HMaster.java:947)
>   at org.apache.hadoop.hbase.master.HMaster.run(HMaster.java:618)
>   at java.lang.Thread.run(Thread.java:745)
> 2015-06-16 17:54:36,472 INFO  [master:10.0.0.99:6] master.HMaster: 
> Aborting
> {noformat}
> The above call trace is from a 0.98.x test run.  We saw similar issue in 
> 1.0.x run, too.  
> The proposed fix is to ignore the zk node and force namespace table creation 
> to be complete so that master can start successfully.  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HBASE-13935) Orphaned namespace table ZK node should not prevent master to start

2015-06-20 Thread Enis Soztutar (JIRA)

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

Enis Soztutar updated HBASE-13935:
--
  Resolution: Fixed
Hadoop Flags: Reviewed
  Status: Resolved  (was: Patch Available)

Committed to 0.98 to 1.3. Thanks Stephen for the patch. 

> Orphaned namespace table ZK node should not prevent master to start
> ---
>
> Key: HBASE-13935
> URL: https://issues.apache.org/jira/browse/HBASE-13935
> Project: HBase
>  Issue Type: Bug
>  Components: master
>Affects Versions: 1.0.0, 0.98.13
>Reporter: Stephen Yuan Jiang
>Assignee: Stephen Yuan Jiang
> Fix For: 0.98.14, 1.0.2, 1.2.0, 1.1.1
>
> Attachments: HBASE-13935.v1-0.98.patch, 
> HBASE-13935.v1-branch-1.0.patch, HBASE-13935.v1-branch-1.patch
>
>
> Before we have the state-of-art Procedure V2 feature (HBASE 1.0 release or 
> older), we frequently see the following issue (orphaned ZK node) that prevent 
> master to start (at least in testing):
> {noformat}
> 2015-06-16 17:54:36,472 FATAL [master:10.0.0.99:6] master.HMaster: 
> Unhandled exception. Starting shutdown.
> org.apache.hadoop.hbase.TableExistsException: hbase:namespace
>   at 
> org.apache.hadoop.hbase.master.handler.CreateTableHandler.prepare(CreateTableHandler.java:137)
>   at 
> org.apache.hadoop.hbase.master.TableNamespaceManager.createNamespaceTable(TableNamespaceManager.java:232)
>   at 
> org.apache.hadoop.hbase.master.TableNamespaceManager.start(TableNamespaceManager.java:86)
>   at 
> org.apache.hadoop.hbase.master.HMaster.initNamespace(HMaster.java:1123)
>   at 
> org.apache.hadoop.hbase.master.HMaster.finishInitialization(HMaster.java:947)
>   at org.apache.hadoop.hbase.master.HMaster.run(HMaster.java:618)
>   at java.lang.Thread.run(Thread.java:745)
> 2015-06-16 17:54:36,472 INFO  [master:10.0.0.99:6] master.HMaster: 
> Aborting
> {noformat}
> The above call trace is from a 0.98.x test run.  We saw similar issue in 
> 1.0.x run, too.  
> The proposed fix is to ignore the zk node and force namespace table creation 
> to be complete so that master can start successfully.  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HBASE-13935) Orphaned namespace table ZK node should not prevent master to start

2015-06-19 Thread Stephen Yuan Jiang (JIRA)

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

Stephen Yuan Jiang updated HBASE-13935:
---
Attachment: HBASE-13935.v1-branch-1.patch

HBASE-13935.v1-branch-1.patch is for both branch-1 and branch-1.1

> Orphaned namespace table ZK node should not prevent master to start
> ---
>
> Key: HBASE-13935
> URL: https://issues.apache.org/jira/browse/HBASE-13935
> Project: HBase
>  Issue Type: Bug
>  Components: master
>Affects Versions: 1.0.0, 0.98.13
>Reporter: Stephen Yuan Jiang
>Assignee: Stephen Yuan Jiang
> Fix For: 0.98.14, 1.0.2, 1.2.0, 1.1.1
>
> Attachments: HBASE-13935.v1-0.98.patch, 
> HBASE-13935.v1-branch-1.0.patch, HBASE-13935.v1-branch-1.patch
>
>
> Before we have the state-of-art Procedure V2 feature (HBASE 1.0 release or 
> older), we frequently see the following issue (orphaned ZK node) that prevent 
> master to start (at least in testing):
> {noformat}
> 2015-06-16 17:54:36,472 FATAL [master:10.0.0.99:6] master.HMaster: 
> Unhandled exception. Starting shutdown.
> org.apache.hadoop.hbase.TableExistsException: hbase:namespace
>   at 
> org.apache.hadoop.hbase.master.handler.CreateTableHandler.prepare(CreateTableHandler.java:137)
>   at 
> org.apache.hadoop.hbase.master.TableNamespaceManager.createNamespaceTable(TableNamespaceManager.java:232)
>   at 
> org.apache.hadoop.hbase.master.TableNamespaceManager.start(TableNamespaceManager.java:86)
>   at 
> org.apache.hadoop.hbase.master.HMaster.initNamespace(HMaster.java:1123)
>   at 
> org.apache.hadoop.hbase.master.HMaster.finishInitialization(HMaster.java:947)
>   at org.apache.hadoop.hbase.master.HMaster.run(HMaster.java:618)
>   at java.lang.Thread.run(Thread.java:745)
> 2015-06-16 17:54:36,472 INFO  [master:10.0.0.99:6] master.HMaster: 
> Aborting
> {noformat}
> The above call trace is from a 0.98.x test run.  We saw similar issue in 
> 1.0.x run, too.  
> The proposed fix is to ignore the zk node and force namespace table creation 
> to be complete so that master can start successfully.  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HBASE-13935) Orphaned namespace table ZK node should not prevent master to start

2015-06-19 Thread Stephen Yuan Jiang (JIRA)

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

Stephen Yuan Jiang updated HBASE-13935:
---
Fix Version/s: 1.1.1
   1.2.0

> Orphaned namespace table ZK node should not prevent master to start
> ---
>
> Key: HBASE-13935
> URL: https://issues.apache.org/jira/browse/HBASE-13935
> Project: HBase
>  Issue Type: Bug
>  Components: master
>Affects Versions: 1.0.0, 0.98.13
>Reporter: Stephen Yuan Jiang
>Assignee: Stephen Yuan Jiang
> Fix For: 0.98.14, 1.0.2, 1.2.0, 1.1.1
>
> Attachments: HBASE-13935.v1-0.98.patch, 
> HBASE-13935.v1-branch-1.0.patch, HBASE-13935.v1-branch-1.patch
>
>
> Before we have the state-of-art Procedure V2 feature (HBASE 1.0 release or 
> older), we frequently see the following issue (orphaned ZK node) that prevent 
> master to start (at least in testing):
> {noformat}
> 2015-06-16 17:54:36,472 FATAL [master:10.0.0.99:6] master.HMaster: 
> Unhandled exception. Starting shutdown.
> org.apache.hadoop.hbase.TableExistsException: hbase:namespace
>   at 
> org.apache.hadoop.hbase.master.handler.CreateTableHandler.prepare(CreateTableHandler.java:137)
>   at 
> org.apache.hadoop.hbase.master.TableNamespaceManager.createNamespaceTable(TableNamespaceManager.java:232)
>   at 
> org.apache.hadoop.hbase.master.TableNamespaceManager.start(TableNamespaceManager.java:86)
>   at 
> org.apache.hadoop.hbase.master.HMaster.initNamespace(HMaster.java:1123)
>   at 
> org.apache.hadoop.hbase.master.HMaster.finishInitialization(HMaster.java:947)
>   at org.apache.hadoop.hbase.master.HMaster.run(HMaster.java:618)
>   at java.lang.Thread.run(Thread.java:745)
> 2015-06-16 17:54:36,472 INFO  [master:10.0.0.99:6] master.HMaster: 
> Aborting
> {noformat}
> The above call trace is from a 0.98.x test run.  We saw similar issue in 
> 1.0.x run, too.  
> The proposed fix is to ignore the zk node and force namespace table creation 
> to be complete so that master can start successfully.  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HBASE-13935) Orphaned namespace table ZK node should not prevent master to start

2015-06-18 Thread Stephen Yuan Jiang (JIRA)

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

Stephen Yuan Jiang updated HBASE-13935:
---
Fix Version/s: 1.0.2
   0.98.14
   Status: Patch Available  (was: Open)

> Orphaned namespace table ZK node should not prevent master to start
> ---
>
> Key: HBASE-13935
> URL: https://issues.apache.org/jira/browse/HBASE-13935
> Project: HBase
>  Issue Type: Bug
>  Components: master
>Affects Versions: 0.98.13, 1.0.0
>Reporter: Stephen Yuan Jiang
>Assignee: Stephen Yuan Jiang
> Fix For: 0.98.14, 1.0.2
>
> Attachments: HBASE-13935.v1-0.98.patch, 
> HBASE-13935.v1-branch-1.0.patch
>
>
> Before we have the state-of-art Procedure V2 feature (HBASE 1.0 release or 
> older), we frequently see the following issue (orphaned ZK node) that prevent 
> master to start (at least in testing):
> {noformat}
> 2015-06-16 17:54:36,472 FATAL [master:10.0.0.99:6] master.HMaster: 
> Unhandled exception. Starting shutdown.
> org.apache.hadoop.hbase.TableExistsException: hbase:namespace
>   at 
> org.apache.hadoop.hbase.master.handler.CreateTableHandler.prepare(CreateTableHandler.java:137)
>   at 
> org.apache.hadoop.hbase.master.TableNamespaceManager.createNamespaceTable(TableNamespaceManager.java:232)
>   at 
> org.apache.hadoop.hbase.master.TableNamespaceManager.start(TableNamespaceManager.java:86)
>   at 
> org.apache.hadoop.hbase.master.HMaster.initNamespace(HMaster.java:1123)
>   at 
> org.apache.hadoop.hbase.master.HMaster.finishInitialization(HMaster.java:947)
>   at org.apache.hadoop.hbase.master.HMaster.run(HMaster.java:618)
>   at java.lang.Thread.run(Thread.java:745)
> 2015-06-16 17:54:36,472 INFO  [master:10.0.0.99:6] master.HMaster: 
> Aborting
> {noformat}
> The above call trace is from a 0.98.x test run.  We saw similar issue in 
> 1.0.x run, too.  
> The proposed fix is to ignore the zk node and force namespace table creation 
> to be complete so that master can start successfully.  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HBASE-13935) Orphaned namespace table ZK node should not prevent master to start

2015-06-18 Thread Stephen Yuan Jiang (JIRA)

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

Stephen Yuan Jiang updated HBASE-13935:
---
Attachment: HBASE-13935.v1-branch-1.0.patch

> Orphaned namespace table ZK node should not prevent master to start
> ---
>
> Key: HBASE-13935
> URL: https://issues.apache.org/jira/browse/HBASE-13935
> Project: HBase
>  Issue Type: Bug
>  Components: master
>Affects Versions: 1.0.0, 0.98.13
>Reporter: Stephen Yuan Jiang
>Assignee: Stephen Yuan Jiang
> Fix For: 0.98.14, 1.0.2
>
> Attachments: HBASE-13935.v1-0.98.patch, 
> HBASE-13935.v1-branch-1.0.patch
>
>
> Before we have the state-of-art Procedure V2 feature (HBASE 1.0 release or 
> older), we frequently see the following issue (orphaned ZK node) that prevent 
> master to start (at least in testing):
> {noformat}
> 2015-06-16 17:54:36,472 FATAL [master:10.0.0.99:6] master.HMaster: 
> Unhandled exception. Starting shutdown.
> org.apache.hadoop.hbase.TableExistsException: hbase:namespace
>   at 
> org.apache.hadoop.hbase.master.handler.CreateTableHandler.prepare(CreateTableHandler.java:137)
>   at 
> org.apache.hadoop.hbase.master.TableNamespaceManager.createNamespaceTable(TableNamespaceManager.java:232)
>   at 
> org.apache.hadoop.hbase.master.TableNamespaceManager.start(TableNamespaceManager.java:86)
>   at 
> org.apache.hadoop.hbase.master.HMaster.initNamespace(HMaster.java:1123)
>   at 
> org.apache.hadoop.hbase.master.HMaster.finishInitialization(HMaster.java:947)
>   at org.apache.hadoop.hbase.master.HMaster.run(HMaster.java:618)
>   at java.lang.Thread.run(Thread.java:745)
> 2015-06-16 17:54:36,472 INFO  [master:10.0.0.99:6] master.HMaster: 
> Aborting
> {noformat}
> The above call trace is from a 0.98.x test run.  We saw similar issue in 
> 1.0.x run, too.  
> The proposed fix is to ignore the zk node and force namespace table creation 
> to be complete so that master can start successfully.  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HBASE-13935) Orphaned namespace table ZK node should not prevent master to start

2015-06-18 Thread Stephen Yuan Jiang (JIRA)

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

Stephen Yuan Jiang updated HBASE-13935:
---
Attachment: HBASE-13935.v1-0.98.patch

> Orphaned namespace table ZK node should not prevent master to start
> ---
>
> Key: HBASE-13935
> URL: https://issues.apache.org/jira/browse/HBASE-13935
> Project: HBase
>  Issue Type: Bug
>  Components: master
>Affects Versions: 1.0.0, 0.98.13
>Reporter: Stephen Yuan Jiang
>Assignee: Stephen Yuan Jiang
> Attachments: HBASE-13935.v1-0.98.patch
>
>
> Before we have the state-of-art Procedure V2 feature (HBASE 1.0 release or 
> older), we frequently see the following issue (orphaned ZK node) that prevent 
> master to start (at least in testing):
> {noformat}
> 2015-06-16 17:54:36,472 FATAL [master:10.0.0.99:6] master.HMaster: 
> Unhandled exception. Starting shutdown.
> org.apache.hadoop.hbase.TableExistsException: hbase:namespace
>   at 
> org.apache.hadoop.hbase.master.handler.CreateTableHandler.prepare(CreateTableHandler.java:137)
>   at 
> org.apache.hadoop.hbase.master.TableNamespaceManager.createNamespaceTable(TableNamespaceManager.java:232)
>   at 
> org.apache.hadoop.hbase.master.TableNamespaceManager.start(TableNamespaceManager.java:86)
>   at 
> org.apache.hadoop.hbase.master.HMaster.initNamespace(HMaster.java:1123)
>   at 
> org.apache.hadoop.hbase.master.HMaster.finishInitialization(HMaster.java:947)
>   at org.apache.hadoop.hbase.master.HMaster.run(HMaster.java:618)
>   at java.lang.Thread.run(Thread.java:745)
> 2015-06-16 17:54:36,472 INFO  [master:10.0.0.99:6] master.HMaster: 
> Aborting
> {noformat}
> The above call trace is from a 0.98.x test run.  We saw similar issue in 
> 1.0.x run, too.  
> The proposed fix is to ignore the zk node and force namespace table creation 
> to be complete so that master can start successfully.  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HBASE-13935) Orphaned namespace table ZK node should not prevent master to start

2015-06-18 Thread Stephen Yuan Jiang (JIRA)

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

Stephen Yuan Jiang updated HBASE-13935:
---
Attachment: (was: HBASE-13935.v1-branch-1.0.patch)

> Orphaned namespace table ZK node should not prevent master to start
> ---
>
> Key: HBASE-13935
> URL: https://issues.apache.org/jira/browse/HBASE-13935
> Project: HBase
>  Issue Type: Bug
>  Components: master
>Affects Versions: 1.0.0, 0.98.13
>Reporter: Stephen Yuan Jiang
>Assignee: Stephen Yuan Jiang
> Attachments: HBASE-13935.v1-0.98.patch
>
>
> Before we have the state-of-art Procedure V2 feature (HBASE 1.0 release or 
> older), we frequently see the following issue (orphaned ZK node) that prevent 
> master to start (at least in testing):
> {noformat}
> 2015-06-16 17:54:36,472 FATAL [master:10.0.0.99:6] master.HMaster: 
> Unhandled exception. Starting shutdown.
> org.apache.hadoop.hbase.TableExistsException: hbase:namespace
>   at 
> org.apache.hadoop.hbase.master.handler.CreateTableHandler.prepare(CreateTableHandler.java:137)
>   at 
> org.apache.hadoop.hbase.master.TableNamespaceManager.createNamespaceTable(TableNamespaceManager.java:232)
>   at 
> org.apache.hadoop.hbase.master.TableNamespaceManager.start(TableNamespaceManager.java:86)
>   at 
> org.apache.hadoop.hbase.master.HMaster.initNamespace(HMaster.java:1123)
>   at 
> org.apache.hadoop.hbase.master.HMaster.finishInitialization(HMaster.java:947)
>   at org.apache.hadoop.hbase.master.HMaster.run(HMaster.java:618)
>   at java.lang.Thread.run(Thread.java:745)
> 2015-06-16 17:54:36,472 INFO  [master:10.0.0.99:6] master.HMaster: 
> Aborting
> {noformat}
> The above call trace is from a 0.98.x test run.  We saw similar issue in 
> 1.0.x run, too.  
> The proposed fix is to ignore the zk node and force namespace table creation 
> to be complete so that master can start successfully.  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (HBASE-13935) Orphaned namespace table ZK node should not prevent master to start

2015-06-18 Thread Stephen Yuan Jiang (JIRA)

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

Stephen Yuan Jiang updated HBASE-13935:
---
Attachment: HBASE-13935.v1-branch-1.0.patch

> Orphaned namespace table ZK node should not prevent master to start
> ---
>
> Key: HBASE-13935
> URL: https://issues.apache.org/jira/browse/HBASE-13935
> Project: HBase
>  Issue Type: Bug
>  Components: master
>Affects Versions: 1.0.0, 0.98.13
>Reporter: Stephen Yuan Jiang
>Assignee: Stephen Yuan Jiang
> Attachments: HBASE-13935.v1-branch-1.0.patch
>
>
> Before we have the state-of-art Procedure V2 feature (HBASE 1.0 release or 
> older), we frequently see the following issue (orphaned ZK node) that prevent 
> master to start (at least in testing):
> {noformat}
> 2015-06-16 17:54:36,472 FATAL [master:10.0.0.99:6] master.HMaster: 
> Unhandled exception. Starting shutdown.
> org.apache.hadoop.hbase.TableExistsException: hbase:namespace
>   at 
> org.apache.hadoop.hbase.master.handler.CreateTableHandler.prepare(CreateTableHandler.java:137)
>   at 
> org.apache.hadoop.hbase.master.TableNamespaceManager.createNamespaceTable(TableNamespaceManager.java:232)
>   at 
> org.apache.hadoop.hbase.master.TableNamespaceManager.start(TableNamespaceManager.java:86)
>   at 
> org.apache.hadoop.hbase.master.HMaster.initNamespace(HMaster.java:1123)
>   at 
> org.apache.hadoop.hbase.master.HMaster.finishInitialization(HMaster.java:947)
>   at org.apache.hadoop.hbase.master.HMaster.run(HMaster.java:618)
>   at java.lang.Thread.run(Thread.java:745)
> 2015-06-16 17:54:36,472 INFO  [master:10.0.0.99:6] master.HMaster: 
> Aborting
> {noformat}
> The above call trace is from a 0.98.x test run.  We saw similar issue in 
> 1.0.x run, too.  
> The proposed fix is to ignore the zk node and force namespace table creation 
> to be complete so that master can start successfully.  



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)