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

Hudson commented on HBASE-6327:
-------------------------------

Integrated in HBase-0.94 #611 (See 
[https://builds.apache.org/job/HBase-0.94/611/])
    HBASE-7253 Backport Compaction Tool to 0.94; includes HBASE-5616, 
HBASE-5693, HBASE-6327, HBASE-7253 (Revision 1417559)

     Result = FAILURE
stack : 
Files : 
* 
/hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/io/hfile/LruBlockCache.java
* 
/hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/master/handler/CreateTableHandler.java
* 
/hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/regionserver/CompactionTool.java
* 
/hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/regionserver/Compactor.java
* 
/hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java
* 
/hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/regionserver/Store.java
* 
/hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/regionserver/compactions/CompactionProgress.java
* 
/hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/util/ChecksumType.java
* /hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/util/FSUtils.java
* 
/hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/regionserver/TestCompaction.java

                
> HLog can be null when create table
> ----------------------------------
>
>                 Key: HBASE-6327
>                 URL: https://issues.apache.org/jira/browse/HBASE-6327
>             Project: HBase
>          Issue Type: Bug
>            Reporter: ShiXing
>            Assignee: ShiXing
>             Fix For: 0.96.0, 0.94.4
>
>         Attachments: 6327.txt, createTableFailedMaster.log, 
> HBASE-6327-trunk-V1.patch
>
>
> As HBASE-4010 discussed, the HLog can be null.
> We have meet createTable failed because the no use hlog.
> When createHReagion, the HLog.LogSyncer is run sync(), in under layer it call 
> the DFSClient.DFSOutputStream.sync(). 
> Then the hlog.closeAndDelete() was called,firstly the HLog.close() will 
> interrupt the LogSyncer, and interrupt DFSClient.DFSOutputStream.sync().The 
> DFSClient.DFSOutputStream will store the exception and throw it when we 
> called DFSClient.close(). 
> The HLog.close() call the writer.close()/DFSClient.close() after interrupt 
> the LogSyncer. And there is no catch exception for the close().
> So the Master throw exception to the client. There is no need to throw this 
> exception, further, the hlog is no use.
> Our cluster is 0.90, the logs is attached, after "closing hlog writer", there 
> is no log for the createTable().
> The trunk and 0.92, 0.94, we used just one hlog, and if the exception 
> happends, the client will got createTable failed, but indeed ,we expect all 
> the regions for the table can also be assigned.
> I will give the patch for this later.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to