hi everyone can i building datahub in windows os ?
# getting-started
g
hi everyone can i building datahub in windows os ?
l
are you trying to compile from source or are you trying to run quickstart?
g
i want compile from source
l
These steps should work on Windows also
please take a look and let us know
g
i was trying to this document then i got this error
Copy code
datahub$ gradle build
To honour the JVM settings for this build a new JVM will be forked. Please consider using the daemon: <https://docs.gradle.org/6.7/userguide/gradle_daemon.html>.
Daemon will be stopped at the end of the build stopping after processing
Configuration on demand is an incubating feature.
> Task :metadata-models-ext:changedFilesReport FAILED

> Task :li-utils:generateDataTemplate
There are 24 data schema input files. Using input root folder: /mnt/c/INTERPARK/datahub/li-utils/src/main/pegasus
[main] INFO com.linkedin.pegasus.generator.PegasusDataTemplateGenerator - Generating 24 files

> Task :metadata-models-generator:compileJava
Note: /mnt/c/INTERPARK/datahub/metadata-models-generator/src/main/java/com/linkedin/metadata/generator/SchemaAnnotationRetriever.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':metadata-models-ext:changedFilesReport'.
> You must declare outputs or use `TaskOutputs.upToDateWhen()` when using the incremental task API

BUILD FAILED in 58s
6 actionable tasks: 6 executed
l
what does the following command return?
Copy code
java --version
g
Copy code
datahub$ java -version                                                                                                                                                                             
openjdk version "1.8.0_272"
OpenJDK Runtime Environment (build 1.8.0_272-8u272-b10-0ubuntu1~18.04-b10)
OpenJDK 64-Bit Server VM (build 25.272-b10, mixed mode)
l
@green-football-43791 can you please help?
g
What version of gradle are you running?
I'm on 5.6.4- from googling around this may be due to an old gradle version
g
i am using 6.6 gradle
g
ah- i see
Copy code
Declaring an incremental task without declaring outputs is now an error. Declare file outputs or use TaskOutputs.upToDateWhen() instead.
can you try downgrading to 5.6.4 and see if that works?
g
thank you ! i trying to downgrading gradle version : )
g
@gifted-arm-43579 did that help?
g
@green-football-43791 thank you! clear this error but i was not success build on windows os if it was possible to datahub source build on windows ?