hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "stack (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-2619) Compaction errors after a region splits
Date Thu, 17 Jan 2008 04:34:35 GMT

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

stack updated HADOOP-2619:
--------------------------

    Attachment: compactiondir-v4.patch

After refactoring of hbase layout on fs, HADOOP-2478, clean up of old compactions was actually
deleting all under compaction.dir; would mean that the remove would kill any other concurrent
ongoing compactions.  Patch cleans up the region (Problem was found by Billy Pearson studying
logs)

> Compaction errors after a region splits
> ---------------------------------------
>
>                 Key: HADOOP-2619
>                 URL: https://issues.apache.org/jira/browse/HADOOP-2619
>             Project: Hadoop
>          Issue Type: Bug
>          Components: contrib/hbase
>         Environment: hadoop snv 612165
>            Reporter: Billy Pearson
>             Fix For: 0.16.0
>
>         Attachments: compactiondir-v4.patch, hbase-root-regionserver-PE1750-4.log
>
>
> I am getting compaction errors from regions after they split not all of them have this
problem but some do
> I attached a log I picked out one region webdata,com.technorati/tag/potiron:http,1200430376177
> it is loaded then splits at 
> 2008-01-15 14:52:56,116
> the split is finshed at
> 2008-01-15 14:53:01,653
> the first compaction for the new top half region starts at
> 2008-01-15 14:54:07,612 - webdata,com.technorati/tag/potiron:http,1200430376177
> and ends successful at
> 2008-01-15 14:54:30,229
> ten the next compaction starts at
> 2008-01-15 14:56:16,315
> This one ends with an error at 
> 2008-01-15 14:56:40,246
> {code}
> 2008-01-15 14:57:53,002 ERROR org.apache.hadoop.hbase.HRegionServer: Compaction failed
for region webdata,com.technorati/tag/potiron:http,1200430376177
> org.apache.hadoop.dfs.LeaseExpiredException: org.apache.hadoop.dfs.LeaseExpiredException:
No lease on /gfs_storage/hadoop-root/hbase/webdata/compaction.dir/1438658724/in_rank/mapfiles/8222904438849251562/data
> 	at org.apache.hadoop.dfs.FSNamesystem.checkLease(FSNamesystem.java:1123)
> 	at org.apache.hadoop.dfs.FSNamesystem.getAdditionalBlock(FSNamesystem.java:1061)
> 	at org.apache.hadoop.dfs.NameNode.addBlock(NameNode.java:303)
> 	at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at java.lang.reflect.Method.invoke(Method.java:585)
> 	at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:409)
> 	at org.apache.hadoop.ipc.Server$Handler.run(Server.java:908)
> 	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
> 	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
> 	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
> 	at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
> 	at org.apache.hadoop.hbase.RemoteExceptionHandler.decodeRemoteException(RemoteExceptionHandler.java:82)
> 	at org.apache.hadoop.hbase.RemoteExceptionHandler.checkIOException(RemoteExceptionHandler.java:48)
> 	at org.apache.hadoop.hbase.HRegionServer$Compactor.run(HRegionServer.java:418)
> {code}
> and all other compaction's for this region fail after this one fail with the same error
I will have to keep testing to see if it ever finishes successfully. 
> maybe after a restart it will successfully finsh a compaction.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message