You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Lokesh Jain (JIRA)" <ji...@apache.org> on 2018/12/04 17:36:00 UTC

[jira] [Assigned] (RATIS-448) java.lang.IllegalStateException exception seen when log to be truncated does not exist

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

Lokesh Jain reassigned RATIS-448:
---------------------------------

    Assignee: Lokesh Jain

> java.lang.IllegalStateException exception seen when log to be truncated does not exist
> --------------------------------------------------------------------------------------
>
>                 Key: RATIS-448
>                 URL: https://issues.apache.org/jira/browse/RATIS-448
>             Project: Ratis
>          Issue Type: Bug
>            Reporter: Nilotpal Nandi
>            Assignee: Lokesh Jain
>            Priority: Critical
>         Attachments: nodes-ozone-logs-1543923396.tar.gz
>
>
> exception seen  in datanode.log
> ---------------------------------------------
> {noformat}
> java.lang.IllegalStateException: File /data/disk1/ozone/meta/ratis/5689db14-7ca4-4198-8826-a21df55a3ae0/current/log_2466-2484 to be truncated does not exist
>  at org.apache.ratis.util.Preconditions.assertTrue(Preconditions.java:60)
>  at org.apache.ratis.server.storage.RaftLogWorker$TruncateLog.execute(RaftLogWorker.java:459)
>  at org.apache.ratis.server.storage.RaftLogWorker.run(RaftLogWorker.java:216)
>  at java.lang.Thread.run(Thread.java:748){noformat}
>  
>  
> {noformat}
> [root@ctr-e139-1542663976389-22144-01-000007 current]# ls -lhart /data/disk1/ozone/meta/ratis/5689db14-7ca4-4198-8826-a21df55a3ae0/current
> total 2.7M
> -rw-r--r-- 1 root root 16K Dec 4 10:15 log_0-41
> -rw-r--r-- 1 root root 9.1K Dec 4 10:15 log_42-52
> -rw-r--r-- 1 root root 12K Dec 4 10:15 log_53-62
> -rw-r--r-- 1 root root 15K Dec 4 10:15 log_63-70
> -rw-r--r-- 1 root root 16K Dec 4 10:15 log_71-91
> -rw-r--r-- 1 root root 12K Dec 4 10:15 log_92-101
> -rw-r--r-- 1 root root 15K Dec 4 10:16 log_102-109
> ..
> ..
> ..
> ..
> -rw-r--r-- 1 root root 1.9K Dec 4 10:48 log_2438-2441
> -rw-r--r-- 1 root root 187 Dec 4 10:48 raft-meta.conf
> -rw-r--r-- 1 root root 14K Dec 4 10:48 log_2442-2457
> -rw-r--r-- 1 root root 15K Dec 4 10:48 log_2458-2465
> -rw-r--r-- 1 root root 49 Dec 4 10:48 raft-meta
> -rw-r--r-- 1 root root 16K Dec 4 10:48 log_2466-2483
> drwxr-xr-x 2 root root 12K Dec 4 10:48 .
> -rw-r--r-- 1 root root 7.9K Dec 4 10:48 log_inprogress_2485
> drwxr-xr-x 4 root root 4.0K Dec 4 10:48 ..
>  
>  
> {noformat}
>  
>  



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