You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "leryn1122 (via GitHub)" <gi...@apache.org> on 2023/07/04 07:46:51 UTC

[GitHub] [doris] leryn1122 opened a new issue, #21479: [Problem]

leryn1122 opened a new issue, #21479:
URL: https://github.com/apache/doris/issues/21479

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### Version
   
   v1.2.5 from Aliyun CDN
   
   ### What's Wrong?
   
   A single FE instance was installed but failed to restart, where the FE log told:
   
   ```log
   2023-07-04 14:56:07,619 INFO (UNKNOWN 10.74.16.2_9010_1688453756005(-1)|1) [BDBEnvironment.setup():162] add helper[10.74.16.2:9010] as ReplicationGroupAdmin
   2023-07-04 14:56:07,619 WARN (UNKNOWN 10.74.16.2_9010_1688453756005(-1)|1) [Env.notifyNewFETypeTransfer():2377] notify new FE type transfer: UNKNOWN
   [2023-07-04 14:56:07] notify new FE type transfer: UNKNOWN
   2023-07-04 14:56:07,620 ERROR (UNKNOWN 10.74.16.2_9010_1688453756005(-1)|1) [BDBEnvironment.setup():201] error to open replicated environment. will exit.
   com.sleepycat.je.rep.ReplicaWriteException: (JE 18.3.12) Problem closing transaction 20. The current state is:UNKNOWN. The node transitioned to this state at:Tue Jul 04 14:56:02 CST 2023
           at com.sleepycat.je.rep.txn.ReadonlyTxn.disallowReplicaWrite(ReadonlyTxn.java:114) ~[je-18.3.14-doris-SNAPSHOT.jar:18.3.14-doris-SNAPSHOT]
           at com.sleepycat.je.dbi.DbTree.checkReplicaWrite(DbTree.java:880) ~[je-18.3.14-doris-SNAPSHOT.jar:18.3.14-doris-SNAPSHOT]
           at com.sleepycat.je.dbi.DbTree.doCreateDb(DbTree.java:579) ~[je-18.3.14-doris-SNAPSHOT.jar:18.3.14-doris-SNAPSHOT]
           at com.sleepycat.je.dbi.DbTree.createDb(DbTree.java:486) ~[je-18.3.14-doris-SNAPSHOT.jar:18.3.14-doris-SNAPSHOT]
           at com.sleepycat.je.Database.initNew(Database.java:174) ~[je-18.3.14-doris-SNAPSHOT.jar:18.3.14-doris-SNAPSHOT]
           at com.sleepycat.je.Environment.setupDatabase(Environment.java:864) ~[je-18.3.14-doris-SNAPSHOT.jar:18.3.14-doris-SNAPSHOT]
           at com.sleepycat.je.Environment.openDatabase(Environment.java:668) ~[je-18.3.14-doris-SNAPSHOT.jar:18.3.14-doris-SNAPSHOT]
           at org.apache.doris.journal.bdbje.BDBEnvironment.setup(BDBEnvironment.java:182) ~[doris-fe.jar:1.2-SNAPSHOT]
           at org.apache.doris.journal.bdbje.BDBJEJournal.open(BDBJEJournal.java:303) ~[doris-fe.jar:1.2-SNAPSHOT]
           at org.apache.doris.persist.EditLog.open(EditLog.java:1038) ~[doris-fe.jar:1.2-SNAPSHOT]
           at org.apache.doris.catalog.Env.initialize(Env.java:863) ~[doris-fe.jar:1.2-SNAPSHOT]
           at org.apache.doris.PaloFe.start(PaloFe.java:138) ~[doris-fe.jar:1.2-SNAPSHOT]
           at org.apache.doris.PaloFe.main(PaloFe.java:73) ~[doris-fe.jar:1.2-SNAPSHOT]
   ```
   
   `doris-meta/image/ROLE` shows below. I suppose it should be `Leader` maybe?
   
   ```
   #Tue Jul 04 14:55:56 CST 2023
   name=10.74.16.2_9010_1688453756005
   role=FOLLOWER
   ```
   
   `doris-meta/image/VERSION` shows:
   
   ```
   #Tue Jul 04 14:55:56 CST 2023
   token=6110227e-beb0-45c0-92f7-7b835a1f2952
   clusterId=569363313
   ```
   
   It successed starting in early stages. After I removed the data and added `lower_case_table_names` and done reinitialization, it failed to restart.
   3 BE instances were running, but not added to FE yet BTW.
   
   Configuration:
   
   env: test
   os: kylin
   arch: x86_64
   version: doris-1.2.5
   jdk version: 1.8
   cluster: 1 FE / 3BEs
   
   `conf/be.conf` differs from default, see blow:
   
   ```ini
   JAVA_HOME="$(cd -P "$(dirname $(readlink -f $(which java)))/.." && pwd || exit 1)"
   LOG_DIR = /opt/doris-log
   meta_dir = /opt/doris-meta
   priority_networks = 10.74.16.0/2
   lower_case_table_names = 1
   ```
   
   Try:
   
   I've skim the FAQ and issues but nothing found.
   I tries to  reboot FE (and os) / remove leftover meta & log / stop BE instances (not added to FE yet).
   
   ### What You Expected?
   
   Run a cluster consisted of 1 FE and 3 BEs as expected.
   
   ### How to Reproduce?
   
   See above.
   
   ### Anything Else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


