Skip to content

Hadoop classpath discovery broken in 0.12 when HADOOP_HOME is a symlink #3748

@keyaaron

Description

@keyaaron

CLASSPATH discovery was recently changed in d911850 to resolve ARROW-2113 and ARROW-3768.

Specifically, the logic used to find all jars under HADOOP_HOME uses the find command directly

find_args = ('find', os.environ['HADOOP_HOME'], '-name', '*.jar')

This will not work when HADOOP_HOME is a symlink, in which case '-L' needs to be passed to the find command.

CLASSPATH can still be set explicitly, but this is a change in behavior as HADOOP_HOME symlinks worked without issue before.

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