https://linen.dev logo
#contributing-to-airbyte
Title
# contributing-to-airbyte
j

Jeremy Branham

10/10/2021, 4:33 PM
Anyone else get this error when trying to build? Seems like a gradle problem...
Copy code
* What went wrong:
An exception occurred applying plugin request [id: 'airbyte-docker']
> Failed to apply plugin 'airbyte-docker'.
   > A problem occurred starting process 'command 'docker''
docker
is on my path -
Copy code
$ which docker
/usr/local/bin/docker
A little more stack trace -
Copy code
Caused by: org.gradle.api.internal.plugins.PluginApplicationException: Failed to apply plugin 'airbyte-docker'.
        at ...
        ... 250 more
Caused by: org.gradle.process.internal.ExecException: A problem occurred starting process 'command 'docker''
        at ...
Caused by: net.rubygrapefruit.platform.NativeException: Could not start 'docker'
        at ...
Caused by: java.io.IOException: Cannot run program "docker" (in directory "/Users/me/git/airbyte/airbyte/airbyte-cli"): error=2, No such file or directory
        at net.rubygrapefruit.platform.internal.DefaultProcessLauncher.start(DefaultProcessLauncher.java:25)
        ... 7 more
Caused by: java.io.IOException: error=2, No such file or directory
        ... 8 more
u

user

10/10/2021, 4:39 PM
I just switched from
adoptjdk
to
openjdk
- and it worked. 🤔
u

user

10/10/2021, 9:31 PM
Still struggling with this one. Using
openjdk@1.14.0-1
will build from CLI, but IDE experience is not great. Tried 2 different versions of Eclipse. If I hack the eclipse .ini and run with the latest Temurin JDK, I can modify the gradle jvm to
openjdk@1.14.0-1
, but still get this error when trying to import the project -
Copy code
Caused by: org.gradle.api.internal.plugins.PluginApplicationException: Failed to apply plugin 'airbyte-docker'.
...
Caused by: org.gradle.process.internal.ExecException: Process 'command 'docker'' finished with non-zero exit value 1
	at...
AirbyteDockerPlugin$_apply_closure8.doCall(precompiled_AirbyteDocker:173)
	at AirbyteDockerPlugin$_apply_closure8.doCall(precompiled_AirbyteDocker)
With Intellij, I can import the project, but it doesn't sync any gradle config changes [I'm not experienced with Idea - so I may be doing something wrong] Also tried vscode, but it doesn't successfully identify some dependencies, and so links to source files are broken, and errors are incorrectly shown 😞
u

user

10/10/2021, 9:33 PM
Any tips would be greatly appreciated - Like, which versions do you use successfully? Jdk, IDE, Docker
u

user

10/10/2021, 11:13 PM
I just noticed a little tiny elephant in the top right corner of intellij 😅 - so I can refresh the gradle changes now.
u

user

10/12/2021, 2:52 PM
You need to have docker running if you're on Mac! Also your user need permission to spin up docker containers 😃
6 Views