[GitHub] [doris] leryn1122 closed issue #21479: [Problem] notify new FE type transfer

Posted by "leryn1122 (via GitHub)" <gi...@apache.org>.
leryn1122 closed issue #21479: [Problem] notify new FE type transfer
URL: https://github.com/apache/doris/issues/21479


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


Re: [I] [Problem] notify new FE type transfer [doris]

Posted by "kekekekekeshi (via GitHub)" <gi...@apache.org>.
kekekekekeshi commented on issue #21479:
URL: https://github.com/apache/doris/issues/21479#issuecomment-2044979916

   fe  | [2024-04-09 12:00:56] notify new FE type transfer: UNKNOWN
   fe  | 2024-04-09 12:00:56,194 INFO (stateListener|74) [Env$4.runOneCycle():2435] begin to transfer FE type from INIT to UNKNOWN
   fe  | 2024-04-09 12:00:56,195 INFO (stateListener|74) [Env$4.runOneCycle():2522] finished to transfer FE type to UNKNOWN
   fe  | 2024-04-09 12:00:56,299 INFO (UNKNOWN fe_b82dcf2f_a950_4d71_bdbd_310fd9297e77(-1)|1) [Env.waitForReady():948] wait catalog to be ready. FE type: UNKNOWN. is ready: false, counter: 1
   fe  | 2024-04-09 12:00:58,336 INFO (UNKNOWN fe_b82dcf2f_a950_4d71_bdbd_310fd9297e77(-1)|1) [Env.waitForReady():948] wait catalog to be ready. FE type: UNKNOWN. is ready: false, counter: 21
   fe  | 2024-04-09 12:01:00,374 INFO (UNKNOWN fe_b82dcf2f_a950_4d71_bdbd_310fd9297e77(-1)|1) [Env.waitForReady():948] wait catalog to be ready. FE type: UNKNOWN. is ready: false, counter: 41
   fe  | 2024-04-09 12:01:02,404 INFO (UNKNOWN fe_b82dcf2f_a950_4d71_bdbd_310fd9297e77(-1)|1) [Env.waitForReady():948] wait catalog to be ready. FE type: UNKNOWN. is ready: false, counter: 61
   fe  | 2024-04-09 12:01:04,442 INFO (UNKNOWN fe_b82dcf2f_a950_4d71_bdbd_310fd9297e77(-1)|1) [Env.waitForReady():948] wait catalog to be ready. FE type: UNKNOWN. is ready: false, counter: 81
   fe  | 2024-04-09 12:01:06,477 INFO (UNKNOWN fe_b82dcf2f_a950_4d71_bdbd_310fd9297e77(-1)|1) [Env.waitForReady():948] wait catalog to be ready. FE type: UNKNOWN. is ready: false, counter: 101
   fe  | 2024-04-09 12:01:08,512 INFO (UNKNOWN fe_b82dcf2f_a950_4d71_bdbd_310fd9297e77(-1)|1) [Env.waitForReady():948] wait catalog to be ready. FE type: UNKNOWN. is ready: false, counter: 121
   fe  | 2024-04-09 12:01:10,550 INFO (UNKNOWN fe_b82dcf2f_a950_4d71_bdbd_310fd9297e77(-1)|1) [Env.waitForReady():948] wait catalog to be ready. FE type: UNKNOWN. is ready: false, counter: 141
   fe  | 2024-04-09 12:01:12,586 INFO (UNKNOWN fe_b82dcf2f_a950_4d71_bdbd_310fd9297e77(-1)|1) [Env.waitForReady():948] wait catalog to be ready. FE type: UNKNOWN. is ready: false, counter: 161
   be  | 2024-04-09T12:01:14+00:00 [Note] [Entrypoint]: Register BE to FE is failed. retry.
   fe  | 2024-04-09 12:01:14,616 INFO (UNKNOWN fe_b82dcf2f_a950_4d71_bdbd_310fd9297e77(-1)|1) [Env.waitForReady():948] wait catalog to be ready. FE type: UNKNOWN. is ready: false, counter: 181
   fe  | 2024-04-09 12:01:16,655 INFO (UNKNOWN fe_b82dcf2f_a950_4d71_bdbd_310fd9297e77(-1)|1) [Env.waitForReady():948] wait catalog to be ready. FE type: UNKNOWN. is ready: false, counter: 201
   fe  | 2024-04-09 12:01:18,689 INFO (UNKNOWN fe_b82dcf2f_a950_4d71_bdbd_310fd9297e77(-1)|1) [Env.waitForReady():948] wait catalog to be ready. FE type: UNKNOWN. is ready: false, counter: 221
   fe  | 2024-04-09 12:01:20,730 INFO (UNKNOWN fe_b82dcf2f_a950_4d71_bdbd_310fd9297e77(-1)|1) [Env.waitForReady():948] wait catalog to be ready. FE type: UNKNOWN. is ready: false, counter: 241
   fe  | 2024-04-09 12:01:22,768 INFO (UNKNOWN fe_b82dcf2f_a950_4d71_bdbd_310fd9297e77(-1)|1) [Env.waitForReady():948] wait catalog to be ready. FE type: UNKNOWN. is ready: false, counter: 261
   fe  | 2024-04-09 12:01:24,811 INFO (UNKNOWN fe_b82dcf2f_a950_4d71_bdbd_310fd9297e77(-1)|1) [Env.waitForReady():948] wait catalog to be ready. FE type: UNKNOWN. is ready: false, counter: 281
   fe  | 2024-04-09 12:01:26,846 INFO (UNKNOWN fe_b82dcf2f_a950_4d71_bdbd_310fd9297e77(-1)|1) [Env.waitForReady():948] wait catalog to be ready. FE type: UNKNOWN. is ready: false, counter: 301
   fe  | 2024-04-09 12:01:28,888 INFO (UNKNOWN fe_b82dcf2f_a950_4d71_bdbd_310fd9297e77(-1)|1) [Env.waitForReady():948] wait catalog to be ready. FE type: UNKNOWN. is ready: false, counter: 321
   fe  | 2024-04-09 12:01:30,938 INFO (UNKNOWN fe_b82dcf2f_a950_4d71_bdbd_310fd9297e77(-1)|1) [Env.waitForReady():948] wait catalog to be ready. FE type: UNKNOWN. is ready: false, counter: 341
   fe  | 2024-04-09 12:01:32,985 INFO (UNKNOWN fe_b82dcf2f_a950_4d71_bdbd_310fd9297e77(-1)|1) [Env.waitForReady():948] wait catalog to be ready. FE type: UNKNOWN. is ready: false, counter: 361
   be  | 2024-04-09T12:01:34+00:00 [Note] [Entrypoint]: Register BE to FE is failed. retry.
   fe  | 2024-04-09 12:01:35,005 INFO (UNKNOWN fe_b82dcf2f_a950_4d71_bdbd_310fd9297e77(-1)|1) [Env.waitForReady():948] wait catalog to be ready. FE type: UNKNOWN. is ready: false, counter: 381
   fe  | 2024-04-09 12:01:37,032 INFO (UNKNOWN fe_b82dcf2f_a950_4d71_bdbd_310fd9297e77(-1)|1) [Env.waitForReady():948] wait catalog to be ready. FE type: UNKNOWN. is ready: false, counter: 401
   fe  | 2024-04-09 12:01:39,071 INFO (UNKNOWN fe_b82dcf2f_a950_4d71_bdbd_310fd9297e77(-1)|1) [Env.waitForReady():948] wait catalog to be ready. FE type: UNKNOWN. is ready: false, counter: 421
   fe  | 2024-04-09 12:01:41,118 INFO (UNKNOWN fe_b82dcf2f_a950_4d71_bdbd_310fd9297e77(-1)|1) [Env.waitForReady():948] wait catalog to be ready. FE type: UNKNOWN. is ready: false, counter: 441
   fe  | 2024-04-09 12:01:43,164 INFO (UNKNOWN fe_b82dcf2f_a950_4d71_bdbd_310fd9297e77(-1)|1) [Env.waitForReady():948] wait catalog to be ready. FE type: UNKNOWN. is ready: false, counter: 461
   fe  | 2024-04-09 12:01:45,193 INFO (UNKNOWN fe_b82dcf2f_a950_4d71_bdbd_310fd9297e77(-1)|1) [Env.waitForReady():948] wait catalog to be ready. FE type: UNKNOWN. is ready: false, counter: 481
   fe  | 2024-04-09 12:01:47,228 INFO (UNKNOWN fe_b82dcf2f_a950_4d71_bdbd_310fd9297e77(-1)|1) [Env.waitForReady():948] wait catalog to be ready. FE type: UNKNOWN. is ready: false, counter: 501
   fe  | 2024-04-09 12:01:49,265 INFO (UNKNOWN fe_b82dcf2f_a950_4d71_bdbd_310fd9297e77(-1)|1) [Env.waitForReady():948] wait catalog to be ready. FE type: UNKNOWN. is ready: false, counter: 521
   fe  | 2024-04-09 12:01:51,296 INFO (UNKNOWN fe_b82dcf2f_a950_4d71_bdbd_310fd9297e77(-1)|1) [Env.waitForReady():948] wait catalog to be ready. FE type: UNKNOWN. is ready: false, counter: 541
   fe  | 2024-04-09 12:01:53,340 INFO (UNKNOWN fe_b82dcf2f_a950_4d71_bdbd_310fd9297e77(-1)|1) [Env.waitForReady():948] wait catalog to be ready. FE type: UNKNOWN. is ready: false, counter: 561
   fe  | 2024-04-09 12:01:55,392 INFO (UNKNOWN fe_b82dcf2f_a950_4d71_bdbd_310fd9297e77(-1)|1) [Env.waitForReady():948] wait catalog to be ready. FE type: UNKNOWN. is ready: false, counter: 581
   be  | 2024-04-09T12:01:55+00:00 [Note] [Entrypoint]: Register BE to FE is failed. retry.
   fe  | 2024-04-09 12:01:57,425 INFO (UNKNOWN fe_b82dcf2f_a950_4d71_bdbd_310fd9297e77(-1)|1) [Env.waitForReady():948] wait catalog to be ready. FE type: UNKNOWN. is ready: false, counter: 601
   fe  | 2024-04-09 12:01:59,469 INFO (UNKNOWN fe_b82dcf2f_a950_4d71_bdbd_310fd9297e77(-1)|1) [Env.waitForReady():948] wait catalog to be ready. FE type: UNKNOWN. is ready: false, counter: 621
   fe  | 2024-04-09 12:02:01,506 INFO (UNKNOWN fe_b82dcf2f_a950_4d71_bdbd_310fd9297e77(-1)|1) [Env.waitForReady():948] wait catalog to be ready. FE type: UNKNOWN. is ready: false, counter: 641
   fe  | 2024-04-09 12:02:03,550 INFO (UNKNOWN fe_b82dcf2f_a950_4d71_bdbd_310fd9297e77(-1)|1) [Env.waitForReady():948] wait catalog to be ready. FE type: UNKNOWN. is ready: false, counter: 661
   fe  | 2024-04-09 12:02:05,577 INFO (UNKNOWN fe_b82dcf2f_a950_4d71_bdbd_310fd9297e77(-1)|1) [Env.waitForReady():948] wait catalog to be ready. FE type: UNKNOWN. is ready: false, counter: 681
   fe  | 2024-04-09 12:02:07,610 INFO (UNKNOWN fe_b82dcf2f_a950_4d71_bdbd_310fd9297e77(-1)|1) [Env.waitForReady():948] wait catalog to be ready. FE type: UNKNOWN. is ready: false, counter: 701
   fe  | 2024-04-09 12:02:09,648 INFO (UNKNOWN fe_b82dcf2f_a950_4d71_bdbd_310fd9297e77(-1)|1) [Env.waitForReady():948] wait catalog to be ready. FE type: UNKNOWN. is ready: false, counter: 721
   fe  | 2024-04-09 12:02:11,692 INFO (UNKNOWN fe_b82dcf2f_a950_4d71_bdbd_310fd9297e77(-1)|1) [Env.waitForReady():948] wait catalog to be ready. FE type: UNKNOWN. is ready: false, counter: 741
   fe  | 2024-04-09 12:02:13,729 INFO (UNKNOWN fe_b82dcf2f_a950_4d71_bdbd_310fd9297e77(-1)|1) [Env.waitForReady():948] wait catalog to be ready. FE type: UNKNOWN. is ready: false, counter: 761
   fe  | 2024-04-09 12:02:15,764 INFO (UNKNOWN fe_b82dcf2f_a950_4d71_bdbd_310fd9297e77(-1)|1) [Env.waitForReady():948] wait catalog to be ready. FE type: UNKNOWN. is ready: false, counter: 781
   be  | 2024-04-09T12:02:15+00:00 [Note] [Entrypoint]: Register BE to FE is failed. retry.
   fe  | 2024-04-09 12:02:17,806 INFO (UNKNOWN fe_b82dcf2f_a950_4d71_bdbd_310fd9297e77(-1)|1) [Env.waitForReady():948] wait catalog to be ready. FE type: UNKNOWN. is ready: false, counter: 801
   fe  | 2024-04-09 12:02:19,840 INFO (UNKNOWN fe_b82dcf2f_a950_4d71_bdbd_310fd9297e77(-1)|1) [Env.waitForReady():948] wait catalog to be ready. FE type: UNKNOWN. is ready: false, counter: 821
   fe  | 2024-04-09 12:02:21,878 INFO (UNKNOWN fe_b82dcf2f_a950_4d71_bdbd_310fd9297e77(-1)|1) [Env.waitForReady():948] wait catalog to be ready. FE type: UNKNOWN. is ready: false, counter: 841
   fe  | 2024-04-09 12:02:23,914 INFO (UNKNOWN fe_b82dcf2f_a950_4d71_bdbd_310fd9297e77(-1)|1) [Env.waitForReady():948] wait catalog to be ready. FE type: UNKNOWN. is ready: false, counter: 861
   
   然而我的是这样的,这个是怎么了
   
   
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


[GitHub] [doris] stalary commented on issue #21479: [Problem] notify new FE type transfer

Posted by "stalary (via GitHub)" <gi...@apache.org>.
stalary commented on issue #21479:
URL: https://github.com/apache/doris/issues/21479#issuecomment-1620275308

   Leader alse ROLE=FOLLOWER in doris-meta/image/ROLE, this no problem.
   Are you first start this cluster or upgrade?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


[GitHub] [doris] leryn1122 commented on issue #21479: [Problem] notify new FE type transfer

Posted by "leryn1122 (via GitHub)" <gi...@apache.org>.
leryn1122 commented on issue #21479:
URL: https://github.com/apache/doris/issues/21479#issuecomment-1620940578

   Solved. Yes, first start new cluster, but I tried to reinitialize the cluster.
   
   I reviewed issues related again today, it was found root cause is that my cooporation's vm template had inapproriate disk partitions in data dir in size of ~10G only. I've noticed SA to extend the volume.
   
   However I don't why it started succussfully in the first time before reconfiguring `lower_case_table_names`.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org