Giter VIP home page Giter VIP logo

Comments (7)

smacker avatar smacker commented on August 25, 2024 1

Good point haha. I honestly believed I did, but no. Here you go: src-d/siva-java#18

from gemini.

smacker avatar smacker commented on August 25, 2024

Siva reader uses MappedByteBuffer:
https://github.com/src-d/siva-java/blob/master/src/main/java/tech/sourced/siva/SivaReader.java#L43

And there is a limit in jdk https://github.com/openjdk-mirror/jdk7u-jdk/blob/master/src/share/classes/sun/nio/ch/FileChannelImpl.java#L788

Then there is an issue in Spark, it can't have partition more than 2G:
https://issues.apache.org/jira/browse/SPARK-6235
The issue is open since 2015 year but no much progress since then.

We can't change it.

@bzz @dpordomingo

from gemini.

bzz avatar bzz commented on August 25, 2024

2 issues here:

  1. siva-java fails to read .siva files > 2Gb

    To understand, if that is by-design, or is it a 🐛 I would suggest

    • find a repository that results in > 2Gb .siva file
    • borges pack it locally
    • try siva unpack using Go implementation

If it works - log an issue in https://github.com/src-d/siva-java

  1. Apache Spark can't have partition more than 2G
    Will update this later today

from gemini.

smacker avatar smacker commented on August 25, 2024
  1. I have created an issue already. Because even if it's by-design it should be documented.

But here is test:

$ ls -lah
-rw-r--r--. 1 root root 4.6G Jan  5 09:48 ec644e00e3cab40629bc32562269c011ec2a6b14.siva
$ siva unpack ec644e00e3cab40629bc32562269c011ec2a6b14.siva
$ ls
HEAD  config  ec644e00e3cab40629bc32562269c011ec2a6b14.siva  go  objects  refs

Big files are available in /apps/borges/too-big if anybody else need them.

from gemini.

bzz avatar bzz commented on August 25, 2024

Nice, why not linking the issue here?

from gemini.

bzz avatar bzz commented on August 25, 2024

siva-java Issue was fixed src-d/siva-java#18 (comment) and new v0.1.3 was released + a new engine version that includes it.

from gemini.

smacker avatar smacker commented on August 25, 2024

with the last engine processing works

from gemini.

Related Issues (20)

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.