JianwenSun created KAFKA-4470:
---------------------------------
Summary: Exception (java.lang.RuntimeException) encountered during
startup: org.codehaus.jackson.JsonParseException:
Key: KAFKA-4470
URL: https://issues.apache.org/jira/browse/KAFKA-4470
Project: Kafka
Issue Type: Bug
Reporter: JianwenSun
upgrade 2.1.13 to 3.9 error.
we upgrade 1.2.4 thrift tables to 2.1.13 without any problems, but when upgrade
to higher 3.x it looks something wrong.
any help?
[root@bj-dev-infra-001 cassandra]# apache-cassandra-3.9/bin/cassandra -R -f
CompilerOracle: dontinline
org/apache/cassandra/db/Columns$Serializer.deserializeLargeSubset
(Lorg/apache/cassandra/io/util/DataInputPlus;Lorg/apache/cassandra/db/Columns;I)Lorg/apache/cassandra/db/Columns;
CompilerOracle: dontinline
org/apache/cassandra/db/Columns$Serializer.serializeLargeSubset
(Ljava/util/Collection;ILorg/apache/cassandra/db/Columns;ILorg/apache/cassandra/io/util/DataOutputPlus;)V
CompilerOracle: dontinline
org/apache/cassandra/db/Columns$Serializer.serializeLargeSubsetSize
(Ljava/util/Collection;ILorg/apache/cassandra/db/Columns;I)I
CompilerOracle: dontinline
org/apache/cassandra/db/transform/BaseIterator.tryGetMoreContents ()Z
CompilerOracle: dontinline
org/apache/cassandra/db/transform/StoppingTransformation.stop ()V
CompilerOracle: dontinline
org/apache/cassandra/db/transform/StoppingTransformation.stopInPartition ()V
CompilerOracle: dontinline
org/apache/cassandra/io/util/BufferedDataOutputStreamPlus.doFlush (I)V
CompilerOracle: dontinline
org/apache/cassandra/io/util/BufferedDataOutputStreamPlus.writeExcessSlow ()V
CompilerOracle: dontinline
org/apache/cassandra/io/util/BufferedDataOutputStreamPlus.writeSlow (JI)V
CompilerOracle: dontinline
org/apache/cassandra/io/util/RebufferingInputStream.readPrimitiveSlowly (I)J
CompilerOracle: inline
org/apache/cassandra/db/rows/UnfilteredSerializer.serializeRowBody
(Lorg/apache/cassandra/db/rows/Row;ILorg/apache/cassandra/db/SerializationHeader;Lorg/apache/cassandra/io/util/DataOutputPlus;)V
CompilerOracle: inline org/apache/cassandra/io/util/Memory.checkBounds (JJ)V
CompilerOracle: inline org/apache/cassandra/io/util/SafeMemory.checkBounds (JJ)V
CompilerOracle: inline
org/apache/cassandra/utils/AsymmetricOrdering.selectBoundary
(Lorg/apache/cassandra/utils/AsymmetricOrdering/Op;II)I
CompilerOracle: inline
org/apache/cassandra/utils/AsymmetricOrdering.strictnessOfLessThan
(Lorg/apache/cassandra/utils/AsymmetricOrdering/Op;)I
CompilerOracle: inline org/apache/cassandra/utils/BloomFilter.indexes
(Lorg/apache/cassandra/utils/IFilter/FilterKey;)[J
CompilerOracle: inline org/apache/cassandra/utils/BloomFilter.setIndexes
(JJIJ[J)V
CompilerOracle: inline org/apache/cassandra/utils/ByteBufferUtil.compare
(Ljava/nio/ByteBuffer;[B)I
CompilerOracle: inline org/apache/cassandra/utils/ByteBufferUtil.compare
([BLjava/nio/ByteBuffer;)I
CompilerOracle: inline
org/apache/cassandra/utils/ByteBufferUtil.compareUnsigned
(Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)I
CompilerOracle: inline
org/apache/cassandra/utils/FastByteOperations$UnsafeOperations.compareTo
(Ljava/lang/Object;JILjava/lang/Object;JI)I
CompilerOracle: inline
org/apache/cassandra/utils/FastByteOperations$UnsafeOperations.compareTo
(Ljava/lang/Object;JILjava/nio/ByteBuffer;)I
CompilerOracle: inline
org/apache/cassandra/utils/FastByteOperations$UnsafeOperations.compareTo
(Ljava/nio/ByteBuffer;Ljava/nio/ByteBuffer;)I
CompilerOracle: inline org/apache/cassandra/utils/vint/VIntCoding.encodeVInt
(JI)[B
INFO 06:05:28 Configuration location:
file:/usr/local/cassandra/apache-cassandra-3.9/conf/cassandra.yaml
INFO 06:05:28 Node configuration:[allocate_tokens_for_keyspace=null;
authenticator=AllowAllAuthenticator; authorizer=AllowAllAuthorizer;
auto_bootstrap=true; auto_snapshot=true; batch_size_fail_threshold_in_kb=50;
batch_size_warn_threshold_in_kb=5; batchlog_replay_throttle_in_kb=1024;
broadcast_address=null; broadcast_rpc_address=null;
buffer_pool_use_heap_if_exhausted=true; cas_contention_timeout_in_ms=1000;
cdc_enabled=false; cdc_free_space_check_interval_ms=250;
cdc_raw_directory=/usr/local/cassandra/data/cdc_raw;
cdc_total_space_in_mb=null; client_encryption_options=<REDACTED>;
cluster_name=TestCluster; column_index_cache_size_in_kb=2;
column_index_size_in_kb=64; commit_failure_policy=stop;
commitlog_compression=null;
commitlog_directory=/usr/local/cassandra/data/commitlog;
commitlog_max_compression_buffers_in_pool=3; commitlog_periodic_queue_size=-1;
commitlog_segment_size_in_mb=32; commitlog_sync=periodic;
commitlog_sync_batch_window_in_ms=null; commitlog_sync_period_in_ms=10000;
commitlog_total_space_in_mb=null;
compaction_large_partition_warning_threshold_mb=100;
compaction_throughput_mb_per_sec=0; concurrent_compactors=20;
concurrent_counter_writes=32; concurrent_materialized_view_writes=32;
concurrent_reads=32; concurrent_replicates=null; concurrent_writes=32;
counter_cache_keys_to_save=2147483647; counter_cache_save_period=7200;
counter_cache_size_in_mb=null; counter_write_request_timeout_in_ms=5000;
credentials_cache_max_entries=1000; credentials_update_interval_in_ms=-1;
credentials_validity_in_ms=2000; cross_node_timeout=false;
data_file_directories=[Ljava.lang.String;@7c7a06ec; disk_access_mode=auto;
disk_failure_policy=stop; disk_optimization_estimate_percentile=0.95;
disk_optimization_page_cross_chance=0.1; disk_optimization_strategy=ssd;
dynamic_snitch=true; dynamic_snitch_badness_threshold=0.1;
dynamic_snitch_reset_interval_in_ms=600000;
dynamic_snitch_update_interval_in_ms=100;
enable_scripted_user_defined_functions=false;
enable_user_defined_functions=false;
enable_user_defined_functions_threads=true; encryption_options=null;
endpoint_snitch=SimpleSnitch; file_cache_size_in_mb=null;
gc_log_threshold_in_ms=200; gc_warn_threshold_in_ms=1000;
hinted_handoff_disabled_datacenters=[]; hinted_handoff_enabled=true;
hinted_handoff_throttle_in_kb=1024; hints_compression=null;
hints_directory=/usr/local/cassandra/data/hints;
hints_flush_period_in_ms=10000; incremental_backups=false; index_interval=null;
index_summary_capacity_in_mb=null; index_summary_resize_interval_in_minutes=60;
initial_token=null; inter_dc_stream_throughput_outbound_megabits_per_sec=200;
inter_dc_tcp_nodelay=false; internode_authenticator=null;
internode_compression=dc; internode_recv_buff_size_in_bytes=null;
internode_send_buff_size_in_bytes=null; key_cache_keys_to_save=2147483647;
key_cache_save_period=14400; key_cache_size_in_mb=null;
listen_address=10.129.8.112; listen_interface=null;
listen_interface_prefer_ipv6=false; listen_on_broadcast_address=false;
max_hint_window_in_ms=10800000; max_hints_delivery_threads=2;
max_hints_file_size_in_mb=128; max_mutation_size_in_kb=null;
max_streaming_retries=3; max_value_size_in_mb=256;
memtable_allocation_type=heap_buffers; memtable_cleanup_threshold=null;
memtable_flush_writers=1; memtable_heap_space_in_mb=null;
memtable_offheap_space_in_mb=null; min_free_space_per_drive_in_mb=50;
native_transport_max_concurrent_connections=-1;
native_transport_max_concurrent_connections_per_ip=-1;
native_transport_max_frame_size_in_mb=256; native_transport_max_threads=128;
native_transport_port=10042; native_transport_port_ssl=null; num_tokens=1;
otc_coalescing_strategy=TIMEHORIZON; otc_coalescing_window_us=200;
partitioner=org.apache.cassandra.dht.RandomPartitioner;
permissions_cache_max_entries=1000; permissions_update_interval_in_ms=-1;
permissions_validity_in_ms=2000; phi_convict_threshold=8.0;
prepared_statements_cache_size_mb=null; range_request_timeout_in_ms=10000;
read_request_timeout_in_ms=5000;
request_scheduler=org.apache.cassandra.scheduler.NoScheduler;
request_scheduler_id=null; request_scheduler_options=null;
request_timeout_in_ms=10000; role_manager=CassandraRoleManager;
roles_cache_max_entries=1000; roles_update_interval_in_ms=-1;
roles_validity_in_ms=2000;
row_cache_class_name=org.apache.cassandra.cache.OHCProvider;
row_cache_keys_to_save=2147483647; row_cache_save_period=0;
row_cache_size_in_mb=0; rpc_address=10.129.8.112; rpc_interface=null;
rpc_interface_prefer_ipv6=false; rpc_keepalive=true; rpc_listen_backlog=50;
rpc_max_threads=2147483647; rpc_min_threads=16; rpc_port=10160;
rpc_recv_buff_size_in_bytes=null; rpc_send_buff_size_in_bytes=null;
rpc_server_type=sync;
saved_caches_directory=/usr/local/cassandra/data/saved_caches;
seed_provider=org.apache.cassandra.locator.SimpleSeedProvider{seeds=10.129.8.112,10.129.8.113};
server_encryption_options=<REDACTED>; snapshot_before_compaction=false;
ssl_storage_port=8001; sstable_preemptive_open_interval_in_mb=50;
start_native_transport=true; start_rpc=true; storage_port=8000;
stream_throughput_outbound_megabits_per_sec=200;
streaming_socket_timeout_in_ms=86400000; thrift_framed_transport_size_in_mb=15;
thrift_max_message_length_in_mb=16;
thrift_prepared_statements_cache_size_mb=null;
tombstone_failure_threshold=100000; tombstone_warn_threshold=1000;
tracetype_query_ttl=86400; tracetype_repair_ttl=604800;
transparent_data_encryption_options=org.apache.cassandra.config.TransparentDataEncryptionOptions@75d4a5c2;
trickle_fsync=false; trickle_fsync_interval_in_kb=10240;
truncate_request_timeout_in_ms=60000;
unlogged_batch_across_partitions_warn_threshold=10;
user_defined_function_fail_timeout=1500;
user_defined_function_warn_timeout=500; user_function_timeout_policy=die;
windows_timer_interval=1; write_request_timeout_in_ms=2000]
INFO 06:05:28 DiskAccessMode 'auto' determined to be mmap, indexAccessMode is
mmap
INFO 06:05:28 Global memtable on-heap threshold is enabled at 1996MB
INFO 06:05:28 Global memtable off-heap threshold is enabled at 1996MB
WARN 06:05:28 Only 26.195GiB free across all data volumes. Consider adding
more capacity to your cluster or removing obsolete snapshots
INFO 06:05:28 Hostname: bj-dev-infra-001
INFO 06:05:28 JVM vendor/version: Java HotSpot(TM) 64-Bit Server VM/1.8.0_40
INFO 06:05:28 Heap size: 7.800GiB/7.800GiB
INFO 06:05:28 Code Cache Non-heap memory: init = 2555904(2496K) used =
7580224(7402K) committed = 7602176(7424K) max = 251658240(245760K)
INFO 06:05:28 Metaspace Non-heap memory: init = 0(0K) used = 16333112(15950K)
committed = 16777216(16384K) max = -1(-1K)
INFO 06:05:28 Compressed Class Space Non-heap memory: init = 0(0K) used =
1994384(1947K) committed = 2097152(2048K) max = 1073741824(1048576K)
INFO 06:05:28 Par Eden Space Heap memory: init = 1718091776(1677824K) used =
309256872(302008K) committed = 1718091776(1677824K) max = 1718091776(1677824K)
INFO 06:05:28 Par Survivor Space Heap memory: init = 214695936(209664K) used =
0(0K) committed = 214695936(209664K) max = 214695936(209664K)
INFO 06:05:28 CMS Old Gen Heap memory: init = 6442450944(6291456K) used =
0(0K) committed = 6442450944(6291456K) max = 6442450944(6291456K)
INFO 06:05:28 Classpath:
apache-cassandra-3.9/bin/../conf:apache-cassandra-3.9/bin/../build/classes/main:apache-cassandra-3.9/bin/../build/classes/thrift:apache-cassandra-3.9/bin/../lib/airline-0.6.jar:apache-cassandra-3.9/bin/../lib/antlr-runtime-3.5.2.jar:apache-cassandra-3.9/bin/../lib/apache-cassandra-3.9.jar:apache-cassandra-3.9/bin/../lib/apache-cassandra-clientutil-3.9.jar:apache-cassandra-3.9/bin/../lib/apache-cassandra-thrift-3.9.jar:apache-cassandra-3.9/bin/../lib/asm-5.0.4.jar:apache-cassandra-3.9/bin/../lib/caffeine-2.2.6.jar:apache-cassandra-3.9/bin/../lib/cassandra-driver-core-3.0.1-shaded.jar:apache-cassandra-3.9/bin/../lib/commons-cli-1.1.jar:apache-cassandra-3.9/bin/../lib/commons-codec-1.2.jar:apache-cassandra-3.9/bin/../lib/commons-lang3-3.1.jar:apache-cassandra-3.9/bin/../lib/commons-math3-3.2.jar:apache-cassandra-3.9/bin/../lib/compress-lzf-0.8.4.jar:apache-cassandra-3.9/bin/../lib/concurrentlinkedhashmap-lru-1.4.jar:apache-cassandra-3.9/bin/../lib/concurrent-trees-2.4.0.jar:apache-cassandra-3.9/bin/../lib/disruptor-3.0.1.jar:apache-cassandra-3.9/bin/../lib/ecj-4.4.2.jar:apache-cassandra-3.9/bin/../lib/guava-18.0.jar:apache-cassandra-3.9/bin/../lib/HdrHistogram-2.1.9.jar:apache-cassandra-3.9/bin/../lib/high-scale-lib-1.0.6.jar:apache-cassandra-3.9/bin/../lib/hppc-0.5.4.jar:apache-cassandra-3.9/bin/../lib/jackson-core-asl-1.9.2.jar:apache-cassandra-3.9/bin/../lib/jackson-mapper-asl-1.9.2.jar:apache-cassandra-3.9/bin/../lib/jamm-0.3.0.jar:apache-cassandra-3.9/bin/../lib/javax.inject.jar:apache-cassandra-3.9/bin/../lib/jbcrypt-0.3m.jar:apache-cassandra-3.9/bin/../lib/jcl-over-slf4j-1.7.7.jar:apache-cassandra-3.9/bin/../lib/jflex-1.6.0.jar:apache-cassandra-3.9/bin/../lib/jna-4.0.0.jar:apache-cassandra-3.9/bin/../lib/joda-time-2.4.jar:apache-cassandra-3.9/bin/../lib/json-simple-1.1.jar:apache-cassandra-3.9/bin/../lib/libthrift-0.9.2.jar:apache-cassandra-3.9/bin/../lib/log4j-over-slf4j-1.7.7.jar:apache-cassandra-3.9/bin/../lib/logback-classic-1.1.3.jar:apache-cassandra-3.9/bin/../lib/logback-core-1.1.3.jar:apache-cassandra-3.9/bin/../lib/lz4-1.3.0.jar:apache-cassandra-3.9/bin/../lib/metrics-core-3.1.0.jar:apache-cassandra-3.9/bin/../lib/metrics-jvm-3.1.0.jar:apache-cassandra-3.9/bin/../lib/metrics-logback-3.1.0.jar:apache-cassandra-3.9/bin/../lib/netty-all-4.0.39.Final.jar:apache-cassandra-3.9/bin/../lib/ohc-core-0.4.3.jar:apache-cassandra-3.9/bin/../lib/ohc-core-j8-0.4.3.jar:apache-cassandra-3.9/bin/../lib/primitive-1.0.jar:apache-cassandra-3.9/bin/../lib/reporter-config3-3.0.0.jar:apache-cassandra-3.9/bin/../lib/reporter-config-base-3.0.0.jar:apache-cassandra-3.9/bin/../lib/sigar-1.6.4.jar:apache-cassandra-3.9/bin/../lib/slf4j-api-1.7.7.jar:apache-cassandra-3.9/bin/../lib/snakeyaml-1.11.jar:apache-cassandra-3.9/bin/../lib/snappy-java-1.1.1.7.jar:apache-cassandra-3.9/bin/../lib/snowball-stemmer-1.3.0.581.1.jar:apache-cassandra-3.9/bin/../lib/ST4-4.0.8.jar:apache-cassandra-3.9/bin/../lib/stream-2.5.2.jar:apache-cassandra-3.9/bin/../lib/thrift-server-0.3.7.jar:apache-cassandra-3.9/bin/../lib/jsr223/*/*.jar:apache-cassandra-3.9/bin/../lib/jamm-0.3.0.jar
INFO 06:05:28 JVM Arguments: [-Xloggc:apache-cassandra-3.9/bin/../logs/gc.log,
-ea, -XX:+UseThreadPriorities, -XX:ThreadPriorityPolicy=42,
-XX:+HeapDumpOnOutOfMemoryError, -Xss256k, -XX:StringTableSize=1000003,
-XX:+AlwaysPreTouch, -XX:-UseBiasedLocking, -XX:+UseTLAB, -XX:+ResizeTLAB,
-XX:-PerfDisableSharedMem, -Djava.net.preferIPv4Stack=true, -XX:+UseParNewGC,
-XX:+UseConcMarkSweepGC, -XX:+CMSParallelRemarkEnabled, -XX:SurvivorRatio=8,
-XX:MaxTenuringThreshold=1, -XX:CMSInitiatingOccupancyFraction=75,
-XX:+UseCMSInitiatingOccupancyOnly, -XX:CMSWaitDuration=10000,
-XX:+CMSParallelInitialMarkEnabled, -XX:+CMSEdenChunksRecordAlways,
-XX:+CMSClassUnloadingEnabled, -XX:+PrintGCDetails, -XX:+PrintGCDateStamps,
-XX:+PrintHeapAtGC, -XX:+PrintTenuringDistribution,
-XX:+PrintGCApplicationStoppedTime, -XX:+PrintPromotionFailure,
-XX:+UseGCLogFileRotation, -XX:NumberOfGCLogFiles=10, -XX:GCLogFileSize=10M,
-Xms8192M, -Xmx8192M, -Xmn2048M, -XX:+UseCondCardMark,
-XX:CompileCommandFile=apache-cassandra-3.9/bin/../conf/hotspot_compiler,
-javaagent:apache-cassandra-3.9/bin/../lib/jamm-0.3.0.jar,
-Dcassandra.jmx.remote.port=8199, -Dcom.sun.management.jmxremote.rmi.port=8199,
-Dcom.sun.management.jmxremote.authenticate=false,
-Dcom.sun.management.jmxremote.password.file=/etc/cassandra/jmxremote.password,
-Djava.library.path=apache-cassandra-3.9/bin/../lib/sigar-bin,
-Dlogback.configurationFile=logback.xml,
-Dcassandra.logdir=apache-cassandra-3.9/bin/../logs,
-Dcassandra.storagedir=apache-cassandra-3.9/bin/../data,
-Dcassandra-foreground=yes]
INFO 06:05:30 JNA mlockall successful
WARN 06:05:30 jemalloc shared library could not be preloaded to speed up
memory allocations
INFO 06:05:30 JMX is enabled to receive remote connections on port: 8199
INFO 06:05:30 Initializing SIGAR library
INFO 06:05:30 Checked OS settings and found them configured for optimal
performance.
INFO 06:05:30 Initialized prepared statement caches with 31 MB (native) and 31
MB (Thrift)
INFO 06:05:30 Initializing system.IndexInfo
INFO 06:05:31 Initializing system.batches
INFO 06:05:31 Initializing system.paxos
INFO 06:05:31 Initializing system.local
INFO 06:05:31 Global buffer pool is enabled, when pool is exhausted (max is
512.000MiB) it will allocate on heap
INFO 06:05:32 Initializing key cache with capacity of 100 MBs.
INFO 06:05:32 Initializing row cache with capacity of 0 MBs
INFO 06:05:32 Initializing counter cache with capacity of 50 MBs
INFO 06:05:32 Scheduling counter cache save to every 7200 seconds (going to
save all keys).
INFO 06:05:32 Initializing system.peers
INFO 06:05:32 Initializing system.peer_events
INFO 06:05:32 Initializing system.range_xfers
INFO 06:05:32 Initializing system.compaction_history
INFO 06:05:32 Initializing system.sstable_activity
INFO 06:05:32 Initializing system.size_estimates
INFO 06:05:32 Initializing system.available_ranges
INFO 06:05:32 Initializing system.views_builds_in_progress
INFO 06:05:32 Initializing system.built_views
INFO 06:05:32 Initializing system.hints
INFO 06:05:32 Initializing system.batchlog
INFO 06:05:32 Initializing system.schema_keyspaces
INFO 06:05:32 Initializing system.schema_columnfamilies
INFO 06:05:32 Initializing system.schema_columns
INFO 06:05:32 Initializing system.schema_triggers
INFO 06:05:32 Initializing system.schema_usertypes
INFO 06:05:32 Initializing system.schema_functions
INFO 06:05:32 Initializing system.schema_aggregates
INFO 06:05:32 Not submitting build tasks for views in keyspace system as
storage service is not initialized
INFO 06:05:32 Detected version upgrade from 2.1.13 to 3.9, snapshotting system
keyspace
INFO 06:05:32 Configured JMX server at:
service:jmx:rmi://0.0.0.0/jndi/rmi://0.0.0.0:8199/jmxrmi
Exception (java.lang.RuntimeException) encountered during startup:
org.codehaus.jackson.JsonParseException: Unexpected character ('K' (code 75)):
expected a valid value (number, String, array, object, 'true', 'false' or
'null')
at [Source: java.io.StringReader@7fd294cb; line: 1, column: 2]
java.lang.RuntimeException: org.codehaus.jackson.JsonParseException: Unexpected
character ('K' (code 75)): expected a valid value (number, String, array,
object, 'true', 'false' or 'null')
at [Source: java.io.StringReader@7fd294cb; line: 1, column: 2]
at
org.apache.cassandra.utils.FBUtilities.fromJsonMap(FBUtilities.java:607)
at
org.apache.cassandra.schema.LegacySchemaMigrator.decodeTableParams(LegacySchemaMigrator.java:476)
at
org.apache.cassandra.schema.LegacySchemaMigrator.decodeTableMetadata(LegacySchemaMigrator.java:380)
at
org.apache.cassandra.schema.LegacySchemaMigrator.readTableMetadata(LegacySchemaMigrator.java:274)
at
org.apache.cassandra.schema.LegacySchemaMigrator.readTable(LegacySchemaMigrator.java:245)
at
org.apache.cassandra.schema.LegacySchemaMigrator.lambda$readTables$7(LegacySchemaMigrator.java:238)
at
org.apache.cassandra.schema.LegacySchemaMigrator$$Lambda$118/1995834160.accept(Unknown
Source)
at java.util.ArrayList.forEach(ArrayList.java:1249)
at
org.apache.cassandra.schema.LegacySchemaMigrator.readTables(LegacySchemaMigrator.java:238)
at
org.apache.cassandra.schema.LegacySchemaMigrator.readKeyspace(LegacySchemaMigrator.java:187)
at
org.apache.cassandra.schema.LegacySchemaMigrator.lambda$readSchema$4(LegacySchemaMigrator.java:178)
at
org.apache.cassandra.schema.LegacySchemaMigrator$$Lambda$115/809820796.accept(Unknown
Source)
at java.util.ArrayList.forEach(ArrayList.java:1249)
at
org.apache.cassandra.schema.LegacySchemaMigrator.readSchema(LegacySchemaMigrator.java:178)
at
org.apache.cassandra.schema.LegacySchemaMigrator.migrate(LegacySchemaMigrator.java:78)
at
org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:254)
at
org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:601)
at
org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:730)
Caused by: org.codehaus.jackson.JsonParseException: Unexpected character ('K'
(code 75)): expected a valid value (number, String, array, object, 'true',
'false' or 'null')
at [Source: java.io.StringReader@7fd294cb; line: 1, column: 2]
at org.codehaus.jackson.JsonParser._constructError(JsonParser.java:1432)
at
org.codehaus.jackson.impl.JsonParserMinimalBase._reportError(JsonParserMinimalBase.java:385)
at
org.codehaus.jackson.impl.JsonParserMinimalBase._reportUnexpectedChar(JsonParserMinimalBase.java:306)
at
org.codehaus.jackson.impl.ReaderBasedParser._handleUnexpectedValue(ReaderBasedParser.java:1192)
at
org.codehaus.jackson.impl.ReaderBasedParser.nextToken(ReaderBasedParser.java:479)
at
org.codehaus.jackson.map.ObjectMapper._initForReading(ObjectMapper.java:2761)
at
org.codehaus.jackson.map.ObjectMapper._readMapAndClose(ObjectMapper.java:2709)
at
org.codehaus.jackson.map.ObjectMapper.readValue(ObjectMapper.java:1854)
at
org.apache.cassandra.utils.FBUtilities.fromJsonMap(FBUtilities.java:603)
... 17 more
ERROR 06:05:32 Exception encountered during startup
java.lang.RuntimeException: org.codehaus.jackson.JsonParseException: Unexpected
character ('K' (code 75)): expected a valid value (number, String, array,
object, 'true', 'false' or 'null')
at [Source: java.io.StringReader@7fd294cb; line: 1, column: 2]
at
org.apache.cassandra.utils.FBUtilities.fromJsonMap(FBUtilities.java:607)
~[apache-cassandra-3.9.jar:3.9]
at
org.apache.cassandra.schema.LegacySchemaMigrator.decodeTableParams(LegacySchemaMigrator.java:476)
~[apache-cassandra-3.9.jar:3.9]
at
org.apache.cassandra.schema.LegacySchemaMigrator.decodeTableMetadata(LegacySchemaMigrator.java:380)
~[apache-cassandra-3.9.jar:3.9]
at
org.apache.cassandra.schema.LegacySchemaMigrator.readTableMetadata(LegacySchemaMigrator.java:274)
~[apache-cassandra-3.9.jar:3.9]
at
org.apache.cassandra.schema.LegacySchemaMigrator.readTable(LegacySchemaMigrator.java:245)
~[apache-cassandra-3.9.jar:3.9]
at
org.apache.cassandra.schema.LegacySchemaMigrator.lambda$readTables$7(LegacySchemaMigrator.java:238)
~[apache-cassandra-3.9.jar:3.9]
at
org.apache.cassandra.schema.LegacySchemaMigrator$$Lambda$118/1995834160.accept(Unknown
Source) ~[na:na]
at java.util.ArrayList.forEach(ArrayList.java:1249) ~[na:1.8.0_40]
at
org.apache.cassandra.schema.LegacySchemaMigrator.readTables(LegacySchemaMigrator.java:238)
~[apache-cassandra-3.9.jar:3.9]
at
org.apache.cassandra.schema.LegacySchemaMigrator.readKeyspace(LegacySchemaMigrator.java:187)
~[apache-cassandra-3.9.jar:3.9]
at
org.apache.cassandra.schema.LegacySchemaMigrator.lambda$readSchema$4(LegacySchemaMigrator.java:178)
~[apache-cassandra-3.9.jar:3.9]
at
org.apache.cassandra.schema.LegacySchemaMigrator$$Lambda$115/809820796.accept(Unknown
Source) ~[na:na]
at java.util.ArrayList.forEach(ArrayList.java:1249) ~[na:1.8.0_40]
at
org.apache.cassandra.schema.LegacySchemaMigrator.readSchema(LegacySchemaMigrator.java:178)
~[apache-cassandra-3.9.jar:3.9]
at
org.apache.cassandra.schema.LegacySchemaMigrator.migrate(LegacySchemaMigrator.java:78)
~[apache-cassandra-3.9.jar:3.9]
at
org.apache.cassandra.service.CassandraDaemon.setup(CassandraDaemon.java:254)
[apache-cassandra-3.9.jar:3.9]
at
org.apache.cassandra.service.CassandraDaemon.activate(CassandraDaemon.java:601)
[apache-cassandra-3.9.jar:3.9]
at
org.apache.cassandra.service.CassandraDaemon.main(CassandraDaemon.java:730)
[apache-cassandra-3.9.jar:3.9]
Caused by: org.codehaus.jackson.JsonParseException: Unexpected character ('K'
(code 75)): expected a valid value (number, String, array, object, 'true',
'false' or 'null')
at [Source: java.io.StringReader@7fd294cb; line: 1, column: 2]
at
org.codehaus.jackson.JsonParser._constructError(JsonParser.java:1432)
~[jackson-core-asl-1.9.2.jar:1.9.2]
at
org.codehaus.jackson.impl.JsonParserMinimalBase._reportError(JsonParserMinimalBase.java:385)
~[jackson-core-asl-1.9.2.jar:1.9.2]
at
org.codehaus.jackson.impl.JsonParserMinimalBase._reportUnexpectedChar(JsonParserMinimalBase.java:306)
~[jackson-core-asl-1.9.2.jar:1.9.2]
at
org.codehaus.jackson.impl.ReaderBasedParser._handleUnexpectedValue(ReaderBasedParser.java:1192)
~[jackson-core-asl-1.9.2.jar:1.9.2]
at
org.codehaus.jackson.impl.ReaderBasedParser.nextToken(ReaderBasedParser.java:479)
~[jackson-core-asl-1.9.2.jar:1.9.2]
at
org.codehaus.jackson.map.ObjectMapper._initForReading(ObjectMapper.java:2761)
~[jackson-mapper-asl-1.9.2.jar:1.9.2]
at
org.codehaus.jackson.map.ObjectMapper._readMapAndClose(ObjectMapper.java:2709)
~[jackson-mapper-asl-1.9.2.jar:1.9.2]
at
org.codehaus.jackson.map.ObjectMapper.readValue(ObjectMapper.java:1854)
~[jackson-mapper-asl-1.9.2.jar:1.9.2]
at
org.apache.cassandra.utils.FBUtilities.fromJsonMap(FBUtilities.java:603)
~[apache-cassandra-3.9.jar:3.9]
... 17 common frames omitted
[root@bj-dev-infra-001 cassandra]#
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)