1. 程式人生 > >Cobar介紹及配置

Cobar介紹及配置

你好,我按照上面配置好後執行cobar後提示下列錯誤:1、執行介面只顯示log4j:WARN 2013-08-02 10:11:11 [] load completed 2、在stdout.log中顯示10:19:46,767 INFO ===============================================10:19:46,767 INFO Cobar is ready to startup ...10:19:46,767 INFO Startup processors ...10:19:46,876 INFO Startup connector ...10:19:46,892 INFO Initialize dataNodes ...10:19:46,892 WARN dnTest1:0 init error.java.util.concurrent.ExecutionException: java.lang.ArrayIndexOutOfBoundsException: 65at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:232)at java.util.concurrent.FutureTask.get(FutureTask.java:91)at com.alibaba.cobar.mysql.bio.MySQLChannel.connect(MySQLChannel.java:185)at com.alibaba.cobar.mysql.MySQLDataSource.getChannel(MySQLDataSource.java:159)at com.alibaba.cobar.mysql.MySQLDataNode.initSource(MySQLDataNode.java:357)at com.alibaba.cobar.mysql.MySQLDataNode.init(MySQLDataNode.java:78)at com.alibaba.cobar.CobarServer.startup(CobarServer.java:124)at com.alibaba.cobar.CobarStartup.main(CobarStartup.java:36)Caused by: java.lang.ArrayIndexOutOfBoundsException: 65at com.alibaba.cobar.mysql.MySQLMessage.readUB4(MySQLMessage.java:91)at com.alibaba.cobar.net.mysql.HandshakePacket.read(HandshakePacket.java:64)at com.alibaba.cobar.mysql.bio.MySQLChannel.handshake(MySQLChannel.java:324)at com.alibaba.cobar.mysql.bio.MySQLChannel.access$000(MySQLChannel.java:66)at com.alibaba.cobar.mysql.bio.MySQLChannel$1.call(MySQLChannel.java:180)at com.alibaba.cobar.mysql.bio.MySQLChannel$1.call(MySQLChannel.java:176)at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)at java.util.concurrent.FutureTask.run(FutureTask.java:138)at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)at java.lang.Thread.run(Thread.java:619)10:19:46,908 ERROR #!Cobar#dnTest1 init failure10:19:46,908 WARN dnTest3:0 init error.java.util.concurrent.ExecutionException: java.lang.ArrayIndexOutOfBoundsException: 65at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:232)at java.util.concurrent.FutureTask.get(FutureTask.java:91)at com.alibaba.cobar.mysql.bio.MySQLChannel.connect(MySQLChannel.java:185)at com.alibaba.cobar.mysql.MySQLDataSource.getChannel(MySQLDataSource.java:159)at com.alibaba.cobar.mysql.MySQLDataNode.initSource(MySQLDataNode.java:357)at com.alibaba.cobar.mysql.MySQLDataNode.init(MySQLDataNode.java:78)at com.alibaba.cobar.CobarServer.startup(CobarServer.java:124)at com.alibaba.cobar.CobarStartup.main(CobarStartup.java:36)Caused by: java.lang.ArrayIndexOutOfBoundsException: 65at com.alibaba.cobar.mysql.MySQLMessage.readUB4(MySQLMessage.java:91)at com.alibaba.cobar.net.mysql.HandshakePacket.read(HandshakePacket.java:64)at com.alibaba.cobar.mysql.bio.MySQLChannel.handshake(MySQLChannel.java:324)at com.alibaba.cobar.mysql.bio.MySQLChannel.access$000(MySQLChannel.java:66)at com.alibaba.cobar.mysql.bio.MySQLChannel$1.call(MySQLChannel.java:180)at com.alibaba.cobar.mysql.bio.MySQLChannel$1.call(MySQLChannel.java:176)at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)at java.util.concurrent.FutureTask.run(FutureTask.java:138)at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)at java.lang.Thread.run(Thread.java:619)10:19:46,908 ERROR #!Cobar#dnTest3 init failure10:19:46,908 WARN dnTest2:0 init error.java.util.concurrent.ExecutionException: java.lang.ArrayIndexOutOfBoundsException: 65at java.util.concurrent.FutureTask$Sync.innerGet(FutureTask.java:232)at java.util.concurrent.FutureTask.get(FutureTask.java:91)at com.alibaba.cobar.mysql.bio.MySQLChannel.connect(MySQLChannel.java:185)at com.alibaba.cobar.mysql.MySQLDataSource.getChannel(MySQLDataSource.java:159)at com.alibaba.cobar.mysql.MySQLDataNode.initSource(MySQLDataNode.java:357)at com.alibaba.cobar.mysql.MySQLDataNode.init(MySQLDataNode.java:78)at com.alibaba.cobar.CobarServer.startup(CobarServer.java:124)at com.alibaba.cobar.CobarStartup.main(CobarStartup.java:36)Caused by: java.lang.ArrayIndexOutOfBoundsException: 65at com.alibaba.cobar.mysql.MySQLMessage.readUB4(MySQLMessage.java:91)at com.alibaba.cobar.net.mysql.HandshakePacket.read(HandshakePacket.java:64)at com.alibaba.cobar.mysql.bio.MySQLChannel.handshake(MySQLChannel.java:324)at com.alibaba.cobar.mysql.bio.MySQLChannel.access$000(MySQLChannel.java:66)at com.alibaba.cobar.mysql.bio.MySQLChannel$1.call(MySQLChannel.java:180)at com.alibaba.cobar.mysql.bio.MySQLChannel$1.call(MySQLChannel.java:176)at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)at java.util.concurrent.FutureTask.run(FutureTask.java:138)at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)at java.lang.Thread.run(Thread.java:619)10:19:46,908 ERROR #!Cobar#dnTest2 init failure10:19:46,908 INFO CobarManager is started and listening on 906610:19:46,908 INFO CobarServer is started and listening on 806610:19:46,908 INFO ===============================================10:19:46,939 INFO [thread=Processor1-H0,class=ServerConnection,host=192.168.16.209,port=2690,schema=null]

'HEARTBEAT_USER' login success