Git Product home page Git Product logo

Comments (15)

tiboun avatar tiboun commented on June 18, 2024 1

Hi @cedrickab , I just tried to launch starlake.cmd and it works fine on my laptop.

Can you tell me where do you launch this command from ? You should do it in a cmd not a powershell terminal.

Please add jq in your path as well if you plan to fetch the latest version automatically or else set COMET_VERSION to the version you want. The list of starlake's version are available here : https://central.sonatype.com/artifact/ai.starlake/starlake-spark3_2.12/0.7.2.2.

If you're not able to download again, please add more details:

  • terminal you use
  • output logs

Best regards

from starlake.

cedrickab avatar cedrickab commented on June 18, 2024 1

Hello @hayssams
Thank you for the tips, I thought that was about the whitespace,but It still doesn't work :( . It might be a permission issue too, I'll try to run the project on another computer and let you know by then.

from starlake.

tiboun avatar tiboun commented on June 18, 2024 1

Hi @cedrickab, I tried to run starlake with spark 3.4 on my windows laptop and didn't encounter any issue. The last call seems to be different from the one I get with a fresh spark.

CALL {{HOME}}\test-starlake\bin\spark\bin\spark-submit.cmd --driver-java-options "" --class ai.starlake.job.Main {{HOME}}\test-starlake\bin\spark\jars\starlake-spark3_2.12-0.7.2.2-assembly.jar

I don't have -JAR and I was wondering why you get this ?

from starlake.

cedrickab avatar cedrickab commented on June 18, 2024 1

Re @hayssams @tiboun ,
I did indeed probably modify it when I was trying to solve my initial path problem. But it works now with the option removed and the java_home set before the bin directory.
thanks for your help

from starlake.

cedrickab avatar cedrickab commented on June 18, 2024

hello @tiboun , that's what i did (install jq and use the cmd terminal) but i don't know which path cause this error .

here is my ouput logs :


Current state

  • hadoop: OK
  • hadoop dll: OK
  • hadoop winutils: OK
  • spark: OK
  • starlake: OK
  • spark bq: OK

Launching starlake.

  • HADOOP_HOME={{HOME}}\starlake\bin\hadoop
  • JAVA_HOME=C:\Program Files\Java\jdk-11\bin
  • COMET_ROOT={{HOME}}\starlake
  • COMET_ENV=FS
  • COMET_FS=file://
  • COMET_MAIN=ai.starlake.job.Main
  • COMET_VALIDATE_ON_LOAD=false
  • SPARK_DRIVER_MEMORY=4G
    Make sure your java home path does not contain space
    The system cannot find the specified path

from starlake.

hayssams avatar hayssams commented on June 18, 2024

Hello @cedrickab
Looks like you have a space in your path to the jdk and you forgot to enclose it in quotes.
You may enclose your path by quotes or more simply use the short pathname
To view the short pathnames of your folder type « dir /x » and use « C:\PROGRA~1 » instead of « C:\Program Files » in your path.
Hope this help

from starlake.

hayssams avatar hayssams commented on June 18, 2024

Are you getting the exact same error message after removing white spaces ?

from starlake.

cedrickab avatar cedrickab commented on June 18, 2024

yes same error (except JAVA_HOME=C:\PROGRA~1\Java\jdk-11\bin) , but I tested this project on a linux environment and it worked, I specifically encounter this problem only on windows env

from starlake.

hayssams avatar hayssams commented on June 18, 2024

Java home should not be set to the bin directory but to the one above it.
See the link below for more details https://docs.oracle.com/cd/E19182-01/821-0917/inst_jdk_javahome_t/index.html#:~:text=To%20set%20JAVA_HOME%2C%20do%20the,Program%20Files%5CJava%5Cjdk1.

from starlake.

cedrickab avatar cedrickab commented on June 18, 2024

Thanks for the docs , I assumed that the java_home corresponded to all the java commands (path on system variables), without the bin directory I get the following error:
Error: Unrecognized option: -JAR

from starlake.

hayssams avatar hayssams commented on June 18, 2024

from starlake.

cedrickab avatar cedrickab commented on June 18, 2024

hello,
you will find all the logs here as requested. Seems like the error is caused by the last command spark-submit.cmd
note.txt

from starlake.

hayssams avatar hayssams commented on June 18, 2024

Looks like you are using the just released spark3.4 version which break the compatibility of the CLI.
If you use the default Spark version (3.3.1 line 140 of the cmd) does it solve the issue ?
In the meantime we are working on upgrading the windows script for spark 3.4

from starlake.

hayssams avatar hayssams commented on June 18, 2024

@cedrickab any chance this was added on your side ?

from starlake.

hayssams avatar hayssams commented on June 18, 2024

Great thanks
We're closing the issue in that case

from starlake.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.