Git Product home page Git Product logo

Comments (6)

hayssams avatar hayssams commented on June 10, 2024

Thank you for reporting this @ametwalli1
When the hostname is not present, the correct syntax for xdfs compatible filesystem should be xdfs:///.
Could try using dbfs:///mnt/datasets_area/dbfs:/mnt/pending_area instead and let me know how this work for you.

from starlake.

ametwalli1 avatar ametwalli1 commented on June 10, 2024

Thank you very much @hayssams, using dbfs:///mnt/pending_area as SL_AREA_PENDING is working fine !

However, I have an other trouble here.

When doing the import with this setting, starlake pushes all the source files without filtering by domain. This was done by default in the DatasetArea.scala path function that would add the /$domain variable at the end of the path. But it doesn't do it anymore.

So in my situation if I wanted to create the domain directories in my pending area, I thought using dbfs:///mnt/pending_area/$domain would work in my cluster environment. It didn't change anything ($domain was ignored), so I tried dbfs:///mnt/pending_area/{domain} instead and it created a {domain} directory.

Do you know how can I use variables in my cluster environment ?

from starlake.

hayssams avatar hayssams commented on June 10, 2024

Could you try {{domain}} instead and let me know

from starlake.

ametwalli1 avatar ametwalli1 commented on June 10, 2024

dbfs:///mnt/pending_area/{{domain}} creates a {{domain}} directory also.
The only way to use variables is done by using /$domain but I guess that you have some regex security check and it is ignored.

The better way to solved this would be to add the /$domain at the end of the area in DatasetArea.scala line 50.
Or maybe there is another way to introduce variables.

from starlake.

hayssams avatar hayssams commented on June 10, 2024

Can We setup a call 5:30 PM?

from starlake.

ametwalli1 avatar ametwalli1 commented on June 10, 2024

Sure ! Here is my email : [email protected]

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.