Coder Social home page Coder Social logo

Comments (7)

imay avatar imay commented on May 12, 2024

可以把对应BE的Log贴一下还有你的建表语句

from doris.

morningman avatar morningman commented on May 12, 2024

unfinished marks: 10000=10017 ,其中 10000 是 backendId,可以通过 show proc "/backends"; 查看多赢的Backend 节点, 10017 是 tablet id,可以到10000这个backend上,查看下 be.INFO 日志中有没有关于 10017 这个 tablet 的错误信息。

from doris.

Knuth1989 avatar Knuth1989 commented on May 12, 2024

1)mysql> show proc "/backends";
*************************** 1. row ***************************
Cluster: example_cluster
BackendId: 10000
IP: 192.168.1.31
HostName: slave2
HeartbeatPort: 9050
BePort: 9060
HttpPort: 8040
LastStartTime: 2017-09-11 10:44:17
LastHeartbeat: 2017-09-11 11:01:47
Alive: true
SystemDecommissioned: false
ClusterDecommissioned: false
TabletNum: 40
1 row in set (0.01 sec)

2)be日志
W0911 10:59:53.233541 5449 utils.cpp:136] master client, get client from cache failed.host: 192.168.122.1, port: 9020, code: 7
W0911 10:59:53.233600 5449 task_worker_pool.cpp:276] finish task failed.result: 0
CREATE TABLE table1
(
siteid INT DEFAULT '10',
citycode SMALLINT,
username VARCHAR(32) DEFAULT '',
pv BIGINT SUM DEFAULT '0'
)
AGGREGATE KEY(siteid, citycode, username)
DISTRIBUTED BY HASH(siteid) BUCKETS 10
PROPERTIES("replication_num" = "1");
W0911 10:59:54.274317 5449 utils.cpp:136] master client, get client from cache failed.host: 192.168.122.1, port: 9020, code: 7
I0911 10:59:57.256597 5448 task_worker_pool.cpp:236] type: 0, signature: 10017 has been erased. queue size: 3
I0911 10:59:57.256640 5448 command_executor.cpp:245] begin to process create table. [tablet=10023, schema_hash=1421156361]

日志里一直报master client, get client from cache failed.host: 192.168.122.1,而我的fe节点是192.168.1.32

3)用8月16号预编译版本,可以成功建表,而且日志为
I0905 16:04:13.935012 5817 heartbeat_server.cpp:58] get heartbeat, host: 192.168.1.32, port: 9020, cluster id: 918677695,连接的是192.168.1.32 ,正常

from doris.

morningman avatar morningman commented on May 12, 2024

"用8月16号预编译版本,可以成功建表" 是什么意思?你报错的这个是什么版本?

from doris.

Knuth1989 avatar Knuth1989 commented on May 12, 2024

报错的是我自己编译的版本

from doris.

morningman avatar morningman commented on May 12, 2024

方便加下微信么?morningman-cmy

from doris.

Knuth1989 avatar Knuth1989 commented on May 12, 2024

感谢解决问题,解决方法:
1)ifconfig 看到
virbr0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 192.168.122.1 netmask 255.255.255.0 broadcast 192.168.122.255
2)日志里一直报master client, get client from cache failed.host: 192.168.122.1,将这个virbr0删除,重启fe即可

from doris.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.