[
https://issues.apache.org/jira/browse/HDDS-1520?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16840819#comment-16840819
]
Eric Yang commented on HDDS-1520:
---------------------------------
[~anu] Updated.
> Ozone Classpath does not scale well using long path prefix to OZONE_HOME
> ------------------------------------------------------------------------
>
> Key: HDDS-1520
> URL: https://issues.apache.org/jira/browse/HDDS-1520
> Project: Hadoop Distributed Data Store
> Issue Type: Sub-task
> Reporter: Eric Yang
> Assignee: Elek, Marton
> Priority: Major
>
> [~eyang] reported that the ozone can't be started if the ozone directory is
> symlinked due to the classpath assembly. It should work even if the directory
> is symlinked.
> Ozone script generates CLASSPATH environment variable based on parsing of
> ozone-0.5.0-SNAPSHOT/share/ozone/classpath/*.classpath file, then substitute
> HDDS_LIB_JARS_DIR with OZONE_HOME/share/ozone/lib. When OZONE_HOME directory
> path has a long prefix, this can cause CLASSPATH environment variable to
> exceed string length limit set for a single environment variable. This cause
> Ozone command to return random errors with class not found exception.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]