You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Marton Elek (Jira)" <ji...@apache.org> on 2019/10/31 12:16:00 UTC

[jira] [Comment Edited] (HDDS-2370) Remove classpath in RunningWithHDFS.md ozone-hdfs/docker-compose as dir 'ozoneplugin' is not exist anymore

    [ https://issues.apache.org/jira/browse/HDDS-2370?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16963934#comment-16963934 ] 

Marton Elek edited comment on HDDS-2370 at 10/31/19 12:15 PM:
--------------------------------------------------------------

It was an early idea to make it easier to run Ozone as part of the HDFS. Personally I don't think it's a realistic use case any more. I think It's better to separate the JVMs and run two different type of datanodes.

 

Last time [~anu] suggested to keep it, but I am open to remove it, especially as this path is usually un-tested.

 

 [~anu] What do you think?


was (Author: elek):
It was an early idea to make it easier to run Ozone as part of the HDFS. Personally I don't think it's a realistic use case any more. I think It's better to separate the JVMs and run two different type of datanodes.

 

Last time [~anu] suggested to keep it, but I am open to remove it, especially as this path is usually un-tested.

 

 [~anu] What do you think.

> Remove classpath in RunningWithHDFS.md ozone-hdfs/docker-compose as dir 'ozoneplugin' is not exist anymore
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: HDDS-2370
>                 URL: https://issues.apache.org/jira/browse/HDDS-2370
>             Project: Hadoop Distributed Data Store
>          Issue Type: Task
>          Components: documentation
>            Reporter: luhuachao
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: HDDS-2370.1.patch
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> In RunningWithHDFS.md 
> {code:java}
> export HADOOP_CLASSPATH=/opt/ozone/share/hadoop/ozoneplugin/hadoop-ozone-datanode-plugin.jar{code}
> ozone-hdfs/docker-compose.yaml
>  
> {code:java}
>       environment:
>          HADOOP_CLASSPATH: /opt/ozone/share/hadoop/ozoneplugin/*.jar
> {code}
> when i run hddsdatanodeservice as pulgin in hdfs datanode, it comes out with the error below , there is no constructor without parameter.
>  
>  
> {code:java}
> 2019-10-21 21:38:56,391 ERROR datanode.DataNode (DataNode.java:startPlugins(972)) - Unable to load DataNode plugins. Specified list of plugins: org.apache.hadoop.ozone.HddsDatanodeService
> java.lang.RuntimeException: java.lang.NoSuchMethodException: org.apache.hadoop.ozone.HddsDatanodeService.<init>()
> {code}
> what i doubt is that, ozone-0.5 not support running as a plugin in hdfs datanode now ? if so, 
> why donnot  we remove doc RunningWithHDFS.md ? 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org