[ https://issues.apache.org/jira/browse/HDFS-13383?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16425585#comment-16425585 ]
Elek, Marton commented on HDFS-13383: ------------------------------------- Adding ozone jar files to the classpath all the time even if the yarn/hdfs component is not ozone relateed could be dangerous. I suggest to solve it with setting environment variable HADOOP_SHELL_PROFILES=ozone (didn't test it yet, but will do). > Ozone: start-ozone.sh fail to start datanode because of incomplete classpaths > ----------------------------------------------------------------------------- > > Key: HDFS-13383 > URL: https://issues.apache.org/jira/browse/HDFS-13383 > Project: Hadoop HDFS > Issue Type: Sub-task > Components: ozone > Affects Versions: HDFS-7240 > Reporter: Mukul Kumar Singh > Assignee: Mukul Kumar Singh > Priority: Major > Fix For: HDFS-7240 > > Attachments: HDFS-13383-HDFS-7240.001.patch, > HDFS-13383-HDFS-7240.002.patch > > > start-ozone.sh calls start-dfs.sh to start the NN and DN in a ozone cluster. > Starting of datanode fails because of incomplete classpaths as datanode is > unable to load all the plugins. > Setting the class path to the following values does resolve the issue: > {code} > export > HADOOP_CLASSPATH=$HADOOP_CLASSPATH:/opt/hadoop/hadoop-3.2.0-SNAPSHOT/share/hadoop/ozone/*:/opt/hadoop/hadoop-3.2.0-SNAPSHOT/share/hadoop/hdsl/*:/opt/hadoop/hadoop-3.2.0-SNAPSHOT/share/hadoop/ozone/lib/*:/opt/hadoop/hadoop-3.2.0-SNAPSHOT/share/hadoop/hdsl/lib/*:/opt/hadoop/hadoop-3.2.0-SNAPSHOT/share/hadoop/cblock/*:/opt/hadoop/hadoop-3.2.0-SNAPSHOT/share/hadoop/cblock/lib/* > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org