How to learn druid code

26 views
Skip to first unread message

LITA LITA

unread,
Mar 24, 2022, 6:07:24 AMMar 24
to Druid User
Hi Druid,
How to learn druid code,is there any docs or guide?
i want to know from the basic segment to the service,but i have no idea where to begin.

Message has been deleted

LITA LITA

unread,
Mar 24, 2022, 6:39:18 AMMar 24
to Druid User
another question

when I run the code org.apache.druid.segment.SegmentUtilsTest#testVersionBin from the source 0.22.1(git clone from github)
public void testVersionBin() throws Exception
{
File dir = tempFolder.newFolder();
FileUtils.writeByteArrayToFile(new File(dir, "version.bin"), Ints.toByteArray(9));
Assert.assertEquals(9, SegmentUtils.getVersionFromDir(dir));
}


error occur:
E:\source\druid-druid-0.22.1\core\src\main\java\org\apache\druid\math\expr\ExprListenerImpl.java:29:40
java: package org.apache.druid.math.expr.antlr does not exist

1648117927.jpg

i do not edit any code ,why the package antlr missing?

Mark Herrera

unread,
Mar 24, 2022, 2:26:17 PMMar 24
to Druid User
Hello,

There are docs, several tutorials, Druid University, and there are community members in the Apache Druid Slack Workspace who build Druid from source. I've taken the liberty of inviting you into that workspace.

Does this help get you started on your journey?

Best,

Mark

ben....@imply.io

unread,
Mar 24, 2022, 2:54:19 PMMar 24
to Druid User

Didip Kerabat

unread,
Jun 14, 2022, 10:44:30 AMJun 14
to Druid User
You are likely misconfigured your development environment. Make sure your JAVA_HOME is configured correctly and make sure the language server inside your IDE is running correctly.
Reply all
Reply to author
Forward
0 new messages