class org.apache.cassandra.service.StartupChecks$12 implements org.apache.cassandra.service.StartupCheck
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.cassandra.service.StartupChecks$12
super_class: java.lang.Object
{
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/cassandra/service/StartupChecks$12;
public void execute();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=4, args_size=1
start local 0 0: ldc "cassandra.ignore_rack"
invokestatic java.lang.Boolean.getBoolean:(Ljava/lang/String;)Z
ifne 7
1: invokestatic org.apache.cassandra.db.SystemKeyspace.getRack:()Ljava/lang/String;
astore 1
start local 1 2: aload 1
ifnull 7
3: invokestatic org.apache.cassandra.config.DatabaseDescriptor.getEndpointSnitch:()Lorg/apache/cassandra/locator/IEndpointSnitch;
invokestatic org.apache.cassandra.utils.FBUtilities.getBroadcastAddress:()Ljava/net/InetAddress;
invokeinterface org.apache.cassandra.locator.IEndpointSnitch.getRack:(Ljava/net/InetAddress;)Ljava/lang/String;
astore 2
start local 2 4: aload 1
aload 2
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 7
5: ldc "Cannot start node if snitch's rack (%s) differs from previous rack (%s). Please fix the snitch configuration, decommission and rebootstrap this node or use the flag -Dcassandra.ignore_rack=true."
astore 3
start local 3 6: new org.apache.cassandra.exceptions.StartupException
dup
bipush 100
aload 3
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
dup
iconst_1
aload 1
aastore
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokespecial org.apache.cassandra.exceptions.StartupException.<init>:(ILjava/lang/String;)V
athrow
end local 3 end local 2 end local 1 7: StackMap locals:
StackMap stack:
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/apache/cassandra/service/StartupChecks$12;
2 7 1 storedRack Ljava/lang/String;
4 7 2 currentRack Ljava/lang/String;
6 7 3 formatMessage Ljava/lang/String;
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$12