porsche
08/02/2022, 12:29 AMJeremy Simpson
08/12/2022, 5:24 PMHimanshu Gupta
08/26/2022, 12:37 PM0/2 nodes are available: 2 pod has unbound immediate PersistentVolumeClaims. preemption: 0/2 nodes are available: 2 Preemption is not helpful for scheduling
. after the installation, can someone please help me.Lindsay Liu
08/29/2022, 12:58 PMMunichandra Nageti
08/29/2022, 3:41 PM/home/ubuntu/nebula/src/kvstore/RocksEngine.h:11:10: fatal error: rocksdb/utilities/backupable_db.h: No such file or directory
Munichandra Nageti
09/06/2022, 10:08 PMnebula backup & restore (nebula-br)
for this cluster and as part of it, I have started the nebula-agent
daemon on the EC2 nodes associated with the EKS cluster, but when I am executing the nebula-br backup
command , it's giving an error Error: parse cluster response failed: response is not successful, code is E_LIST_CLUSTER_NO_AGENT_FAILURE
. It seems nebula-br is unable to access the nebula-agent process ? Can someone please let us know if this is the correct approach to setup the nebula-agent on kubernates environment ?Zhong TIAN
09/07/2022, 8:27 AMporsche
09/16/2022, 3:45 AMMunichandra Nageti
09/21/2022, 6:21 PMCleanup backup BACKUP_2022_09_21_18_09_25 successfully after backup failed.Error: upload file by agent failed: rpc error: code = Unknown desc = upload from /usr/local/nebula/data/meta/nebula/0/checkpoints/BACKUP_2022_09_21_18_09_25/__disk_parts__.sst to nebula-backup-restore/BACKUP_2022_09_21_18_09_25/meta/__disk_parts__.sst failed: upload from /usr/local/nebula/data/meta/nebula/0/checkpoints/BACKUP_2022_09_21_18_09_25/__disk_parts__.sst to nebula-backup-restore/BACKUP_2022_09_21_18_09_25/meta/__disk_parts__.sst failed: SerializationError: failed to unmarshal error message
status code: 405, request id: KMW29S7EGFNE1Y8X, host id: +bWJDdJCflu7yR8AgY7snKHajR4YZyvbYOD2qjuMDG82u+j9GNe9eAd7GVLmlrfrMXMrZPasqQE=
caused by: UnmarshalError: failed to unmarshal error message
00000000 3c 68 74 6d 6c 3e 0a 3c 68 65 61 64 3e 3c 74 69 |<html>.<head><ti|
00000010 74 6c 65 3e 34 30 35 20 4d 65 74 68 6f 64 20 4e |tle>405 Method N|
00000020 6f 74 20 41 6c 6c 6f 77 65 64 3c 2f 74 69 74 6c |ot Allowed</titl|
00000030 65 3e 3c 2f 68 65 61 64 3e 0a 3c 62 6f 64 79 3e |e></head>.<body>|
00000040 0a 3c 68 31 3e 34 30 35 20 4d 65 74 68 6f 64 20 |.<h1>405 Method |
00000050 4e 6f 74 20 41 6c 6c 6f 77 65 64 3c 2f 68 31 3e |Not Allowed</h1>|
00000060 0a 3c 75 6c 3e 0a 3c 6c 69 3e 43 6f 64 65 3a 20 |.<ul>.<li>Code: |
00000070 4d 65 74 68 6f 64 4e 6f 74 41 6c 6c 6f 77 65 64 |MethodNotAllowed|
00000080 3c 2f 6c 69 3e 0a 3c 6c 69 3e 4d 65 73 |</li>.<li>Mes|
caused by: expected element type <Error> but have <html>
Please note that, I am able to backup the data to local storage with the same cluster setup.wey
09/22/2022, 9:20 AMHimanshu Gupta
09/22/2022, 1:32 PM2022/09/22 13:11:50 read /home/ec2-user/nebula-importer/examples/v2/example.yaml: is a directory
Unable to find image 'vesoft/nebula-importer:latest' locally
latest: Pulling from vesoft/nebula-importer
530afca65e2e: Pull complete
d1122c77a8e7: Pull complete
Digest: sha256:e28db8b80c7c35b3fc9d0a7cb71cc52fb8dc93810bc3c70a69b50bb35de429
Status: Downloaded newer image for vesoft/nebula-importer:latest
2022/09/22 13:11:50 --- START OF NEBULA IMPORTER ---
2022/09/22 13:11:50 read /home/ec2-user/nebula-importer/examples/v2/example.yaml: is a directory
2022/09/22 13:11:51 --- END OF NEBULA IMPORTER ---
[ec2-user@ip-1 v2]$ ls -ltr
total 72
-rw-rw-r-- 1 ec2-user ec2-user 60 Sep 22 13:09 student.csv
-rw-rw-r-- 1 ec2-user ec2-user 86 Sep 22 13:09 student-with-label-and-str-vid.csv
-rw-rw-r-- 1 ec2-user ec2-user 17 Sep 22 13:09 glob-follow-2.csv
-rw-rw-r-- 1 ec2-user ec2-user 51 Sep 22 13:09 glob-follow-1.csv
-rw-rw-r-- 1 ec2-user ec2-user 465 Sep 22 13:09 geography_test.csv
-rw-rw-r-- 1 ec2-user ec2-user 68 Sep 22 13:09 follow.csv
-rw-rw-r-- 1 ec2-user ec2-user 95 Sep 22 13:09 follow-with-label.csv
-rw-rw-r-- 1 ec2-user ec2-user 109 Sep 22 13:09 follow-with-label-and-str-vid.csv
-rw-rw-r-- 1 ec2-user ec2-user 114 Sep 22 13:09 follow-with-header.csv
-rw-rw-r-- 1 ec2-user ec2-user 114 Sep 22 13:09 follow-delimiter.csv
-rw-rw-r-- 1 ec2-user ec2-user 1117 Sep 22 13:09 example_with_working_dir.yaml
-rw-rw-r-- 1 ec2-user ec2-user 140 Sep 22 13:09 date_test.csv
drwxrwxr-x 2 ec2-user ec2-user 24 Sep 22 13:09 data
-rw-rw-r-- 1 ec2-user ec2-user 163 Sep 22 13:09 course.csv
-rw-rw-r-- 1 ec2-user ec2-user 152 Sep 22 13:09 course-with-header.csv
-rw-rw-r-- 1 ec2-user ec2-user 48 Sep 22 13:09 choose.csv
-rw-rw-r-- 1 ec2-user ec2-user 10416 Sep 22 13:11 example.yaml
Munichandra Nageti
09/26/2022, 11:48 AMmy_space_1, my_space_2 and my_space_3
) and created a snapshot. Then I deleted the namespace my_space_3
and tried to restore the snapshot by copying/overwriting the folders data
and wal
in the corresponding snapshot directory to its parent directory (at the same level with checkpoints) and restarted the nebula services. But I couldn't find the deleted namespace my_space_3
after the restart. Can someone please take a look and help me with this, Thanks.
(root@nebula) [(none)]> show spaces;
+--------------+
| Name |
+--------------+
| "my_space_1" |
| "my_space_2" |
| "my_space_3" |
+--------------+
Got 3 rows (time spent 507/749 us)
Mon, 26 Sep 2022 10:59:24 UTC
(root@nebula) [(none)]> CREATE SNAPSHOT;
Execution succeeded (time spent 107299/107410 us)
Mon, 26 Sep 2022 10:59:29 UTC
(root@nebula) [(none)]> SHOW SNAPSHOTS;
+--------------------------------+---------+----------------------------------------+
| Name | Status | Hosts |
+--------------------------------+---------+----------------------------------------+
| "SNAPSHOT_2022_09_26_10_59_29" | "VALID" | "my_host_1:9779, my_host_2:9779" |
+--------------------------------+---------+----------------------------------------+
Got 1 rows (time spent 432/631 us)
(root@nebula) [(none)]> drop space my_space_3;
Execution succeeded (time spent 838/995 us)
Mon, 26 Sep 2022 11:05:40 UTC
(root@nebula) [(none)]> show spaces;
+--------------+
| Name |
+--------------+
| "my_space_1" |
| "my_space_2" |
ubuntu@my_host:/usr/local/nebula/data/storage/nebula/1/checkpoints/SNAPSHOT_2022_09_26_10_59_29$ sudo cp -r data/ wal/ ../../
cp: 'data/OPTIONS-000007' and '../../data/OPTIONS-000007' are the same file
cp: 'data/000043.sst' and '../../data/000043.sst' are the same file
cp: 'data/000045.sst' and '../../data/000045.sst' are the same file
cp: 'data/000047.sst' and '../../data/000047.sst' are the same file
cp: 'wal/2/0000000000000030206.wal' and '../../wal/2/0000000000000030206.wal' are the same file
cp: 'wal/2/0000000000000030572.wal' and '../../wal/2/0000000000000030572.wal' are the same file
cp: 'wal/2/0000000000000000381.wal' and '../../wal/2/0000000000000000381.wal' are the same file
cp: 'wal/4/0000000000000030201.wal' and '../../wal/4/0000000000000030201.wal' are the same file
ubuntu@my_host :~$sudo /usr/local/nebula/scripts/nebula.service restart all
(root@nebula) [(none)]> show spaces;
+--------------+
| Name |
+--------------+
| "my_space_1" |
| "my_space_2" |
+--------------+
Got 2 rows (time spent 471/657 us)
Munichandra Nageti
09/26/2022, 3:40 PMKasper
09/27/2022, 11:35 AMGopi Bathala
09/29/2022, 10:12 AMSơn Trần Thái
10/08/2022, 4:10 AMGoran Cvijanovic
10/08/2022, 10:39 AMSơn Trần Thái
10/09/2022, 5:37 AMGoran Cvijanovic
10/09/2022, 8:14 AMGoran Cvijanovic
10/10/2022, 1:24 PMwey
10/11/2022, 1:55 AM(root@nebula) [basketballplayer]> explain match (v:player) where v.player.name in ["Tim Duncan"] return v limit 1
Execution succeeded (time spent 940/6819 us)
Execution Plan (optimize time 328 us)
...
-----+----------------+--------------+----------------+-----------------------------------------------
| 1 | IndexScan | 2 | | outputVar: { |
| | | | | "colNames": [ |
| | | | | "_vid" |
| | | | | ], |
| | | | | "type": "DATASET", |
| | | | | "name": "__IndexScan_1" |
| | | | | } |
| | | | | inputVar: |
| | | | | space: 49 |
| | | | | dedup: false |
| | | | | limit: 9223372036854775807 |
| | | | | filter: |
| | | | | orderBy: [] |
| | | | | schemaId: 50 |
| | | | | isEdge: false |
| | | | | returnCols: [ |
| | | | | "_vid" |
| | | | | ] |
| | | | | indexCtx: [ |
| | | | | { |
| | | | | "columnHints": [], |
| | | | | "filter": "", |
| | | | | "index_id": 54 |
| | | | | } |
| | | | | ] |
-----+----------------+--------------+----------------+-----------------------------------------------
...
(root@nebula) [basketballplayer]> explain match (v:player) where v.player.name == "Tim Duncan" return v limit 1
Execution succeeded (time spent 1069/6613 us)
...
| | | | | if_track_previous_path: false |
-----+----------------+--------------+----------------+-------------------------------------------
| 8 | IndexScan | 2 | | outputVar: { |
| | | | | "colNames": [ |
| | | | | "_vid" |
| | | | | ], |
| | | | | "type": "DATASET", |
| | | | | "name": "__IndexScan_1" |
| | | | | } |
| | | | | inputVar: |
| | | | | space: 49 |
| | | | | dedup: false |
| | | | | limit: 9223372036854775807 |
| | | | | filter: |
| | | | | orderBy: [] |
| | | | | schemaId: 50 |
| | | | | isEdge: false |
| | | | | returnCols: [ |
| | | | | "_vid" |
| | | | | ] |
| | | | | indexCtx: [ |
| | | | | { |
| | | | | "columnHints": [ |
| | | | | { |
| | | | | "includeEnd": false, |
| | | | | "includeBegin": true, |
| | | | | "endValue": "__EMPTY__", |
| | | | | "beginValue": "Tim Duncan", |
| | | | | "scanType": "PREFIX", |
| | | | | "column": "name" |
| | | | | } |
| | | | | ], |
| | | | | "filter": "", |
| | | | | "index_id": 55 |
| | | | | } |
| | | | | ] |
-----+----------------+--------------+----------------+-------------------------------------------
The mitigation now is to use ==
instead of IN
I had reported this https://github.com/vesoft-inc/nebula/issues/4708
Thanks!Sơn Trần Thái
10/12/2022, 2:46 AMSơn Trần Thái
10/12/2022, 2:55 AMwey
10/12/2022, 2:57 AMwey
10/12/2022, 2:58 AMSơn Trần Thái
10/12/2022, 3:06 AMSơn Trần Thái
10/13/2022, 9:38 AMMohammad
10/16/2022, 4:39 PMGoran Cvijanovic
10/17/2022, 11:11 AMWill Droste
10/21/2022, 8:18 PMnamed
parameters in INSERT VERTX
statement from a Java client for instance
final String stmt = "INSERT VERTX player (name, age) VALUES 12323:($name, $age)";
client.executeWithParameter(stmt, Map.of("name", "Tony Parker", "age", 32);