hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-14007) Writing to table through MR should fail upfront if table does not exist/is disabled
Date Mon, 27 Jun 2016 18:45:52 GMT

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

Ted Yu commented on HBASE-14007:
--------------------------------

Do you get the following test failure for branch-1 ?
{code}
testWritingToDisabledTable(org.apache.hadoop.hbase.mapreduce.TestTableMapReduce)  Time elapsed:
0.483 sec  <<< ERROR!
java.lang.Exception: Unexpected exception, expected<org.apache.hadoop.hbase.TableNotEnabledException>
but was<org.apache.hadoop.hbase.TableNotFoundException>
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
	at org.apache.hadoop.ipc.RemoteException.instantiateException(RemoteException.java:106)
	at org.apache.hadoop.ipc.RemoteException.unwrapRemoteException(RemoteException.java:95)
	at org.apache.hadoop.hbase.util.ForeignExceptionUtil.toIOException(ForeignExceptionUtil.java:45)
	at org.apache.hadoop.hbase.client.HBaseAdmin$ProcedureFuture.convertResult(HBaseAdmin.java:4711)
	at org.apache.hadoop.hbase.client.HBaseAdmin$ProcedureFuture.waitProcedureResult(HBaseAdmin.java:4669)
	at org.apache.hadoop.hbase.client.HBaseAdmin$ProcedureFuture.get(HBaseAdmin.java:4602)
	at org.apache.hadoop.hbase.client.HBaseAdmin.disableTable(HBaseAdmin.java:1332)
	at org.apache.hadoop.hbase.mapreduce.TestTableMapReduce.testWritingToDisabledTable(TestTableMapReduce.java:138)
Caused by: org.apache.hadoop.ipc.RemoteException: testfailuretable
	at org.apache.hadoop.hbase.master.procedure.DisableTableProcedure.prepareDisable(DisableTableProcedure.java:281)
	at org.apache.hadoop.hbase.master.procedure.DisableTableProcedure.executeFromState(DisableTableProcedure.java:133)
	at org.apache.hadoop.hbase.master.procedure.DisableTableProcedure.executeFromState(DisableTableProcedure.java:54)
	at org.apache.hadoop.hbase.procedure2.StateMachineProcedure.execute(StateMachineProcedure.java:133)
	at org.apache.hadoop.hbase.procedure2.Procedure.doExecute(Procedure.java:499)
	at org.apache.hadoop.hbase.procedure2.ProcedureExecutor.execProcedure(ProcedureExecutor.java:1061)
{code}

> Writing to table through MR should fail upfront if table does not exist/is disabled
> -----------------------------------------------------------------------------------
>
>                 Key: HBASE-14007
>                 URL: https://issues.apache.org/jira/browse/HBASE-14007
>             Project: HBase
>          Issue Type: Improvement
>          Components: mapreduce
>    Affects Versions: 1.1.1
>            Reporter: Thiruvel Thirumoolan
>            Assignee: Thiruvel Thirumoolan
>            Priority: Minor
>              Labels: mapreduce
>             Fix For: 2.0.0, 1.4.0
>
>         Attachments: HBASE-14007.branch-1.000.patch, HBASE-14007.branch-1.001.patch,
HBASE-14007.master.001.patch, HBASE-14007.master.002.patch, HBASE-14007.patch
>
>
> TableOutputFormat.checkOutputSpecs() needs to be fixed.



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

Mime
View raw message