Richard Gilmore
06/30/2021, 6:21 PMexporter.exportAllFromBranch("master")
IllegalAccessError: tried to access field org.rocksdb.RocksObject.nativeHandle_ from class org.rocksdb.SstFileReader
at org.rocksdb.SstFileReader.<init>(SstFileReader.java:14)
at io.treeverse.clients.SSTableReader.<init>(SSTableReader.scala:90)
at io.treeverse.clients.SSTableReader$.forMetaRange(SSTableReader.scala:72)
at io.treeverse.clients.LakeFSInputFormat.getSplits(LakeFSInputFormat.scala:110)
at org.apache.spark.rdd.NewHadoopRDD.getPartitions(NewHadoopRDD.scala:137)
at org.apache.spark.rdd.RDD.$anonfun$partitions$2(RDD.scala:283)
at scala.Option.getOrElse(Option.scala:189)
Richard Gilmore
06/30/2021, 6:24 PMBarak Amar
Barak Amar
Richard Gilmore
06/30/2021, 7:03 PMBarak Amar
Barak Amar
Ariel Shaqed (Scolnicov)
06/30/2021, 8:17 PMAnders Cassidy
07/01/2021, 10:35 PMBarak Amar
Ariel Shaqed (Scolnicov)
07/02/2021, 4:43 AMAnders Cassidy
07/02/2021, 8:43 AMBarak Amar
Ariel Shaqed (Scolnicov)
07/02/2021, 6:52 PMAnders Cassidy
07/02/2021, 8:09 PMFROM databricksruntime/standard:latest
ADD <https://repo1.maven.org/maven2/org/rocksdb/rocksdbjni/6.20.3/rocksdbjni-6.20.3.jar> <location to overwrite outdated jar>
but again this is just a workaround...I wouldn't really want to run custom containersBarak Amar
1. VMs are acquired from the cloud provider.
2. The custom Docker image is downloaded from your repo.
3. Databricks creates a Docker container from the image.
4. Databricks Runtime code is copied into the Docker container.
5. The init scrips are executed. See Init script execution order.
So, if the databricks runtime is copied over the image, it will be tricky.
Other option is to override it using the init script - but we will need to identify the location and if the init script got the permission to write to that location.
Still just thoughts at this point.Anders Cassidy
07/02/2021, 10:50 PM