Pick of the Week at Nebula Graph - Import data from Neo4J or JanusGraph to Nebula Graph

Steam
2020-08-28

Pick of the Week

Normally the weekly issue covers Nebula Graph Updates and Community Q&As. If something major happens, it will also be covered in the additional Events of the Week section.

Events of the Week

  1. Nebula Graph was invited to the TNP Database Conference.

TheNextPlatform is a future-oriented technology platform that delivers cutting-edge technology to tech-decision makers like CIOs and senior architects. Nebula Graph, as a representative of open-source distributed Graph Database technology, was invited to the Database Event online conference hosted by the platform. Sherman Ye, founder and CEO of VESoft, which is the commercial entity behind Nebula Graph, spoke with TheNextPlaform about the value of graph databases to enterprises. Database experts from Google, MongoDB, OmniSci, and other vendors also attended the conference.

  1. Nebula Graph supports importing data from Neo4J or JanusGraph.

Nebula Graph Exchange (formerly known as Spark Writer) now supports importing data from Neo4j and JanusGraph to Nebula Graph. After connecting to Neo4j/JanusGraph, run the following command to import data with Nebula Graph Exchange.

$SPARK_HOME/bin/spark-submit --class com.vesoft.nebula.tools.importer.Exchange --master "local[10]" target/exchange-1.0.1.jar -c /path/to/conf/neo4j_application.conf

Nebula Graph will provide specific guides in its official documents about the principles and configurations.

Nebula Graph Updates

The updates of Nebula in the last week:

• Fixed an issue where scanVertex and scanEdge get no return after configuring enable_multi_versions. For more information, see https://github.com/vesoft-inc/nebula/pull/2312.

• Fixed an issue where USE SPACE and FIND PATH could not be used together in some cases. For more information, see https://github.com/vesoft-inc/nebula/pull/2303.

• Fixed an issue where a task to create a snapshot could be triggered by accident. For more information, see https://github.com/vesoft-inc/nebula/pull/2316.

Community Q&A

Q: How to install Nebula Graph without connecting to the Internet?

A: If you cannot connect to the Internet while compiling the Nebula Graph source code, you have to manually download the required tools and dependencies in advance, including the GCC compiler in the Nebula Graph repository, third-party libraries, and CMake. Then, copy all these to your host. You can find the step-by-step instructions below.

  1. Download the following files on a host that can connect to the Internet.

Although we use the command line to demonstrate, you can download these files through a browser.

a. Download GCC

  1. For RedHat or CentOS users:
$ wget https://oss-cdn.nebula-graph.com.cn/toolset/vesoft-gcc-7.5.0-CentOS-x86_64-glibc-2.12.sh
  1. For Debian or Ubuntu users:
$ wget https://oss-cdn.nebula-graph.com.cn/toolset/vesoft-gcc-7.5.0-Debian-x86_64-glibc-2.13.sh

b. Download CMake.

$ wget https://cmake.org/files/v3.15/cmake-3.15.5-Linux-x86_64.sh

c. Download third-party libraries.

$ wget https://oss-cdn.nebula-graph.com.cn/third-party/vesoft-third-party-x86_64-libc-2.12-gcc-7.5.0-abi-11.sh
  1. Copy the preceding packages to your host that cannot connect to the Internet.

  2. Install GCC.

  • For RedHat or CentOS users:
$ sudo bash vesoft-gcc-7.5.0-CentOS-x86_64-glibc-2.12.sh
  • For Debian or Ubuntu users:
$ sudo bash vesoft-gcc-7.5.0-Debian-x86_64-glibc-2.13.sh
  1. Enable GCC
$ source /opt/vesoft/toolset/gcc/7.5.0/enable
  1. Install CMake
$ sudo bash cmake-3.15.5-Linux-x86_64.sh --skip-license --prefix=/opt/vesoft/toolset/cmake
  1. Add the bin directory of CMake to the PATH.
$ export PATH=/opt/vesoft/toolset/cmake:$PATH
  1. Install third-party libraries.
$ sudo bash vesoft-third-party-x86_64-libc-2.12-gcc-7.5.0-abi-11.sh

Recommendation for You

Performance Comparison: Neo4j vs Nebula Graph vs JanusGraph

The Tencent Cloud team made a multi-dimensional comparison among three of the most popular open-source graph databases. The analysis is of great value and may be quite useful for you.

Previous Pick of the Week

  1. Release of Studio v1.1.0-beta
  2. Performance Testing Report Comparing Nebula Graph with Other Graph DBMSs
  3. PRs to Improve Performance and Stability of Nebula Graph
Like what we do ? Star us on GitHub. https://github.com/vesoft-inc/nebula