class org.apache.cassandra.service.StartupChecks$9 implements org.apache.cassandra.service.StartupCheck
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.cassandra.service.StartupChecks$9
super_class: java.lang.Object
{
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 // org.apache.cassandra.service.StartupChecks$9 this
0: .line 346
aload 0 /* this */
invokespecial java.lang.Object.<init>:()V
return
end local 0 // org.apache.cassandra.service.StartupChecks$9 this
LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/service/StartupChecks$9;
public void execute();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=9, locals=9, args_size=1
start local 0 // org.apache.cassandra.service.StartupChecks$9 this
0: .line 350
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 1 /* invalid */
start local 1 // java.util.Set invalid
1: .line 351
new java.util.HashSet
dup
invokespecial java.util.HashSet.<init>:()V
astore 2 /* nonSSTablePaths */
start local 2 // java.util.Set nonSSTablePaths
2: .line 352
aload 2 /* nonSSTablePaths */
invokestatic org.apache.cassandra.config.DatabaseDescriptor.getCommitLogLocation:()Ljava/lang/String;
invokestatic org.apache.cassandra.io.util.FileUtils.getCanonicalPath:(Ljava/lang/String;)Ljava/lang/String;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
3: .line 353
aload 2 /* nonSSTablePaths */
invokestatic org.apache.cassandra.config.DatabaseDescriptor.getSavedCachesLocation:()Ljava/lang/String;
invokestatic org.apache.cassandra.io.util.FileUtils.getCanonicalPath:(Ljava/lang/String;)Ljava/lang/String;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
4: .line 354
aload 2 /* nonSSTablePaths */
invokestatic org.apache.cassandra.config.DatabaseDescriptor.getHintsDirectory:()Ljava/io/File;
invokestatic org.apache.cassandra.io.util.FileUtils.getCanonicalPath:(Ljava/io/File;)Ljava/lang/String;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
5: .line 356
new org.apache.cassandra.service.StartupChecks$9$1
dup
aload 0 /* this */
aload 1 /* invalid */
aload 2 /* nonSSTablePaths */
invokespecial org.apache.cassandra.service.StartupChecks$9$1.<init>:(Lorg/apache/cassandra/service/StartupChecks$9;Ljava/util/Set;Ljava/util/Set;)V
astore 3 /* sstableVisitor */
start local 3 // java.nio.file.FileVisitor sstableVisitor
6: .line 386
invokestatic org.apache.cassandra.config.DatabaseDescriptor.getAllDataFileLocations:()[Ljava/lang/String;
dup
astore 7
arraylength
istore 6
iconst_0
istore 5
goto 13
StackMap locals: org.apache.cassandra.service.StartupChecks$9 java.util.Set java.util.Set java.nio.file.FileVisitor top int int java.lang.String[]
StackMap stack:
7: aload 7
iload 5
aaload
astore 4 /* dataDir */
start local 4 // java.lang.String dataDir
8: .line 390
aload 4 /* dataDir */
iconst_0
anewarray java.lang.String
invokestatic java.nio.file.Paths.get:(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path;
aload 3 /* sstableVisitor */
invokestatic java.nio.file.Files.walkFileTree:(Ljava/nio/file/Path;Ljava/nio/file/FileVisitor;)Ljava/nio/file/Path;
pop
9: .line 391
goto 12
10: .line 392
StackMap locals: org.apache.cassandra.service.StartupChecks$9 java.util.Set java.util.Set java.nio.file.FileVisitor java.lang.String int int java.lang.String[]
StackMap stack: java.io.IOException
astore 8 /* e */
start local 8 // java.io.IOException e
11: .line 394
new org.apache.cassandra.exceptions.StartupException
dup
iconst_3
ldc "Unable to verify sstable files on disk"
aload 8 /* e */
invokespecial org.apache.cassandra.exceptions.StartupException.<init>:(ILjava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 8 // java.io.IOException e
end local 4 // java.lang.String dataDir
12: .line 386
StackMap locals: org.apache.cassandra.service.StartupChecks$9 java.util.Set java.util.Set java.nio.file.FileVisitor top int int java.lang.String[]
StackMap stack:
iinc 5 1
StackMap locals:
StackMap stack:
13: iload 5
iload 6
if_icmplt 7
14: .line 398
aload 1 /* invalid */
invokeinterface java.util.Set.isEmpty:()Z
ifne 20
15: .line 399
new org.apache.cassandra.exceptions.StartupException
dup
iconst_3
16: .line 400
ldc "Detected unreadable sstables %s, please check NEWS.txt and ensure that you have upgraded through all required intermediate versions, running upgradesstables"
iconst_1
anewarray java.lang.Object
dup
iconst_0
17: .line 404
ldc ","
invokestatic com.google.common.base.Joiner.on:(Ljava/lang/String;)Lcom/google/common/base/Joiner;
aload 1 /* invalid */
invokevirtual com.google.common.base.Joiner.join:(Ljava/lang/Iterable;)Ljava/lang/String;
aastore
18: .line 400
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
19: .line 399
invokespecial org.apache.cassandra.exceptions.StartupException.<init>:(ILjava/lang/String;)V
athrow
20: .line 406
StackMap locals: org.apache.cassandra.service.StartupChecks$9 java.util.Set java.util.Set java.nio.file.FileVisitor
StackMap stack:
return
end local 3 // java.nio.file.FileVisitor sstableVisitor
end local 2 // java.util.Set nonSSTablePaths
end local 1 // java.util.Set invalid
end local 0 // org.apache.cassandra.service.StartupChecks$9 this
LocalVariableTable:
Start End Slot Name Signature
0 21 0 this Lorg/apache/cassandra/service/StartupChecks$9;
1 21 1 invalid Ljava/util/Set<Ljava/lang/String;>;
2 21 2 nonSSTablePaths Ljava/util/Set<Ljava/lang/String;>;
6 21 3 sstableVisitor Ljava/nio/file/FileVisitor<Ljava/nio/file/Path;>;
8 12 4 dataDir Ljava/lang/String;
11 12 8 e Ljava/io/IOException;
Exception table:
from to target type
8 9 10 Class java.io.IOException
Exceptions:
throws org.apache.cassandra.exceptions.StartupException
}
SourceFile: "StartupChecks.java"
EnclosingMethod: org.apache.cassandra.service.StartupChecks
NestHost: org.apache.cassandra.service.StartupChecks
InnerClasses:
org.apache.cassandra.service.StartupChecks$9
org.apache.cassandra.service.StartupChecks$9$1