Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] docker fe启动无法访问端口 #45151

Open
2 of 3 tasks
helxm opened this issue Dec 7, 2024 · 2 comments
Open
2 of 3 tasks

[Bug] docker fe启动无法访问端口 #45151

helxm opened this issue Dec 7, 2024 · 2 comments

Comments

@helxm
Copy link

helxm commented Dec 7, 2024

Search before asking

  • I had searched in the issues and found no similar issues.

Version

2.1.7-bin-x64

What's Wrong?

fe_1 | 2024-12-07T09:30:16+00:00 [Warn] [Entrypoint]: FE_SERVERS fe1:192.168.31.169:9010
fe_1 | 2024-12-07T09:30:16+00:00 [Warn] [Entrypoint]: FE_ID 1
fe_1 | 2024-12-07T09:30:16+00:00 [Note] [Entrypoint]: FE_IP_ARRAY = [192.168.31.169]
fe_1 | 2024-12-07T09:30:16+00:00 [Note] [Entrypoint]: FE_EDIT_LOG_PORT_ARRAY = [9010]
fe_1 | 2024-12-07T09:30:16+00:00 [Note] [Entrypoint]: MASTER_FE = 192.168.31.169:9010
fe_1 | 2024-12-07T09:30:16+00:00 [Note] [Entrypoint]: CURRENT_FE = 192.168.31.169:9010
fe_1 | 2024-12-07T09:30:16+00:00 [Note] [Entrypoint]: PRIORITY_NETWORKS = 192.168.31.0/24
fe_1 | 2024-12-07T09:30:16+00:00 [Note] [Entrypoint]: Current FE is Master FE! No need check fe status!
fe_1 | 2024-12-07T09:30:16+00:00 [Note] [Entrypoint]: the image is exsit!
fe_1 | 2024-12-07T09:30:17+00:00 [Note] [Entrypoint]: the priority_networks values is 192.168.31.0/24
fe_1 | 2024-12-07T09:30:17+00:00 [Note] [Entrypoint]: the conf file path is /opt/apache-doris/fe/conf/fe.conf
fe_1 | 2024-12-07T09:30:17+00:00 [Note] [Entrypoint]: start add_priority_networks
fe_1 | 2024-12-07T09:30:17+00:00 [Note] [Entrypoint]: add priority_networks 192.168.31.0/24 to /opt/apache-doris/fe/conf/fe.conf
fe_1 | 2024-12-07T09:30:17+00:00 [Note] [Entrypoint]: Current FE is Master FE! No need to register again!
fe_1 | 2024-12-07T09:30:17+00:00 [Note] [Entrypoint]: Current FE is Master FE! No need check fe status!
fe_1 | 2024-12-07T09:30:17+00:00 [Note] [Entrypoint]: Ready to start CURRENT_FE!
fe_1 | /opt/apache-doris/fe/bin/init_fe.sh: line 470: [: ==: unary operator expected
fe_1 | StdoutLogger 2024-12-07 09:30:19,530 using java version 8
fe_1 | StdoutLogger 2024-12-07 09:30:19,537 -Dfile.encoding=UTF-8 -Djavax.security.auth.useSubjectCredsOnly=false -Xss4m -Xmx8192m -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:MaxGCPauseMillis=200 -XX:+PrintGCDateStamps -XX:+PrintGCDetails -Xloggc:/opt/apache-doris/fe/log/fe.gc.log.20241207-093017 -Dlog4j2.formatMsgNoLookups=true
fe_1 | StdoutLogger 2024-12-07 09:30:19,844 start time: Sat Dec 7 09:30:19 UTC 2024
fe_1 | StdoutLogger 2024-12-07 09:31:41,094 =====
fe_1 |
fe_1 |
fe_1 |
fe_1 |
fe_1 |
fe_1 |
fe_1 |
fe_1 | RuntimeLogger %d{yyyy-MM-dd HH:mm:ss,SSS} %p (%t|%tid) [%C{1}.%M():%L] %m%n
fe_1 |
fe_1 |
fe_1 |
fe_1 |
fe_1 | AuditLogger %d{yyyy-MM-dd HH:mm:ss,SSS} [%c{1}] %m%n
fe_1 |
fe_1 |
fe_1 |
fe_1 |
fe_1 | RuntimeLogger %d{yyyy-MM-dd HH:mm:ss,SSS} %p (%t|%tid) [%C{1}.%M():%L] %m%n
fe_1 |
fe_1 |
fe_1 |
fe_1 |
fe_1 |
fe_1 |
fe_1 |
fe_1 |
fe_1 |
fe_1 |
fe_1 |
fe_1 |
fe_1 |
fe_1 |
fe_1 | RuntimeLogger %d{yyyy-MM-dd HH:mm:ss,SSS} %p (%t|%tid) [%C{1}.%M():%L] %m%n
fe_1 |
fe_1 |
fe_1 |
fe_1 |
fe_1 |
fe_1 |
fe_1 |
fe_1 |
fe_1 |
fe_1 |
fe_1 |
fe_1 |
fe_1 |
fe_1 |
fe_1 | AuditLogger %d{yyyy-MM-dd HH:mm:ss,SSS} [%c{1}] %m%n
fe_1 |
fe_1 |
fe_1 |
fe_1 |
fe_1 |
fe_1 |
fe_1 |
fe_1 |
fe_1 |
fe_1 |
fe_1 |
fe_1 |
fe_1 |
fe_1 |
fe_1 |
fe_1 |
fe_1 |
fe_1 |
fe_1 |
fe_1 |
fe_1 |
fe_1 |
fe_1 |
fe_1 |
fe_1 |
fe_1 |
fe_1 |
fe_1 |
fe_1 |
fe_1 |
fe_1 |
fe_1 | =====
fe_1 | ==============================
fe_1 | RuntimeLogger 2024-12-07 09:31:44,863 INFO (main|1) [DorisFE.start():167] Doris FE starting...
fe_1 | RuntimeLogger 2024-12-07 09:31:45,074 INFO (main|1) [FrontendOptions.analyzePriorityCidrs():194] configured prior_cidrs value: 192.168.31.0/24
fe_1 | RuntimeLogger 2024-12-07 09:31:45,149 INFO (main|1) [FrontendOptions.initAddrUseIp():101] local address: /192.168.31.169.
fe_1 | RuntimeLogger 2024-12-07 09:31:46,376 ERROR (main|1) [Util.report():128] SLF4J: Class path contains multiple SLF4J bindings.
fe_1 | RuntimeLogger 2024-12-07 09:31:46,392 ERROR (main|1) [Util.report():128] SLF4J: Found binding in [jar:file:/opt/apache-doris/fe/lib/slf4j-reload4j-1.7.36.jar!/org/slf4j/impl/StaticLoggerBinder.class]
fe_1 | RuntimeLogger 2024-12-07 09:31:46,408 ERROR (main|1) [Util.report():128] SLF4J: Found binding in [jar:file:/opt/apache-doris/fe/lib/log4j-slf4j-impl-2.18.0.jar!/org/slf4j/impl/StaticLoggerBinder.class]
fe_1 | RuntimeLogger 2024-12-07 09:31:46,409 ERROR (main|1) [Util.report():128] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
fe_1 | RuntimeLogger 2024-12-07 09:31:46,746 ERROR (main|1) [Util.report():128] SLF4J: Actual binding is of type [org.slf4j.impl.Reload4jLoggerFactory]
fe_1 | RuntimeLogger 2024-12-07 09:31:49,740 ERROR (main|1) [LogLog.warn():157] log4j:WARN No appenders could be found for logger (io.netty.util.internal.InternalThreadLocalMap).
fe_1 | RuntimeLogger 2024-12-07 09:31:49,741 ERROR (main|1) [LogLog.warn():157] log4j:WARN Please initialize the log4j system properly.
fe_1 | RuntimeLogger 2024-12-07 09:31:49,742 ERROR (main|1) [LogLog.warn():157] log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
fe_1 | RuntimeLogger 2024-12-07 09:31:50,218 INFO (main|1) [ConsistencyChecker.initWorkTime():105] consistency checker will work from 23:00 to 23:00
fe_1 | RuntimeLogger 2024-12-07 09:31:57,929 INFO (main|1) [PrivTable.addEntry():89] add priv entry: Node_priv,Admin_priv
fe_1 | RuntimeLogger 2024-12-07 09:31:57,930 INFO (main|1) [PrivTable.addEntry():89] add priv entry: Admin_priv
fe_1 | RuntimeLogger 2024-12-07 09:31:58,349 INFO (main|1) [PrivTable.addEntry():89] add priv entry: database privilege.ctl: internal, db: information_schema, priv: Select_priv
fe_1 | RuntimeLogger 2024-12-07 09:31:58,350 INFO (main|1) [PrivTable.addEntry():89] add priv entry: database privilege.ctl: internal, db: mysql, priv: Select_priv
fe_1 | RuntimeLogger 2024-12-07 09:31:58,351 INFO (main|1) [PrivTable.addEntry():89] add priv entry: origWorkloadGroup:normal, priv:Usage_priv
fe_1 | RuntimeLogger 2024-12-07 09:31:58,352 INFO (main|1) [Auth.createUserInternal():503] finished to create user: 'root'@'%', is replay: true
fe_1 | RuntimeLogger 2024-12-07 09:31:58,353 INFO (main|1) [PrivTable.addEntry():89] add priv entry: database privilege.ctl: internal, db: information_schema, priv: Select_priv
fe_1 | RuntimeLogger 2024-12-07 09:31:58,356 INFO (main|1) [PrivTable.addEntry():89] add priv entry: database privilege.ctl: internal, db: mysql, priv: Select_priv
fe_1 | RuntimeLogger 2024-12-07 09:31:58,357 INFO (main|1) [PrivTable.addEntry():89] add priv entry: origWorkloadGroup:normal, priv:Usage_priv
fe_1 | RuntimeLogger 2024-12-07 09:31:58,357 INFO (main|1) [Auth.createUserInternal():503] finished to create user: 'admin'@'%', is replay: true
fe_1 | RuntimeLogger 2024-12-07 09:31:58,372 INFO (main|1) [AuthenticatorManager.():42] authenticate type: DEFAULT
fe_1 | RuntimeLogger 2024-12-07 09:31:59,770 INFO (main|1) [MTMVService.registerHook():69] registerHook: MTMVJobManager
fe_1 | RuntimeLogger 2024-12-07 09:31:59,770 INFO (main|1) [MTMVService.registerHook():69] registerHook: MTMVRelationManager
fe_1 | RuntimeLogger 2024-12-07 09:31:59,994 INFO (main|1) [Env.getSelfHostPort():1392] get self node: HostInfo{host='192.168.31.169', port=9010}
fe_1 | RuntimeLogger 2024-12-07 09:31:59,994 INFO (main|1) [Env.getHelperNodes():1446] get helper nodes: [HostInfo{host='192.168.31.169', port=9010}]
fe_1 | RuntimeLogger 2024-12-07 09:32:00,098 INFO (main|1) [Env.getClusterIdAndRole():1317] finished to get cluster id: 300926441, isElectable: true, role: FOLLOWER and node name: fe_e4d8af06_583d_47ab_b0f2_ae8abb6692a7
fe_1 | RuntimeLogger 2024-12-07 09:32:00,422 INFO (main|1) [Env.loadImage():1980] image does not exist: /opt/apache-doris/fe/doris-meta/image/image.0
fe_1 | RuntimeLogger 2024-12-07 09:32:16,985 WARN (UNKNOWN fe_e4d8af06_583d_47ab_b0f2_ae8abb6692a7(-1)|1) [Env.notifyNewFETypeTransfer():2699] notify new FE type transfer: UNKNOWN
fe_1 | RuntimeLogger 2024-12-07 09:32:16,986 INFO (UNKNOWN fe_e4d8af06_583d_47ab_b0f2_ae8abb6692a7(-1)|1) [LogUtils.stdout():50] StdoutLogger 2024-12-07 09:32:16,986 notify new FE type transfer: UNKNOWN
fe_1 | RuntimeLogger 2024-12-07 09:32:17,073 INFO (stateListener|83) [Env$5.runOneCycle():2722] begin to transfer FE type from INIT to UNKNOWN
fe_1 | RuntimeLogger 2024-12-07 09:32:17,092 INFO (stateListener|83) [Env$5.runOneCycle():2809] finished to transfer FE type to UNKNOWN
fe_1 | RuntimeLogger 2024-12-07 09:32:17,172 INFO (UNKNOWN fe_e4d8af06_583d_47ab_b0f2_ae8abb6692a7(-1)|1) [Env.waitForReady():1102] wait catalog to be ready. feType:UNKNOWN isReady:false, counter:1 reason:
fe_1 | RuntimeLogger 2024-12-07 09:32:27,270 INFO (UNKNOWN fe_e4d8af06_583d_47ab_b0f2_ae8abb6692a7(-1)|1) [Env.waitForReady():1102] wait catalog to be ready. feType:UNKNOWN isReady:false, counter:101 reason:
fe_1 | RuntimeLogger 2024-12-07 09:32:37,370 INFO (UNKNOWN fe_e4d8af06_583d_47ab_b0f2_ae8abb6692a7(-1)|1) [Env.waitForReady():1102] wait catalog to be ready. feType:UNKNOWN isReady:false, counter:201 reason:
fe_1 | RuntimeLogger 2024-12-07 09:32:47,453 INFO (UNKNOWN fe_e4d8af06_583d_47ab_b0f2_ae8abb6692a7(-1)|1) [Env.waitForReady():1102] wait catalog to be ready. feType:UNKNOWN isReady:false, counter:301 reason:
fe_1 | RuntimeLogger 2024-12-07 09:32:57,520 INFO (UNKNOWN fe_e4d8af06_583d_47ab_b0f2_ae8abb6692a7(-1)|1) [Env.waitForReady():1102] wait catalog to be ready. feType:UNKNOWN isReady:false, counter:401 reason:
fe_1 | RuntimeLogger 2024-12-07 09:33:07,577 INFO (UNKNOWN fe_e4d8af06_583d_47ab_b0f2_ae8abb6692a7(-1)|1) [Env.waitForReady():1102] wait catalog to be ready. feType:UNKNOWN isReady:false, counter:501 reason:
fe_1 | RuntimeLogger 2024-12-07 09:33:17,628 INFO (UNKNOWN fe_e4d8af06_583d_47ab_b0f2_ae8abb6692a7(-1)|1) [Env.waitForReady():1102] wait catalog to be ready. feType:UNKNOWN isReady:false, counter:601 reason

What You Expected?

9010和9030端口都未监听,没有启动成功?

How to Reproduce?

No response

Anything Else?

No response

Are you willing to submit PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@ixzc
Copy link
Contributor

ixzc commented Dec 11, 2024

yes, you didn't start successfully.
wait catalog to be ready. feType:UNKNOWN isReady:false, counter:601 reason
how many FE nodes do you have?

@helxm
Copy link
Author

helxm commented Dec 14, 2024

@ixzc only one node

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants