Skip to content

LZO codec not working for graviton instances #163

@yatharthm22

Description

@yatharthm22

Describe the bug
I have a databricks job where I am saving my data in json format lzo compressed which requires the library lzo-codec,
on shifting to graviton instances

I noticed that the same job started throwing exception
Caused by: java.lang.RuntimeException: native-lzo library not available at com.hadoop.compression.lzo.LzoCodec.getCompressorType(LzoCodec.java:155) at org.apache.hadoop.io.compress.CodecPool.getCompressor(CodecPool.java:150) at com.hadoop.compression.lzo.LzopCodec.getCompressor(LzopCodec.java:171) at com.hadoop.compression.lzo.LzopCodec.createOutputStream(LzopCodec.java:72)

Current Config:
Worker- c6g.4xlarge
Driver- c6g.xlarge
Older config:
Worker- r4.8xlarge
Driver- r4.xlarge

To Reproduce
Steps to reproduce the behavior:
NA

Expected behavior
When shifting back to R class instance it starts working

Screenshots
NA

Environment
Databricks(AWS)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions